Skip to content

Commit

Permalink
chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024 (#3318)
Browse files Browse the repository at this point in the history
chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024

---------

Co-authored-by: Jin Seop Kim <jinseop@google.com>
  • Loading branch information
cloud-java-bot and jinseopkim0 authored Nov 14, 2024
1 parent 1138ca6 commit 0262dcb
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 69 deletions.
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: 537fd482f6bb8afb3a146d9b21673a8eb27958bd
googleapis_commitish: 6b5d85c66e0885b1665040f6f80b2401f60c1068
# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
# library.library_name is not defined.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,53 +292,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "alue\030\002 \001(\t:\0028\001\"A\n\013CppSettings\0222\n\006common\030"
+ "\001 \001(\0132\".google.api.CommonLanguageSetting"
+ "s\"A\n\013PhpSettings\0222\n\006common\030\001 \001(\0132\".googl"
+ "e.api.CommonLanguageSettings\"\313\001\n\016PythonS"
+ "e.api.CommonLanguageSettings\"\364\001\n\016PythonS"
+ "ettings\0222\n\006common\030\001 \001(\0132\".google.api.Com"
+ "monLanguageSettings\022N\n\025experimental_feat"
+ "ures\030\002 \001(\0132/.google.api.PythonSettings.E"
+ "xperimentalFeatures\0325\n\024ExperimentalFeatu"
+ "res\022\035\n\025rest_async_io_enabled\030\001 \001(\010\"B\n\014No"
+ "deSettings\0222\n\006common\030\001 \001(\0132\".google.api."
+ "CommonLanguageSettings\"\252\003\n\016DotnetSetting"
+ "s\0222\n\006common\030\001 \001(\0132\".google.api.CommonLan"
+ "guageSettings\022I\n\020renamed_services\030\002 \003(\0132"
+ "/.google.api.DotnetSettings.RenamedServi"
+ "cesEntry\022K\n\021renamed_resources\030\003 \003(\01320.go"
+ "ogle.api.DotnetSettings.RenamedResources"
+ "Entry\022\031\n\021ignored_resources\030\004 \003(\t\022 \n\030forc"
+ "ed_namespace_aliases\030\005 \003(\t\022\036\n\026handwritte"
+ "n_signatures\030\006 \003(\t\0326\n\024RenamedServicesEnt"
+ "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025Re"
+ "namedResourcesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
+ "e\030\002 \001(\t:\0028\001\"B\n\014RubySettings\0222\n\006common\030\001 "
+ "\001(\0132\".google.api.CommonLanguageSettings\""
+ "@\n\nGoSettings\0222\n\006common\030\001 \001(\0132\".google.a"
+ "pi.CommonLanguageSettings\"\317\002\n\016MethodSett"
+ "ings\022\020\n\010selector\030\001 \001(\t\022<\n\014long_running\030\002"
+ " \001(\0132&.google.api.MethodSettings.LongRun"
+ "ning\022\035\n\025auto_populated_fields\030\003 \003(\t\032\315\001\n\013"
+ "LongRunning\0225\n\022initial_poll_delay\030\001 \001(\0132"
+ "\031.google.protobuf.Duration\022\035\n\025poll_delay"
+ "_multiplier\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001("
+ "\0132\031.google.protobuf.Duration\0225\n\022total_po"
+ "ll_timeout\030\004 \001(\0132\031.google.protobuf.Durat"
+ "ion\"+\n\030SelectiveGapicGeneration\022\017\n\007metho"
+ "ds\030\001 \003(\t*\243\001\n\031ClientLibraryOrganization\022+"
+ "\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIE"
+ "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"
+ "TREET_VIEW\020\004\022\014\n\010SHOPPING\020\005\022\007\n\003GEO\020\006\022\021\n\rG"
+ "ENERATIVE_AI\020\007*g\n\030ClientLibraryDestinati"
+ "on\022*\n&CLIENT_LIBRARY_DESTINATION_UNSPECI"
+ "FIED\020\000\022\n\n\006GITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024:"
+ "9\n\020method_signature\022\036.google.protobuf.Me"
+ "thodOptions\030\233\010 \003(\t:6\n\014default_host\022\037.goo"
+ "gle.protobuf.ServiceOptions\030\231\010 \001(\t:6\n\014oa"
+ "uth_scopes\022\037.google.protobuf.ServiceOpti"
+ "ons\030\232\010 \001(\t:8\n\013api_version\022\037.google.proto"
+ "buf.ServiceOptions\030\301\272\253\372\001 \001(\tBi\n\016com.goog"
+ "le.apiB\013ClientProtoP\001ZAgoogle.golang.org"
+ "/genproto/googleapis/api/annotations;ann"
+ "otations\242\002\004GAPIb\006proto3"
+ "xperimentalFeatures\032^\n\024ExperimentalFeatu"
+ "res\022\035\n\025rest_async_io_enabled\030\001 \001(\010\022\'\n\037pr"
+ "otobuf_pythonic_types_enabled\030\002 \001(\010\"B\n\014N"
+ "odeSettings\0222\n\006common\030\001 \001(\0132\".google.api"
+ ".CommonLanguageSettings\"\252\003\n\016DotnetSettin"
+ "gs\0222\n\006common\030\001 \001(\0132\".google.api.CommonLa"
+ "nguageSettings\022I\n\020renamed_services\030\002 \003(\013"
+ "2/.google.api.DotnetSettings.RenamedServ"
+ "icesEntry\022K\n\021renamed_resources\030\003 \003(\01320.g"
+ "oogle.api.DotnetSettings.RenamedResource"
+ "sEntry\022\031\n\021ignored_resources\030\004 \003(\t\022 \n\030for"
+ "ced_namespace_aliases\030\005 \003(\t\022\036\n\026handwritt"
+ "en_signatures\030\006 \003(\t\0326\n\024RenamedServicesEn"
+ "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0327\n\025R"
+ "enamedResourcesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
+ "ue\030\002 \001(\t:\0028\001\"B\n\014RubySettings\0222\n\006common\030\001"
+ " \001(\0132\".google.api.CommonLanguageSettings"
+ "\"@\n\nGoSettings\0222\n\006common\030\001 \001(\0132\".google."
+ "api.CommonLanguageSettings\"\317\002\n\016MethodSet"
+ "tings\022\020\n\010selector\030\001 \001(\t\022<\n\014long_running\030"
+ "\002 \001(\0132&.google.api.MethodSettings.LongRu"
+ "nning\022\035\n\025auto_populated_fields\030\003 \003(\t\032\315\001\n"
+ "\013LongRunning\0225\n\022initial_poll_delay\030\001 \001(\013"
+ "2\031.google.protobuf.Duration\022\035\n\025poll_dela"
+ "y_multiplier\030\002 \001(\002\0221\n\016max_poll_delay\030\003 \001"
+ "(\0132\031.google.protobuf.Duration\0225\n\022total_p"
+ "oll_timeout\030\004 \001(\0132\031.google.protobuf.Dura"
+ "tion\"+\n\030SelectiveGapicGeneration\022\017\n\007meth"
+ "ods\030\001 \003(\t*\243\001\n\031ClientLibraryOrganization\022"
+ "+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFI"
+ "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"
+ "STREET_VIEW\020\004\022\014\n\010SHOPPING\020\005\022\007\n\003GEO\020\006\022\021\n\r"
+ "GENERATIVE_AI\020\007*g\n\030ClientLibraryDestinat"
+ "ion\022*\n&CLIENT_LIBRARY_DESTINATION_UNSPEC"
+ "IFIED\020\000\022\n\n\006GITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024"
+ ":9\n\020method_signature\022\036.google.protobuf.M"
+ "ethodOptions\030\233\010 \003(\t:6\n\014default_host\022\037.go"
+ "ogle.protobuf.ServiceOptions\030\231\010 \001(\t:6\n\014o"
+ "auth_scopes\022\037.google.protobuf.ServiceOpt"
+ "ions\030\232\010 \001(\t:8\n\013api_version\022\037.google.prot"
+ "obuf.ServiceOptions\030\301\272\253\372\001 \001(\tBi\n\016com.goo"
+ "gle.apiB\013ClientProtoP\001ZAgoogle.golang.or"
+ "g/genproto/googleapis/api/annotations;an"
+ "notations\242\002\004GAPIb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -433,7 +434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_api_PythonSettings_ExperimentalFeatures_descriptor,
new java.lang.String[] {
"RestAsyncIoEnabled",
"RestAsyncIoEnabled", "ProtobufPythonicTypesEnabled",
});
internal_static_google_api_NodeSettings_descriptor = getDescriptor().getMessageTypes().get(7);
internal_static_google_api_NodeSettings_fieldAccessorTable =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n\031google/api/httpbody.proto\022\ngoogle.api\032"
+ "\031google/protobuf/any.proto\"X\n\010HttpBody\022\024"
+ "\n\014content_type\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022(\n\nex"
+ "tensions\030\003 \003(\0132\024.google.protobuf.AnyBh\n\016"
+ "tensions\030\003 \003(\0132\024.google.protobuf.AnyBe\n\016"
+ "com.google.apiB\rHttpBodyProtoP\001Z;google."
+ "golang.org/genproto/googleapis/api/httpb"
+ "ody;httpbody\370\001\001\242\002\004GAPIb\006proto3"
+ "ody;httpbody\242\002\004GAPIb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@ public interface ExperimentalFeaturesOrBuilder
* @return The restAsyncIoEnabled.
*/
boolean getRestAsyncIoEnabled();

/**
*
*
* <pre>
* Enables generation of protobuf code using new types that are more
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
* enabled by default 1 month after launching the feature in preview
* packages.
* </pre>
*
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
*
* @return The protobufPythonicTypesEnabled.
*/
boolean getProtobufPythonicTypesEnabled();
}
/**
*
Expand Down Expand Up @@ -144,6 +160,27 @@ public boolean getRestAsyncIoEnabled() {
return restAsyncIoEnabled_;
}

public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER = 2;
private boolean protobufPythonicTypesEnabled_ = false;
/**
*
*
* <pre>
* Enables generation of protobuf code using new types that are more
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
* enabled by default 1 month after launching the feature in preview
* packages.
* </pre>
*
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
*
* @return The protobufPythonicTypesEnabled.
*/
@java.lang.Override
public boolean getProtobufPythonicTypesEnabled() {
return protobufPythonicTypesEnabled_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand All @@ -161,6 +198,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (restAsyncIoEnabled_ != false) {
output.writeBool(1, restAsyncIoEnabled_);
}
if (protobufPythonicTypesEnabled_ != false) {
output.writeBool(2, protobufPythonicTypesEnabled_);
}
getUnknownFields().writeTo(output);
}

Expand All @@ -173,6 +213,10 @@ public int getSerializedSize() {
if (restAsyncIoEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, restAsyncIoEnabled_);
}
if (protobufPythonicTypesEnabled_ != false) {
size +=
com.google.protobuf.CodedOutputStream.computeBoolSize(2, protobufPythonicTypesEnabled_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand All @@ -190,6 +234,8 @@ public boolean equals(final java.lang.Object obj) {
(com.google.api.PythonSettings.ExperimentalFeatures) obj;

if (getRestAsyncIoEnabled() != other.getRestAsyncIoEnabled()) return false;
if (getProtobufPythonicTypesEnabled() != other.getProtobufPythonicTypesEnabled())
return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
Expand All @@ -203,6 +249,9 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REST_ASYNC_IO_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRestAsyncIoEnabled());
hash = (37 * hash) + PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER;
hash =
(53 * hash) + com.google.protobuf.Internal.hashBoolean(getProtobufPythonicTypesEnabled());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
Expand Down Expand Up @@ -347,6 +396,7 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
restAsyncIoEnabled_ = false;
protobufPythonicTypesEnabled_ = false;
return this;
}

Expand Down Expand Up @@ -386,6 +436,9 @@ private void buildPartial0(com.google.api.PythonSettings.ExperimentalFeatures re
if (((from_bitField0_ & 0x00000001) != 0)) {
result.restAsyncIoEnabled_ = restAsyncIoEnabled_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.protobufPythonicTypesEnabled_ = protobufPythonicTypesEnabled_;
}
}

@java.lang.Override
Expand Down Expand Up @@ -439,6 +492,9 @@ public Builder mergeFrom(com.google.api.PythonSettings.ExperimentalFeatures othe
if (other.getRestAsyncIoEnabled() != false) {
setRestAsyncIoEnabled(other.getRestAsyncIoEnabled());
}
if (other.getProtobufPythonicTypesEnabled() != false) {
setProtobufPythonicTypesEnabled(other.getProtobufPythonicTypesEnabled());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
Expand Down Expand Up @@ -471,6 +527,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
protobufPythonicTypesEnabled_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -552,6 +614,68 @@ public Builder clearRestAsyncIoEnabled() {
return this;
}

private boolean protobufPythonicTypesEnabled_;
/**
*
*
* <pre>
* Enables generation of protobuf code using new types that are more
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
* enabled by default 1 month after launching the feature in preview
* packages.
* </pre>
*
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
*
* @return The protobufPythonicTypesEnabled.
*/
@java.lang.Override
public boolean getProtobufPythonicTypesEnabled() {
return protobufPythonicTypesEnabled_;
}
/**
*
*
* <pre>
* Enables generation of protobuf code using new types that are more
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
* enabled by default 1 month after launching the feature in preview
* packages.
* </pre>
*
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
*
* @param value The protobufPythonicTypesEnabled to set.
* @return This builder for chaining.
*/
public Builder setProtobufPythonicTypesEnabled(boolean value) {

protobufPythonicTypesEnabled_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*
* <pre>
* Enables generation of protobuf code using new types that are more
* Pythonic which are included in `protobuf&gt;=5.29.x`. This feature will be
* enabled by default 1 month after launching the feature in preview
* packages.
* </pre>
*
* <code>bool protobuf_pythonic_types_enabled = 2;</code>
*
* @return This builder for chaining.
*/
public Builder clearProtobufPythonicTypesEnabled() {
bitField0_ = (bitField0_ & ~0x00000002);
protobufPythonicTypesEnabled_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
Expand Down
Loading

0 comments on commit 0262dcb

Please sign in to comment.