Skip to content

Commit 06d0cde

Browse files
chore: update googleapis commitish to db88feb (#13513)
Updated googleapis commitish in librarian.yaml and generation_config.yaml to googleapis/googleapis@db88feb 💡 **Note:** Please merge or close this PR so that the daily update workflow can continue to run successfully the next day. Alternatively, you can manually trigger the workflow once this PR is merged or closed.
1 parent 6728816 commit 06d0cde

85 files changed

Lines changed: 16253 additions & 248 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
googleapis_commitish: 7af3f2c7b8927cffb548fd2cf09b04c6371437ee
1+
googleapis_commitish: db88feb4756963c6aa9b5996a880cfe5572d0320
22
libraries_bom_version: 26.83.0
33
is_monorepo: true
44
libraries:

java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
398398
* </code>
399399
*
400400
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
401-
* google/chat/v1/message.proto;l=617
401+
* google/chat/v1/message.proto;l=618
402402
* @return The threadKey.
403403
*/
404404
@java.lang.Override
@@ -432,7 +432,7 @@ public java.lang.String getThreadKey() {
432432
* </code>
433433
*
434434
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
435-
* google/chat/v1/message.proto;l=617
435+
* google/chat/v1/message.proto;l=618
436436
* @return The bytes for threadKey.
437437
*/
438438
@java.lang.Override
@@ -1543,7 +1543,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
15431543
* </code>
15441544
*
15451545
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
1546-
* google/chat/v1/message.proto;l=617
1546+
* google/chat/v1/message.proto;l=618
15471547
* @return The threadKey.
15481548
*/
15491549
@java.lang.Deprecated
@@ -1576,7 +1576,7 @@ public java.lang.String getThreadKey() {
15761576
* </code>
15771577
*
15781578
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
1579-
* google/chat/v1/message.proto;l=617
1579+
* google/chat/v1/message.proto;l=618
15801580
* @return The bytes for threadKey.
15811581
*/
15821582
@java.lang.Deprecated
@@ -1609,7 +1609,7 @@ public com.google.protobuf.ByteString getThreadKeyBytes() {
16091609
* </code>
16101610
*
16111611
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
1612-
* google/chat/v1/message.proto;l=617
1612+
* google/chat/v1/message.proto;l=618
16131613
* @param value The threadKey to set.
16141614
* @return This builder for chaining.
16151615
*/
@@ -1641,7 +1641,7 @@ public Builder setThreadKey(java.lang.String value) {
16411641
* </code>
16421642
*
16431643
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
1644-
* google/chat/v1/message.proto;l=617
1644+
* google/chat/v1/message.proto;l=618
16451645
* @return This builder for chaining.
16461646
*/
16471647
@java.lang.Deprecated
@@ -1669,7 +1669,7 @@ public Builder clearThreadKey() {
16691669
* </code>
16701670
*
16711671
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
1672-
* google/chat/v1/message.proto;l=617
1672+
* google/chat/v1/message.proto;l=618
16731673
* @param value The bytes for threadKey to set.
16741674
* @return This builder for chaining.
16751675
*/

java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public interface CreateMessageRequestOrBuilder
114114
* </code>
115115
*
116116
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
117-
* google/chat/v1/message.proto;l=617
117+
* google/chat/v1/message.proto;l=618
118118
* @return The threadKey.
119119
*/
120120
@java.lang.Deprecated
@@ -137,7 +137,7 @@ public interface CreateMessageRequestOrBuilder
137137
* </code>
138138
*
139139
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
140-
* google/chat/v1/message.proto;l=617
140+
* google/chat/v1/message.proto;l=618
141141
* @return The bytes for threadKey.
142142
*/
143143
@java.lang.Deprecated

java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageProto.java

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
186186
+ " \003(\0132\037.google.chat.v1.AccessoryWidgetB\003\340A\001:C\352A@\n"
187187
+ "\033chat.googleapis.com/Message\022!spaces/{space}/messages/{message}\"\037\n"
188188
+ "\013AttachedGif\022\020\n"
189-
+ "\003uri\030\001 \001(\tB\003\340A\003\"\230\004\n"
189+
+ "\003uri\030\001 \001(\tB\003\340A\003\"\245\004\n"
190190
+ "\025QuotedMessageMetadata\0221\n"
191191
+ "\004name\030\001 \001(\tB#\340A\002\372A\035\n"
192192
+ "\033chat.googleapis.com/Message\0229\n"
@@ -197,12 +197,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
197197
+ "\027quoted_message_snapshot\030\005"
198198
+ " \001(\0132%.google.chat.v1.QuotedMessageSnapshotB\003\340A\003\022B\n"
199199
+ "\022forwarded_metadata\030\006 \001(\0132!"
200-
+ ".google.chat.v1.ForwardedMetadataB\003\340A\003\"2\n"
200+
+ ".google.chat.v1.ForwardedMetadataB\003\340A\003\"?\n"
201201
+ "\tQuoteType\022\032\n"
202202
+ "\026QUOTE_TYPE_UNSPECIFIED\020\000\022\t\n"
203-
+ "\005REPLY\020\001:\201\001\352A~\n"
204-
+ ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces/{space}/mess"
205-
+ "ages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
203+
+ "\005REPLY\020\001\022\013\n"
204+
+ "\007FORWARD\020\002:\201\001\352A~\n"
205+
+ ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces"
206+
+ "/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
206207
+ "\025QuotedMessageSnapshot\022\023\n"
207208
+ "\006sender\030\001 \001(\tB\003\340A\003\022\021\n"
208209
+ "\004text\030\002 \001(\tB\003\340A\003\022\033\n"
@@ -218,15 +219,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
218219
+ "thread_key\030\003 \001(\tB\003\340A\001:@\352A=\n"
219220
+ "\032chat.googleapis.com/Thread\022\037spaces/{space}/threads/{thread}\"\322\004\n"
220221
+ "\016ActionResponse\022>\n"
221-
+ "\004type\030\001 \001"
222-
+ "(\0162+.google.chat.v1.ActionResponse.ResponseTypeB\003\340A\004\022\020\n"
222+
+ "\004type\030\001"
223+
+ " \001(\0162+.google.chat.v1.ActionResponse.ResponseTypeB\003\340A\004\022\020\n"
223224
+ "\003url\030\002 \001(\tB\003\340A\004\0228\n\r"
224225
+ "dialog_action\030\003 \001(\0132\034.google.chat.v1.DialogActionB\003\340A\004\022I\n"
225-
+ "\016updated_widget\030\004 \001(\0132,.googl"
226-
+ "e.chat.v1.ActionResponse.UpdatedWidgetB\003\340A\004\032R\n"
226+
+ "\016updated_widget\030\004"
227+
+ " \001(\0132,.google.chat.v1.ActionResponse.UpdatedWidgetB\003\340A\004\032R\n"
227228
+ "\016SelectionItems\022@\n"
228-
+ "\005items\030\001 \003(\01321.g"
229-
+ "oogle.apps.card.v1.SelectionInput.SelectionItem\032w\n\r"
229+
+ "\005items\030\001"
230+
+ " \003(\01321.google.apps.card.v1.SelectionInput.SelectionItem\032w\n\r"
230231
+ "UpdatedWidget\022D\n"
231232
+ "\013suggestions\030\001"
232233
+ " \001(\0132-.google.chat.v1.ActionResponse.SelectionItemsH\000\022\016\n"
@@ -253,16 +254,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
253254
+ "\024UpdateMessageRequest\022-\n"
254255
+ "\007message\030\001 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\0224\n"
255256
+ "\013update_mask\030\002"
256-
+ " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n\r"
257+
+ " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n"
258+
+ "\r"
257259
+ "allow_missing\030\004 \001(\010B\003\340A\001\"\210\004\n"
258260
+ "\024CreateMessageRequest\0223\n"
259261
+ "\006parent\030\001 \001("
260262
+ "\tB#\340A\002\372A\035\022\033chat.googleapis.com/Message\022-\n"
261263
+ "\007message\030\004 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\022\031\n\n"
262264
+ "thread_key\030\006 \001(\tB\005\030\001\340A\001\022\027\n\n"
263265
+ "request_id\030\007 \001(\tB\003\340A\001\022Z\n"
264-
+ "\024message_reply_option\030\010 \001(\01627.google.chat.v1.Cre"
265-
+ "ateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
266+
+ "\024message_reply_option\030\010 \001(\01627.googl"
267+
+ "e.chat.v1.CreateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
266268
+ "message_id\030\t \001(\tB\003\340A\001\022b\n"
267269
+ "#create_message_notification_options\030\n"
268270
+ " \001(\01320.google.chat.v1.CreateMessageNotificationOptionsB\003\340A\001\"\177\n"
@@ -271,8 +273,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
271273
+ "$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\020\001\022\031\n"
272274
+ "\025REPLY_MESSAGE_OR_FAIL\020\002\"\362\001\n"
273275
+ " CreateMessageNotificationOptions\022\\\n"
274-
+ "\021notification_type\030\001 \001(\0162"
275-
+ "A.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n"
276+
+ "\021notification_type\030\001 \001(\0162A.google.chat.v1.CreateMess"
277+
+ "ageNotificationOptions.NotificationType\"p\n"
276278
+ "\020NotificationType\022\032\n"
277279
+ "\026NOTIFICATION_TYPE_NONE\020\000\022\"\n"
278280
+ "\036NOTIFICATION_TYPE_FORCE_NOTIFY\020\002\022\034\n"
@@ -297,10 +299,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
297299
+ "CardWithId\022\017\n"
298300
+ "\007card_id\030\001 \001(\t\022\'\n"
299301
+ "\004card\030\002 \001(\0132\031.google.apps.card.v1.CardB\245\001\n"
300-
+ "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/go/chat/apiv1"
301-
+ "/chatpb;chatpb\242\002\013DYNAPIProto\252\002\023Google.Ap"
302-
+ "ps.Chat.V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Googl"
303-
+ "e::Apps::Chat::V1b\006proto3"
302+
+ "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/"
303+
+ "go/chat/apiv1/chatpb;chatpb\242\002\013DYNAPIProt"
304+
+ "o\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\Ch"
305+
+ "at\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
304306
};
305307
descriptor =
306308
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/QuotedMessageMetadata.java

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
* <pre>
2727
* Information about a message that another message quotes.
2828
*
29-
* When you create a message, you can quote messages within the same
30-
* thread, or quote a root message to create a new root message.
31-
* However, you can't quote a message reply from a different thread.
32-
*
3329
* When you update a message, you can't add or replace the
3430
* `quotedMessageMetadata` field, but you can remove it.
3531
*
@@ -105,20 +101,32 @@ public enum QuoteType implements com.google.protobuf.ProtocolMessageEnum {
105101
*
106102
*
107103
* <pre>
108-
* If quote_type is `REPLY`, you can do the following:
104+
* When `quote_type` is `REPLY`, you can do the following:
109105
*
110106
* * If you're replying in a thread, you can quote another message in that
111107
* thread.
112108
*
113109
* * If you're creating a root message, you can quote another root message
114110
* in that space.
115-
*
116-
* You can't quote a message reply from a different thread.
117111
* </pre>
118112
*
119113
* <code>REPLY = 1;</code>
120114
*/
121115
REPLY(1),
116+
/**
117+
*
118+
*
119+
* <pre>
120+
* When `quote_type` is `FORWARD`, you can quote a:
121+
*
122+
* * Message from a different space.
123+
*
124+
* * Message reply from a different thread in the same space.
125+
* </pre>
126+
*
127+
* <code>FORWARD = 2;</code>
128+
*/
129+
FORWARD(2),
122130
UNRECOGNIZED(-1),
123131
;
124132

@@ -147,21 +155,34 @@ public enum QuoteType implements com.google.protobuf.ProtocolMessageEnum {
147155
*
148156
*
149157
* <pre>
150-
* If quote_type is `REPLY`, you can do the following:
158+
* When `quote_type` is `REPLY`, you can do the following:
151159
*
152160
* * If you're replying in a thread, you can quote another message in that
153161
* thread.
154162
*
155163
* * If you're creating a root message, you can quote another root message
156164
* in that space.
157-
*
158-
* You can't quote a message reply from a different thread.
159165
* </pre>
160166
*
161167
* <code>REPLY = 1;</code>
162168
*/
163169
public static final int REPLY_VALUE = 1;
164170

171+
/**
172+
*
173+
*
174+
* <pre>
175+
* When `quote_type` is `FORWARD`, you can quote a:
176+
*
177+
* * Message from a different space.
178+
*
179+
* * Message reply from a different thread in the same space.
180+
* </pre>
181+
*
182+
* <code>FORWARD = 2;</code>
183+
*/
184+
public static final int FORWARD_VALUE = 2;
185+
165186
public final int getNumber() {
166187
if (this == UNRECOGNIZED) {
167188
throw new java.lang.IllegalArgumentException(
@@ -190,6 +211,8 @@ public static QuoteType forNumber(int value) {
190211
return QUOTE_TYPE_UNSPECIFIED;
191212
case 1:
192213
return REPLY;
214+
case 2:
215+
return FORWARD;
193216
default:
194217
return null;
195218
}
@@ -770,10 +793,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
770793
* <pre>
771794
* Information about a message that another message quotes.
772795
*
773-
* When you create a message, you can quote messages within the same
774-
* thread, or quote a root message to create a new root message.
775-
* However, you can't quote a message reply from a different thread.
776-
*
777796
* When you update a message, you can't add or replace the
778797
* `quotedMessageMetadata` field, but you can remove it.
779798
*

java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,6 @@ message AttachedGif {
281281

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

304-
// If quote_type is `REPLY`, you can do the following:
300+
// When `quote_type` is `REPLY`, you can do the following:
305301
//
306302
// * If you're replying in a thread, you can quote another message in that
307303
// thread.
308304
//
309305
// * If you're creating a root message, you can quote another root message
310306
// in that space.
311-
//
312-
// You can't quote a message reply from a different thread.
313307
REPLY = 1;
308+
309+
// When `quote_type` is `FORWARD`, you can quote a:
310+
//
311+
// * Message from a different space.
312+
//
313+
// * Message reply from a different thread in the same space.
314+
FORWARD = 2;
314315
}
315316

316317
// Required. Resource name of the message that is quoted.

0 commit comments

Comments
 (0)