From 5884336fcafdd67735a50aa6ee17378e432fae1b Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 26 Oct 2024 02:24:15 +0000 Subject: [PATCH 01/16] chore: update googleapis commit at Sat Oct 26 02:24:11 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 484c904e7a..ad538fa02a 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 537fd482f6bb8afb3a146d9b21673a8eb27958bd +googleapis_commitish: 0b8fa5230f3f04e3ea8aa8343f21b505bb2b7a10 # 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. From 94bb650730a27136c525ebfc41f3814e170bc174 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sun, 27 Oct 2024 02:32:55 +0000 Subject: [PATCH 02/16] chore: update googleapis commit at Sun Oct 27 02:32:50 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index ad538fa02a..6c40e2fb87 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 0b8fa5230f3f04e3ea8aa8343f21b505bb2b7a10 +googleapis_commitish: 48d30c4966ef9ea31b897e13f75d8f94070cc8e9 # 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. From f80dbaaf72888f76866005852c485091818d454f Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 29 Oct 2024 02:27:38 +0000 Subject: [PATCH 03/16] chore: update googleapis commit at Tue Oct 29 02:27:29 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 6c40e2fb87..07845d8755 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 48d30c4966ef9ea31b897e13f75d8f94070cc8e9 +googleapis_commitish: ba8ea80f25d19bde8501cd51f314391f8d39bde8 # 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. From 07d130765272582eef95271cc6afa356f7b3b6cf Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 30 Oct 2024 02:27:17 +0000 Subject: [PATCH 04/16] chore: update googleapis commit at Wed Oct 30 02:27:08 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 07845d8755..2ae59424ae 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: ba8ea80f25d19bde8501cd51f314391f8d39bde8 +googleapis_commitish: f108d78638893ec91cc0d71222ed3d9a048f7a98 # 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. From 9299f7bec903833eaa2922e2a494241e662ac35a Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 31 Oct 2024 02:27:50 +0000 Subject: [PATCH 05/16] chore: update googleapis commit at Thu Oct 31 02:27:39 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 2ae59424ae..b534147e2c 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: f108d78638893ec91cc0d71222ed3d9a048f7a98 +googleapis_commitish: 8c534a5c3afe69eeca1b9d4c8415d6d1952aa5ce # 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. From 0d90e4ab3afdb990adcfc903d2b2c2aaa537e0b6 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 1 Nov 2024 02:30:16 +0000 Subject: [PATCH 06/16] chore: update googleapis commit at Fri Nov 1 02:30:07 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index b534147e2c..7073df07d4 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 8c534a5c3afe69eeca1b9d4c8415d6d1952aa5ce +googleapis_commitish: abc17a0a28e8680c356576a3f5e498d6c630e62c # 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. From d27fe385aeea9b490230f44c889cd94f61b401e9 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 2 Nov 2024 02:25:14 +0000 Subject: [PATCH 07/16] chore: update googleapis commit at Sat Nov 2 02:25:04 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 7073df07d4..3af1128bd1 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: abc17a0a28e8680c356576a3f5e498d6c630e62c +googleapis_commitish: 9b94dba2f7f4b601f8232bc3a3f6ef32665279b9 # 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. From d70a7c35ba0181628dcf03a333bffe112b00b078 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 5 Nov 2024 02:25:19 +0000 Subject: [PATCH 08/16] chore: update googleapis commit at Tue Nov 5 02:25:08 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 3af1128bd1..c37d1e33ed 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 9b94dba2f7f4b601f8232bc3a3f6ef32665279b9 +googleapis_commitish: 1f2e5aab4f95b9bd38dd1ac8c7486657f93c1975 # 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. From 63e175846e3695779ca246b7b722c56445058bdd Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 6 Nov 2024 02:24:52 +0000 Subject: [PATCH 09/16] chore: update googleapis commit at Wed Nov 6 02:24:40 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index c37d1e33ed..56b23b96cb 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 1f2e5aab4f95b9bd38dd1ac8c7486657f93c1975 +googleapis_commitish: 5e306b977beaf42766855a4a26ebe1f2dd133d92 # 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. From f205c3060af51a55c4c870cf3507d6bcf7858942 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 7 Nov 2024 02:25:27 +0000 Subject: [PATCH 10/16] chore: update googleapis commit at Thu Nov 7 02:25:16 UTC 2024 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 56b23b96cb..d98fd3f224 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: 5e306b977beaf42766855a4a26ebe1f2dd133d92 +googleapis_commitish: 69c246d6fb31a16c2a23c62753117773cd6c57c8 # 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. From 218229c3b256564ba6d2b6451feb951fa2647cc1 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 7 Nov 2024 02:33:23 +0000 Subject: [PATCH 11/16] chore: generate libraries at Thu Nov 7 02:32:08 UTC 2024 --- .../main/java/com/google/api/ClientProto.java | 91 ++++++------- .../java/com/google/api/HttpBodyProto.java | 4 +- .../java/com/google/api/PythonSettings.java | 124 ++++++++++++++++++ .../main/java/com/google/api/QuotaLimit.java | 28 ++-- .../com/google/api/QuotaLimitOrBuilder.java | 8 +- .../src/main/proto/google/api/client.proto | 6 + .../src/main/proto/google/api/httpbody.proto | 1 - .../src/main/proto/google/api/quota.proto | 4 +- 8 files changed, 198 insertions(+), 68 deletions(-) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java index 3f33631b0f..86a8da410d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java @@ -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( @@ -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 = diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java index 97e6daa43f..c43d36461d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java @@ -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( diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java index bda54c7919..2f84ad752c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java @@ -78,6 +78,22 @@ public interface ExperimentalFeaturesOrBuilder * @return The restAsyncIoEnabled. */ boolean getRestAsyncIoEnabled(); + + /** + * + * + *
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2; + * + * @return The protobufPythonicTypesEnabled. + */ + boolean getProtobufPythonicTypesEnabled(); } /** * @@ -144,6 +160,27 @@ public boolean getRestAsyncIoEnabled() { return restAsyncIoEnabled_; } + public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER = 2; + private boolean protobufPythonicTypesEnabled_ = false; + /** + * + * + *
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2; + * + * @return The protobufPythonicTypesEnabled. + */ + @java.lang.Override + public boolean getProtobufPythonicTypesEnabled() { + return protobufPythonicTypesEnabled_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -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); } @@ -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; @@ -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; } @@ -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; @@ -347,6 +396,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; restAsyncIoEnabled_ = false; + protobufPythonicTypesEnabled_ = false; return this; } @@ -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 @@ -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; @@ -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)) { @@ -552,6 +614,68 @@ public Builder clearRestAsyncIoEnabled() { return this; } + private boolean protobufPythonicTypesEnabled_; + /** + * + * + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2; + * + * @return The protobufPythonicTypesEnabled. + */ + @java.lang.Override + public boolean getProtobufPythonicTypesEnabled() { + return protobufPythonicTypesEnabled_; + } + /** + * + * + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2; + * + * @param value The protobufPythonicTypesEnabled to set. + * @return This builder for chaining. + */ + public Builder setProtobufPythonicTypesEnabled(boolean value) { + + protobufPythonicTypesEnabled_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2; + * + * @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) { diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java index 6bbe88f418..3a7b46b386 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java @@ -392,8 +392,8 @@ public com.google.protobuf.ByteString getMetricBytes() { * *
    * Specify the unit of the quota limit. It uses the same syntax as
-   * [Metric.unit][]. The supported unit kinds are determined by the quota
-   * backend system.
+   * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+   * unit kinds are determined by the quota backend system.
    *
    * Here are some examples:
    * * "1/min/{project}" for quota per minute per project.
@@ -423,8 +423,8 @@ public java.lang.String getUnit() {
    *
    * 
    * Specify the unit of the quota limit. It uses the same syntax as
-   * [Metric.unit][]. The supported unit kinds are determined by the quota
-   * backend system.
+   * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+   * unit kinds are determined by the quota backend system.
    *
    * Here are some examples:
    * * "1/min/{project}" for quota per minute per project.
@@ -1909,8 +1909,8 @@ public Builder setMetricBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Specify the unit of the quota limit. It uses the same syntax as
-     * [Metric.unit][]. The supported unit kinds are determined by the quota
-     * backend system.
+     * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+     * unit kinds are determined by the quota backend system.
      *
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
@@ -1939,8 +1939,8 @@ public java.lang.String getUnit() {
      *
      * 
      * Specify the unit of the quota limit. It uses the same syntax as
-     * [Metric.unit][]. The supported unit kinds are determined by the quota
-     * backend system.
+     * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+     * unit kinds are determined by the quota backend system.
      *
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
@@ -1969,8 +1969,8 @@ public com.google.protobuf.ByteString getUnitBytes() {
      *
      * 
      * Specify the unit of the quota limit. It uses the same syntax as
-     * [Metric.unit][]. The supported unit kinds are determined by the quota
-     * backend system.
+     * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+     * unit kinds are determined by the quota backend system.
      *
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
@@ -1998,8 +1998,8 @@ public Builder setUnit(java.lang.String value) {
      *
      * 
      * Specify the unit of the quota limit. It uses the same syntax as
-     * [Metric.unit][]. The supported unit kinds are determined by the quota
-     * backend system.
+     * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+     * unit kinds are determined by the quota backend system.
      *
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
@@ -2023,8 +2023,8 @@ public Builder clearUnit() {
      *
      * 
      * Specify the unit of the quota limit. It uses the same syntax as
-     * [Metric.unit][]. The supported unit kinds are determined by the quota
-     * backend system.
+     * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+     * unit kinds are determined by the quota backend system.
      *
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java
index c74a69f111..f420d609db 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java
@@ -214,8 +214,8 @@ public interface QuotaLimitOrBuilder
    *
    * 
    * Specify the unit of the quota limit. It uses the same syntax as
-   * [Metric.unit][]. The supported unit kinds are determined by the quota
-   * backend system.
+   * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+   * unit kinds are determined by the quota backend system.
    *
    * Here are some examples:
    * * "1/min/{project}" for quota per minute per project.
@@ -234,8 +234,8 @@ public interface QuotaLimitOrBuilder
    *
    * 
    * Specify the unit of the quota limit. It uses the same syntax as
-   * [Metric.unit][]. The supported unit kinds are determined by the quota
-   * backend system.
+   * [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+   * unit kinds are determined by the quota backend system.
    *
    * Here are some examples:
    * * "1/min/{project}" for quota per minute per project.
diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
index 7ba1db3da0..6003be5307 100644
--- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
+++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto
@@ -275,6 +275,12 @@ message PythonSettings {
     // This feature will be enabled by default 1 month after launching the
     // feature in preview packages.
     bool rest_async_io_enabled = 1;
+
+    // Enables generation of protobuf code using new types that are more
+    // Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+    // enabled by default 1 month after launching the feature in preview
+    // packages.
+    bool protobuf_pythonic_types_enabled = 2;
   }
 
   // Some settings.
diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto
index 920612dc72..32952715de 100644
--- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto
+++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto
@@ -18,7 +18,6 @@ package google.api;
 
 import "google/protobuf/any.proto";
 
-option cc_enable_arenas = true;
 option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody";
 option java_multiple_files = true;
 option java_outer_classname = "HttpBodyProto";
diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto
index eb80cb6f02..25adb344cd 100644
--- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto
+++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto
@@ -161,8 +161,8 @@ message QuotaLimit {
   string metric = 8;
 
   // Specify the unit of the quota limit. It uses the same syntax as
-  // [Metric.unit][]. The supported unit kinds are determined by the quota
-  // backend system.
+  // [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
+  // unit kinds are determined by the quota backend system.
   //
   // Here are some examples:
   // * "1/min/{project}" for quota per minute per project.

From bdd29fa443f6f358c57a639f1d0786725ed2695e Mon Sep 17 00:00:00 2001
From: cloud-java-bot 
Date: Fri, 8 Nov 2024 02:25:25 +0000
Subject: [PATCH 12/16] chore: update googleapis commit at Fri Nov  8 02:25:14
 UTC 2024

---
 generation_config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generation_config.yaml b/generation_config.yaml
index d98fd3f224..81943711ef 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,4 +1,4 @@
-googleapis_commitish: 69c246d6fb31a16c2a23c62753117773cd6c57c8
+googleapis_commitish: e62f81a626426c6d38c39cfc82ea6e96f46bafd0
 # 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.

From 33487358e9d7436c74d44b24905fd693930ca308 Mon Sep 17 00:00:00 2001
From: cloud-java-bot 
Date: Sat, 9 Nov 2024 02:22:10 +0000
Subject: [PATCH 13/16] chore: update googleapis commit at Sat Nov  9 02:22:00
 UTC 2024

---
 generation_config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generation_config.yaml b/generation_config.yaml
index 81943711ef..2cbe4ff0ad 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,4 +1,4 @@
-googleapis_commitish: e62f81a626426c6d38c39cfc82ea6e96f46bafd0
+googleapis_commitish: c72f219fedbb57d3f83c10550e135c4824b670eb
 # 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.

From 8b8aefe0eb4c48baf208163e78ab997d54c29b7c Mon Sep 17 00:00:00 2001
From: cloud-java-bot 
Date: Tue, 12 Nov 2024 02:24:06 +0000
Subject: [PATCH 14/16] chore: update googleapis commit at Tue Nov 12 02:23:57
 UTC 2024

---
 generation_config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generation_config.yaml b/generation_config.yaml
index 2cbe4ff0ad..e0849680ad 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,4 +1,4 @@
-googleapis_commitish: c72f219fedbb57d3f83c10550e135c4824b670eb
+googleapis_commitish: 5257378f52352e70b8995713f0d4484bdab7e71d
 # 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.

From 16a52969b93e1d44f792c35f54ff6db97c269fe5 Mon Sep 17 00:00:00 2001
From: cloud-java-bot 
Date: Wed, 13 Nov 2024 02:25:49 +0000
Subject: [PATCH 15/16] chore: update googleapis commit at Wed Nov 13 02:25:38
 UTC 2024

---
 generation_config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generation_config.yaml b/generation_config.yaml
index e0849680ad..aab2bc19ab 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,4 +1,4 @@
-googleapis_commitish: 5257378f52352e70b8995713f0d4484bdab7e71d
+googleapis_commitish: d5a401dd23f50c5ff292f71bfa1d644837091a59
 # 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.

From 23a7d7ddd6481e83bdfb32e7a7ab4bfe7223e7ec Mon Sep 17 00:00:00 2001
From: cloud-java-bot 
Date: Thu, 14 Nov 2024 02:26:29 +0000
Subject: [PATCH 16/16] chore: update googleapis commit at Thu Nov 14 02:26:20
 UTC 2024

---
 generation_config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generation_config.yaml b/generation_config.yaml
index aab2bc19ab..b6b681dc07 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,4 +1,4 @@
-googleapis_commitish: d5a401dd23f50c5ff292f71bfa1d644837091a59
+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.