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

Commit

Permalink
feat: Add the UNORDERED_LIST enum value for `google.api.field_behav…
Browse files Browse the repository at this point in the history
…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 51d6ae0
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 53 deletions.
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Expand Up @@ -95,8 +95,8 @@ public interface AuthProviderOrBuilder
* 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
Expand All @@ -117,8 +117,8 @@ public interface AuthProviderOrBuilder
* 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
Expand Down
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Expand Up @@ -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),
;

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down
Expand Up @@ -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(
Expand Down
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
Expand Up @@ -27,7 +27,7 @@ public interface ServiceOrBuilder
*
*
* <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>
Expand All @@ -39,7 +39,7 @@ public interface ServiceOrBuilder
*
*
* <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>
Expand All @@ -51,7 +51,7 @@ public interface ServiceOrBuilder
*
*
* <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>
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -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"
}
},
{
Expand Down

0 comments on commit 51d6ae0

Please sign in to comment.