Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

Commit 5c1bd44

Browse files
chore: [common-protos] upgrading protobuf to 23.2 for code generation (#1730)
* chore: upgrading protobuf to 23.2 for code generation PiperOrigin-RevId: 537035741 Source-Link: googleapis/googleapis@640f743 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI1ZWMwMmVkMjAyMjg3OGY5OWM5NGM3NjMwNjBmZjZhMDE4ODk2YjZlIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: upgrading protobuf to 23.2 for code generation PiperOrigin-RevId: 537035741 Source-Link: googleapis/googleapis@640f743 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI1ZWMwMmVkMjAyMjg3OGY5OWM5NGM3NjMwNjBmZjZhMDE4ODk2YjZlIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 003b993 commit 5c1bd44

171 files changed

Lines changed: 3914 additions & 1115 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.

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
4848
return new Advice();
4949
}
5050

51-
@java.lang.Override
52-
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
53-
return this.unknownFields;
54-
}
55-
5651
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
5752
return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor;
5853
}

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

Lines changed: 104 additions & 5 deletions
Large diffs are not rendered by default.

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public interface AuthProviderOrBuilder
2929
* <pre>
3030
* The unique identifier of the auth provider. It will be referred to by
3131
* `AuthRequirement.provider_id`.
32+
*
3233
* Example: "bookstore_auth".
3334
* </pre>
3435
*
@@ -43,6 +44,7 @@ public interface AuthProviderOrBuilder
4344
* <pre>
4445
* The unique identifier of the auth provider. It will be referred to by
4546
* `AuthRequirement.provider_id`.
47+
*
4648
* Example: "bookstore_auth".
4749
* </pre>
4850
*
@@ -59,6 +61,7 @@ public interface AuthProviderOrBuilder
5961
* Identifies the principal that issued the JWT. See
6062
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
6163
* Usually a URL or an email address.
64+
*
6265
* Example: https://securetoken.google.com
6366
* Example: 1234567-compute&#64;developer.gserviceaccount.com
6467
* </pre>
@@ -75,6 +78,7 @@ public interface AuthProviderOrBuilder
7578
* Identifies the principal that issued the JWT. See
7679
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
7780
* Usually a URL or an email address.
81+
*
7882
* Example: https://securetoken.google.com
7983
* Example: 1234567-compute&#64;developer.gserviceaccount.com
8084
* </pre>
@@ -99,6 +103,7 @@ public interface AuthProviderOrBuilder
99103
* of the issuer.
100104
* - can be inferred from the email domain of the issuer (e.g. a Google
101105
* service account).
106+
*
102107
* Example: https://www.googleapis.com/oauth2/v1/certs
103108
* </pre>
104109
*
@@ -121,6 +126,7 @@ public interface AuthProviderOrBuilder
121126
* of the issuer.
122127
* - can be inferred from the email domain of the issuer (e.g. a Google
123128
* service account).
129+
*
124130
* Example: https://www.googleapis.com/oauth2/v1/certs
125131
* </pre>
126132
*
@@ -146,7 +152,9 @@ public interface AuthProviderOrBuilder
146152
* -
147153
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
148154
* - https://library-example.googleapis.com/
155+
*
149156
* Example:
157+
*
150158
* audiences: bookstore_android.apps.googleusercontent.com,
151159
* bookstore_web.apps.googleusercontent.com
152160
* </pre>
@@ -172,7 +180,9 @@ public interface AuthProviderOrBuilder
172180
* -
173181
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
174182
* - https://library-example.googleapis.com/
183+
*
175184
* Example:
185+
*
176186
* audiences: bookstore_android.apps.googleusercontent.com,
177187
* bookstore_web.apps.googleusercontent.com
178188
* </pre>
@@ -217,12 +227,15 @@ public interface AuthProviderOrBuilder
217227
* Defines the locations to extract the JWT. For now it is only used by the
218228
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
219229
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
230+
*
220231
* JWT locations can be one of HTTP headers, URL query parameters or
221232
* cookies. The rule is that the first match wins.
233+
*
222234
* If not specified, default to use following 3 locations:
223235
* 1) Authorization: Bearer
224236
* 2) x-goog-iap-jwt-assertion
225237
* 3) access_token query parameter
238+
*
226239
* Default locations can be specified as followings:
227240
* jwt_locations:
228241
* - header: Authorization
@@ -241,12 +254,15 @@ public interface AuthProviderOrBuilder
241254
* Defines the locations to extract the JWT. For now it is only used by the
242255
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
243256
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
257+
*
244258
* JWT locations can be one of HTTP headers, URL query parameters or
245259
* cookies. The rule is that the first match wins.
260+
*
246261
* If not specified, default to use following 3 locations:
247262
* 1) Authorization: Bearer
248263
* 2) x-goog-iap-jwt-assertion
249264
* 3) access_token query parameter
265+
*
250266
* Default locations can be specified as followings:
251267
* jwt_locations:
252268
* - header: Authorization
@@ -265,12 +281,15 @@ public interface AuthProviderOrBuilder
265281
* Defines the locations to extract the JWT. For now it is only used by the
266282
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
267283
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
284+
*
268285
* JWT locations can be one of HTTP headers, URL query parameters or
269286
* cookies. The rule is that the first match wins.
287+
*
270288
* If not specified, default to use following 3 locations:
271289
* 1) Authorization: Bearer
272290
* 2) x-goog-iap-jwt-assertion
273291
* 3) access_token query parameter
292+
*
274293
* Default locations can be specified as followings:
275294
* jwt_locations:
276295
* - header: Authorization
@@ -289,12 +308,15 @@ public interface AuthProviderOrBuilder
289308
* Defines the locations to extract the JWT. For now it is only used by the
290309
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
291310
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
311+
*
292312
* JWT locations can be one of HTTP headers, URL query parameters or
293313
* cookies. The rule is that the first match wins.
314+
*
294315
* If not specified, default to use following 3 locations:
295316
* 1) Authorization: Bearer
296317
* 2) x-goog-iap-jwt-assertion
297318
* 3) access_token query parameter
319+
*
298320
* Default locations can be specified as followings:
299321
* jwt_locations:
300322
* - header: Authorization
@@ -313,12 +335,15 @@ public interface AuthProviderOrBuilder
313335
* Defines the locations to extract the JWT. For now it is only used by the
314336
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
315337
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
338+
*
316339
* JWT locations can be one of HTTP headers, URL query parameters or
317340
* cookies. The rule is that the first match wins.
341+
*
318342
* If not specified, default to use following 3 locations:
319343
* 1) Authorization: Bearer
320344
* 2) x-goog-iap-jwt-assertion
321345
* 3) access_token query parameter
346+
*
322347
* Default locations can be specified as followings:
323348
* jwt_locations:
324349
* - header: Authorization

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

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
5050
return new AuthRequirement();
5151
}
5252

53-
@java.lang.Override
54-
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
55-
return this.unknownFields;
56-
}
57-
5853
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
5954
return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor;
6055
}
@@ -76,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
7671
*
7772
* <pre>
7873
* [id][google.api.AuthProvider.id] from authentication provider.
74+
*
7975
* Example:
76+
*
8077
* provider_id: bookstore_auth
8178
* </pre>
8279
*
@@ -101,7 +98,9 @@ public java.lang.String getProviderId() {
10198
*
10299
* <pre>
103100
* [id][google.api.AuthProvider.id] from authentication provider.
101+
*
104102
* Example:
103+
*
105104
* provider_id: bookstore_auth
106105
* </pre>
107106
*
@@ -132,6 +131,7 @@ public com.google.protobuf.ByteString getProviderIdBytes() {
132131
* <pre>
133132
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
134133
* implemented and accepted in all the runtime components.
134+
*
135135
* The list of JWT
136136
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
137137
* that are allowed to access. A JWT containing any of these audiences will
@@ -140,7 +140,9 @@ public com.google.protobuf.ByteString getProviderIdBytes() {
140140
* will be accepted. For example, if no audiences are in the setting,
141141
* LibraryService API will only accept JWTs with the following audience
142142
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
143+
*
143144
* Example:
145+
*
144146
* audiences: bookstore_android.apps.googleusercontent.com,
145147
* bookstore_web.apps.googleusercontent.com
146148
* </pre>
@@ -167,6 +169,7 @@ public java.lang.String getAudiences() {
167169
* <pre>
168170
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
169171
* implemented and accepted in all the runtime components.
172+
*
170173
* The list of JWT
171174
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
172175
* that are allowed to access. A JWT containing any of these audiences will
@@ -175,7 +178,9 @@ public java.lang.String getAudiences() {
175178
* will be accepted. For example, if no audiences are in the setting,
176179
* LibraryService API will only accept JWTs with the following audience
177180
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
181+
*
178182
* Example:
183+
*
179184
* audiences: bookstore_android.apps.googleusercontent.com,
180185
* bookstore_web.apps.googleusercontent.com
181186
* </pre>
@@ -563,7 +568,9 @@ public Builder mergeFrom(
563568
*
564569
* <pre>
565570
* [id][google.api.AuthProvider.id] from authentication provider.
571+
*
566572
* Example:
573+
*
567574
* provider_id: bookstore_auth
568575
* </pre>
569576
*
@@ -587,7 +594,9 @@ public java.lang.String getProviderId() {
587594
*
588595
* <pre>
589596
* [id][google.api.AuthProvider.id] from authentication provider.
597+
*
590598
* Example:
599+
*
591600
* provider_id: bookstore_auth
592601
* </pre>
593602
*
@@ -611,7 +620,9 @@ public com.google.protobuf.ByteString getProviderIdBytes() {
611620
*
612621
* <pre>
613622
* [id][google.api.AuthProvider.id] from authentication provider.
623+
*
614624
* Example:
625+
*
615626
* provider_id: bookstore_auth
616627
* </pre>
617628
*
@@ -634,7 +645,9 @@ public Builder setProviderId(java.lang.String value) {
634645
*
635646
* <pre>
636647
* [id][google.api.AuthProvider.id] from authentication provider.
648+
*
637649
* Example:
650+
*
638651
* provider_id: bookstore_auth
639652
* </pre>
640653
*
@@ -653,7 +666,9 @@ public Builder clearProviderId() {
653666
*
654667
* <pre>
655668
* [id][google.api.AuthProvider.id] from authentication provider.
669+
*
656670
* Example:
671+
*
657672
* provider_id: bookstore_auth
658673
* </pre>
659674
*
@@ -680,6 +695,7 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) {
680695
* <pre>
681696
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
682697
* implemented and accepted in all the runtime components.
698+
*
683699
* The list of JWT
684700
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
685701
* that are allowed to access. A JWT containing any of these audiences will
@@ -688,7 +704,9 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) {
688704
* will be accepted. For example, if no audiences are in the setting,
689705
* LibraryService API will only accept JWTs with the following audience
690706
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
707+
*
691708
* Example:
709+
*
692710
* audiences: bookstore_android.apps.googleusercontent.com,
693711
* bookstore_web.apps.googleusercontent.com
694712
* </pre>
@@ -714,6 +732,7 @@ public java.lang.String getAudiences() {
714732
* <pre>
715733
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
716734
* implemented and accepted in all the runtime components.
735+
*
717736
* The list of JWT
718737
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
719738
* that are allowed to access. A JWT containing any of these audiences will
@@ -722,7 +741,9 @@ public java.lang.String getAudiences() {
722741
* will be accepted. For example, if no audiences are in the setting,
723742
* LibraryService API will only accept JWTs with the following audience
724743
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
744+
*
725745
* Example:
746+
*
726747
* audiences: bookstore_android.apps.googleusercontent.com,
727748
* bookstore_web.apps.googleusercontent.com
728749
* </pre>
@@ -748,6 +769,7 @@ public com.google.protobuf.ByteString getAudiencesBytes() {
748769
* <pre>
749770
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
750771
* implemented and accepted in all the runtime components.
772+
*
751773
* The list of JWT
752774
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
753775
* that are allowed to access. A JWT containing any of these audiences will
@@ -756,7 +778,9 @@ public com.google.protobuf.ByteString getAudiencesBytes() {
756778
* will be accepted. For example, if no audiences are in the setting,
757779
* LibraryService API will only accept JWTs with the following audience
758780
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
781+
*
759782
* Example:
783+
*
760784
* audiences: bookstore_android.apps.googleusercontent.com,
761785
* bookstore_web.apps.googleusercontent.com
762786
* </pre>
@@ -781,6 +805,7 @@ public Builder setAudiences(java.lang.String value) {
781805
* <pre>
782806
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
783807
* implemented and accepted in all the runtime components.
808+
*
784809
* The list of JWT
785810
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
786811
* that are allowed to access. A JWT containing any of these audiences will
@@ -789,7 +814,9 @@ public Builder setAudiences(java.lang.String value) {
789814
* will be accepted. For example, if no audiences are in the setting,
790815
* LibraryService API will only accept JWTs with the following audience
791816
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
817+
*
792818
* Example:
819+
*
793820
* audiences: bookstore_android.apps.googleusercontent.com,
794821
* bookstore_web.apps.googleusercontent.com
795822
* </pre>
@@ -810,6 +837,7 @@ public Builder clearAudiences() {
810837
* <pre>
811838
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
812839
* implemented and accepted in all the runtime components.
840+
*
813841
* The list of JWT
814842
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
815843
* that are allowed to access. A JWT containing any of these audiences will
@@ -818,7 +846,9 @@ public Builder clearAudiences() {
818846
* will be accepted. For example, if no audiences are in the setting,
819847
* LibraryService API will only accept JWTs with the following audience
820848
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
849+
*
821850
* Example:
851+
*
822852
* audiences: bookstore_android.apps.googleusercontent.com,
823853
* bookstore_web.apps.googleusercontent.com
824854
* </pre>

0 commit comments

Comments
 (0)