Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
googleapis_commitish: 7af3f2c7b8927cffb548fd2cf09b04c6371437ee
googleapis_commitish: db88feb4756963c6aa9b5996a880cfe5572d0320
libraries_bom_version: 26.83.0
is_monorepo: true
libraries:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The threadKey.
*/
@java.lang.Override
Expand Down Expand Up @@ -432,7 +432,7 @@ public java.lang.String getThreadKey() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The bytes for threadKey.
*/
@java.lang.Override
Expand Down Expand Up @@ -1543,7 +1543,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The threadKey.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1576,7 +1576,7 @@ public java.lang.String getThreadKey() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1609,7 +1609,7 @@ public com.google.protobuf.ByteString getThreadKeyBytes() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @param value The threadKey to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -1641,7 +1641,7 @@ public Builder setThreadKey(java.lang.String value) {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1669,7 +1669,7 @@ public Builder clearThreadKey() {
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @param value The bytes for threadKey to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public interface CreateMessageRequestOrBuilder
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The threadKey.
*/
@java.lang.Deprecated
Expand All @@ -137,7 +137,7 @@ public interface CreateMessageRequestOrBuilder
* </code>
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
* google/chat/v1/message.proto;l=617
* google/chat/v1/message.proto;l=618
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \003(\0132\037.google.chat.v1.AccessoryWidgetB\003\340A\001:C\352A@\n"
+ "\033chat.googleapis.com/Message\022!spaces/{space}/messages/{message}\"\037\n"
+ "\013AttachedGif\022\020\n"
+ "\003uri\030\001 \001(\tB\003\340A\003\"\230\004\n"
+ "\003uri\030\001 \001(\tB\003\340A\003\"\245\004\n"
+ "\025QuotedMessageMetadata\0221\n"
+ "\004name\030\001 \001(\tB#\340A\002\372A\035\n"
+ "\033chat.googleapis.com/Message\0229\n"
Expand All @@ -197,12 +197,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\027quoted_message_snapshot\030\005"
+ " \001(\0132%.google.chat.v1.QuotedMessageSnapshotB\003\340A\003\022B\n"
+ "\022forwarded_metadata\030\006 \001(\0132!"
+ ".google.chat.v1.ForwardedMetadataB\003\340A\003\"2\n"
+ ".google.chat.v1.ForwardedMetadataB\003\340A\003\"?\n"
+ "\tQuoteType\022\032\n"
+ "\026QUOTE_TYPE_UNSPECIFIED\020\000\022\t\n"
+ "\005REPLY\020\001:\201\001\352A~\n"
+ ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces/{space}/mess"
+ "ages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
+ "\005REPLY\020\001\022\013\n"
+ "\007FORWARD\020\002:\201\001\352A~\n"
+ ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces"
+ "/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
+ "\025QuotedMessageSnapshot\022\023\n"
+ "\006sender\030\001 \001(\tB\003\340A\003\022\021\n"
+ "\004text\030\002 \001(\tB\003\340A\003\022\033\n"
Expand All @@ -218,15 +219,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "thread_key\030\003 \001(\tB\003\340A\001:@\352A=\n"
+ "\032chat.googleapis.com/Thread\022\037spaces/{space}/threads/{thread}\"\322\004\n"
+ "\016ActionResponse\022>\n"
+ "\004type\030\001 \001"
+ "(\0162+.google.chat.v1.ActionResponse.ResponseTypeB\003\340A\004\022\020\n"
+ "\004type\030\001"
+ " \001(\0162+.google.chat.v1.ActionResponse.ResponseTypeB\003\340A\004\022\020\n"
+ "\003url\030\002 \001(\tB\003\340A\004\0228\n\r"
+ "dialog_action\030\003 \001(\0132\034.google.chat.v1.DialogActionB\003\340A\004\022I\n"
+ "\016updated_widget\030\004 \001(\0132,.googl"
+ "e.chat.v1.ActionResponse.UpdatedWidgetB\003\340A\004\032R\n"
+ "\016updated_widget\030\004"
+ " \001(\0132,.google.chat.v1.ActionResponse.UpdatedWidgetB\003\340A\004\032R\n"
+ "\016SelectionItems\022@\n"
+ "\005items\030\001 \003(\01321.g"
+ "oogle.apps.card.v1.SelectionInput.SelectionItem\032w\n\r"
+ "\005items\030\001"
+ " \003(\01321.google.apps.card.v1.SelectionInput.SelectionItem\032w\n\r"
+ "UpdatedWidget\022D\n"
+ "\013suggestions\030\001"
+ " \001(\0132-.google.chat.v1.ActionResponse.SelectionItemsH\000\022\016\n"
Expand All @@ -253,16 +254,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\024UpdateMessageRequest\022-\n"
+ "\007message\030\001 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\0224\n"
+ "\013update_mask\030\002"
+ " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n\r"
+ " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n"
+ "\r"
+ "allow_missing\030\004 \001(\010B\003\340A\001\"\210\004\n"
+ "\024CreateMessageRequest\0223\n"
+ "\006parent\030\001 \001("
+ "\tB#\340A\002\372A\035\022\033chat.googleapis.com/Message\022-\n"
+ "\007message\030\004 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\022\031\n\n"
+ "thread_key\030\006 \001(\tB\005\030\001\340A\001\022\027\n\n"
+ "request_id\030\007 \001(\tB\003\340A\001\022Z\n"
+ "\024message_reply_option\030\010 \001(\01627.google.chat.v1.Cre"
+ "ateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
+ "\024message_reply_option\030\010 \001(\01627.googl"
+ "e.chat.v1.CreateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
+ "message_id\030\t \001(\tB\003\340A\001\022b\n"
+ "#create_message_notification_options\030\n"
+ " \001(\01320.google.chat.v1.CreateMessageNotificationOptionsB\003\340A\001\"\177\n"
Expand All @@ -271,8 +273,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\020\001\022\031\n"
+ "\025REPLY_MESSAGE_OR_FAIL\020\002\"\362\001\n"
+ " CreateMessageNotificationOptions\022\\\n"
+ "\021notification_type\030\001 \001(\0162"
+ "A.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n"
+ "\021notification_type\030\001 \001(\0162A.google.chat.v1.CreateMess"
+ "ageNotificationOptions.NotificationType\"p\n"
+ "\020NotificationType\022\032\n"
+ "\026NOTIFICATION_TYPE_NONE\020\000\022\"\n"
+ "\036NOTIFICATION_TYPE_FORCE_NOTIFY\020\002\022\034\n"
Expand All @@ -297,10 +299,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "CardWithId\022\017\n"
+ "\007card_id\030\001 \001(\t\022\'\n"
+ "\004card\030\002 \001(\0132\031.google.apps.card.v1.CardB\245\001\n"
+ "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/go/chat/apiv1"
+ "/chatpb;chatpb\242\002\013DYNAPIProto\252\002\023Google.Ap"
+ "ps.Chat.V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Googl"
+ "e::Apps::Chat::V1b\006proto3"
+ "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/"
+ "go/chat/apiv1/chatpb;chatpb\242\002\013DYNAPIProt"
+ "o\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\Ch"
+ "at\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
* <pre>
* Information about a message that another message quotes.
*
* When you create a message, you can quote messages within the same
* thread, or quote a root message to create a new root message.
* However, you can't quote a message reply from a different thread.
*
* When you update a message, you can't add or replace the
* `quotedMessageMetadata` field, but you can remove it.
*
Expand Down Expand Up @@ -105,20 +101,32 @@ public enum QuoteType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* If quote_type is `REPLY`, you can do the following:
* When `quote_type` is `REPLY`, you can do the following:
*
* * If you're replying in a thread, you can quote another message in that
* thread.
*
* * If you're creating a root message, you can quote another root message
* in that space.
*
* You can't quote a message reply from a different thread.
* </pre>
*
* <code>REPLY = 1;</code>
*/
REPLY(1),
/**
*
*
* <pre>
* When `quote_type` is `FORWARD`, you can quote a:
*
* * Message from a different space.
*
* * Message reply from a different thread in the same space.
* </pre>
*
* <code>FORWARD = 2;</code>
*/
FORWARD(2),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -147,21 +155,34 @@ public enum QuoteType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* If quote_type is `REPLY`, you can do the following:
* When `quote_type` is `REPLY`, you can do the following:
*
* * If you're replying in a thread, you can quote another message in that
* thread.
*
* * If you're creating a root message, you can quote another root message
* in that space.
*
* You can't quote a message reply from a different thread.
* </pre>
*
* <code>REPLY = 1;</code>
*/
public static final int REPLY_VALUE = 1;

/**
*
*
* <pre>
* When `quote_type` is `FORWARD`, you can quote a:
*
* * Message from a different space.
*
* * Message reply from a different thread in the same space.
* </pre>
*
* <code>FORWARD = 2;</code>
*/
public static final int FORWARD_VALUE = 2;

public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
Expand Down Expand Up @@ -190,6 +211,8 @@ public static QuoteType forNumber(int value) {
return QUOTE_TYPE_UNSPECIFIED;
case 1:
return REPLY;
case 2:
return FORWARD;
default:
return null;
}
Expand Down Expand Up @@ -770,10 +793,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
* <pre>
* Information about a message that another message quotes.
*
* When you create a message, you can quote messages within the same
* thread, or quote a root message to create a new root message.
* However, you can't quote a message reply from a different thread.
*
* When you update a message, you can't add or replace the
* `quotedMessageMetadata` field, but you can remove it.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,6 @@ message AttachedGif {

// Information about a message that another message quotes.
//
// When you create a message, you can quote messages within the same
// thread, or quote a root message to create a new root message.
// However, you can't quote a message reply from a different thread.
//
// When you update a message, you can't add or replace the
// `quotedMessageMetadata` field, but you can remove it.
//
Expand All @@ -301,16 +297,21 @@ message QuotedMessageMetadata {
// Reserved. This value is unused.
QUOTE_TYPE_UNSPECIFIED = 0;

// If quote_type is `REPLY`, you can do the following:
// When `quote_type` is `REPLY`, you can do the following:
//
// * If you're replying in a thread, you can quote another message in that
// thread.
//
// * If you're creating a root message, you can quote another root message
// in that space.
//
// You can't quote a message reply from a different thread.
REPLY = 1;

// When `quote_type` is `FORWARD`, you can quote a:
//
// * Message from a different space.
//
// * Message reply from a different thread in the same space.
FORWARD = 2;
}

// Required. Resource name of the message that is quoted.
Expand Down
Loading
Loading