Skip to content
Permalink
Browse files
feat: Add the UNORDERED_LIST enum value for `google.api.field_behav…
…ior`. (#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
  • Loading branch information
yoshi-automation committed Dec 10, 2020
1 parent 4ee413b commit 51d6ae0b02c9c7dd32cf55dd0a67181a3f8618fe
@@ -279,8 +279,8 @@ public com.google.protobuf.ByteString getIssuerBytes() {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -312,8 +312,8 @@ public java.lang.String getJwksUri() {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1284,8 +1284,8 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1316,8 +1316,8 @@ public java.lang.String getJwksUri() {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1348,8 +1348,8 @@ public com.google.protobuf.ByteString getJwksUriBytes() {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1379,8 +1379,8 @@ public Builder setJwksUri(java.lang.String value) {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -1406,8 +1406,8 @@ public Builder clearJwksUri() {
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -95,8 +95,8 @@
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -117,8 +117,8 @@
* Optional if the key set document:
* - can be retrieved from
* [OpenID
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
* the issuer.
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
* of the issuer.
* - can be inferred from the email domain of the issuer (e.g. a Google
* service account).
* Example: https://www.googleapis.com/oauth2/v1/certs
@@ -22,10 +22,10 @@
*
*
* <pre>
* `Endpoint` describes a network endpoint that serves a set of APIs.
* A service may expose any number of endpoints, and all endpoints share the
* same service configuration, such as quota configuration and monitoring
* configuration.
* `Endpoint` describes a network endpoint of a service that serves a set of
* APIs. It is commonly known as a service endpoint. A service may expose
* any number of service endpoints, and all service endpoints share the same
* service definition, such as quota limits and monitoring metrics.
* Example service configuration:
* name: library-example.googleapis.com
* endpoints:
@@ -550,10 +550,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* <pre>
* `Endpoint` describes a network endpoint that serves a set of APIs.
* A service may expose any number of endpoints, and all endpoints share the
* same service configuration, such as quota configuration and monitoring
* configuration.
* `Endpoint` describes a network endpoint of a service that serves a set of
* APIs. It is commonly known as a service endpoint. A service may expose
* any number of service endpoints, and all service endpoints share the same
* service definition, such as quota limits and monitoring metrics.
* Example service configuration:
* name: library-example.googleapis.com
* endpoints:
@@ -103,6 +103,19 @@ public enum FieldBehavior implements com.google.protobuf.ProtocolMessageEnum {
* <code>IMMUTABLE = 5;</code>
*/
IMMUTABLE(5),
/**
*
*
* <pre>
* Denotes that a (repeated) field is an unordered list.
* This indicates that the service may provide the elements of the list
* in any arbitrary order, rather than the order the user originally
* provided. Additionally, the list's order may or may not be stable.
* </pre>
*
* <code>UNORDERED_LIST = 6;</code>
*/
UNORDERED_LIST(6),
UNRECOGNIZED(-1),
;

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

public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -214,6 +240,8 @@ public static FieldBehavior forNumber(int value) {
return INPUT_ONLY;
case 5:
return IMMUTABLE;
case 6:
return UNORDERED_LIST;
default:
return null;
}
@@ -65,15 +65,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n\037google/api/field_behavior.proto\022\ngoogl"
+ "e.api\032 google/protobuf/descriptor.proto*"
+ "{\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSPE"
+ "CIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n\013"
+ "OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTAB"
+ "LE\020\005:Q\n\016field_behavior\022\035.google.protobuf"
+ ".FieldOptions\030\234\010 \003(\0162\031.google.api.FieldB"
+ "ehaviorBp\n\016com.google.apiB\022FieldBehavior"
+ "ProtoP\001ZAgoogle.golang.org/genproto/goog"
+ "leapis/api/annotations;annotations\242\002\004GAP"
+ "Ib\006proto3"
+ "\217\001\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSP"
+ "ECIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n"
+ "\013OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTA"
+ "BLE\020\005\022\022\n\016UNORDERED_LIST\020\006:Q\n\016field_behav"
+ "ior\022\035.google.protobuf.FieldOptions\030\234\010 \003("
+ "\0162\031.google.api.FieldBehaviorBp\n\016com.goog"
+ "le.apiB\022FieldBehaviorProtoP\001ZAgoogle.gol"
+ "ang.org/genproto/googleapis/api/annotati"
+ "ons;annotations\242\002\004GAPIb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -458,7 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -473,7 +473,7 @@ public boolean hasConfigVersion() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -490,7 +490,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3043,7 +3043,7 @@ public Builder mergeFrom(
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3057,7 +3057,7 @@ public boolean hasConfigVersion() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3077,7 +3077,7 @@ public com.google.protobuf.UInt32Value getConfigVersion() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3099,7 +3099,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value value) {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3118,7 +3118,7 @@ public Builder setConfigVersion(com.google.protobuf.UInt32Value.Builder builderF
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3144,7 +3144,7 @@ public Builder mergeConfigVersion(com.google.protobuf.UInt32Value value) {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3164,7 +3164,7 @@ public Builder clearConfigVersion() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3178,7 +3178,7 @@ public com.google.protobuf.UInt32Value.Builder getConfigVersionBuilder() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -3196,7 +3196,7 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() {
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -27,7 +27,7 @@
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -39,7 +39,7 @@
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -51,7 +51,7 @@
*
*
* <pre>
* This field is obsolete. Its value must be set to `3`.
* Deprecated. The service config compiler always sets this field to `3`.
* </pre>
*
* <code>.google.protobuf.UInt32Value config_version = 20;</code>
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-common-protos.git",
"sha": "d1f5bb15490f0b1095a8dc7dbddf16af883d35fe"
"sha": "4ee413bc57d984144ef8e1671c2c2063c22bb647"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "be0bdf86cd31aa7c1a7b30a9a2e9f2fd53ee3d91",
"internalRef": "342353190"
"sha": "468a94a87b9f80d22d1f5e3076d5bab73a5c996f",
"internalRef": "346664095"
}
},
{

0 comments on commit 51d6ae0

Please sign in to comment.