8000 chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024 (#3318) · rmehta19/sdk-platform-java@0262dcb · GitHub
[go: up one dir, main page]

Skip to content

Commit 0262dcb

Browse files
chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024 (googleapis#3318)
chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024 --------- Co-authored-by: Jin Seop Kim <jinseop@google.com>
1 parent 1138ca6 commit 0262dcb

File tree

9 files changed

+199
-69
lines changed

9 files changed

+199
-69
lines changed

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
googleapis_commitish: 537fd482f6bb8afb3a146d9b21673a8eb27958bd
1+
googleapis_commitish: 6b5d85c66e0885b1665040f6f80b2401f60c1068
22
# the libraries are ordered with respect to library name, which is
33
# java-{library.library_name} or java-{library.api-shortname} when
44
# library.library_name is not defined.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -292,53 +292,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
292292
+ "alue\030\002 \001(\t:\0028\001\"A\n\013CppSettings\0222\n\006common\030"
293293
+ "\001 \001(\0132\".google.api.CommonLanguageSetting"
294294
+ "s\"A\n\013PhpSettings\0222\n\006common\030\001 \001(\0132\".googl"
295-
+ "e.api.CommonLanguageSettings\"\313\001\n\016PythonS"
295+
+ "e.api.CommonLanguageSettings\"\364\001\n\016PythonS"
296296
+ "ettings\0222\n\006common\030\001 \001(\0132\".google.api.Com"
297297
+ "monLanguageSettings\022N\n\025experimental_feat"
298298
+ "ures\030\002 \001(\0132/.google.api.PythonSettings.E"
299-
+ "xperimentalFeatures\0325\n\024ExperimentalFeatu"
300-
+ "res\022\035\n\025rest_async_io_enabled\030\001 \001(\010\"B\n\014No"
301-
+ "deSettings\0222\n\006common\030\001 \001(\0132\".google.api."
302-
+ "CommonLanguageSettings\"\252\003\n\016DotnetSetting"
303-
+ "s\0222\n\006common\030\001 \001(\0132\".google.api.CommonLan"
304-
+ "guageSettings\022I\n\020renamed_services\030\002 \003(\0132"
305-
+ "/.google.api.DotnetSettings.RenamedServi"
306-
+ "cesEntry\022K\n\021renamed_resources\030\003 \003(\01320.go"
307-
+ "ogle.api.DotnetSettings.RenamedResources"
308-
+ "Entry\022\031\n\021ignored_resources\030\004 \003(\t\022 \n\030forc"
309-
+ "ed_namespace_aliases\030\005 \003(\t\022\036\n\026handwritte"
310-
+ "n_signatures\030\006 \003(\t\0326\n\024RenamedServicesEnt"
311-
+ "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025Re"
312-
+ "namedResourcesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
313-
+ "e\030\002 \001(\t:\0028\001\"B\n\014RubySettings\0222\n\006common\030\001 "
314-
+ "\001(\0132\".google.api.CommonLanguageSettings\""
315-
+ "@\n\nGoSettings\0222\n\006common\030\001 \001(\0132\".google.a"
316-
+ "pi.CommonLanguageSettings\"\317\002\n\016MethodSett"
317-
+ "ings\022\020\n\010selector\030\001 \001(\t\022<\n\014long_running\030\002"
318-
+ " \001(\0132&.google.api.MethodSettings.LongRun"
319-
+ "ning\022\035\n\025auto_populated_fields\030\003 \003(\t\032\315\001\n\013"
320-
+ "LongRunning\0225\n\022initial_poll_delay\030\001 \001(\0132"
321-
+ "\031.google.protobuf.Duration\022\035\n\025poll_delay"
322-
+ "_multiplier\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001("
323-
+ "\0132\031.google.protobuf.Duration\0225\n\022total_po"
324-
+ "ll_timeout\030\004 \001(\0132\031.google.protobuf.Durat"
325-
+ "ion\"+\n\030SelectiveGapicGeneration\022\017\n\007metho"
326-
+ "ds\030\001 \003(\t*\243\001\n\031ClientLibraryOrganization\022+"
327-
+ "\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIE"
328-
+ "D\020\000\022\t\n\005CLOUD\020\001\022\007\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013S"
329-
+ "TREET_VIEW\020\004\022\014\n\010SHOPPING\020\005\022\007\n\003GEO\020\006\022\021\n\rG"
330-
+ "ENERATIVE_AI\020\007*g\n\030ClientLibraryDestinati"
331-
+ "on\022*\n&CLIENT_LIBRARY_DESTINATION_UNSPECI"
332-
+ "FIED\020\000\022\n\n\006GITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024:"
333-
+ "9\n\020method_signature\022\036.google.protobuf.Me"
334-
+ "thodOptions\030\233\010 \003(\t:6\n\014default_host\022\037.goo"
335-
+ "gle.protobuf.ServiceOptions\030\231\010 \001(\t:6\n\014oa"
336-
+ "uth_scopes\022\037.google.protobuf.ServiceOpti"
337-
+ "ons\030\232\010 \001(\t:8\n\013api_version\022\037.google.proto"
338-
+ "buf.ServiceOptions\030\301\272\253\372\001 \001(\tBi\n\016com.goog"
339-
+ "le.apiB\013ClientProtoP\001ZAgoogle.golang.org"
340-
+ "/genproto/googleapis/api/annotations;ann"
341-
+ "otations\242\002\004GAPIb\006proto3"
299+
+ "xperimentalFeatures\032^\n\024ExperimentalFeatu"
300+
+ "res\022\035\n\025rest_async_io_enabled\030\001 \001(\010\022\'\n\037pr"
301+
+ "otobuf_pythonic_types_enabled\030\002 \001(\010\"B\n\014N"
302+
+ "odeSettings\0222\n\006common\030\001 \001(\0132\".google.api"
303+
+ ".CommonLanguageSettings\"\252\003\n\016DotnetSettin"
304+
+ "gs\0222\n\006common\030\001 \001(\0132\".google.api.CommonLa"
305+
+ "nguageSettings\022I\n\020renamed_services\030\002 \003(\013"
306+
+ "2/.google.api.DotnetSettings.RenamedServ"
307+
+ "icesEntry\022K\n\021renamed_resources\030\003 \003(\01320.g"
308+
+ "oogle.api.DotnetSettings.RenamedResource"
309+
+ "sEntry\022\031\n\021ignored_resources\030\004 \003(\t\022 \n\030for"
310+
+ "ced_namespace_aliases\030\005 \003(\t\022\036\n\026handwritt"
311+
+ "en_signatures\030\006 \003(\t\0326\n\024RenamedServicesEn"
312+
+ "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025R"
313+
+ "enamedResourcesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
314+
+ "ue\030\002 \001(\t:\0028\001\"B\n\014RubySettings\0222\n\006common\030\001"
315+
+ " \001(\0132\".google.api.CommonLanguageSettings"
316+
+ "\"@\n\nGoSettings\0222\n\006common\030\001 \001(\0132\".google."
317+
+ "api.CommonLanguageSettings\"\317\002\n\016MethodSet"
318+
+ "tings\022\020\n\010selector\030\001 \001(\t\022<\n\014long_running\030"
319+
+ "\002 \001(\0132&.google.api.MethodSettings.LongRu"
320+
+ "nning\022\035\n\025auto_populated_fields\030\003 \003(\t\032\315\001\n"
321+
+ "\013LongRunning\0225\n\022initial_poll_delay\030\001 \001(\013"
322+
+ "2\031.google.protobuf.Duration\022\035\n\025poll_dela"
323+
+ "y_multiplier\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001"
324+
+ "(\0132\031.google.protobuf.Duration\0225\n\022total_p"
325+
+ "oll_timeout\030\004 \001(\0132\031.google.protobuf.Dura"
326+
+ "tion\"+\n\030SelectiveGapicGeneration\022\017\n\007meth"
327+
+ "ods\030\001 \003(\t*\243\001\n\031ClientLibraryOrganization\022"
328+
+ "+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFI"
329+
+ "ED\020\000\022\t\n\005CLOUD\020\001\022\007\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013"
330+
+ "STREET_VIEW\020\004\022\014\n\010SHOPPING\020\005\022\007\n\003GEO\020\006\022\021\n\r"
331+
+ "GENERATIVE_AI\020\007*g\n\030ClientLibraryDestinat"
332+
+ "ion\022*\n&CLIENT_LIBRARY_DESTINATION_UNSPEC"
333+
+ "IFIED\020\000\022\n\n\006GITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024"
334+
+ ":9\n\020method_signature\022\036.google.protobuf.M"
335+
+ "ethodOptions\030\233\010 \003(\t:6\n\014default_host\022\037.go"
336+
+ "ogle.protobuf.ServiceOptions\030\231\010 \001(\t:6\n\014o"
337+
+ "auth_scopes\022\037.google.protobuf.ServiceOpt"
338+
+ "ions\030\232\010 \001(\t:8\n\013api_version\022\037.google.prot"
339+
+ "obuf.ServiceOptions\030\301\272\253\372\001 \001(\tBi\n\016com.goo"
340+
+ "gle.apiB\013ClientProtoP\001ZAgoogle.golang.or"
341+
+ "g/genproto/googleapis/api/annotations;an"
342+
+ "notations\242\002\004GAPIb\006proto3"
342343
};
343344
descriptor =
344345
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -433,7 +434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
433434
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
434435
internal_static_google_api_PythonSettings_ExperimentalFeatures_descriptor,
435436
new java.lang.String[] {
436-
"RestAsyncIoEnabled",
437+
"RestAsyncIoEnabled", "ProtobufPythonicTypesEnabled",
437438
});
438439
internal_static_google_api_NodeSettings_descriptor = getDescriptor().getMessageTypes().get(7);
439440
internal_static_google_api_NodeSettings_fieldAccessorTable =

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
4444
"\n\031google/api/httpbody.proto\022\ngoogle.api\032"
4545
+ "\031google/protobuf/any.proto\"X\n\010HttpBody\022\024"
4646
+ "\n\014content_type\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022(\n\nex"
47-
+ "tensions\030\003 \003(\0132\024.google.protobuf.AnyBh\n\016"
47+
+ "tensions\030\003 \003(\0132\024.google.protobuf.AnyBe\n\016"
4848
+ "com.google.apiB\rHttpBodyProtoP\001Z;google."
4949
+ "golang.org/genproto/googleapis/api/httpb"
50-
+ "ody;httpbody\370\001\001\242\002\004GAPIb\006proto3"
50+
+ "ody;httpbody\242\002\004GAPIb\006proto3"
5151
};
5252
descriptor =
5353
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,22 @@ public interface ExperimentalFeaturesOrBuilder
7878
* @return The restAsyncIoEnabled.
7979
*/
8080
boolean getRestAsyncIoEnabled();
81+
82+
/**
83+
*
84+
*
85+
* <pre>
86+
* Enables generation of protobuf code using new types that are more
87+
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
88+
* enabled by default 1 month after launching the feature in preview
89+
* packages.
90+
* </pre>
91+
*
92+
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
93+
*
94+
* @return The protobufPythonicTypesEnabled.
95+
*/
96+
boolean getProtobufPythonicTypesEnabled();
8197
}
8298
/**
8399
*
@@ -144,6 +160,27 @@ public boolean getRestAsyncIoEnabled() {
144160
return restAsyncIoEnabled_;
145161
}
146162

163+
public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER = 2;
164+
private boolean protobufPythonicTypesEnabled_ = false;
165+
/**
166+
*
167+
*
168+
* <pre>
169+
* Enables generation of protobuf code using new types that are more
170+
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
171+
* enabled by default 1 month after launching the feature in preview
172+
* packages.
173+
* </pre>
174+
*
175+
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
176+
*
177+
* @return The protobufPythonicTypesEnabled.
178+
*/
179+
@java.lang.Override
180+
public boolean getProtobufPythonicTypesEnabled() {
181+
return protobufPythonicTypesEnabled_;
182+
}
183+
147184
private byte memoizedIsInitialized = -1;
148185

149186
@java.lang.Override
@@ -161,6 +198,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
161198
if (restAsyncIoEnabled_ != false) {
162199
output.writeBool(1, restAsyncIoEnabled_);
163200
}
201+
if (protobufPythonicTypesEnabled_ != false) {
202+
output.writeBool(2, protobufPythonicTypesEnabled_);
203+
}
164204
getUnknownFields().writeTo(output);
165205
}
166206

@@ -173,6 +213,10 @@ public int getSerializedSize() {
173213
if (restAsyncIoEnabled_ != false) {
174214
size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, restAsyncIoEnabled_);
175215
}
216+
if (protobufPythonicTypesEnabled_ != false) {
217+
size +=
218+
com.google.protobuf.CodedOutputStream.computeBoolSize(2, protobufPythonicTypesEnabled_);
219+
}
176220
size += getUnknownFields().getSerializedSize();
177221
memoizedSize = size;
178222
return size;
@@ -190,6 +234,8 @@ public boolean equals(final java.lang.Object obj) {
190234
(com.google.api.PythonSettings.ExperimentalFeatures) obj;
191235

192236
if (getRestAsyncIoEnabled() != other.getRestAsyncIoEnabled()) return false;
237+
if (getProtobufPythonicTypesEnabled() != other.getProtobufPythonicTypesEnabled())
238+
return false;
193239
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
194240
return true;
195241
}
@@ -203,6 +249,9 @@ public int hashCode() {
203249
hash = (19 * hash) + getDescriptor().hashCode();
204250
hash = (37 * hash) + REST_ASYNC_IO_ENABLED_FIELD_NUMBER;
205251
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRestAsyncIoEnabled());
252+
hash = (37 * hash) + PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER;
253+
hash =
254+
(53 * hash) + com.google.protobuf.Internal.hashBoolean(getProtobufPythonicTypesEnabled());
206255
hash = (29 * hash) + getUnknownFields().hashCode();
207256
memoizedHashCode = hash;
208257
return hash;
@@ -347,6 +396,7 @@ public Builder clear() {
347396
super.clear();
348397
bitField0_ = 0;
349398
restAsyncIoEnabled_ = false;
399+
protobufPythonicTypesEnabled_ = false;
350400
return this;
351401
}
352402

@@ -386,6 +436,9 @@ private void buildPartial0(com.google.api.PythonSettings.ExperimentalFeatures re
386436
if (((from_bitField0_ & 0x00000001) != 0)) {
387437
result.restAsyncIoEnabled_ = restAsyncIoEnabled_;
388438
}
439+
if (((from_bitField0_ & 0x00000002) != 0)) {
440+
result.protobufPythonicTypesEnabled_ = protobufPythonicTypesEnabled_;
441+
}
389442
}
390443

391444
@java.lang.Override
@@ -439,6 +492,9 @@ public Builder mergeFrom(com.google.api.PythonSettings.ExperimentalFeatures othe
439492
if (other.getRestAsyncIoEnabled() != false) {
440493
setRestAsyncIoEnabled(other.getRestAsyncIoEnabled());
441494
}
495+
if (other.getProtobufPythonicTypesEnabled() != false) {
496+
setProtobufPythonicTypesEnabled(other.getProtobufPythonicTypesEnabled());
497+
}
442498
this.mergeUnknownFields(other.getUnknownFields());
443499
onChanged();
444500
return this;
@@ -471,6 +527,12 @@ public Builder mergeFrom(
471527
bitField0_ |= 0x00000001;
472528
break;
473529
} // case 8
530+
case 16:
531+
{
532+
protobufPythonicTypesEnabled_ = input.readBool();
533+
bitField0_ |= 0x00000002;
534+
break;
535+
} // case 16
474536
default:
475537
{
476538
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -552,6 +614,68 @@ public Builder clearRestAsyncIoEnabled() {
552614
return this;
553615
}
554616

617+
private boolean protobufPythonicTypesEnabled_;
618+
/**
619+
*
620+
*
621+
* <pre>
622+
* Enables generation of protobuf code using new types that are more
623+
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
624+
* enabled by default 1 month after launching the feature in preview
625+
* packages.
626+
* </pre>
627+
*
628+
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
629+
*
630+
* @return The protobufPythonicTypesEnabled.
631+
*/
632+
@java.lang.Override
633+
public boolean getProtobufPythonicTypesEnabled() {
634+
return protobufPythonicTypesEnabled_;
635+
}
636+
/**
637+
*
638+
*
639+
* <pre>
640+
* Enables generation of protobuf code using new types that are more
641+
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
642+
* enabled by default 1 month after launching the feature in preview
643+
* packages.
644+
* </pre>
645+
*
646+
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
647+
*
648+
* @param value The protobufPythonicTypesEnabled to set.
649+
* @return This builder for chaining.
650+
*/
651+
public Builder setProtobufPythonicTypesEnabled(boolean value) {
652+
653+
protobufPythonicTypesEnabled_ = value;
654+
bitField0_ |= 0x00000002;
655+
onChanged();
656+
return this;
657+
}
658+
/**
659+
*
660+
*
661+
* <pre>
662+
* Enables generation of protobuf code using new types that are more
663+
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
664+
* enabled by default 1 month after launching the feature in preview
665+
* packages.
666+
* </pre>
667+
*
668+
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
669+
*
670+
* @return This builder for chaining.
671+
*/
672+
public Builder clearProtobufPythonicTypesEnabled() {
673+
bitField0_ = (bitField0_ & ~0x00000002);
674+
protobufPythonicTypesEnabled_ = false;
675+
onChanged();
676+
return this;
677+
}
678+
555679
@java.lang.Override
556680
public final Builder setUnknownFields(
557681
final com.google.protobuf.UnknownFieldSet unknownFields) {

0 commit comments

Comments
 (0)
0