Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

Commit 51d6ae0

Browse files
feat: Add the UNORDERED_LIST enum value for google.api.field_behavior. (#95)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/4d5f8f32-a507-4654-bfa4-5be913dcb58e/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 346664095 Source-Link: googleapis/googleapis@468a94a
1 parent 4ee413b commit 51d6ae0

File tree

8 files changed

+81
-53
lines changed

8 files changed

+81
-53
lines changed

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

+14-14
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ public com.google.protobuf.ByteString getIssuerBytes() {
279279
* Optional if the key set document:
280280
* - can be retrieved from
281281
* [OpenID
282-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
283-
* the issuer.
282+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
283+
* of the issuer.
284284
* - can be inferred from the email domain of the issuer (e.g. a Google
285285
* service account).
286286
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -312,8 +312,8 @@ public java.lang.String getJwksUri() {
312312
* Optional if the key set document:
313313
* - can be retrieved from
314314
* [OpenID
315-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
316-
* the issuer.
315+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
316+
* of the issuer.
317317
* - can be inferred from the email domain of the issuer (e.g. a Google
318318
* service account).
319319
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1284,8 +1284,8 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) {
12841284
* Optional if the key set document:
12851285
* - can be retrieved from
12861286
* [OpenID
1287-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
1288-
* the issuer.
1287+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
1288+
* of the issuer.
12891289
* - can be inferred from the email domain of the issuer (e.g. a Google
12901290
* service account).
12911291
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1316,8 +1316,8 @@ public java.lang.String getJwksUri() {
13161316
* Optional if the key set document:
13171317
* - can be retrieved from
13181318
* [OpenID
1319-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
1320-
* the issuer.
1319+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
1320+
* of the issuer.
13211321
* - can be inferred from the email domain of the issuer (e.g. a Google
13221322
* service account).
13231323
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1348,8 +1348,8 @@ public com.google.protobuf.ByteString getJwksUriBytes() {
13481348
* Optional if the key set document:
13491349
* - can be retrieved from
13501350
* [OpenID
1351-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
1352-
* the issuer.
1351+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
1352+
* of the issuer.
13531353
* - can be inferred from the email domain of the issuer (e.g. a Google
13541354
* service account).
13551355
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1379,8 +1379,8 @@ public Builder setJwksUri(java.lang.String value) {
13791379
* Optional if the key set document:
13801380
* - can be retrieved from
13811381
* [OpenID
1382-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
1383-
* the issuer.
1382+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
1383+
* of the issuer.
13841384
* - can be inferred from the email domain of the issuer (e.g. a Google
13851385
* service account).
13861386
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1406,8 +1406,8 @@ public Builder clearJwksUri() {
14061406
* Optional if the key set document:
14071407
* - can be retrieved from
14081408
* [OpenID
1409-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
1410-
* the issuer.
1409+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
1410+
* of the issuer.
14111411
* - can be inferred from the email domain of the issuer (e.g. a Google
14121412
* service account).
14131413
* Example: https://www.googleapis.com/oauth2/v1/certs

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public interface AuthProviderOrBuilder
9595
* Optional if the key set document:
9696
* - can be retrieved from
9797
* [OpenID
98-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
99-
* the issuer.
98+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
99+
* of the issuer.
100100
* - can be inferred from the email domain of the issuer (e.g. a Google
101101
* service account).
102102
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -117,8 +117,8 @@ public interface AuthProviderOrBuilder
117117
* Optional if the key set document:
118118
* - can be retrieved from
119119
* [OpenID
120-
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
121-
* the issuer.
120+
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
121+
* of the issuer.
122122
* - can be inferred from the email domain of the issuer (e.g. a Google
123123
* service account).
124124
* Example: https://www.googleapis.com/oauth2/v1/certs

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
*
2323
*
2424
* <pre>
25-
* `Endpoint` describes a network endpoint that serves a set of APIs.
26-
* A service may expose any number of endpoints, and all endpoints share the
27-
* same service configuration, such as quota configuration and monitoring
28-
* configuration.
25+
* `Endpoint` describes a network endpoint of a service that serves a set of
26+
* APIs. It is commonly known as a service endpoint. A service may expose
27+
* any number of service endpoints, and all service endpoints share the same
28+
* service definition, such as quota limits and monitoring metrics.
2929
* Example service configuration:
3030
* name: library-example.googleapis.com
3131
* endpoints:
@@ -550,10 +550,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
550550
*
551551
*
552552
* <pre>
553-
* `Endpoint` describes a network endpoint that serves a set of APIs.
554-
* A service may expose any number of endpoints, and all endpoints share the
555-
* same service configuration, such as quota configuration and monitoring
556-
* configuration.
553+
* `Endpoint` describes a network endpoint of a service that serves a set of
554+
* APIs. It is commonly known as a service endpoint. A service may expose
555+
* any number of service endpoints, and all service endpoints share the same
556+
* service definition, such as quota limits and monitoring metrics.
557557
* Example service configuration:
558558
* name: library-example.googleapis.com
559559
* endpoints:

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

+28
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ public enum FieldBehavior implements com.google.protobuf.ProtocolMessageEnum {
103103
* <code>IMMUTABLE = 5;</code>
104104
*/
105105
IMMUTABLE(5),
106+
/**
107+
*
108+
*
109+
* <pre>
110+
* Denotes that a (repeated) field is an unordered list.
111+
* This indicates that the service may provide the elements of the list
112+
* in any arbitrary order, rather than the order the user originally
113+
* provided. Additionally, the list's order may or may not be stable.
114+
* </pre>
115+
*
116+
* <code>UNORDERED_LIST = 6;</code>
117+
*/
118+
UNORDERED_LIST(6),
106119
UNRECOGNIZED(-1),
107120
;
108121

@@ -177,6 +190,19 @@ public enum FieldBehavior implements com.google.protobuf.ProtocolMessageEnum {
177190
* <code>IMMUTABLE = 5;</code>
178191
*/
179192
public static final int IMMUTABLE_VALUE = 5;
193+
/**
194+
*
195+
*
196+
* <pre>
197+
* Denotes that a (repeated) field is an unordered list.
198+
* This indicates that the service may provide the elements of the list
199+
* in any arbitrary order, rather than the order the user originally
200+
* provided. Additionally, the list's order may or may not be stable.
201+
* </pre>
202+
*
203+
* <code>UNORDERED_LIST = 6;</code>
204+
*/
205+
public static final int UNORDERED_LIST_VALUE = 6;
180206

181207
public final int getNumber() {
182208
if (this == UNRECOGNIZED) {
@@ -214,6 +240,8 @@ public static FieldBehavior forNumber(int value) {
214240
return INPUT_ONLY;
215241
case 5:
216242
return IMMUTABLE;
243+
case 6:
244+
return UNORDERED_LIST;
217245
default:
218246
return null;
219247
}

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
6565
java.lang.String[] descriptorData = {
6666
"\n\037google/api/field_behavior.proto\022\ngoogl"
6767
+ "e.api\032 google/protobuf/descriptor.proto*"
68-
+ "{\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSPE"
69-
+ "CIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n\013"
70-
+ "OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTAB"
71-
+ "LE\020\005:Q\n\016field_behavior\022\035.google.protobuf"
72-
+ ".FieldOptions\030\234\010 \003(\0162\031.google.api.FieldB"
73-
+ "ehaviorBp\n\016com.google.apiB\022FieldBehavior"
74-
+ "ProtoP\001ZAgoogle.golang.org/genproto/goog"
75-
+ "leapis/api/annotations;annotations\242\002\004GAP"
76-
+ "Ib\006proto3"
68+
+ "\217\001\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSP"
69+
+ "ECIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n"
70+
+ "\013OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTA"
71+
+ "BLE\020\005\022\022\n\016UNORDERED_LIST\020\006:Q\n\016field_behav"
72+
+ "ior\022\035.google.protobuf.FieldOptions\030\234\010 \003("
73+
+ "\0162\031.google.api.FieldBehaviorBp\n\016com.goog"
74+
+ "le.apiB\022FieldBehaviorProtoP\001ZAgoogle.gol"
75+
+ "ang.org/genproto/googleapis/api/annotati"
76+
+ "ons;annotations\242\002\004GAPIb\006proto3"
7777
};
7878
descriptor =
7979
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
458458
*
459459
*
460460
* <pre>
461-
* This field is obsolete. Its value must be set to `3`.
461+
* Deprecated. The service config compiler always sets this field to `3`.
462462
* </pre>
463463
*
464464
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -473,7 +473,7 @@ public boolean hasConfigVersion() {
473473
*
474474
*
475475
* <pre>
476-
* This field is obsolete. Its value must be set to `3`.
476+
* Deprecated. The service config compiler always sets this field to `3`.
477477
* </pre>
478478
*
479479
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -490,7 +490,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() {
490490
*
491491
*
492492
* <pre>
493-
* This field is obsolete. Its value must be set to `3`.
493+
* Deprecated. The service config compiler always sets this field to `3`.
494494
* </pre>
495495
*
496496
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3043,7 +3043,7 @@ public Builder mergeFrom(
30433043
*
30443044
*
30453045
* <pre>
3046-
* This field is obsolete. Its value must be set to `3`.
3046+
* Deprecated. The service config compiler always sets this field to `3`.
30473047
* </pre>
30483048
*
30493049
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3057,7 +3057,7 @@ public boolean hasConfigVersion() {
30573057
*
30583058
*
30593059
* <pre>
3060-
* This field is obsolete. Its value must be set to `3`.
3060+
* Deprecated. The service config compiler always sets this field to `3`.
30613061
* </pre>
30623062
*
30633063
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3077,7 +3077,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() {
30773077
*
30783078
*
30793079
* <pre>
3080-
* This field is obsolete. Its value must be set to `3`.
3080+
* Deprecated. The service config compiler always sets this field to `3`.
30813081
* </pre>
30823082
*
30833083
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3099,7 +3099,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value value) {
30993099
*
31003100
*
31013101
* <pre>
3102-
* This field is obsolete. Its value must be set to `3`.
3102+
* Deprecated. The service config compiler always sets this field to `3`.
31033103
* </pre>
31043104
*
31053105
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3118,7 +3118,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value.Builder builderF
31183118
*
31193119
*
31203120
* <pre>
3121-
* This field is obsolete. Its value must be set to `3`.
3121+
* Deprecated. The service config compiler always sets this field to `3`.
31223122
* </pre>
31233123
*
31243124
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3144,7 +3144,7 @@ public Builder mergeConfigVersion(com.google.protobuf.UInt32Value value) {
31443144
*
31453145
*
31463146
* <pre>
3147-
* This field is obsolete. Its value must be set to `3`.
3147+
* Deprecated. The service config compiler always sets this field to `3`.
31483148
* </pre>
31493149
*
31503150
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3164,7 +3164,7 @@ public Builder clearConfigVersion() {
31643164
*
31653165
*
31663166
* <pre>
3167-
* This field is obsolete. Its value must be set to `3`.
3167+
* Deprecated. The service config compiler always sets this field to `3`.
31683168
* </pre>
31693169
*
31703170
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3178,7 +3178,7 @@ public com.google.protobuf.UInt32Value.Builder getConfigVersionBuilder() {
31783178
*
31793179
*
31803180
* <pre>
3181-
* This field is obsolete. Its value must be set to `3`.
3181+
* Deprecated. The service config compiler always sets this field to `3`.
31823182
* </pre>
31833183
*
31843184
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3196,7 +3196,7 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() {
31963196
*
31973197
*
31983198
* <pre>
3199-
* This field is obsolete. Its value must be set to `3`.
3199+
* Deprecated. The service config compiler always sets this field to `3`.
32003200
* </pre>
32013201
*
32023202
* <code>.google.protobuf.UInt32Value config_version = 20;</code>

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public interface ServiceOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* This field is obsolete. Its value must be set to `3`.
30+
* Deprecated. The service config compiler always sets this field to `3`.
3131
* </pre>
3232
*
3333
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -39,7 +39,7 @@ public interface ServiceOrBuilder
3939
*
4040
*
4141
* <pre>
42-
* This field is obsolete. Its value must be set to `3`.
42+
* Deprecated. The service config compiler always sets this field to `3`.
4343
* </pre>
4444
*
4545
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -51,7 +51,7 @@ public interface ServiceOrBuilder
5151
*
5252
*
5353
* <pre>
54-
* This field is obsolete. Its value must be set to `3`.
54+
* Deprecated. The service config compiler always sets this field to `3`.
5555
* </pre>
5656
*
5757
* <code>.google.protobuf.UInt32Value config_version = 20;</code>

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-common-protos.git",
7-
"sha": "d1f5bb15490f0b1095a8dc7dbddf16af883d35fe"
7+
"sha": "4ee413bc57d984144ef8e1671c2c2063c22bb647"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "be0bdf86cd31aa7c1a7b30a9a2e9f2fd53ee3d91",
15-
"internalRef": "342353190"
14+
"sha": "468a94a87b9f80d22d1f5e3076d5bab73a5c996f",
15+
"internalRef": "346664095"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)