diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 1f218b2874bc..a1d9c6a9f2a0 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.62.3 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.63.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/generation_config.yaml b/generation_config.yaml index 37344f5d76cf..364dd75246a5 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ -gapic_generator_version: 2.62.3 -googleapis_commitish: 6821943108fe3284f483defc9b60774a3752de2b +gapic_generator_version: 2.63.0 +googleapis_commitish: 979af4bd0c12f882dfeb87e89461aa7ccd1ea4b4 libraries_bom_version: 26.70.0 # the libraries are ordered with respect to library name, which is diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index a32470f63717..0a39e1fd7713 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-accessapproval - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-accessapproval:2.77.0' +implementation 'com.google.cloud:google-cloud-accessapproval:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index 53d76b6ffe9c..1bf445039457 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-identity-accesscontextmanager - 1.77.0 + 1.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-identity-accesscontextmanager:1.77.0' +implementation 'com.google.cloud:google-identity-accesscontextmanager:1.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.77.0" +libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-admanager/README.md b/java-admanager/README.md index 6056c9fcc190..33844cf575cd 100644 --- a/java-admanager/README.md +++ b/java-admanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.api-ads ad-manager - 0.35.0 + 0.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:ad-manager:0.35.0' +implementation 'com.google.api-ads:ad-manager:0.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.35.0" +libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.36.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-advisorynotifications/README.md b/java-advisorynotifications/README.md index bcf164cba2d9..cd17cb00c5a9 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-advisorynotifications - 0.65.0 + 0.66.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-advisorynotifications:0.65.0' +implementation 'com.google.cloud:google-cloud-advisorynotifications:0.66.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.65.0" +libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.66.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.65.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.66.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index 13b14600233c..7014517a0412 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 3.77.0 + 3.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.77.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json index 744f0170e2f1..ac4cd4c38c9a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1/reflect-config.json @@ -9422,6 +9422,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.ImageConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ImageConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.ImportDataConfig", "queryAllDeclaredConstructors": true, @@ -16847,6 +16865,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec$InlineSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec$InlineSource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec$PythonSpec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.ReasoningEngineSpec$SourceCodeSpec$PythonSpec$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.RebaseTunedModelOperationMetadata", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json index 40fea9db6274..328315ecfa8c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json @@ -11762,6 +11762,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ImageConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ImageConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.ImportDataConfig", "queryAllDeclaredConstructors": true, @@ -21059,6 +21077,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec$InlineSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec$InlineSource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec$PythonSpec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec$SourceCodeSpec$PythonSpec$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.RebaseTunedModelOperationMetadata", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ReasoningEngineServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ReasoningEngineServiceClientTest.java index ff7adc4fcc24..2c9a3fc74470 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ReasoningEngineServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ReasoningEngineServiceClientTest.java @@ -120,6 +120,7 @@ public void createReasoningEngineTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setEtag("etag3123477") .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() @@ -179,6 +180,7 @@ public void createReasoningEngineTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setEtag("etag3123477") .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() @@ -238,6 +240,7 @@ public void getReasoningEngineTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setEtag("etag3123477") .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); mockReasoningEngineService.addResponse(expectedResponse); @@ -286,6 +289,7 @@ public void getReasoningEngineTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setEtag("etag3123477") .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); mockReasoningEngineService.addResponse(expectedResponse); @@ -422,6 +426,7 @@ public void updateReasoningEngineTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setEtag("etag3123477") .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineServiceClientTest.java index df9aade06bb7..e911c4f70e62 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineServiceClientTest.java @@ -121,6 +121,7 @@ public void createReasoningEngineTest() throws Exception { .setEtag("etag3123477") .setContextSpec(ReasoningEngineContextSpec.newBuilder().build()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() @@ -181,6 +182,7 @@ public void createReasoningEngineTest2() throws Exception { .setEtag("etag3123477") .setContextSpec(ReasoningEngineContextSpec.newBuilder().build()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() @@ -241,6 +243,7 @@ public void getReasoningEngineTest() throws Exception { .setEtag("etag3123477") .setContextSpec(ReasoningEngineContextSpec.newBuilder().build()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); mockReasoningEngineService.addResponse(expectedResponse); @@ -290,6 +293,7 @@ public void getReasoningEngineTest2() throws Exception { .setEtag("etag3123477") .setContextSpec(ReasoningEngineContextSpec.newBuilder().build()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); mockReasoningEngineService.addResponse(expectedResponse); @@ -427,6 +431,7 @@ public void updateReasoningEngineTest() throws Exception { .setEtag("etag3123477") .setContextSpec(ReasoningEngineContextSpec.newBuilder().build()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .putAllLabels(new HashMap()) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java index 8abecd12be93..ae535bb981ac 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContentProto.java @@ -48,6 +48,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_VideoMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_VideoMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ImageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ImageConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_GenerationConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -216,7 +220,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VideoMetadata\0224\n" + "\014start_offset\030\001" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\0222\n\n" - + "end_offset\030\002 \001(\0132\031.google.protobuf.DurationB\003\340A\001\"\370\014\n" + + "end_offset\030\002 \001(\0132\031.google.protobuf.DurationB\003\340A\001\">\n" + + "\013ImageConfig\022\036\n" + + "\014aspect_ratio\030\002 \001(\tB\003\340A\001H\000\210\001\001B\017\n\r" + + "_aspect_ratio\"\322\r\n" + "\020GenerationConfig\022\035\n" + "\013temperature\030\001 \001(\002B\003\340A\001H\000\210\001\001\022\027\n" + "\005top_p\030\002 \001(\002B\003\340A\001H\001\210\001\001\022\027\n" @@ -236,19 +243,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\210\001\001\022>\n" + "\024response_json_schema\030\034" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001H\013\210\001\001\022\\\n" - + "\016routing_config\030\021 \001(\013" - + "2:.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfigB\003\340A\001H\014\210\001\001\022Y\n" - + "\017thinking_config\030\031 \001(\0132;.google.cloud.aiplatfor" - + "m.v1.GenerationConfig.ThinkingConfigB\003\340A\001\032\302\004\n\r" + + "\016routing_config\030\021 \001(\0132:.google.cloud." + + "aiplatform.v1.GenerationConfig.RoutingConfigB\003\340A\001H\014\210\001\001\022Y\n" + + "\017thinking_config\030\031 \001(\0132" + + ";.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfigB\003\340A\001\022G\n" + + "\014image_config\030\036" + + " \001(\0132\'.google.cloud.aiplatform.v1.ImageConfigB\003\340A\001H\r" + + "\210\001\001\032\302\004\n\r" + "RoutingConfig\022_\n" - + "\tauto_mode\030\001 \001(\0132J" - + ".google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\000\022c\n" - + "\013manual_mode\030\002 \001(\0132L.google.cloud.aiplatf" - + "orm.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\000\032\233\002\n" + + "\tauto_mode\030\001 \001(\0132J.google.cloud.aiplatfor" + + "m.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\000\022c\n" + + "\013manual_mode\030\002 \001(\0132L.goo" + + "gle.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\000\032\233\002\n" + "\017AutoRoutingMode\022\210\001\n" - + "\030model_routing_preference\030\001 \001(\0162a.googl" - + "e.cloud.aiplatform.v1.GenerationConfig.R" - + "outingConfig.AutoRoutingMode.ModelRoutingPreferenceH\000\210\001\001\"`\n" + + "\030model_routing_preference\030\001 \001(\0162a.google.cloud.aiplatform.v1.G" + + "enerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\000\210\001\001\"`\n" + "\026ModelRoutingPreference\022\013\n" + "\007UNKNOWN\020\000\022\026\n" + "\022PRIORITIZE_QUALITY\020\001\022\014\n" @@ -276,14 +285,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_seedB\022\n" + "\020_response_schemaB\027\n" + "\025_response_json_schemaB\021\n" - + "\017_routing_config\"\353\003\n\r" + + "\017_routing_configB\017\n\r" + + "_image_config\"\353\003\n\r" + "SafetySetting\022?\n" + "\010category\030\001" + " \001(\0162(.google.cloud.aiplatform.v1.HarmCategoryB\003\340A\002\022T\n" - + "\tthreshold\030\002" - + " \001(\0162<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\003\340A\002\022N\n" - + "\006method\030\004" - + " \001(\01629.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\003\340A\001\"\235\001\n" + + "\tthreshold\030\002 \001(\0162<" + + ".google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\003\340A\002\022N\n" + + "\006method\030\004 \001(" + + "\01629.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\003\340A\001\"\235\001\n" + "\022HarmBlockThreshold\022$\n" + " HARM_BLOCK_THRESHOLD_UNSPECIFIED\020\000\022\027\n" + "\023BLOCK_LOW_AND_ABOVE\020\001\022\032\n" @@ -296,10 +306,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010SEVERITY\020\001\022\017\n" + "\013PROBABILITY\020\002\"\277\004\n" + "\014SafetyRating\022?\n" - + "\010category\030\001 \001(\0162(.google" - + ".cloud.aiplatform.v1.HarmCategoryB\003\340A\003\022R\n" - + "\013probability\030\002 \001(\01628.google.cloud.aipla" - + "tform.v1.SafetyRating.HarmProbabilityB\003\340A\003\022\036\n" + + "\010category\030\001" + + " \001(\0162(.google.cloud.aiplatform.v1.HarmCategoryB\003\340A\003\022R\n" + + "\013probability\030\002" + + " \001(\01628.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\003\340A\003\022\036\n" + "\021probability_score\030\005 \001(\002B\003\340A\003\022L\n" + "\010severity\030\006" + " \001(\01625.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\003\340A\003\022\033\n" @@ -329,14 +339,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020publication_date\030\006 \001(\0132\021.google.type.DateB\003\340A\003\"\340\006\n" + "\tCandidate\022\022\n" + "\005index\030\001 \001(\005B\003\340A\003\0229\n" - + "\007content\030\002 \001(\013" - + "2#.google.cloud.aiplatform.v1.ContentB\003\340A\003\022\022\n" + + "\007content\030\002" + + " \001(\0132#.google.cloud.aiplatform.v1.ContentB\003\340A\003\022\022\n" + "\005score\030\010 \001(\001B\003\340A\003\022\031\n" + "\014avg_logprobs\030\t \001(\001B\003\340A\003\022H\n" + "\017logprobs_result\030\n" - + " \001(\0132*.google.cloud.aiplatform.v1.LogprobsResultB\003\340A\003\022N\n\r" - + "finish_reason\030\003 \001(\01622.google.clou" - + "d.aiplatform.v1.Candidate.FinishReasonB\003\340A\003\022E\n" + + " \001(\0132*.google.cloud.aiplatform.v1.LogprobsResultB\003\340A\003\022N\n" + + "\r" + + "finish_reason\030\003" + + " \001(\01622.google.cloud.aiplatform.v1.Candidate.FinishReasonB\003\340A\003\022E\n" + "\016safety_ratings\030\004" + " \003(\0132(.google.cloud.aiplatform.v1.SafetyRatingB\003\340A\003\022 \n" + "\016finish_message\030\005 \001(\tB\003\340A\003H\000\210\001\001\022L\n" @@ -372,10 +383,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034URL_RETRIEVAL_STATUS_SUCCESS\020\001\022\036\n" + "\032URL_RETRIEVAL_STATUS_ERROR\020\002\"\217\003\n" + "\016LogprobsResult\022P\n" - + "\016top_candidates\030\001" - + " \003(\01328.google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\022O\n" - + "\021chosen_candidates\030\002" - + " \003(\01324.google.cloud.aiplatform.v1.LogprobsResult.Candidate\032\177\n" + + "\016top_candidates\030\001 \003(\01328" + + ".google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\022O\n" + + "\021chosen_candidates\030\002 " + + "\003(\01324.google.cloud.aiplatform.v1.LogprobsResult.Candidate\032\177\n" + "\tCandidate\022\022\n" + "\005token\030\001 \001(\tH\000\210\001\001\022\025\n" + "\010token_id\030\003 \001(\005H\001\210\001\001\022\034\n" @@ -384,8 +395,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\t_token_idB\022\n" + "\020_log_probability\032Y\n\r" + "TopCandidates\022H\n\n" - + "candidates\030\001 \003(\01324.google.c" - + "loud.aiplatform.v1.LogprobsResult.Candidate\"g\n" + + "candidates\030\001" + + " \003(\01324.google.cloud.aiplatform.v1.LogprobsResult.Candidate\"g\n" + "\007Segment\022\027\n\n" + "part_index\030\001 \001(\005B\003\340A\003\022\030\n" + "\013start_index\030\002 \001(\005B\003\340A\003\022\026\n" @@ -393,8 +404,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004text\030\004 \001(\tB\003\340A\003\"\322\007\n" + "\016GroundingChunk\022=\n" + "\003web\030\001 \001(\0132..google.cloud.aiplatform.v1.GroundingChunk.WebH\000\022X\n" - + "\021retrieved_context\030\002 \001(\0132;.google.cloud.aiplatf" - + "orm.v1.GroundingChunk.RetrievedContextH\000\022?\n" + + "\021retrieved_context\030\002" + + " \001(\0132;.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContextH\000\022?\n" + "\004maps\030\003" + " \001(\0132/.google.cloud.aiplatform.v1.GroundingChunk.MapsH\000\032=\n" + "\003Web\022\020\n" @@ -418,11 +429,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005title\030\002 \001(\tH\001\210\001\001\022\021\n" + "\004text\030\003 \001(\tH\002\210\001\001\022\025\n" + "\010place_id\030\004 \001(\tH\003\210\001\001\022`\n" - + "\024place_answer_sources\030\005 \001(" - + "\0132B.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources\032\313\001\n" + + "\024place_answer_sources\030\005 \001(\0132B.go" + + "ogle.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources\032\313\001\n" + "\022PlaceAnswerSources\022i\n" - + "\017review_snippets\030\001 \003(\0132P.google.cloud.aiplatform.v1.GroundingChun" - + "k.Maps.PlaceAnswerSources.ReviewSnippet\032J\n\r" + + "\017review_snippets\030\001 \003(\0132P.google" + + ".cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet\032J\n\r" + "ReviewSnippet\022\021\n" + "\treview_id\030\001 \001(\t\022\027\n" + "\017google_maps_uri\030\002 \001(\t\022\r\n" @@ -433,25 +444,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\t_place_idB\014\n\n" + "chunk_type\"\225\001\n" + "\020GroundingSupport\0229\n" - + "\007segment\030\001" - + " \001(\0132#.google.cloud.aiplatform.v1.SegmentH\000\210\001\001\022\037\n" + + "\007segment\030\001 \001(" + + "\0132#.google.cloud.aiplatform.v1.SegmentH\000\210\001\001\022\037\n" + "\027grounding_chunk_indices\030\002 \003(\005\022\031\n" + "\021confidence_scores\030\003 \003(\002B\n\n" + "\010_segment\"\240\005\n" + "\021GroundingMetadata\022\037\n" + "\022web_search_queries\030\001 \003(\tB\003\340A\001\022R\n" - + "\022search_entry_point\030\004" - + " \001(\0132,.google.cloud.aiplatform.v1.SearchEntryPointB\003\340A\001H\000\210\001\001\022D\n" - + "\020grounding_chunks\030\005" - + " \003(\0132*.google.cloud.aiplatform.v1.GroundingChunk\022M\n" - + "\022grounding_supports\030\006 \003(\0132," - + ".google.cloud.aiplatform.v1.GroundingSupportB\003\340A\001\022V\n" - + "\022retrieval_metadata\030\007 \001(\0132-." - + "google.cloud.aiplatform.v1.RetrievalMetadataB\006\340A\001\340A\003H\001\210\001\001\0225\n" + + "\022search_entry_point\030\004 \001(\0132," + + ".google.cloud.aiplatform.v1.SearchEntryPointB\003\340A\001H\000\210\001\001\022D\n" + + "\020grounding_chunks\030\005 \003(\013" + + "2*.google.cloud.aiplatform.v1.GroundingChunk\022M\n" + + "\022grounding_supports\030\006 \003(\0132,.googl" + + "e.cloud.aiplatform.v1.GroundingSupportB\003\340A\001\022V\n" + + "\022retrieval_metadata\030\007 \001(\0132-.google" + + ".cloud.aiplatform.v1.RetrievalMetadataB\006\340A\001\340A\003H\001\210\001\001\0225\n" + " google_maps_widget_context_token\030\010 \001(" + "\tB\006\340A\001\340A\003H\002\210\001\001\022]\n" - + "\024source_flagging_uris\030\t \003(\0132?.google.cloud.ai" - + "platform.v1.GroundingMetadata.SourceFlaggingUri\032@\n" + + "\024source_flagging_uris\030\t \003(\0132?.google.cloud.aiplatfo" + + "rm.v1.GroundingMetadata.SourceFlaggingUri\032@\n" + "\021SourceFlaggingUri\022\021\n" + "\tsource_id\030\001 \001(\t\022\030\n" + "\020flag_content_uri\030\002 \001(\tB\025\n" @@ -486,12 +497,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005VIDEO\020\003\022\t\n" + "\005AUDIO\020\004\022\014\n" + "\010DOCUMENT\020\005B\257\002\n" - + "\036com.google.cloud.aiplatform.v1B\014ContentProtoP\001Z>cloud.google.com/go/aiplatfo" - + "rm/apiv1/aiplatformpb;aiplatformpb\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1\352Ab\n" - + "\"modelarmor.googleapis.com/Template\022cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1\352Ab\n" + + "\"modelarmor.googleapis.com/Template\022 + * Optional. Config for image generation features. + * + * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + @java.lang.Override + public boolean hasImageConfig() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfig getImageConfig() { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfigOrBuilder getImageConfigOrBuilder() { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4814,6 +4873,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(28, getResponseJsonSchema()); } + if (((bitField0_ & 0x00004000) != 0)) { + output.writeMessage(30, getImageConfig()); + } getUnknownFields().writeTo(output); } @@ -4876,6 +4938,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getResponseJsonSchema()); } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getImageConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -4955,6 +5020,10 @@ public boolean equals(final java.lang.Object obj) { if (hasThinkingConfig()) { if (!getThinkingConfig().equals(other.getThinkingConfig())) return false; } + if (hasImageConfig() != other.hasImageConfig()) return false; + if (hasImageConfig()) { + if (!getImageConfig().equals(other.getImageConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5028,6 +5097,10 @@ public int hashCode() { hash = (37 * hash) + THINKING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getThinkingConfig().hashCode(); } + if (hasImageConfig()) { + hash = (37 * hash) + IMAGE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getImageConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -5173,6 +5246,7 @@ private void maybeForceBuilderInitialization() { getResponseJsonSchemaFieldBuilder(); getRoutingConfigFieldBuilder(); getThinkingConfigFieldBuilder(); + getImageConfigFieldBuilder(); } } @@ -5212,6 +5286,11 @@ public Builder clear() { thinkingConfigBuilder_.dispose(); thinkingConfigBuilder_ = null; } + imageConfig_ = null; + if (imageConfigBuilder_ != null) { + imageConfigBuilder_.dispose(); + imageConfigBuilder_ = null; + } return this; } @@ -5318,6 +5397,11 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.GenerationConfig resul thinkingConfigBuilder_ == null ? thinkingConfig_ : thinkingConfigBuilder_.build(); to_bitField0_ |= 0x00002000; } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.imageConfig_ = + imageConfigBuilder_ == null ? imageConfig_ : imageConfigBuilder_.build(); + to_bitField0_ |= 0x00004000; + } result.bitField0_ |= to_bitField0_; } @@ -5424,6 +5508,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GenerationConfig other) if (other.hasThinkingConfig()) { mergeThinkingConfig(other.getThinkingConfig()); } + if (other.hasImageConfig()) { + mergeImageConfig(other.getImageConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5548,6 +5635,12 @@ public Builder mergeFrom( bitField0_ |= 0x00002000; break; } // case 226 + case 242: + { + input.readMessage(getImageConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 242 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -7861,6 +7954,219 @@ public Builder clearThinkingConfig() { return thinkingConfigBuilder_; } + private com.google.cloud.aiplatform.v1.ImageConfig imageConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ImageConfig, + com.google.cloud.aiplatform.v1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1.ImageConfigOrBuilder> + imageConfigBuilder_; + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + public boolean hasImageConfig() { + return ((bitField0_ & 0x00010000) != 0); + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + public com.google.cloud.aiplatform.v1.ImageConfig getImageConfig() { + if (imageConfigBuilder_ == null) { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance() + : imageConfig_; + } else { + return imageConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setImageConfig(com.google.cloud.aiplatform.v1.ImageConfig value) { + if (imageConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + imageConfig_ = value; + } else { + imageConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setImageConfig( + com.google.cloud.aiplatform.v1.ImageConfig.Builder builderForValue) { + if (imageConfigBuilder_ == null) { + imageConfig_ = builderForValue.build(); + } else { + imageConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeImageConfig(com.google.cloud.aiplatform.v1.ImageConfig value) { + if (imageConfigBuilder_ == null) { + if (((bitField0_ & 0x00010000) != 0) + && imageConfig_ != null + && imageConfig_ != com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance()) { + getImageConfigBuilder().mergeFrom(value); + } else { + imageConfig_ = value; + } + } else { + imageConfigBuilder_.mergeFrom(value); + } + if (imageConfig_ != null) { + bitField0_ |= 0x00010000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearImageConfig() { + bitField0_ = (bitField0_ & ~0x00010000); + imageConfig_ = null; + if (imageConfigBuilder_ != null) { + imageConfigBuilder_.dispose(); + imageConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.ImageConfig.Builder getImageConfigBuilder() { + bitField0_ |= 0x00010000; + onChanged(); + return getImageConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.ImageConfigOrBuilder getImageConfigOrBuilder() { + if (imageConfigBuilder_ != null) { + return imageConfigBuilder_.getMessageOrBuilder(); + } else { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ImageConfig, + com.google.cloud.aiplatform.v1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1.ImageConfigOrBuilder> + getImageConfigFieldBuilder() { + if (imageConfigBuilder_ == null) { + imageConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ImageConfig, + com.google.cloud.aiplatform.v1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1.ImageConfigOrBuilder>( + getImageConfig(), getParentForChildren(), isClean()); + imageConfig_ = null; + } + return imageConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenerationConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenerationConfigOrBuilder.java index e45b2de4a329..150bff4b4630 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenerationConfigOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenerationConfigOrBuilder.java @@ -678,4 +678,47 @@ public interface GenerationConfigOrBuilder */ com.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfigOrBuilder getThinkingConfigOrBuilder(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + boolean hasImageConfig(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + com.google.cloud.aiplatform.v1.ImageConfig getImageConfig(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.ImageConfigOrBuilder getImageConfigOrBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfig.java new file mode 100644 index 000000000000..3078e5b66afb --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfig.java @@ -0,0 +1,745 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/content.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Config for image generation features.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ImageConfig} + */ +public final class ImageConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ImageConfig) + ImageConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ImageConfig.newBuilder() to construct. + private ImageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImageConfig() { + aspectRatio_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImageConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_ImageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_ImageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ImageConfig.class, + com.google.cloud.aiplatform.v1.ImageConfig.Builder.class); + } + + private int bitField0_; + public static final int ASPECT_RATIO_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object aspectRatio_ = ""; + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + @java.lang.Override + public boolean hasAspectRatio() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + @java.lang.Override + public java.lang.String getAspectRatio() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + aspectRatio_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAspectRatioBytes() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + aspectRatio_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, aspectRatio_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, aspectRatio_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ImageConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ImageConfig other = + (com.google.cloud.aiplatform.v1.ImageConfig) obj; + + if (hasAspectRatio() != other.hasAspectRatio()) return false; + if (hasAspectRatio()) { + if (!getAspectRatio().equals(other.getAspectRatio())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAspectRatio()) { + hash = (37 * hash) + ASPECT_RATIO_FIELD_NUMBER; + hash = (53 * hash) + getAspectRatio().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.ImageConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Config for image generation features.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ImageConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ImageConfig) + com.google.cloud.aiplatform.v1.ImageConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_ImageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_ImageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ImageConfig.class, + com.google.cloud.aiplatform.v1.ImageConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ImageConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + aspectRatio_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_ImageConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfig build() { + com.google.cloud.aiplatform.v1.ImageConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfig buildPartial() { + com.google.cloud.aiplatform.v1.ImageConfig result = + new com.google.cloud.aiplatform.v1.ImageConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.ImageConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.aspectRatio_ = aspectRatio_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ImageConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1.ImageConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImageConfig other) { + if (other == com.google.cloud.aiplatform.v1.ImageConfig.getDefaultInstance()) return this; + if (other.hasAspectRatio()) { + aspectRatio_ = other.aspectRatio_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + aspectRatio_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object aspectRatio_ = ""; + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + public boolean hasAspectRatio() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + public java.lang.String getAspectRatio() { + java.lang.Object ref = aspectRatio_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + aspectRatio_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + public com.google.protobuf.ByteString getAspectRatioBytes() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + aspectRatio_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The aspectRatio to set. + * @return This builder for chaining. + */ + public Builder setAspectRatio(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + aspectRatio_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAspectRatio() { + aspectRatio_ = getDefaultInstance().getAspectRatio(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for aspectRatio to set. + * @return This builder for chaining. + */ + public Builder setAspectRatioBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + aspectRatio_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ImageConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ImageConfig) + private static final com.google.cloud.aiplatform.v1.ImageConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ImageConfig(); + } + + public static com.google.cloud.aiplatform.v1.ImageConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImageConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfigOrBuilder.java new file mode 100644 index 000000000000..fe7fbbfe7315 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImageConfigOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/content.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1; + +public interface ImageConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ImageConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + boolean hasAspectRatio(); + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + java.lang.String getAspectRatio(); + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + com.google.protobuf.ByteString getAspectRatioBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngine.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngine.java index cd84e63d7d42..b1b28a863fd4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngine.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngine.java @@ -58,6 +58,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1_ReasoningEngine_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -509,6 +521,113 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO : encryptionSpec_; } + public static final int LABELS_FIELD_NUMBER = 17; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -547,6 +666,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(11, getEncryptionSpec()); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 17); getUnknownFields().writeTo(output); } @@ -580,6 +701,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEncryptionSpec()); } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, labels__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -616,6 +747,7 @@ public boolean equals(final java.lang.Object obj) { if (hasEncryptionSpec()) { if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -651,6 +783,10 @@ public int hashCode() { hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getEncryptionSpec().hashCode(); } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -771,6 +907,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1_ReasoningEngine_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -828,6 +986,7 @@ public Builder clear() { encryptionSpecBuilder_.dispose(); encryptionSpecBuilder_ = null; } + internalGetMutableLabels().clear(); return this; } @@ -894,6 +1053,10 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.ReasoningEngine result encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); to_bitField0_ |= 0x00000008; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } result.bitField0_ |= to_bitField0_; } @@ -974,6 +1137,8 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ReasoningEngine other) { if (other.hasEncryptionSpec()) { mergeEncryptionSpec(other.getEncryptionSpec()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000100; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1048,6 +1213,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 90 + case 138: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000100; + break; + } // case 138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2377,6 +2554,178 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO return encryptionSpecBuilder_; } + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000100; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000100); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField0_ |= 0x00000100; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField0_ |= 0x00000100; + return this; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000100; + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineOrBuilder.java index 5dc8c6592e43..b969cf6d1983 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineOrBuilder.java @@ -299,4 +299,67 @@ public interface ReasoningEngineOrBuilder * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11; */ com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + int getLabelsCount(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineProto.java index 787b664386ee..1950026c1030 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineProto.java @@ -44,10 +44,26 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_DeploymentSpec_ResourceLimitsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_DeploymentSpec_ResourceLimitsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_ReasoningEngine_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_ReasoningEngine_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -63,13 +79,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037google/api/field_behavior.proto\032\031google" + "/api/resource.proto\0320google/cloud/aiplatform/v1/encryption_spec.proto\032(google/cl" + "oud/aiplatform/v1/env_var.proto\0323google/cloud/aiplatform/v1/service_networking.p" - + "roto\032\034google/protobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\241\010\n" - + "\023ReasoningEngineSpec\022!\n" - + "\017service_account\030\001 \001(\tB\003\340A\001H\000\210\001\001\022V\n" - + "\014package_spec\030\002 \001(\0132;.google.cl" - + "oud.aiplatform.v1.ReasoningEngineSpec.PackageSpecB\003\340A\001\022\\\n" - + "\017deployment_spec\030\004 \001(\0132" - + ">.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpecB\003\340A\001\0223\n\r" + + "roto\032\034google/protobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\275\014\n" + + "\023ReasoningEngineSpec\022Z\n" + + "\020source_code_spec\030\013 \001(\0132>." + + "google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecH\000\022!\n" + + "\017service_account\030\001 \001(\tB\003\340A\001H\001\210\001\001\022V\n" + + "\014package_spec\030\002 \001(\013" + + "2;.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpecB\003\340A\001\022\\\n" + + "\017deployment_spec\030\004 \001(\0132>.google.cloud.aiplatform.v1" + + ".ReasoningEngineSpec.DeploymentSpecB\003\340A\001\0223\n\r" + "class_methods\030\003 \003(\0132\027.google.protobuf.StructB\003\340A\001\022\034\n" + "\017agent_framework\030\005 \001(\tB\003\340A\001\032\230\001\n" + "\013PackageSpec\022\"\n" @@ -79,41 +97,63 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016python_version\030\004 \001(\tB\003\340A\001\032\256\004\n" + "\016DeploymentSpec\0224\n" + "\003env\030\001 \003(\0132\".google.cloud.aiplatform.v1.EnvVarB\003\340A\001\022A\n\n" - + "secret_env\030\002 \003(\0132" - + "(.google.cloud.aiplatform.v1.SecretEnvVarB\003\340A\001\022Q\n" - + "\024psc_interface_config\030\004 \001(\0132..g" - + "oogle.cloud.aiplatform.v1.PscInterfaceConfigB\003\340A\001\022\037\n\r" + + "secret_env\030\002" + + " \003(\0132(.google.cloud.aiplatform.v1.SecretEnvVarB\003\340A\001\022Q\n" + + "\024psc_interface_config\030\004" + + " \001(\0132..google.cloud.aiplatform.v1.PscInterfaceConfigB\003\340A\001\022\037\n\r" + "min_instances\030\005 \001(\005B\003\340A\001H\000\210\001\001\022\037\n\r" + "max_instances\030\006 \001(\005B\003\340A\001H\001\210\001\001\022p\n" - + "\017resource_limits\030\007 \003(\0132R.google.cloud.aipl" - + "atform.v1.ReasoningEngineSpec.DeploymentSpec.ResourceLimitsEntryB\003\340A\001\022\'\n" + + "\017resource_limits\030\007 \003(\0132R.google.cloud.aiplatform.v1.ReasoningEngineSpe" + + "c.DeploymentSpec.ResourceLimitsEntryB\003\340A\001\022\'\n" + "\025container_concurrency\030\010 \001(\005B\003\340A\001H\002\210\001\001\0325\n" + "\023ResourceLimitsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t:\0028\001B\020\n" + "\016_min_instancesB\020\n" + "\016_max_instancesB\030\n" - + "\026_container_concurrencyB\022\n" - + "\020_service_account\"\203\004\n" + + "\026_container_concurrency\032\250\003\n" + + "\016SourceCodeSpec\022d\n\r" + + "inline_source\030\001 \001(\0132K.google.cloud.aiplatform.v1.Reasoning" + + "EngineSpec.SourceCodeSpec.InlineSourceH\000\022`\n" + + "\013python_spec\030\002 \001(\0132I.google.cloud.aip" + + "latform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecH\001\032.\n" + + "\014InlineSource\022\036\n" + + "\016source_archive\030\001 \001(\014B\006\340A\002\340A\004\032\202\001\n\n" + + "PythonSpec\022\024\n" + + "\007version\030\001 \001(\tB\003\340A\001\022\036\n" + + "\021entrypoint_module\030\002 \001(\tB\003\340A\001\022\036\n" + + "\021entrypoint_object\030\003 \001(\tB\003\340A\001\022\036\n" + + "\021requirements_file\030\004 \001(\tB\003\340A\001B\010\n" + + "\006sourceB\017\n\r" + + "language_specB\023\n" + + "\021deployment_sourceB\022\n" + + "\020_service_account\"\373\004\n" + "\017ReasoningEngine\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n" + "\013description\030\007 \001(\tB\003\340A\001\022B\n" - + "\004spec\030\003 \001(\0132/.goog" - + "le.cloud.aiplatform.v1.ReasoningEngineSpecB\003\340A\001\0224\n" + + "\004spec\030\003" + + " \001(\0132/.google.cloud.aiplatform.v1.ReasoningEngineSpecB\003\340A\001\0224\n" + "\013create_time\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\005" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\021\n" + "\004etag\030\006 \001(\tB\003\340A\001\022C\n" - + "\017encryption_spec\030\013 \001(\0132" - + "*.google.cloud.aiplatform.v1.EncryptionSpec:\237\001\352A\233\001\n" - + ")aiplatform.googleapis.com/ReasoningEngine\022Kprojects/{project}/locati" - + "ons/{location}/reasoningEngines/{reasoni" - + "ng_engine}*\020reasoningEngines2\017reasoningEngineB\322\001\n" - + "\036com.google.cloud.aiplatform.v1B\024ReasoningEngineProtoP\001Z>cloud.google.c" - + "om/go/aiplatform/apiv1/aiplatformpb;aipl" - + "atformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032" - + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "\017encryption_spec\030\013" + + " \001(\0132*.google.cloud.aiplatform.v1.EncryptionSpec\022G\n" + + "\006labels\030\021 \003(\0132" + + "7.google.cloud.aiplatform.v1.ReasoningEngine.LabelsEntry\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:\237\001\352A\233\001\n" + + ")aiplatform.googleapis.com/ReasoningEngine\022Kproje" + + "cts/{project}/locations/{location}/reaso" + + "ningEngines/{reasoning_engine}*\020reasoningEngines2\017reasoningEngineB\322\001\n" + + "\036com.google.cloud.aiplatform.v1B\024ReasoningEnginePro" + + "toP\001Z>cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -133,7 +173,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_descriptor, new java.lang.String[] { - "ServiceAccount", "PackageSpec", "DeploymentSpec", "ClassMethods", "AgentFramework", + "SourceCodeSpec", + "ServiceAccount", + "PackageSpec", + "DeploymentSpec", + "ClassMethods", + "AgentFramework", + "DeploymentSource", }); internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_PackageSpec_descriptor = internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_descriptor @@ -171,6 +217,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor, + new java.lang.String[] { + "InlineSource", "PythonSpec", "Source", "LanguageSpec", + }); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor = + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor, + new java.lang.String[] { + "SourceArchive", + }); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor, + new java.lang.String[] { + "Version", "EntrypointModule", "EntrypointObject", "RequirementsFile", + }); internal_static_google_cloud_aiplatform_v1_ReasoningEngine_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_aiplatform_v1_ReasoningEngine_fieldAccessorTable = @@ -185,6 +261,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateTime", "Etag", "EncryptionSpec", + "Labels", + }); + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ReasoningEngine_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpec.java index 6a487074c467..29749c336ab2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpec.java @@ -182,7 +182,8 @@ public interface PackageSpecOrBuilder * * *
-   * User provided package spec like pickled object and package requirements.
+   * User-provided package specification, containing pickled object and package
+   * requirements.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec} @@ -633,7 +634,8 @@ protected Builder newBuilderForType( * * *
-     * User provided package spec like pickled object and package requirements.
+     * User-provided package specification, containing pickled object and package
+     * requirements.
      * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec} @@ -4731,7 +4733,3573 @@ public com.google.protobuf.Parser getParserForType() { } } + public interface SourceCodeSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + boolean hasInlineSource(); + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource(); + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceOrBuilder + getInlineSourceOrBuilder(); + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + boolean hasPythonSpec(); + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec getPythonSpec(); + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder + getPythonSpecOrBuilder(); + + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.SourceCase getSourceCase(); + + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.LanguageSpecCase + getLanguageSpecCase(); + } + + /** + * + * + *
+   * Specification for deploying from source code.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec} + */ + public static final class SourceCodeSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + SourceCodeSpecOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SourceCodeSpec.newBuilder() to construct. + private SourceCodeSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SourceCodeSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceCodeSpec(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder.class); + } + + public interface InlineSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. Input only. The application source code archive, provided as
+       * a compressed tarball
+       * (.tar.gz) file.
+       * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + com.google.protobuf.ByteString getSourceArchive(); + } + + /** + * + * + *
+     * Specifies source code provided as a byte stream.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource} + */ + public static final class InlineSource extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + InlineSourceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use InlineSource.newBuilder() to construct. + private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InlineSource() { + sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InlineSource(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder.class); + } + + public static final int SOURCE_ARCHIVE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+       * Required. Input only. The application source code archive, provided as
+       * a compressed tarball
+       * (.tar.gz) file.
+       * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceArchive() { + return sourceArchive_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!sourceArchive_.isEmpty()) { + output.writeBytes(1, sourceArchive_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!sourceArchive_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, sourceArchive_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource other = + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) obj; + + if (!getSourceArchive().equals(other.getSourceArchive())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SOURCE_ARCHIVE_FIELD_NUMBER; + hash = (53 * hash) + getSourceArchive().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Specifies source code provided as a byte stream.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + build() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + buildPartial() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource result = + new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sourceArchive_ = sourceArchive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource other) { + if (other + == com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance()) return this; + if (other.getSourceArchive() != com.google.protobuf.ByteString.EMPTY) { + setSourceArchive(other.getSourceArchive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + sourceArchive_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.ByteString sourceArchive_ = + com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceArchive() { + return sourceArchive_; + } + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @param value The sourceArchive to set. + * @return This builder for chaining. + */ + public Builder setSourceArchive(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + sourceArchive_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceArchive() { + bitField0_ = (bitField0_ & ~0x00000001); + sourceArchive_ = getDefaultInstance().getSourceArchive(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + private static final com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource(); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface PythonSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + java.lang.String getVersion(); + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + com.google.protobuf.ByteString getVersionBytes(); + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + java.lang.String getEntrypointModule(); + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + com.google.protobuf.ByteString getEntrypointModuleBytes(); + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + java.lang.String getEntrypointObject(); + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + com.google.protobuf.ByteString getEntrypointObjectBytes(); + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + java.lang.String getRequirementsFile(); + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + com.google.protobuf.ByteString getRequirementsFileBytes(); + } + + /** + * + * + *
+     * Specification for running a Python application from source.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec} + */ + public static final class PythonSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + PythonSpecOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PythonSpec.newBuilder() to construct. + private PythonSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PythonSpec() { + version_ = ""; + entrypointModule_ = ""; + entrypointObject_ = ""; + requirementsFile_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PythonSpec(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder + .class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENTRYPOINT_MODULE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object entrypointModule_ = ""; + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + @java.lang.Override + public java.lang.String getEntrypointModule() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointModule_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntrypointModuleBytes() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointModule_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENTRYPOINT_OBJECT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object entrypointObject_ = ""; + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + @java.lang.Override + public java.lang.String getEntrypointObject() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointObject_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntrypointObjectBytes() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointObject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUIREMENTS_FILE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requirementsFile_ = ""; + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + @java.lang.Override + public java.lang.String getRequirementsFile() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementsFile_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequirementsFileBytes() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requirementsFile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointModule_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entrypointModule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointObject_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entrypointObject_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementsFile_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requirementsFile_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointModule_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entrypointModule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointObject_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entrypointObject_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementsFile_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requirementsFile_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec other = + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) obj; + + if (!getVersion().equals(other.getVersion())) return false; + if (!getEntrypointModule().equals(other.getEntrypointModule())) return false; + if (!getEntrypointObject().equals(other.getEntrypointObject())) return false; + if (!getRequirementsFile().equals(other.getRequirementsFile())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + ENTRYPOINT_MODULE_FIELD_NUMBER; + hash = (53 * hash) + getEntrypointModule().hashCode(); + hash = (37 * hash) + ENTRYPOINT_OBJECT_FIELD_NUMBER; + hash = (53 * hash) + getEntrypointObject().hashCode(); + hash = (37 * hash) + REQUIREMENTS_FILE_FIELD_NUMBER; + hash = (53 * hash) + getRequirementsFile().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Specification for running a Python application from source.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + entrypointModule_ = ""; + entrypointObject_ = ""; + requirementsFile_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + build() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + buildPartial() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec result = + new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.entrypointModule_ = entrypointModule_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.entrypointObject_ = entrypointObject_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requirementsFile_ = requirementsFile_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec other) { + if (other + == com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getEntrypointModule().isEmpty()) { + entrypointModule_ = other.entrypointModule_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getEntrypointObject().isEmpty()) { + entrypointObject_ = other.entrypointObject_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRequirementsFile().isEmpty()) { + requirementsFile_ = other.requirementsFile_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + entrypointModule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + entrypointObject_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requirementsFile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object version_ = ""; + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object entrypointModule_ = ""; + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + public java.lang.String getEntrypointModule() { + java.lang.Object ref = entrypointModule_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointModule_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + public com.google.protobuf.ByteString getEntrypointModuleBytes() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointModule_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entrypointModule to set. + * @return This builder for chaining. + */ + public Builder setEntrypointModule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entrypointModule_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEntrypointModule() { + entrypointModule_ = getDefaultInstance().getEntrypointModule(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entrypointModule to set. + * @return This builder for chaining. + */ + public Builder setEntrypointModuleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entrypointModule_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object entrypointObject_ = ""; + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + public java.lang.String getEntrypointObject() { + java.lang.Object ref = entrypointObject_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointObject_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + public com.google.protobuf.ByteString getEntrypointObjectBytes() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointObject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entrypointObject to set. + * @return This builder for chaining. + */ + public Builder setEntrypointObject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entrypointObject_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEntrypointObject() { + entrypointObject_ = getDefaultInstance().getEntrypointObject(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entrypointObject to set. + * @return This builder for chaining. + */ + public Builder setEntrypointObjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entrypointObject_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requirementsFile_ = ""; + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + public java.lang.String getRequirementsFile() { + java.lang.Object ref = requirementsFile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementsFile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + public com.google.protobuf.ByteString getRequirementsFileBytes() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requirementsFile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requirementsFile to set. + * @return This builder for chaining. + */ + public Builder setRequirementsFile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requirementsFile_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearRequirementsFile() { + requirementsFile_ = getDefaultInstance().getRequirementsFile(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requirementsFile to set. + * @return This builder for chaining. + */ + public Builder setRequirementsFileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requirementsFile_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + private static final com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec(); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PythonSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int sourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object source_; + + public enum SourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + INLINE_SOURCE(1), + SOURCE_NOT_SET(0); + private final int value; + + private SourceCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 1: + return INLINE_SOURCE; + case 0: + return SOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + private int languageSpecCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object languageSpec_; + + public enum LanguageSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + PYTHON_SPEC(2), + LANGUAGESPEC_NOT_SET(0); + private final int value; + + private LanguageSpecCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LanguageSpecCase valueOf(int value) { + return forNumber(value); + } + + public static LanguageSpecCase forNumber(int value) { + switch (value) { + case 2: + return PYTHON_SPEC; + case 0: + return LANGUAGESPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public LanguageSpecCase getLanguageSpecCase() { + return LanguageSpecCase.forNumber(languageSpecCase_); + } + + public static final int INLINE_SOURCE_FIELD_NUMBER = 1; + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + @java.lang.Override + public boolean hasInlineSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource() { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceOrBuilder + getInlineSourceOrBuilder() { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + public static final int PYTHON_SPEC_FIELD_NUMBER = 2; + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + @java.lang.Override + public boolean hasPythonSpec() { + return languageSpecCase_ == 2; + } + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getPythonSpec() { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder + getPythonSpecOrBuilder() { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sourceCase_ == 1) { + output.writeMessage( + 1, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_); + } + if (languageSpecCase_ == 2) { + output.writeMessage( + 2, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (sourceCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_); + } + if (languageSpecCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec other = + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) obj; + + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 1: + if (!getInlineSource().equals(other.getInlineSource())) return false; + break; + case 0: + default: + } + if (!getLanguageSpecCase().equals(other.getLanguageSpecCase())) return false; + switch (languageSpecCase_) { + case 2: + if (!getPythonSpec().equals(other.getPythonSpec())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (sourceCase_) { + case 1: + hash = (37 * hash) + INLINE_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getInlineSource().hashCode(); + break; + case 0: + default: + } + switch (languageSpecCase_) { + case 2: + hash = (37 * hash) + PYTHON_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getPythonSpec().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Specification for deploying from source code.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.class, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (inlineSourceBuilder_ != null) { + inlineSourceBuilder_.clear(); + } + if (pythonSpecBuilder_ != null) { + pythonSpecBuilder_.clear(); + } + sourceCase_ = 0; + source_ = null; + languageSpecCase_ = 0; + languageSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec build() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec buildPartial() { + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec result = + new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec result) { + result.sourceCase_ = sourceCase_; + result.source_ = this.source_; + if (sourceCase_ == 1 && inlineSourceBuilder_ != null) { + result.source_ = inlineSourceBuilder_.build(); + } + result.languageSpecCase_ = languageSpecCase_; + result.languageSpec_ = this.languageSpec_; + if (languageSpecCase_ == 2 && pythonSpecBuilder_ != null) { + result.languageSpec_ = pythonSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec other) { + if (other + == com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance()) return this; + switch (other.getSourceCase()) { + case INLINE_SOURCE: + { + mergeInlineSource(other.getInlineSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } + } + switch (other.getLanguageSpecCase()) { + case PYTHON_SPEC: + { + mergePythonSpec(other.getPythonSpec()); + break; + } + case LANGUAGESPEC_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getPythonSpecFieldBuilder().getBuilder(), extensionRegistry); + languageSpecCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int languageSpecCase_ = 0; + private java.lang.Object languageSpec_; + + public LanguageSpecCase getLanguageSpecCase() { + return LanguageSpecCase.forNumber(languageSpecCase_); + } + + public Builder clearLanguageSpec() { + languageSpecCase_ = 0; + languageSpec_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder> + inlineSourceBuilder_; + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + @java.lang.Override + public boolean hasInlineSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource() { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } else { + if (sourceCase_ == 1) { + return inlineSourceBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder setInlineSource( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource value) { + if (inlineSourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + inlineSourceBuilder_.setMessage(value); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder setInlineSource( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource.Builder + builderForValue) { + if (inlineSourceBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + inlineSourceBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder mergeInlineSource( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource value) { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1 + && source_ + != com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance()) { + source_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .newBuilder( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_) + .mergeFrom(value) + .buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 1) { + inlineSourceBuilder_.mergeFrom(value); + } else { + inlineSourceBuilder_.setMessage(value); + } + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder clearInlineSource() { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + } + inlineSourceBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource.Builder + getInlineSourceBuilder() { + return getInlineSourceFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceOrBuilder + getInlineSourceOrBuilder() { + if ((sourceCase_ == 1) && (inlineSourceBuilder_ != null)) { + return inlineSourceBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder> + getInlineSourceFieldBuilder() { + if (inlineSourceBuilder_ == null) { + if (!(sourceCase_ == 1)) { + source_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + inlineSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder>( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 1; + onChanged(); + return inlineSourceBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder> + pythonSpecBuilder_; + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + @java.lang.Override + public boolean hasPythonSpec() { + return languageSpecCase_ == 2; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getPythonSpec() { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } else { + if (languageSpecCase_ == 2) { + return pythonSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder setPythonSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec value) { + if (pythonSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + languageSpec_ = value; + onChanged(); + } else { + pythonSpecBuilder_.setMessage(value); + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder setPythonSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder + builderForValue) { + if (pythonSpecBuilder_ == null) { + languageSpec_ = builderForValue.build(); + onChanged(); + } else { + pythonSpecBuilder_.setMessage(builderForValue.build()); + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder mergePythonSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec value) { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2 + && languageSpec_ + != com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance()) { + languageSpec_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .newBuilder( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec) + languageSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + languageSpec_ = value; + } + onChanged(); + } else { + if (languageSpecCase_ == 2) { + pythonSpecBuilder_.mergeFrom(value); + } else { + pythonSpecBuilder_.setMessage(value); + } + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder clearPythonSpec() { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2) { + languageSpecCase_ = 0; + languageSpec_ = null; + onChanged(); + } + } else { + if (languageSpecCase_ == 2) { + languageSpecCase_ = 0; + languageSpec_ = null; + } + pythonSpecBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder + getPythonSpecBuilder() { + return getPythonSpecFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder + getPythonSpecOrBuilder() { + if ((languageSpecCase_ == 2) && (pythonSpecBuilder_ != null)) { + return pythonSpecBuilder_.getMessageOrBuilder(); + } else { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder> + getPythonSpecFieldBuilder() { + if (pythonSpecBuilder_ == null) { + if (!(languageSpecCase_ == 2)) { + languageSpec_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + pythonSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder>( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_, + getParentForChildren(), + isClean()); + languageSpec_ = null; + } + languageSpecCase_ = 2; + onChanged(); + return pythonSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + private static final com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec(); + } + + public static com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceCodeSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + private int bitField0_; + private int deploymentSourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object deploymentSource_; + + public enum DeploymentSourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SOURCE_CODE_SPEC(11), + DEPLOYMENTSOURCE_NOT_SET(0); + private final int value; + + private DeploymentSourceCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DeploymentSourceCase valueOf(int value) { + return forNumber(value); + } + + public static DeploymentSourceCase forNumber(int value) { + switch (value) { + case 11: + return SOURCE_CODE_SPEC; + case 0: + return DEPLOYMENTSOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DeploymentSourceCase getDeploymentSourceCase() { + return DeploymentSourceCase.forNumber(deploymentSourceCase_); + } + + public static final int SOURCE_CODE_SPEC_FIELD_NUMBER = 11; + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + @java.lang.Override + public boolean hasSourceCodeSpec() { + return deploymentSourceCase_ == 11; + } + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec() { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) deploymentSource_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.getDefaultInstance(); + } + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder() { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) deploymentSource_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.getDefaultInstance(); + } + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -4824,6 +8392,8 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -4845,6 +8415,8 @@ public boolean hasPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -4868,6 +8440,8 @@ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec getPackage * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5119,6 +8693,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentFramework_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, agentFramework_); } + if (deploymentSourceCase_ == 11) { + output.writeMessage( + 11, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) deploymentSource_); + } getUnknownFields().writeTo(output); } @@ -5143,6 +8722,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentFramework_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, agentFramework_); } + if (deploymentSourceCase_ == 11) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -5173,6 +8759,14 @@ public boolean equals(final java.lang.Object obj) { } if (!getClassMethodsList().equals(other.getClassMethodsList())) return false; if (!getAgentFramework().equals(other.getAgentFramework())) return false; + if (!getDeploymentSourceCase().equals(other.getDeploymentSourceCase())) return false; + switch (deploymentSourceCase_) { + case 11: + if (!getSourceCodeSpec().equals(other.getSourceCodeSpec())) return false; + break; + case 0: + default: + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5202,6 +8796,14 @@ public int hashCode() { } hash = (37 * hash) + AGENT_FRAMEWORK_FIELD_NUMBER; hash = (53 * hash) + getAgentFramework().hashCode(); + switch (deploymentSourceCase_) { + case 11: + hash = (37 * hash) + SOURCE_CODE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSourceCodeSpec().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -5353,6 +8955,9 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); bitField0_ = 0; + if (sourceCodeSpecBuilder_ != null) { + sourceCodeSpecBuilder_.clear(); + } serviceAccount_ = ""; packageSpec_ = null; if (packageSpecBuilder_ != null) { @@ -5370,8 +8975,10 @@ public Builder clear() { classMethods_ = null; classMethodsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); agentFramework_ = ""; + deploymentSourceCase_ = 0; + deploymentSource_ = null; return this; } @@ -5403,6 +9010,7 @@ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec buildPartial() { if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); onBuilt(); return result; } @@ -5410,9 +9018,9 @@ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.aiplatform.v1.ReasoningEngineSpec result) { if (classMethodsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { classMethods_ = java.util.Collections.unmodifiableList(classMethods_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } result.classMethods_ = classMethods_; } else { @@ -5423,26 +9031,34 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.aiplatform.v1.ReasoningEngineSpec result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { + if (((from_bitField0_ & 0x00000002) != 0)) { result.serviceAccount_ = serviceAccount_; to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.packageSpec_ = packageSpecBuilder_ == null ? packageSpec_ : packageSpecBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.deploymentSpec_ = deploymentSpecBuilder_ == null ? deploymentSpec_ : deploymentSpecBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.agentFramework_ = agentFramework_; } result.bitField0_ |= to_bitField0_; } + private void buildPartialOneofs(com.google.cloud.aiplatform.v1.ReasoningEngineSpec result) { + result.deploymentSourceCase_ = deploymentSourceCase_; + result.deploymentSource_ = this.deploymentSource_; + if (deploymentSourceCase_ == 11 && sourceCodeSpecBuilder_ != null) { + result.deploymentSource_ = sourceCodeSpecBuilder_.build(); + } + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -5491,7 +9107,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ReasoningEngineSpec othe return this; if (other.hasServiceAccount()) { serviceAccount_ = other.serviceAccount_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasPackageSpec()) { @@ -5504,7 +9120,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ReasoningEngineSpec othe if (!other.classMethods_.isEmpty()) { if (classMethods_.isEmpty()) { classMethods_ = other.classMethods_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureClassMethodsIsMutable(); classMethods_.addAll(other.classMethods_); @@ -5517,7 +9133,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ReasoningEngineSpec othe classMethodsBuilder_.dispose(); classMethodsBuilder_ = null; classMethods_ = other.classMethods_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); classMethodsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClassMethodsFieldBuilder() @@ -5529,9 +9145,20 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ReasoningEngineSpec othe } if (!other.getAgentFramework().isEmpty()) { agentFramework_ = other.agentFramework_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } + switch (other.getDeploymentSourceCase()) { + case SOURCE_CODE_SPEC: + { + mergeSourceCodeSpec(other.getSourceCodeSpec()); + break; + } + case DEPLOYMENTSOURCE_NOT_SET: + { + break; + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5561,13 +9188,13 @@ public Builder mergeFrom( case 10: { serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case 10 case 18: { input.readMessage(getPackageSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 18 case 26: @@ -5585,15 +9212,21 @@ public Builder mergeFrom( case 34: { input.readMessage(getDeploymentSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 34 case 42: { agentFramework_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 42 + case 90: + { + input.readMessage(getSourceCodeSpecFieldBuilder().getBuilder(), extensionRegistry); + deploymentSourceCase_ = 11; + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5611,8 +9244,264 @@ public Builder mergeFrom( return this; } + private int deploymentSourceCase_ = 0; + private java.lang.Object deploymentSource_; + + public DeploymentSourceCase getDeploymentSourceCase() { + return DeploymentSourceCase.forNumber(deploymentSourceCase_); + } + + public Builder clearDeploymentSource() { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + onChanged(); + return this; + } + private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder> + sourceCodeSpecBuilder_; + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + @java.lang.Override + public boolean hasSourceCodeSpec() { + return deploymentSourceCase_ == 11; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec() { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } else { + if (deploymentSourceCase_ == 11) { + return sourceCodeSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder setSourceCodeSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec value) { + if (sourceCodeSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deploymentSource_ = value; + onChanged(); + } else { + sourceCodeSpecBuilder_.setMessage(value); + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder setSourceCodeSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder builderForValue) { + if (sourceCodeSpecBuilder_ == null) { + deploymentSource_ = builderForValue.build(); + onChanged(); + } else { + sourceCodeSpecBuilder_.setMessage(builderForValue.build()); + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder mergeSourceCodeSpec( + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec value) { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11 + && deploymentSource_ + != com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance()) { + deploymentSource_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.newBuilder( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_) + .mergeFrom(value) + .buildPartial(); + } else { + deploymentSource_ = value; + } + onChanged(); + } else { + if (deploymentSourceCase_ == 11) { + sourceCodeSpecBuilder_.mergeFrom(value); + } else { + sourceCodeSpecBuilder_.setMessage(value); + } + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder clearSourceCodeSpec() { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11) { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + onChanged(); + } + } else { + if (deploymentSourceCase_ == 11) { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + } + sourceCodeSpecBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder + getSourceCodeSpecBuilder() { + return getSourceCodeSpecFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder() { + if ((deploymentSourceCase_ == 11) && (sourceCodeSpecBuilder_ != null)) { + return sourceCodeSpecBuilder_.getMessageOrBuilder(); + } else { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder> + getSourceCodeSpecFieldBuilder() { + if (sourceCodeSpecBuilder_ == null) { + if (!(deploymentSourceCase_ == 11)) { + deploymentSource_ = + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + sourceCodeSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder>( + (com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_, + getParentForChildren(), + isClean()); + deploymentSource_ = null; + } + deploymentSourceCase_ = 11; + onChanged(); + return sourceCodeSpecBuilder_; + } + private java.lang.Object serviceAccount_ = ""; /** @@ -5631,7 +9520,7 @@ public Builder mergeFrom( * @return Whether the serviceAccount field is set. */ public boolean hasServiceAccount() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** @@ -5709,7 +9598,7 @@ public Builder setServiceAccount(java.lang.String value) { throw new NullPointerException(); } serviceAccount_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -5731,7 +9620,7 @@ public Builder setServiceAccount(java.lang.String value) { */ public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -5758,7 +9647,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceAccount_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -5778,6 +9667,8 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5787,7 +9678,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { * @return Whether the packageSpec field is set. */ public boolean hasPackageSpec() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** @@ -5798,6 +9689,8 @@ public boolean hasPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5824,6 +9717,8 @@ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec getPackage * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5840,7 +9735,7 @@ public Builder setPackageSpec( } else { packageSpecBuilder_.setMessage(value); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -5853,6 +9748,8 @@ public Builder setPackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5866,7 +9763,7 @@ public Builder setPackageSpec( } else { packageSpecBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -5879,6 +9776,8 @@ public Builder setPackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5888,7 +9787,7 @@ public Builder setPackageSpec( public Builder mergePackageSpec( com.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec value) { if (packageSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) + if (((bitField0_ & 0x00000004) != 0) && packageSpec_ != null && packageSpec_ != com.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec @@ -5901,7 +9800,7 @@ public Builder mergePackageSpec( packageSpecBuilder_.mergeFrom(value); } if (packageSpec_ != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } return this; @@ -5915,6 +9814,8 @@ public Builder mergePackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5922,7 +9823,7 @@ public Builder mergePackageSpec( * */ public Builder clearPackageSpec() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); packageSpec_ = null; if (packageSpecBuilder_ != null) { packageSpecBuilder_.dispose(); @@ -5940,6 +9841,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5948,7 +9851,7 @@ public Builder clearPackageSpec() { */ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec.Builder getPackageSpecBuilder() { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return getPackageSpecFieldBuilder().getBuilder(); } @@ -5961,6 +9864,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5986,6 +9891,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -6030,7 +9937,7 @@ public Builder clearPackageSpec() { * @return Whether the deploymentSpec field is set. */ public boolean hasDeploymentSpec() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -6077,7 +9984,7 @@ public Builder setDeploymentSpec( } else { deploymentSpecBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -6100,7 +10007,7 @@ public Builder setDeploymentSpec( } else { deploymentSpecBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -6119,7 +10026,7 @@ public Builder setDeploymentSpec( public Builder mergeDeploymentSpec( com.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec value) { if (deploymentSpecBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000008) != 0) && deploymentSpec_ != null && deploymentSpec_ != com.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec @@ -6132,7 +10039,7 @@ public Builder mergeDeploymentSpec( deploymentSpecBuilder_.mergeFrom(value); } if (deploymentSpec_ != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } return this; @@ -6150,7 +10057,7 @@ public Builder mergeDeploymentSpec( * */ public Builder clearDeploymentSpec() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); deploymentSpec_ = null; if (deploymentSpecBuilder_ != null) { deploymentSpecBuilder_.dispose(); @@ -6173,7 +10080,7 @@ public Builder clearDeploymentSpec() { */ public com.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec.Builder getDeploymentSpecBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return getDeploymentSpecFieldBuilder().getBuilder(); } @@ -6232,9 +10139,9 @@ public Builder clearDeploymentSpec() { java.util.Collections.emptyList(); private void ensureClassMethodsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { classMethods_ = new java.util.ArrayList(classMethods_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -6490,7 +10397,7 @@ public Builder addAllClassMethods( public Builder clearClassMethods() { if (classMethodsBuilder_ == null) { classMethods_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { classMethodsBuilder_.clear(); @@ -6639,7 +10546,7 @@ public java.util.List getClassMethodsBuilder com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - classMethods_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + classMethods_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); classMethods_ = null; } return classMethodsBuilder_; @@ -6716,7 +10623,7 @@ public Builder setAgentFramework(java.lang.String value) { throw new NullPointerException(); } agentFramework_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -6736,7 +10643,7 @@ public Builder setAgentFramework(java.lang.String value) { */ public Builder clearAgentFramework() { agentFramework_ = getDefaultInstance().getAgentFramework(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -6761,7 +10668,7 @@ public Builder setAgentFrameworkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); agentFramework_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpecOrBuilder.java index ffa78f66fa68..7bf52b1912e5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReasoningEngineSpecOrBuilder.java @@ -24,6 +24,47 @@ public interface ReasoningEngineSpecOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ReasoningEngineSpec) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + boolean hasSourceCodeSpec(); + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec(); + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder(); + /** * * @@ -83,6 +124,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -101,6 +144,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -119,6 +164,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -270,4 +317,6 @@ public interface ReasoningEngineSpecOrBuilder * @return The bytes for agentFramework. */ com.google.protobuf.ByteString getAgentFrameworkBytes(); + + com.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSourceCase getDeploymentSourceCase(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto index ec9e47608bad..58883bfc726b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/content.proto @@ -184,6 +184,20 @@ message VideoMetadata { [(google.api.field_behavior) = OPTIONAL]; } +// Config for image generation features. +message ImageConfig { + // Optional. The desired aspect ratio for the generated images. The following + // aspect ratios are supported: + // + // "1:1" + // "2:3", "3:2" + // "3:4", "4:3" + // "4:5", "5:4" + // "9:16", "16:9" + // "21:9" + optional string aspect_ratio = 2 [(google.api.field_behavior) = OPTIONAL]; +} + // Generation config. message GenerationConfig { // The configuration for routing the request to a specific model. @@ -337,6 +351,10 @@ message GenerationConfig { // An error will be returned if this field is set for models that don't // support thinking. ThinkingConfig thinking_config = 25 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Config for image generation features. + optional ImageConfig image_config = 30 + [(google.api.field_behavior) = OPTIONAL]; } // Safety settings. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/reasoning_engine.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/reasoning_engine.proto index f4964f7ea736..a969d3e32a13 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/reasoning_engine.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/reasoning_engine.proto @@ -34,7 +34,8 @@ option ruby_package = "Google::Cloud::AIPlatform::V1"; // ReasoningEngine configurations message ReasoningEngineSpec { - // User provided package spec like pickled object and package requirements. + // User-provided package specification, containing pickled object and package + // requirements. message PackageSpec { // Optional. The Cloud Storage URI of the pickled python object. string pickle_object_gcs_uri = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -98,6 +99,66 @@ message ReasoningEngineSpec { [(google.api.field_behavior) = OPTIONAL]; } + // Specification for deploying from source code. + message SourceCodeSpec { + // Specifies source code provided as a byte stream. + message InlineSource { + // Required. Input only. The application source code archive, provided as + // a compressed tarball + // (.tar.gz) file. + bytes source_archive = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = INPUT_ONLY + ]; + } + + // Specification for running a Python application from source. + message PythonSpec { + // Optional. The version of Python to use. Support version + // includes 3.9, 3.10, 3.11, 3.12, 3.13. + // If not specified, default value is 3.10. + string version = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Python module to load as the entrypoint, specified as a + // fully qualified module name. For example: path.to.agent. + // If not specified, defaults to "agent". + // + // The project root will be added to Python sys.path, allowing imports + // to be specified relative to the root. + string entrypoint_module = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The name of the callable object within the + // `entrypoint_module` to use as the application If not specified, + // defaults to "root_agent". + string entrypoint_object = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The path to the requirements file, relative to the source + // root. If not specified, defaults to "requirements.txt". + string requirements_file = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Specifies where the source code is located. + oneof source { + // Source code is provided directly in the request. + InlineSource inline_source = 1; + } + + // Specifies the language-specific configuration for building and running + // the code. + oneof language_spec { + // Configuration for a Python application. + PythonSpec python_spec = 2; + } + } + + // Defines the source for the deployment. + // The `package_spec` field should not be set if `deployment_source` is + // specified. + oneof deployment_source { + // Deploy from source code files with a defined entrypoint. + SourceCodeSpec source_code_spec = 11; + } + // Optional. The service account that the Reasoning Engine artifact runs as. // It should have "roles/storage.objectViewer" for reading the user project's // Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If @@ -109,6 +170,8 @@ message ReasoningEngineSpec { // Ignored when users directly specify a deployment image through // `deployment_spec.first_party_image_override`, but keeping the // field_behavior to avoid introducing breaking changes. + // The `deployment_source` field should not be set if `package_spec` is + // specified. PackageSpec package_spec = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The specification of a Reasoning Engine deployment. @@ -165,4 +228,7 @@ message ReasoningEngine { // ReasoningEngine and all sub-resources of this ReasoningEngine will be // secured by this key. EncryptionSpec encryption_spec = 11; + + // Labels for the ReasoningEngine. + map labels = 17; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java index eac04570880e..6b898f2264cb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContentProto.java @@ -60,6 +60,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_SpeechConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_SpeechConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_GenerationConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -239,8 +243,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\01324.google.cloud.aiplatform.v1beta1.PrebuiltVoiceConfigH\000B\016\n" + "\014voice_config\"R\n" + "\014SpeechConfig\022B\n" - + "\014voice_config\030\001" - + " \001(\0132,.google.cloud.aiplatform.v1beta1.VoiceConfig\"\317\024\n" + + "\014voice_config\030\001 \001(\0132,.google.cloud.aiplatform.v1beta1.VoiceConfig\">\n" + + "\013ImageConfig\022\036\n" + + "\014aspect_ratio\030\002 \001(\tB\003\340A\001H\000\210\001\001B\017\n\r" + + "_aspect_ratio\"\256\025\n" + "\020GenerationConfig\022\035\n" + "\013temperature\030\001 \001(\002B\003\340A\001H\000\210\001\001\022\027\n" + "\005top_p\030\002 \001(\002B\003\340A\001H\001\210\001\001\022\027\n" @@ -255,34 +261,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004seed\030\014 \001(\005B\003\340A\001H\t\210\001\001\022\037\n" + "\022response_mime_type\030\r" + " \001(\tB\003\340A\001\022J\n" - + "\017response_schema\030\020 \001(\0132\'.g" - + "oogle.cloud.aiplatform.v1beta1.SchemaB\003\340A\001H\n" + + "\017response_schema\030\020" + + " \001(\0132\'.google.cloud.aiplatform.v1beta1.SchemaB\003\340A\001H\n" + "\210\001\001\022>\n" + "\024response_json_schema\030\034" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001H\013\210\001\001\022a\n" - + "\016routing_config\030\021 \001(\0132?.google.cloud.aiplatfor" - + "m.v1beta1.GenerationConfig.RoutingConfigB\003\340A\001H\014\210\001\001\022!\n" + + "\016routing_config\030\021 \001(\0132" + + "?.google.cloud.aiplatform.v1beta1.GenerationConfig.RoutingConfigB\003\340A\001H\014\210\001\001\022!\n" + "\017audio_timestamp\030\024 \001(\010B\003\340A\001H\r" + "\210\001\001\022\\\n" - + "\023response_modalities\030\025 \003(\0162:.goo" - + "gle.cloud.aiplatform.v1beta1.GenerationConfig.ModalityB\003\340A\001\022e\n" - + "\020media_resolution\030\026 \001(\0162A.google.cloud.aiplatform.v1beta1." - + "GenerationConfig.MediaResolutionB\003\340A\001H\016\210\001\001\022N\n\r" - + "speech_config\030\027 \001(\0132-.google.cloud" - + ".aiplatform.v1beta1.SpeechConfigB\003\340A\001H\017\210\001\001\022^\n" - + "\017thinking_config\030\031 \001(\0132@.google.clo" - + "ud.aiplatform.v1beta1.GenerationConfig.ThinkingConfigB\003\340A\001\022X\n" - + "\014model_config\030\033 \001(\013" - + "2=.google.cloud.aiplatform.v1beta1.GenerationConfig.ModelConfigB\003\340A\001\032\321\004\n\r" + + "\023response_modalities\030\025 \003(\0162:.google.cloud.aiplat" + + "form.v1beta1.GenerationConfig.ModalityB\003\340A\001\022e\n" + + "\020media_resolution\030\026 \001(\0162A.google.c" + + "loud.aiplatform.v1beta1.GenerationConfig.MediaResolutionB\003\340A\001H\016\210\001\001\022N\n\r" + + "speech_config\030\027" + + " \001(\0132-.google.cloud.aiplatform.v1beta1.SpeechConfigB\003\340A\001H\017\210\001\001\022^\n" + + "\017thinking_config\030\031 \001(\0132@.google.cloud.aiplatform.v1" + + "beta1.GenerationConfig.ThinkingConfigB\003\340A\001\022X\n" + + "\014model_config\030\033 \001(\0132=.google.cloud." + + "aiplatform.v1beta1.GenerationConfig.ModelConfigB\003\340A\001\022L\n" + + "\014image_config\030\036 \001(\0132,.goo" + + "gle.cloud.aiplatform.v1beta1.ImageConfigB\003\340A\001H\020\210\001\001\032\321\004\n\r" + "RoutingConfig\022d\n" - + "\tauto_mode\030\001 \001(\0132O.google.cloud" - + ".aiplatform.v1beta1.GenerationConfig.RoutingConfig.AutoRoutingModeH\000\022h\n" - + "\013manual_mode\030\002 \001(\0132Q.google.cloud.aiplatform.v1be" - + "ta1.GenerationConfig.RoutingConfig.ManualRoutingModeH\000\032\240\002\n" + + "\tauto_mode\030\001 \001(\0132O.google.cloud.aiplatform.v1beta" + + "1.GenerationConfig.RoutingConfig.AutoRoutingModeH\000\022h\n" + + "\013manual_mode\030\002 \001(\0132Q.google" + + ".cloud.aiplatform.v1beta1.GenerationConfig.RoutingConfig.ManualRoutingModeH\000\032\240\002\n" + "\017AutoRoutingMode\022\215\001\n" - + "\030model_routing_preference\030\001 \001(\0162f.google.c" - + "loud.aiplatform.v1beta1.GenerationConfig" - + ".RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\000\210\001\001\"`\n" + + "\030model_routing_preference\030\001 \001(\0162f.google.cloud.aiplatform.v1" + + "beta1.GenerationConfig.RoutingConfig.Aut" + + "oRoutingMode.ModelRoutingPreferenceH\000\210\001\001\"`\n" + "\026ModelRoutingPreference\022\013\n" + "\007UNKNOWN\020\000\022\026\n" + "\022PRIORITIZE_QUALITY\020\001\022\014\n" @@ -299,8 +307,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021_include_thoughtsB\022\n" + "\020_thinking_budget\032\233\002\n" + "\013ModelConfig\022\203\001\n" - + "\034feature_selection_preference\030\001 \001(\0162X.google.cloud.aiplatform.v1b" - + "eta1.GenerationConfig.ModelConfig.FeatureSelectionPreferenceB\003\340A\002\"\205\001\n" + + "\034feature_selection_preference\030\001 \001(\0162X.googl" + + "e.cloud.aiplatform.v1beta1.GenerationCon" + + "fig.ModelConfig.FeatureSelectionPreferenceB\003\340A\002\"\205\001\n" + "\032FeatureSelectionPreference\022,\n" + "(FEATURE_SELECTION_PREFERENCE_UNSPECIFIED\020\000\022\026\n" + "\022PRIORITIZE_QUALITY\020\001\022\014\n" @@ -331,14 +340,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017_routing_configB\022\n" + "\020_audio_timestampB\023\n" + "\021_media_resolutionB\020\n" - + "\016_speech_config\"\372\003\n\r" + + "\016_speech_configB\017\n" + + "\r" + + "_image_config\"\372\003\n\r" + "SafetySetting\022D\n" + "\010category\030\001" + " \001(\0162-.google.cloud.aiplatform.v1beta1.HarmCategoryB\003\340A\002\022Y\n" - + "\tthreshold\030\002 \001" - + "(\0162A.google.cloud.aiplatform.v1beta1.SafetySetting.HarmBlockThresholdB\003\340A\002\022S\n" - + "\006method\030\004 \001(\0162>.google.cloud.aiplatform.v1b" - + "eta1.SafetySetting.HarmBlockMethodB\003\340A\001\"\235\001\n" + + "\tthreshold\030\002 \001(" + + "\0162A.google.cloud.aiplatform.v1beta1.SafetySetting.HarmBlockThresholdB\003\340A\002\022S\n" + + "\006method\030\004 \001(\0162>.google.cloud.aiplatform.v1be" + + "ta1.SafetySetting.HarmBlockMethodB\003\340A\001\"\235\001\n" + "\022HarmBlockThreshold\022$\n" + " HARM_BLOCK_THRESHOLD_UNSPECIFIED\020\000\022\027\n" + "\023BLOCK_LOW_AND_ABOVE\020\001\022\032\n" @@ -351,13 +362,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010SEVERITY\020\001\022\017\n" + "\013PROBABILITY\020\002\"\316\004\n" + "\014SafetyRating\022D\n" - + "\010category\030\001 \001(\0162" - + "-.google.cloud.aiplatform.v1beta1.HarmCategoryB\003\340A\003\022W\n" - + "\013probability\030\002 \001(\0162=.googl" - + "e.cloud.aiplatform.v1beta1.SafetyRating.HarmProbabilityB\003\340A\003\022\036\n" + + "\010category\030\001 \001(\0162-" + + ".google.cloud.aiplatform.v1beta1.HarmCategoryB\003\340A\003\022W\n" + + "\013probability\030\002 \001(\0162=.google" + + ".cloud.aiplatform.v1beta1.SafetyRating.HarmProbabilityB\003\340A\003\022\036\n" + "\021probability_score\030\005 \001(\002B\003\340A\003\022Q\n" - + "\010severity\030\006 \001(\0162:.google." - + "cloud.aiplatform.v1beta1.SafetyRating.HarmSeverityB\003\340A\003\022\033\n" + + "\010severity\030\006 \001(\0162:.google.c" + + "loud.aiplatform.v1beta1.SafetyRating.HarmSeverityB\003\340A\003\022\033\n" + "\016severity_score\030\007 \001(\002B\003\340A\003\022\024\n" + "\007blocked\030\003 \001(\010B\003\340A\003\"b\n" + "\017HarmProbability\022 \n" @@ -373,8 +384,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024HARM_SEVERITY_MEDIUM\020\003\022\026\n" + "\022HARM_SEVERITY_HIGH\020\004\"U\n" + "\020CitationMetadata\022A\n" - + "\tcitations\030\001 \003(\0132).g" - + "oogle.cloud.aiplatform.v1beta1.CitationB\003\340A\003\"\252\001\n" + + "\tcitations\030\001 \003(\0132).go" + + "ogle.cloud.aiplatform.v1beta1.CitationB\003\340A\003\"\252\001\n" + "\010Citation\022\030\n" + "\013start_index\030\001 \001(\005B\003\340A\003\022\026\n" + "\tend_index\030\002 \001(\005B\003\340A\003\022\020\n" @@ -389,13 +400,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014avg_logprobs\030\t \001(\001B\003\340A\003\022M\n" + "\017logprobs_result\030\n" + " \001(\0132/.google.cloud.aiplatform.v1beta1.LogprobsResultB\003\340A\003\022S\n\r" - + "finish_reason\030\003" - + " \001(\01627.google.cloud.aiplatform.v1beta1.Candidate.FinishReasonB\003\340A\003\022J\n" + + "finish_reason\030\003 " + + "\001(\01627.google.cloud.aiplatform.v1beta1.Candidate.FinishReasonB\003\340A\003\022J\n" + "\016safety_ratings\030\004" + " \003(\0132-.google.cloud.aiplatform.v1beta1.SafetyRatingB\003\340A\003\022 \n" + "\016finish_message\030\005 \001(\tB\003\340A\003H\000\210\001\001\022Q\n" - + "\021citation_metadata\030\006 " - + "\001(\01321.google.cloud.aiplatform.v1beta1.CitationMetadataB\003\340A\003\022S\n" + + "\021citation_metadata\030\006 \001" + + "(\01321.google.cloud.aiplatform.v1beta1.CitationMetadataB\003\340A\003\022S\n" + "\022grounding_metadata\030\007" + " \001(\01322.google.cloud.aiplatform.v1beta1.GroundingMetadataB\003\340A\003\022V\n" + "\024url_context_metadata\030\013" @@ -404,7 +415,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031FINISH_REASON_UNSPECIFIED\020\000\022\010\n" + "\004STOP\020\001\022\016\n\n" + "MAX_TOKENS\020\002\022\n\n" - + "\006SAFETY\020\003\022\016\n\n" + + "\006SAFETY\020\003\022\016\n" + + "\n" + "RECITATION\020\004\022\t\n" + "\005OTHER\020\005\022\r\n" + "\tBLOCKLIST\020\006\022\026\n" @@ -419,17 +431,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132,.google.cloud.aiplatform.v1beta1.UrlMetadataB\003\340A\003\"\201\002\n" + "\013UrlMetadata\022\025\n\r" + "retrieved_url\030\001 \001(\t\022]\n" - + "\024url_retrieval_status\030\002 \001(\0162?.google.cloud.a" - + "iplatform.v1beta1.UrlMetadata.UrlRetrievalStatus\"|\n" + + "\024url_retrieval_status\030\002 \001(\0162?.google.cloud.ai" + + "platform.v1beta1.UrlMetadata.UrlRetrievalStatus\"|\n" + "\022UrlRetrievalStatus\022$\n" + " URL_RETRIEVAL_STATUS_UNSPECIFIED\020\000\022 \n" + "\034URL_RETRIEVAL_STATUS_SUCCESS\020\001\022\036\n" + "\032URL_RETRIEVAL_STATUS_ERROR\020\002\"\236\003\n" + "\016LogprobsResult\022U\n" - + "\016top_candidates\030\001 \003(\0132=.google.cloud.aiplatf" - + "orm.v1beta1.LogprobsResult.TopCandidates\022T\n" - + "\021chosen_candidates\030\002 \003(\01329.google.clo" - + "ud.aiplatform.v1beta1.LogprobsResult.Candidate\032\177\n" + + "\016top_candidates\030\001 \003(\0132=.google.cloud.aiplatfo" + + "rm.v1beta1.LogprobsResult.TopCandidates\022T\n" + + "\021chosen_candidates\030\002 \003(\01329.google.clou" + + "d.aiplatform.v1beta1.LogprobsResult.Candidate\032\177\n" + "\tCandidate\022\022\n" + "\005token\030\001 \001(\tH\000\210\001\001\022\025\n" + "\010token_id\030\003 \001(\005H\001\210\001\001\022\034\n" @@ -448,8 +460,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016GroundingChunk\022B\n" + "\003web\030\001" + " \001(\01323.google.cloud.aiplatform.v1beta1.GroundingChunk.WebH\000\022]\n" - + "\021retrieved_context\030\002 \001(\0132@.google.cloud.aiplatform.v1b" - + "eta1.GroundingChunk.RetrievedContextH\000\022D\n" + + "\021retrieved_context\030\002" + + " \001(\0132@.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContextH\000\022D\n" + "\004maps\030\003" + " \001(\01324.google.cloud.aiplatform.v1beta1.GroundingChunk.MapsH\000\032=\n" + "\003Web\022\020\n" @@ -474,15 +486,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005title\030\002 \001(\tH\001\210\001\001\022\021\n" + "\004text\030\003 \001(\tH\002\210\001\001\022\025\n" + "\010place_id\030\004 \001(\tH\003\210\001\001\022e\n" - + "\024place_answer_sources\030\005 \001(\0132G.google.cloud.aiplatform.v1be" - + "ta1.GroundingChunk.Maps.PlaceAnswerSources\032\320\001\n" + + "\024place_answer_sources\030\005 \001(\0132G.google.cloud.aiplatform.v1bet" + + "a1.GroundingChunk.Maps.PlaceAnswerSources\032\320\001\n" + "\022PlaceAnswerSources\022n\n" - + "\017review_snippets\030\001 \003(\0132U.google.cloud.aiplatform.v1b" - + "eta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet\032J\n\r" + + "\017review_snippets\030\001 \003(\0132U.google.cloud.aiplatform.v1be" + + "ta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet\032J\n\r" + "ReviewSnippet\022\021\n" + "\treview_id\030\001 \001(\t\022\027\n" - + "\017google_maps_uri\030\002 \001(\t\022\r" - + "\n" + + "\017google_maps_uri\030\002 \001(\t\022\r\n" + "\005title\030\003 \001(\tB\006\n" + "\004_uriB\010\n" + "\006_titleB\007\n" @@ -497,19 +508,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_segment\"\331\005\n" + "\021GroundingMetadata\022\037\n" + "\022web_search_queries\030\001 \003(\tB\003\340A\001\022W\n" - + "\022search_entry_point\030\004 \001(\01321.google.clo" - + "ud.aiplatform.v1beta1.SearchEntryPointB\003\340A\001H\000\210\001\001\022\036\n" + + "\022search_entry_point\030\004 \001(\01321.google.clou" + + "d.aiplatform.v1beta1.SearchEntryPointB\003\340A\001H\000\210\001\001\022\036\n" + "\021retrieval_queries\030\003 \003(\tB\003\340A\001\022I\n" + "\020grounding_chunks\030\005" + " \003(\0132/.google.cloud.aiplatform.v1beta1.GroundingChunk\022R\n" - + "\022grounding_supports\030\006 \003(\01321.google.cloud.a" - + "iplatform.v1beta1.GroundingSupportB\003\340A\001\022[\n" - + "\022retrieval_metadata\030\007 \001(\01322.google.clo" - + "ud.aiplatform.v1beta1.RetrievalMetadataB\006\340A\001\340A\003H\001\210\001\001\0225\n" + + "\022grounding_supports\030\006 \003(\01321.google.cloud.ai" + + "platform.v1beta1.GroundingSupportB\003\340A\001\022[\n" + + "\022retrieval_metadata\030\007 \001(\01322.google.clou" + + "d.aiplatform.v1beta1.RetrievalMetadataB\006\340A\001\340A\003H\001\210\001\001\0225\n" + " google_maps_widget_context_token\030\010 \001(" + "\tB\006\340A\001\340A\003H\002\210\001\001\022b\n" - + "\024source_flagging_uris\030\t \003(\0132D.google.cloud.aiplatf" - + "orm.v1beta1.GroundingMetadata.SourceFlaggingUri\032@\n" + + "\024source_flagging_uris\030\t \003(\0132D.google.cloud.aiplatfo" + + "rm.v1beta1.GroundingMetadata.SourceFlaggingUri\032@\n" + "\021SourceFlaggingUri\022\021\n" + "\tsource_id\030\001 \001(\t\022\030\n" + "\020flag_content_uri\030\002 \001(\tB\025\n" @@ -544,12 +555,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005VIDEO\020\003\022\t\n" + "\005AUDIO\020\004\022\014\n" + "\010DOCUMENT\020\005B\310\002\n" - + "#com.google.cloud.aiplatform.v1beta1B\014ContentProtoP\001ZCcloud.google.com/g" - + "o/aiplatform/apiv1beta1/aiplatformpb;aip" - + "latformpb\252\002\037Google.Cloud.AIPlatform.V1Be" - + "ta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1beta1\352Ab\n" - + "\"modelarmor.googleapis.com/Template\022 + * Optional. Config for image generation features. + * + * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + @java.lang.Override + public boolean hasImageConfig() { + return ((bitField0_ & 0x00040000) != 0); + } + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfig getImageConfig() { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder getImageConfigOrBuilder() { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -6477,6 +6536,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(28, getResponseJsonSchema()); } + if (((bitField0_ & 0x00040000) != 0)) { + output.writeMessage(30, getImageConfig()); + } getUnknownFields().writeTo(output); } @@ -6564,6 +6626,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getResponseJsonSchema()); } + if (((bitField0_ & 0x00040000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getImageConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -6660,6 +6725,10 @@ public boolean equals(final java.lang.Object obj) { if (hasModelConfig()) { if (!getModelConfig().equals(other.getModelConfig())) return false; } + if (hasImageConfig() != other.hasImageConfig()) return false; + if (hasImageConfig()) { + if (!getImageConfig().equals(other.getImageConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6753,6 +6822,10 @@ public int hashCode() { hash = (37 * hash) + MODEL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getModelConfig().hashCode(); } + if (hasImageConfig()) { + hash = (37 * hash) + IMAGE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getImageConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -6900,6 +6973,7 @@ private void maybeForceBuilderInitialization() { getSpeechConfigFieldBuilder(); getThinkingConfigFieldBuilder(); getModelConfigFieldBuilder(); + getImageConfigFieldBuilder(); } } @@ -6953,6 +7027,11 @@ public Builder clear() { modelConfigBuilder_.dispose(); modelConfigBuilder_ = null; } + imageConfig_ = null; + if (imageConfigBuilder_ != null) { + imageConfigBuilder_.dispose(); + imageConfigBuilder_ = null; + } return this; } @@ -7087,6 +7166,11 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GenerationConfig modelConfigBuilder_ == null ? modelConfig_ : modelConfigBuilder_.build(); to_bitField0_ |= 0x00020000; } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.imageConfig_ = + imageConfigBuilder_ == null ? imageConfig_ : imageConfigBuilder_.build(); + to_bitField0_ |= 0x00040000; + } result.bitField0_ |= to_bitField0_; } @@ -7215,6 +7299,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GenerationConfig ot if (other.hasModelConfig()) { mergeModelConfig(other.getModelConfig()); } + if (other.hasImageConfig()) { + mergeImageConfig(other.getImageConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -7382,6 +7469,12 @@ public Builder mergeFrom( bitField0_ |= 0x00002000; break; } // case 226 + case 242: + { + input.readMessage(getImageConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00200000; + break; + } // case 242 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -10601,6 +10694,220 @@ public Builder clearModelConfig() { return modelConfigBuilder_; } + private com.google.cloud.aiplatform.v1beta1.ImageConfig imageConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ImageConfig, + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder> + imageConfigBuilder_; + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + public boolean hasImageConfig() { + return ((bitField0_ & 0x00200000) != 0); + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + public com.google.cloud.aiplatform.v1beta1.ImageConfig getImageConfig() { + if (imageConfigBuilder_ == null) { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance() + : imageConfig_; + } else { + return imageConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setImageConfig(com.google.cloud.aiplatform.v1beta1.ImageConfig value) { + if (imageConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + imageConfig_ = value; + } else { + imageConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setImageConfig( + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder builderForValue) { + if (imageConfigBuilder_ == null) { + imageConfig_ = builderForValue.build(); + } else { + imageConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeImageConfig(com.google.cloud.aiplatform.v1beta1.ImageConfig value) { + if (imageConfigBuilder_ == null) { + if (((bitField0_ & 0x00200000) != 0) + && imageConfig_ != null + && imageConfig_ + != com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance()) { + getImageConfigBuilder().mergeFrom(value); + } else { + imageConfig_ = value; + } + } else { + imageConfigBuilder_.mergeFrom(value); + } + if (imageConfig_ != null) { + bitField0_ |= 0x00200000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearImageConfig() { + bitField0_ = (bitField0_ & ~0x00200000); + imageConfig_ = null; + if (imageConfigBuilder_ != null) { + imageConfigBuilder_.dispose(); + imageConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder getImageConfigBuilder() { + bitField0_ |= 0x00200000; + onChanged(); + return getImageConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder getImageConfigOrBuilder() { + if (imageConfigBuilder_ != null) { + return imageConfigBuilder_.getMessageOrBuilder(); + } else { + return imageConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance() + : imageConfig_; + } + } + + /** + * + * + *
+     * Optional. Config for image generation features.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ImageConfig, + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder> + getImageConfigFieldBuilder() { + if (imageConfigBuilder_ == null) { + imageConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ImageConfig, + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder>( + getImageConfig(), getParentForChildren(), isClean()); + imageConfig_ = null; + } + return imageConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerationConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerationConfigOrBuilder.java index 7e47ceaccaf0..c0dfd9d22725 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerationConfigOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerationConfigOrBuilder.java @@ -916,4 +916,47 @@ public interface GenerationConfigOrBuilder */ com.google.cloud.aiplatform.v1beta1.GenerationConfig.ModelConfigOrBuilder getModelConfigOrBuilder(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the imageConfig field is set. + */ + boolean hasImageConfig(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The imageConfig. + */ + com.google.cloud.aiplatform.v1beta1.ImageConfig getImageConfig(); + + /** + * + * + *
+   * Optional. Config for image generation features.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder getImageConfigOrBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfig.java new file mode 100644 index 000000000000..febf4fe29bea --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfig.java @@ -0,0 +1,746 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/content.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Config for image generation features.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ImageConfig} + */ +public final class ImageConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ImageConfig) + ImageConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ImageConfig.newBuilder() to construct. + private ImageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImageConfig() { + aspectRatio_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImageConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ImageConfig.class, + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder.class); + } + + private int bitField0_; + public static final int ASPECT_RATIO_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object aspectRatio_ = ""; + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + @java.lang.Override + public boolean hasAspectRatio() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + @java.lang.Override + public java.lang.String getAspectRatio() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + aspectRatio_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAspectRatioBytes() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + aspectRatio_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, aspectRatio_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, aspectRatio_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ImageConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ImageConfig other = + (com.google.cloud.aiplatform.v1beta1.ImageConfig) obj; + + if (hasAspectRatio() != other.hasAspectRatio()) return false; + if (hasAspectRatio()) { + if (!getAspectRatio().equals(other.getAspectRatio())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAspectRatio()) { + hash = (37 * hash) + ASPECT_RATIO_FIELD_NUMBER; + hash = (53 * hash) + getAspectRatio().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.ImageConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Config for image generation features.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ImageConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ImageConfig) + com.google.cloud.aiplatform.v1beta1.ImageConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ImageConfig.class, + com.google.cloud.aiplatform.v1beta1.ImageConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ImageConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + aspectRatio_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_ImageConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfig build() { + com.google.cloud.aiplatform.v1beta1.ImageConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.ImageConfig result = + new com.google.cloud.aiplatform.v1beta1.ImageConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ImageConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.aspectRatio_ = aspectRatio_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ImageConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ImageConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ImageConfig other) { + if (other == com.google.cloud.aiplatform.v1beta1.ImageConfig.getDefaultInstance()) + return this; + if (other.hasAspectRatio()) { + aspectRatio_ = other.aspectRatio_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + aspectRatio_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object aspectRatio_ = ""; + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + public boolean hasAspectRatio() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + public java.lang.String getAspectRatio() { + java.lang.Object ref = aspectRatio_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + aspectRatio_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + public com.google.protobuf.ByteString getAspectRatioBytes() { + java.lang.Object ref = aspectRatio_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + aspectRatio_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The aspectRatio to set. + * @return This builder for chaining. + */ + public Builder setAspectRatio(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + aspectRatio_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAspectRatio() { + aspectRatio_ = getDefaultInstance().getAspectRatio(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The desired aspect ratio for the generated images. The following
+     * aspect ratios are supported:
+     *
+     * "1:1"
+     * "2:3", "3:2"
+     * "3:4", "4:3"
+     * "4:5", "5:4"
+     * "9:16", "16:9"
+     * "21:9"
+     * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for aspectRatio to set. + * @return This builder for chaining. + */ + public Builder setAspectRatioBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + aspectRatio_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ImageConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ImageConfig) + private static final com.google.cloud.aiplatform.v1beta1.ImageConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ImageConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.ImageConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImageConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfigOrBuilder.java new file mode 100644 index 000000000000..cfcda988f08d --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImageConfigOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/content.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.aiplatform.v1beta1; + +public interface ImageConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ImageConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the aspectRatio field is set. + */ + boolean hasAspectRatio(); + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The aspectRatio. + */ + java.lang.String getAspectRatio(); + + /** + * + * + *
+   * Optional. The desired aspect ratio for the generated images. The following
+   * aspect ratios are supported:
+   *
+   * "1:1"
+   * "2:3", "3:2"
+   * "3:4", "4:3"
+   * "4:5", "5:4"
+   * "9:16", "16:9"
+   * "21:9"
+   * 
+ * + * optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for aspectRatio. + */ + com.google.protobuf.ByteString getAspectRatioBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngine.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngine.java index 82cddd9b95e3..f9f6893770d9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngine.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngine.java @@ -58,6 +58,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -572,6 +584,113 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryption : encryptionSpec_; } + public static final int LABELS_FIELD_NUMBER = 17; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -613,6 +732,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(11, getEncryptionSpec()); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 17); getUnknownFields().writeTo(output); } @@ -649,6 +770,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEncryptionSpec()); } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, labels__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -689,6 +820,7 @@ public boolean equals(final java.lang.Object obj) { if (hasEncryptionSpec()) { if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -728,6 +860,10 @@ public int hashCode() { hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getEncryptionSpec().hashCode(); } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -848,6 +984,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 17: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -911,6 +1069,7 @@ public Builder clear() { encryptionSpecBuilder_.dispose(); encryptionSpecBuilder_ = null; } + internalGetMutableLabels().clear(); return this; } @@ -982,6 +1141,10 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ReasoningEngine r encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); to_bitField0_ |= 0x00000010; } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } result.bitField0_ |= to_bitField0_; } @@ -1066,6 +1229,8 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ReasoningEngine oth if (other.hasEncryptionSpec()) { mergeEncryptionSpec(other.getEncryptionSpec()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000200; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1146,6 +1311,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000100; break; } // case 90 + case 138: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2705,6 +2882,178 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionS return encryptionSpecBuilder_; } + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000200; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000200); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField0_ |= 0x00000200; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField0_ |= 0x00000200; + return this; + } + + /** + * + * + *
+     * Labels for the ReasoningEngine.
+     * 
+ * + * map<string, string> labels = 17; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000200; + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineOrBuilder.java index fa7dcf0f07fa..cd3d44300949 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineOrBuilder.java @@ -345,4 +345,67 @@ public interface ReasoningEngineOrBuilder * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11; */ com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + int getLabelsCount(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Labels for the ReasoningEngine.
+   * 
+ * + * map<string, string> labels = 17; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineProto.java index 32dac78e860b..c5b2b494505b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineProto.java @@ -44,10 +44,26 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_DeploymentSpec_ResourceLimitsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_DeploymentSpec_ResourceLimitsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineContextSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -89,13 +105,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v_var.proto\0328google/cloud/aiplatform/v1b" + "eta1/service_networking.proto\032\036google/pr" + "otobuf/duration.proto\032\034google/protobuf/s" - + "truct.proto\032\037google/protobuf/timestamp.proto\"\277\010\n" - + "\023ReasoningEngineSpec\022!\n" - + "\017service_account\030\001 \001(\tB\003\340A\001H\000\210\001\001\022[\n" - + "\014package_spec\030\002" - + " \001(\0132@.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpecB\003\340A\001\022a\n" - + "\017deployment_spec\030\004 \001(\0132C.google.cloud.aip" - + "latform.v1beta1.ReasoningEngineSpec.DeploymentSpecB\003\340A\001\0223\n\r" + + "truct.proto\032\037google/protobuf/timestamp.proto\"\352\014\n" + + "\023ReasoningEngineSpec\022_\n" + + "\020source_code_spec\030\013 \001(\0132C.google.cloud.aiplatform" + + ".v1beta1.ReasoningEngineSpec.SourceCodeSpecH\000\022!\n" + + "\017service_account\030\001 \001(\tB\003\340A\001H\001\210\001\001\022[\n" + + "\014package_spec\030\002 \001(\0132@.google.cloud.ai" + + "platform.v1beta1.ReasoningEngineSpec.PackageSpecB\003\340A\001\022a\n" + + "\017deployment_spec\030\004 \001(\0132C" + + ".google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpecB\003\340A\001\0223\n\r" + "class_methods\030\003 \003(\0132\027.google.protobuf.StructB\003\340A\001\022\034\n" + "\017agent_framework\030\005 \001(\tB\003\340A\001\032\230\001\n" + "\013PackageSpec\022\"\n" @@ -106,36 +124,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016DeploymentSpec\0229\n" + "\003env\030\001" + " \003(\0132\'.google.cloud.aiplatform.v1beta1.EnvVarB\003\340A\001\022F\n\n" - + "secret_env\030\002 \003(\0132-.google" - + ".cloud.aiplatform.v1beta1.SecretEnvVarB\003\340A\001\022V\n" - + "\024psc_interface_config\030\004 \001(\01323.goog" - + "le.cloud.aiplatform.v1beta1.PscInterfaceConfigB\003\340A\001\022\037\n\r" + + "secret_env\030\002" + + " \003(\0132-.google.cloud.aiplatform.v1beta1.SecretEnvVarB\003\340A\001\022V\n" + + "\024psc_interface_config\030\004" + + " \001(\01323.google.cloud.aiplatform.v1beta1.PscInterfaceConfigB\003\340A\001\022\037\n\r" + "min_instances\030\005 \001(\005B\003\340A\001H\000\210\001\001\022\037\n\r" + "max_instances\030\006 \001(\005B\003\340A\001H\001\210\001\001\022u\n" - + "\017resource_limits\030\007 \003(\0132W.google.cloud.ai" - + "platform.v1beta1.ReasoningEngineSpec.DeploymentSpec.ResourceLimitsEntryB\003\340A\001\022\'\n" + + "\017resource_limits\030\007 \003(\0132W.google.cloud.aiplatform.v1beta1.Reason" + + "ingEngineSpec.DeploymentSpec.ResourceLimitsEntryB\003\340A\001\022\'\n" + "\025container_concurrency\030\010 \001(\005B\003\340A\001H\002\210\001\001\0325\n" + "\023ResourceLimitsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\020\n" + "\016_min_instancesB\020\n" + "\016_max_instancesB\030\n" - + "\026_container_concurrencyB\022\n" - + "\020_service_account\"\345\004\n" + + "\026_container_concurrency\032\262\003\n" + + "\016SourceCodeSpec\022i\n\r" + + "inline_source\030\001 \001(\0132P.google.cloud.aiplatform." + + "v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceH\000\022e\n" + + "\013python_spec\030\002 \001(\0132N.google.cloud.aiplatform.v1beta1.Reasoni" + + "ngEngineSpec.SourceCodeSpec.PythonSpecH\001\032.\n" + + "\014InlineSource\022\036\n" + + "\016source_archive\030\001 \001(\014B\006\340A\002\340A\004\032\202\001\n\n" + + "PythonSpec\022\024\n" + + "\007version\030\001 \001(\tB\003\340A\001\022\036\n" + + "\021entrypoint_module\030\002 \001(\tB\003\340A\001\022\036\n" + + "\021entrypoint_object\030\003 \001(\tB\003\340A\001\022\036\n" + + "\021requirements_file\030\004 \001(\tB\003\340A\001B\010\n" + + "\006sourceB\017\n\r" + + "language_specB\023\n" + + "\021deployment_sourceB\022\n" + + "\020_service_account\"\342\005\n" + "\017ReasoningEngine\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n" + "\013description\030\007 \001(\tB\003\340A\001\022G\n" - + "\004spec\030\003 \001(\013" - + "24.google.cloud.aiplatform.v1beta1.ReasoningEngineSpecB\003\340A\001\0224\n" + + "\004spec\030\003 \001(\01324.go" + + "ogle.cloud.aiplatform.v1beta1.ReasoningEngineSpecB\003\340A\001\0224\n" + "\013create_time\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\005" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\021\n" + "\004etag\030\006 \001(\tB\003\340A\001\022V\n" - + "\014context_spec\030\t" - + " \001(\0132;.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpecB\003\340A\001\022H\n" + + "\014context_spec\030\t " + + "\001(\0132;.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpecB\003\340A\001\022H\n" + "\017encryption_spec\030\013" - + " \001(\0132/.google.cloud.aiplatform.v1beta1.EncryptionSpec:\237\001\352A\233\001\n" + + " \001(\0132/.google.cloud.aiplatform.v1beta1.EncryptionSpec\022L\n" + + "\006labels\030\021 \003(\0132" + + "<.google.cloud.aiplatform.v1beta1.ReasoningEngine.LabelsEntry\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:\237\001\352A\233\001\n" + ")aiplatform.googleapis.com/ReasoningEngine\022K" + "projects/{project}/locations/{location}/" + "reasoningEngines/{reasoning_engine}*\020reasoningEngines2\017reasoningEngine\"\354\010\n" @@ -195,7 +233,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_descriptor, new java.lang.String[] { - "ServiceAccount", "PackageSpec", "DeploymentSpec", "ClassMethods", "AgentFramework", + "SourceCodeSpec", + "ServiceAccount", + "PackageSpec", + "DeploymentSpec", + "ClassMethods", + "AgentFramework", + "DeploymentSource", }); internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_PackageSpec_descriptor = internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_descriptor @@ -233,6 +277,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor, + new java.lang.String[] { + "InlineSource", "PythonSpec", "Source", "LanguageSpec", + }); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor, + new java.lang.String[] { + "SourceArchive", + }); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor, + new java.lang.String[] { + "Version", "EntrypointModule", "EntrypointObject", "RequirementsFile", + }); internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_fieldAccessorTable = @@ -248,6 +322,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Etag", "ContextSpec", "EncryptionSpec", + "Labels", + }); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngine_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", }); internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineContextSpec_descriptor = getDescriptor().getMessageTypes().get(2); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpec.java index 8d0d643ee870..a2f167fc7761 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpec.java @@ -182,7 +182,8 @@ public interface PackageSpecOrBuilder * * *
-   * User provided package spec like pickled object and package requirements.
+   * User-provided package specification, containing pickled object and package
+   * requirements.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec} @@ -634,7 +635,8 @@ protected Builder newBuilderForType( * * *
-     * User provided package spec like pickled object and package requirements.
+     * User-provided package specification, containing pickled object and package
+     * requirements.
      * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec} @@ -1600,7 +1602,7 @@ public interface DeploymentSpecOrBuilder * *
      * Optional. The minimum number of application instances that will be kept
-     * running at all times. Defaults to 1.
+     * running at all times. Defaults to 1. Range: [0, 10].
      * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1614,7 +1616,7 @@ public interface DeploymentSpecOrBuilder * *
      * Optional. The minimum number of application instances that will be kept
-     * running at all times. Defaults to 1.
+     * running at all times. Defaults to 1. Range: [0, 10].
      * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1628,7 +1630,9 @@ public interface DeploymentSpecOrBuilder * *
      * Optional. The maximum number of application instances that can be
-     * launched to handle increased traffic. Defaults to 100.
+     * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+     *
+     * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
      * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1642,7 +1646,9 @@ public interface DeploymentSpecOrBuilder * *
      * Optional. The maximum number of application instances that can be
-     * launched to handle increased traffic. Defaults to 100.
+     * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+     *
+     * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
      * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -1658,10 +1664,11 @@ public interface DeploymentSpecOrBuilder * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -1678,10 +1685,11 @@ public interface DeploymentSpecOrBuilder * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -1702,10 +1710,11 @@ public interface DeploymentSpecOrBuilder * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -1722,10 +1731,11 @@ public interface DeploymentSpecOrBuilder * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -1746,10 +1756,11 @@ java.lang.String getResourceLimitsOrDefault( * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -2120,7 +2131,7 @@ public com.google.cloud.aiplatform.v1beta1.PscInterfaceConfig getPscInterfaceCon * *
      * Optional. The minimum number of application instances that will be kept
-     * running at all times. Defaults to 1.
+     * running at all times. Defaults to 1. Range: [0, 10].
      * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2137,7 +2148,7 @@ public boolean hasMinInstances() { * *
      * Optional. The minimum number of application instances that will be kept
-     * running at all times. Defaults to 1.
+     * running at all times. Defaults to 1. Range: [0, 10].
      * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2157,7 +2168,9 @@ public int getMinInstances() { * *
      * Optional. The maximum number of application instances that can be
-     * launched to handle increased traffic. Defaults to 100.
+     * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+     *
+     * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
      * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2174,7 +2187,9 @@ public boolean hasMaxInstances() { * *
      * Optional. The maximum number of application instances that can be
-     * launched to handle increased traffic. Defaults to 100.
+     * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+     *
+     * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
      * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2222,10 +2237,11 @@ public int getResourceLimitsCount() { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -2255,10 +2271,11 @@ public java.util.Map getResourceLimits() { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -2278,10 +2295,11 @@ public java.util.Map getResourceLimitsMap() * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -2308,10 +2326,11 @@ public java.util.Map getResourceLimitsMap() * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4184,7 +4203,7 @@ public Builder clearPscInterfaceConfig() { * *
        * Optional. The minimum number of application instances that will be kept
-       * running at all times. Defaults to 1.
+       * running at all times. Defaults to 1. Range: [0, 10].
        * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -4201,7 +4220,7 @@ public boolean hasMinInstances() { * *
        * Optional. The minimum number of application instances that will be kept
-       * running at all times. Defaults to 1.
+       * running at all times. Defaults to 1. Range: [0, 10].
        * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -4218,7 +4237,7 @@ public int getMinInstances() { * *
        * Optional. The minimum number of application instances that will be kept
-       * running at all times. Defaults to 1.
+       * running at all times. Defaults to 1. Range: [0, 10].
        * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -4239,7 +4258,7 @@ public Builder setMinInstances(int value) { * *
        * Optional. The minimum number of application instances that will be kept
-       * running at all times. Defaults to 1.
+       * running at all times. Defaults to 1. Range: [0, 10].
        * 
* * optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -4260,7 +4279,9 @@ public Builder clearMinInstances() { * *
        * Optional. The maximum number of application instances that can be
-       * launched to handle increased traffic. Defaults to 100.
+       * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+       *
+       * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
        * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -4277,7 +4298,9 @@ public boolean hasMaxInstances() { * *
        * Optional. The maximum number of application instances that can be
-       * launched to handle increased traffic. Defaults to 100.
+       * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+       *
+       * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
        * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -4294,7 +4317,9 @@ public int getMaxInstances() { * *
        * Optional. The maximum number of application instances that can be
-       * launched to handle increased traffic. Defaults to 100.
+       * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+       *
+       * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
        * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -4315,7 +4340,9 @@ public Builder setMaxInstances(int value) { * *
        * Optional. The maximum number of application instances that can be
-       * launched to handle increased traffic. Defaults to 100.
+       * launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
+       *
+       * If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
        * 
* * optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -4366,10 +4393,11 @@ public int getResourceLimitsCount() { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4399,10 +4427,11 @@ public java.util.Map getResourceLimits() { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4422,10 +4451,11 @@ public java.util.Map getResourceLimitsMap() * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4453,10 +4483,11 @@ public java.util.Map getResourceLimitsMap() * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4490,10 +4521,11 @@ public Builder clearResourceLimits() { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4523,10 +4555,11 @@ public java.util.Map getMutableResourceLimit * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4553,10 +4586,11 @@ public Builder putResourceLimits(java.lang.String key, java.lang.String value) { * Optional. Resource limits for each container. Only 'cpu' and 'memory' * keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * - * * The only supported values for CPU are '1', '2', '4', and '8'. For + * * The only supported values for CPU are '1', '2', '4', '6' and '8'. For * more information, go to * https://cloud.google.com/run/docs/configuring/cpu. - * * For supported 'memory' values and syntax, go to + * * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + * * For required cpu on different memory values, go to * https://cloud.google.com/run/docs/configuring/memory-limits * * @@ -4719,205 +4753,3851 @@ public com.google.protobuf.Parser getParserForType() { } } - private int bitField0_; - public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 1; + public interface SourceCodeSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + com.google.protobuf.MessageOrBuilder { - @SuppressWarnings("serial") - private volatile java.lang.Object serviceAccount_ = ""; + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + boolean hasInlineSource(); - /** - * - * - *
-   * Optional. The service account that the Reasoning Engine artifact runs as.
-   * It should have "roles/storage.objectViewer" for reading the user project's
-   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
-   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
-   * will be used.
-   * 
- * - * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return Whether the serviceAccount field is set. - */ - @java.lang.Override - public boolean hasServiceAccount() { - return ((bitField0_ & 0x00000001) != 0); - } + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource(); - /** - * - * - *
-   * Optional. The service account that the Reasoning Engine artifact runs as.
-   * It should have "roles/storage.objectViewer" for reading the user project's
-   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
-   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
-   * will be used.
-   * 
- * - * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The serviceAccount. - */ - @java.lang.Override - public java.lang.String getServiceAccount() { - java.lang.Object ref = serviceAccount_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - serviceAccount_ = s; - return s; - } - } + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceOrBuilder + getInlineSourceOrBuilder(); - /** - * - * - *
-   * Optional. The service account that the Reasoning Engine artifact runs as.
-   * It should have "roles/storage.objectViewer" for reading the user project's
-   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
-   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
-   * will be used.
-   * 
- * - * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for serviceAccount. - */ - @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { - java.lang.Object ref = serviceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - serviceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + boolean hasPythonSpec(); - public static final int PACKAGE_SPEC_FIELD_NUMBER = 2; - private com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec packageSpec_; + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getPythonSpec(); - /** - * - * - *
-   * Optional. User provided package spec of the ReasoningEngine.
-   * Ignored when users directly specify a deployment image through
-   * `deployment_spec.first_party_image_override`, but keeping the
-   * field_behavior to avoid introducing breaking changes.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the packageSpec field is set. - */ - @java.lang.Override - public boolean hasPackageSpec() { - return ((bitField0_ & 0x00000002) != 0); - } + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder + getPythonSpecOrBuilder(); - /** - * - * - *
-   * Optional. User provided package spec of the ReasoningEngine.
-   * Ignored when users directly specify a deployment image through
-   * `deployment_spec.first_party_image_override`, but keeping the
-   * field_behavior to avoid introducing breaking changes.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The packageSpec. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec getPackageSpec() { - return packageSpec_ == null - ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec.getDefaultInstance() - : packageSpec_; + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.SourceCase + getSourceCase(); + + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.LanguageSpecCase + getLanguageSpecCase(); } /** * * *
-   * Optional. User provided package spec of the ReasoningEngine.
-   * Ignored when users directly specify a deployment image through
-   * `deployment_spec.first_party_image_override`, but keeping the
-   * field_behavior to avoid introducing breaking changes.
+   * Specification for deploying from source code.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec} */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpecOrBuilder - getPackageSpecOrBuilder() { - return packageSpec_ == null - ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec.getDefaultInstance() - : packageSpec_; - } + public static final class SourceCodeSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + SourceCodeSpecOrBuilder { + private static final long serialVersionUID = 0L; - public static final int DEPLOYMENT_SPEC_FIELD_NUMBER = 4; - private com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deploymentSpec_; + // Use SourceCodeSpec.newBuilder() to construct. + private SourceCodeSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * - * - *
-   * Optional. The specification of a Reasoning Engine deployment.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the deploymentSpec field is set. - */ - @java.lang.Override - public boolean hasDeploymentSpec() { - return ((bitField0_ & 0x00000004) != 0); - } + private SourceCodeSpec() {} - /** - * - * - *
-   * Optional. The specification of a Reasoning Engine deployment.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The deploymentSpec. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec - getDeploymentSpec() { - return deploymentSpec_ == null - ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec - .getDefaultInstance() - : deploymentSpec_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceCodeSpec(); + } - /** - * - * - *
-   * Optional. The specification of a Reasoning Engine deployment.
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto
+          .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor;
+    }
+
+    @java.lang.Override
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto
+          .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.class,
+              com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder.class);
+    }
+
+    public interface InlineSourceOrBuilder
+        extends
+        // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource)
+        com.google.protobuf.MessageOrBuilder {
+
+      /**
+       *
+       *
+       * 
+       * Required. Input only. The application source code archive, provided as
+       * a compressed tarball
+       * (.tar.gz) file.
+       * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + com.google.protobuf.ByteString getSourceArchive(); + } + + /** + * + * + *
+     * Specifies source code provided as a byte stream.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource} + */ + public static final class InlineSource extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + InlineSourceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use InlineSource.newBuilder() to construct. + private InlineSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InlineSource() { + sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InlineSource(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .class, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder.class); + } + + public static final int SOURCE_ARCHIVE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+       * Required. Input only. The application source code archive, provided as
+       * a compressed tarball
+       * (.tar.gz) file.
+       * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceArchive() { + return sourceArchive_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!sourceArchive_.isEmpty()) { + output.writeBytes(1, sourceArchive_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!sourceArchive_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, sourceArchive_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource other = + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + obj; + + if (!getSourceArchive().equals(other.getSourceArchive())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SOURCE_ARCHIVE_FIELD_NUMBER; + hash = (53 * hash) + getSourceArchive().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Specifies source code provided as a byte stream.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource.class, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sourceArchive_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_InlineSource_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + build() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + buildPartial() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + result = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sourceArchive_ = sourceArchive_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance()) return this; + if (other.getSourceArchive() != com.google.protobuf.ByteString.EMPTY) { + setSourceArchive(other.getSourceArchive()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + sourceArchive_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.ByteString sourceArchive_ = + com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The sourceArchive. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceArchive() { + return sourceArchive_; + } + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @param value The sourceArchive to set. + * @return This builder for chaining. + */ + public Builder setSourceArchive(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + sourceArchive_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Required. Input only. The application source code archive, provided as
+         * a compressed tarball
+         * (.tar.gz) file.
+         * 
+ * + * + * bytes source_archive = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceArchive() { + bitField0_ = (bitField0_ & ~0x00000001); + sourceArchive_ = getDefaultInstance().getSourceArchive(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + private static final com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource(); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InlineSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface PythonSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + java.lang.String getVersion(); + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + com.google.protobuf.ByteString getVersionBytes(); + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + java.lang.String getEntrypointModule(); + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + com.google.protobuf.ByteString getEntrypointModuleBytes(); + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + java.lang.String getEntrypointObject(); + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + com.google.protobuf.ByteString getEntrypointObjectBytes(); + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + java.lang.String getRequirementsFile(); + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + com.google.protobuf.ByteString getRequirementsFileBytes(); + } + + /** + * + * + *
+     * Specification for running a Python application from source.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec} + */ + public static final class PythonSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + PythonSpecOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PythonSpec.newBuilder() to construct. + private PythonSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PythonSpec() { + version_ = ""; + entrypointModule_ = ""; + entrypointObject_ = ""; + requirementsFile_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PythonSpec(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .class, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The version of Python to use. Support version
+       * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+       * If not specified, default value is 3.10.
+       * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENTRYPOINT_MODULE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object entrypointModule_ = ""; + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + @java.lang.Override + public java.lang.String getEntrypointModule() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointModule_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The Python module to load as the entrypoint, specified as a
+       * fully qualified module name. For example: path.to.agent.
+       * If not specified, defaults to "agent".
+       *
+       * The project root will be added to Python sys.path, allowing imports
+       * to be specified relative to the root.
+       * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntrypointModuleBytes() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointModule_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENTRYPOINT_OBJECT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object entrypointObject_ = ""; + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + @java.lang.Override + public java.lang.String getEntrypointObject() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointObject_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The name of the callable object within the
+       * `entrypoint_module` to use as the application If not specified,
+       * defaults to "root_agent".
+       * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntrypointObjectBytes() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointObject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUIREMENTS_FILE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requirementsFile_ = ""; + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + @java.lang.Override + public java.lang.String getRequirementsFile() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementsFile_ = s; + return s; + } + } + + /** + * + * + *
+       * Optional. The path to the requirements file, relative to the source
+       * root. If not specified, defaults to "requirements.txt".
+       * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequirementsFileBytes() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requirementsFile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointModule_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entrypointModule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointObject_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entrypointObject_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementsFile_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requirementsFile_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointModule_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entrypointModule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entrypointObject_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entrypointObject_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requirementsFile_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requirementsFile_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec other = + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) obj; + + if (!getVersion().equals(other.getVersion())) return false; + if (!getEntrypointModule().equals(other.getEntrypointModule())) return false; + if (!getEntrypointObject().equals(other.getEntrypointObject())) return false; + if (!getRequirementsFile().equals(other.getRequirementsFile())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + ENTRYPOINT_MODULE_FIELD_NUMBER; + hash = (53 * hash) + getEntrypointModule().hashCode(); + hash = (37 * hash) + ENTRYPOINT_OBJECT_FIELD_NUMBER; + hash = (53 * hash) + getEntrypointObject().hashCode(); + hash = (37 * hash) + REQUIREMENTS_FILE_FIELD_NUMBER; + hash = (53 * hash) + getRequirementsFile().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Specification for running a Python application from source.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .class, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + entrypointModule_ = ""; + entrypointObject_ = ""; + requirementsFile_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_PythonSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + build() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + buildPartial() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec result = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.entrypointModule_ = entrypointModule_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.entrypointObject_ = entrypointObject_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requirementsFile_ = requirementsFile_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getEntrypointModule().isEmpty()) { + entrypointModule_ = other.entrypointModule_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getEntrypointObject().isEmpty()) { + entrypointObject_ = other.entrypointObject_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRequirementsFile().isEmpty()) { + requirementsFile_ = other.requirementsFile_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + entrypointModule_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + entrypointObject_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requirementsFile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object version_ = ""; + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for version. + */ + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The version of Python to use. Support version
+         * includes 3.9, 3.10, 3.11, 3.12, 3.13.
+         * If not specified, default value is 3.10.
+         * 
+ * + * string version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object entrypointModule_ = ""; + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointModule. + */ + public java.lang.String getEntrypointModule() { + java.lang.Object ref = entrypointModule_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointModule_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointModule. + */ + public com.google.protobuf.ByteString getEntrypointModuleBytes() { + java.lang.Object ref = entrypointModule_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointModule_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entrypointModule to set. + * @return This builder for chaining. + */ + public Builder setEntrypointModule(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entrypointModule_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEntrypointModule() { + entrypointModule_ = getDefaultInstance().getEntrypointModule(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The Python module to load as the entrypoint, specified as a
+         * fully qualified module name. For example: path.to.agent.
+         * If not specified, defaults to "agent".
+         *
+         * The project root will be added to Python sys.path, allowing imports
+         * to be specified relative to the root.
+         * 
+ * + * string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entrypointModule to set. + * @return This builder for chaining. + */ + public Builder setEntrypointModuleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entrypointModule_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object entrypointObject_ = ""; + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entrypointObject. + */ + public java.lang.String getEntrypointObject() { + java.lang.Object ref = entrypointObject_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entrypointObject_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entrypointObject. + */ + public com.google.protobuf.ByteString getEntrypointObjectBytes() { + java.lang.Object ref = entrypointObject_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entrypointObject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entrypointObject to set. + * @return This builder for chaining. + */ + public Builder setEntrypointObject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entrypointObject_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEntrypointObject() { + entrypointObject_ = getDefaultInstance().getEntrypointObject(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The name of the callable object within the
+         * `entrypoint_module` to use as the application If not specified,
+         * defaults to "root_agent".
+         * 
+ * + * string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entrypointObject to set. + * @return This builder for chaining. + */ + public Builder setEntrypointObjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entrypointObject_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requirementsFile_ = ""; + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requirementsFile. + */ + public java.lang.String getRequirementsFile() { + java.lang.Object ref = requirementsFile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requirementsFile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requirementsFile. + */ + public com.google.protobuf.ByteString getRequirementsFileBytes() { + java.lang.Object ref = requirementsFile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requirementsFile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requirementsFile to set. + * @return This builder for chaining. + */ + public Builder setRequirementsFile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requirementsFile_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearRequirementsFile() { + requirementsFile_ = getDefaultInstance().getRequirementsFile(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. The path to the requirements file, relative to the source
+         * root. If not specified, defaults to "requirements.txt".
+         * 
+ * + * string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requirementsFile to set. + * @return This builder for chaining. + */ + public Builder setRequirementsFileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requirementsFile_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + private static final com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PythonSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int sourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object source_; + + public enum SourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + INLINE_SOURCE(1), + SOURCE_NOT_SET(0); + private final int value; + + private SourceCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 1: + return INLINE_SOURCE; + case 0: + return SOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + private int languageSpecCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object languageSpec_; + + public enum LanguageSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + PYTHON_SPEC(2), + LANGUAGESPEC_NOT_SET(0); + private final int value; + + private LanguageSpecCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LanguageSpecCase valueOf(int value) { + return forNumber(value); + } + + public static LanguageSpecCase forNumber(int value) { + switch (value) { + case 2: + return PYTHON_SPEC; + case 0: + return LANGUAGESPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public LanguageSpecCase getLanguageSpecCase() { + return LanguageSpecCase.forNumber(languageSpecCase_); + } + + public static final int INLINE_SOURCE_FIELD_NUMBER = 1; + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + @java.lang.Override + public boolean hasInlineSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource() { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + /** + * + * + *
+     * Source code is provided directly in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder + getInlineSourceOrBuilder() { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + + public static final int PYTHON_SPEC_FIELD_NUMBER = 2; + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + @java.lang.Override + public boolean hasPythonSpec() { + return languageSpecCase_ == 2; + } + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getPythonSpec() { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + /** + * + * + *
+     * Configuration for a Python application.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder + getPythonSpecOrBuilder() { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sourceCase_ == 1) { + output.writeMessage( + 1, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource) + source_); + } + if (languageSpecCase_ == 2) { + output.writeMessage( + 2, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (sourceCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_); + } + if (languageSpecCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec) + languageSpec_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec other = + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) obj; + + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 1: + if (!getInlineSource().equals(other.getInlineSource())) return false; + break; + case 0: + default: + } + if (!getLanguageSpecCase().equals(other.getLanguageSpecCase())) return false; + switch (languageSpecCase_) { + case 2: + if (!getPythonSpec().equals(other.getPythonSpec())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (sourceCase_) { + case 1: + hash = (37 * hash) + INLINE_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getInlineSource().hashCode(); + break; + case 0: + default: + } + switch (languageSpecCase_) { + case 2: + hash = (37 * hash) + PYTHON_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getPythonSpec().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Specification for deploying from source code.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.class, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (inlineSourceBuilder_ != null) { + inlineSourceBuilder_.clear(); + } + if (pythonSpecBuilder_ != null) { + pythonSpecBuilder_.clear(); + } + sourceCase_ = 0; + source_ = null; + languageSpecCase_ = 0; + languageSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineProto + .internal_static_google_cloud_aiplatform_v1beta1_ReasoningEngineSpec_SourceCodeSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec build() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec buildPartial() { + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec result = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec result) { + result.sourceCase_ = sourceCase_; + result.source_ = this.source_; + if (sourceCase_ == 1 && inlineSourceBuilder_ != null) { + result.source_ = inlineSourceBuilder_.build(); + } + result.languageSpecCase_ = languageSpecCase_; + result.languageSpec_ = this.languageSpec_; + if (languageSpecCase_ == 2 && pythonSpecBuilder_ != null) { + result.languageSpec_ = pythonSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance()) return this; + switch (other.getSourceCase()) { + case INLINE_SOURCE: + { + mergeInlineSource(other.getInlineSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } + } + switch (other.getLanguageSpecCase()) { + case PYTHON_SPEC: + { + mergePythonSpec(other.getPythonSpec()); + break; + } + case LANGUAGESPEC_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getInlineSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getPythonSpecFieldBuilder().getBuilder(), extensionRegistry); + languageSpecCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int languageSpecCase_ = 0; + private java.lang.Object languageSpec_; + + public LanguageSpecCase getLanguageSpecCase() { + return LanguageSpecCase.forNumber(languageSpecCase_); + } + + public Builder clearLanguageSpec() { + languageSpecCase_ = 0; + languageSpec_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder> + inlineSourceBuilder_; + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return Whether the inlineSource field is set. + */ + @java.lang.Override + public boolean hasInlineSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + * + * @return The inlineSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + getInlineSource() { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } else { + if (sourceCase_ == 1) { + return inlineSourceBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder setInlineSource( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + value) { + if (inlineSourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + inlineSourceBuilder_.setMessage(value); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder setInlineSource( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder + builderForValue) { + if (inlineSourceBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + inlineSourceBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder mergeInlineSource( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + value) { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1 + && source_ + != com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource.getDefaultInstance()) { + source_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .newBuilder( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_) + .mergeFrom(value) + .buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 1) { + inlineSourceBuilder_.mergeFrom(value); + } else { + inlineSourceBuilder_.setMessage(value); + } + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public Builder clearInlineSource() { + if (inlineSourceBuilder_ == null) { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + } + inlineSourceBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder + getInlineSourceBuilder() { + return getInlineSourceFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder + getInlineSourceOrBuilder() { + if ((sourceCase_ == 1) && (inlineSourceBuilder_ != null)) { + return inlineSourceBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Source code is provided directly in the request.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource inline_source = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder> + getInlineSourceFieldBuilder() { + if (inlineSourceBuilder_ == null) { + if (!(sourceCase_ == 1)) { + source_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.InlineSource + .getDefaultInstance(); + } + inlineSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource.Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSourceOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .InlineSource) + source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 1; + onChanged(); + return inlineSourceBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder> + pythonSpecBuilder_; + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return Whether the pythonSpec field is set. + */ + @java.lang.Override + public boolean hasPythonSpec() { + return languageSpecCase_ == 2; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + * + * @return The pythonSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + getPythonSpec() { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } else { + if (languageSpecCase_ == 2) { + return pythonSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder setPythonSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec value) { + if (pythonSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + languageSpec_ = value; + onChanged(); + } else { + pythonSpecBuilder_.setMessage(value); + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder setPythonSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder + builderForValue) { + if (pythonSpecBuilder_ == null) { + languageSpec_ = builderForValue.build(); + onChanged(); + } else { + pythonSpecBuilder_.setMessage(builderForValue.build()); + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder mergePythonSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec value) { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2 + && languageSpec_ + != com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec.getDefaultInstance()) { + languageSpec_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .newBuilder( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec) + languageSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + languageSpec_ = value; + } + onChanged(); + } else { + if (languageSpecCase_ == 2) { + pythonSpecBuilder_.mergeFrom(value); + } else { + pythonSpecBuilder_.setMessage(value); + } + } + languageSpecCase_ = 2; + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public Builder clearPythonSpec() { + if (pythonSpecBuilder_ == null) { + if (languageSpecCase_ == 2) { + languageSpecCase_ = 0; + languageSpec_ = null; + onChanged(); + } + } else { + if (languageSpecCase_ == 2) { + languageSpecCase_ = 0; + languageSpec_ = null; + } + pythonSpecBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder + getPythonSpecBuilder() { + return getPythonSpecFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder + getPythonSpecOrBuilder() { + if ((languageSpecCase_ == 2) && (pythonSpecBuilder_ != null)) { + return pythonSpecBuilder_.getMessageOrBuilder(); + } else { + if (languageSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec) + languageSpec_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Configuration for a Python application.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec python_spec = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder> + getPythonSpecFieldBuilder() { + if (pythonSpecBuilder_ == null) { + if (!(languageSpecCase_ == 2)) { + languageSpec_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .getDefaultInstance(); + } + pythonSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpecOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .PythonSpec) + languageSpec_, + getParentForChildren(), + isClean()); + languageSpec_ = null; + } + languageSpecCase_ = 2; + onChanged(); + return pythonSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + private static final com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceCodeSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + private int deploymentSourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object deploymentSource_; + + public enum DeploymentSourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SOURCE_CODE_SPEC(11), + DEPLOYMENTSOURCE_NOT_SET(0); + private final int value; + + private DeploymentSourceCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DeploymentSourceCase valueOf(int value) { + return forNumber(value); + } + + public static DeploymentSourceCase forNumber(int value) { + switch (value) { + case 11: + return SOURCE_CODE_SPEC; + case 0: + return DEPLOYMENTSOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DeploymentSourceCase getDeploymentSourceCase() { + return DeploymentSourceCase.forNumber(deploymentSourceCase_); + } + + public static final int SOURCE_CODE_SPEC_FIELD_NUMBER = 11; + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + @java.lang.Override + public boolean hasSourceCodeSpec() { + return deploymentSourceCase_ == 11; + } + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + getSourceCodeSpec() { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder() { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object serviceAccount_ = ""; + + /** + * + * + *
+   * Optional. The service account that the Reasoning Engine artifact runs as.
+   * It should have "roles/storage.objectViewer" for reading the user project's
+   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
+   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
+   * will be used.
+   * 
+ * + * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the serviceAccount field is set. + */ + @java.lang.Override + public boolean hasServiceAccount() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The service account that the Reasoning Engine artifact runs as.
+   * It should have "roles/storage.objectViewer" for reading the user project's
+   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
+   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
+   * will be used.
+   * 
+ * + * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccount. + */ + @java.lang.Override + public java.lang.String getServiceAccount() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The service account that the Reasoning Engine artifact runs as.
+   * It should have "roles/storage.objectViewer" for reading the user project's
+   * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
+   * not specified, the Vertex AI Reasoning Engine Service Agent in the project
+   * will be used.
+   * 
+ * + * optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PACKAGE_SPEC_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec packageSpec_; + + /** + * + * + *
+   * Optional. User provided package spec of the ReasoningEngine.
+   * Ignored when users directly specify a deployment image through
+   * `deployment_spec.first_party_image_override`, but keeping the
+   * field_behavior to avoid introducing breaking changes.
+   * The `deployment_source` field should not be set if `package_spec` is
+   * specified.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the packageSpec field is set. + */ + @java.lang.Override + public boolean hasPackageSpec() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. User provided package spec of the ReasoningEngine.
+   * Ignored when users directly specify a deployment image through
+   * `deployment_spec.first_party_image_override`, but keeping the
+   * field_behavior to avoid introducing breaking changes.
+   * The `deployment_source` field should not be set if `package_spec` is
+   * specified.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The packageSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec getPackageSpec() { + return packageSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec.getDefaultInstance() + : packageSpec_; + } + + /** + * + * + *
+   * Optional. User provided package spec of the ReasoningEngine.
+   * Ignored when users directly specify a deployment image through
+   * `deployment_spec.first_party_image_override`, but keeping the
+   * field_behavior to avoid introducing breaking changes.
+   * The `deployment_source` field should not be set if `package_spec` is
+   * specified.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpecOrBuilder + getPackageSpecOrBuilder() { + return packageSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec.getDefaultInstance() + : packageSpec_; + } + + public static final int DEPLOYMENT_SPEC_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deploymentSpec_; + + /** + * + * + *
+   * Optional. The specification of a Reasoning Engine deployment.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the deploymentSpec field is set. + */ + @java.lang.Override + public boolean hasDeploymentSpec() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Optional. The specification of a Reasoning Engine deployment.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec + getDeploymentSpec() { + return deploymentSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec + .getDefaultInstance() + : deploymentSpec_; + } + + /** + * + * + *
+   * Optional. The specification of a Reasoning Engine deployment.
    * 
* * @@ -5110,6 +8790,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentFramework_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, agentFramework_); } + if (deploymentSourceCase_ == 11) { + output.writeMessage( + 11, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_); + } getUnknownFields().writeTo(output); } @@ -5134,6 +8820,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentFramework_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, agentFramework_); } + if (deploymentSourceCase_ == 11) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -5164,6 +8857,14 @@ public boolean equals(final java.lang.Object obj) { } if (!getClassMethodsList().equals(other.getClassMethodsList())) return false; if (!getAgentFramework().equals(other.getAgentFramework())) return false; + if (!getDeploymentSourceCase().equals(other.getDeploymentSourceCase())) return false; + switch (deploymentSourceCase_) { + case 11: + if (!getSourceCodeSpec().equals(other.getSourceCodeSpec())) return false; + break; + case 0: + default: + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5193,6 +8894,14 @@ public int hashCode() { } hash = (37 * hash) + AGENT_FRAMEWORK_FIELD_NUMBER; hash = (53 * hash) + getAgentFramework().hashCode(); + switch (deploymentSourceCase_) { + case 11: + hash = (37 * hash) + SOURCE_CODE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSourceCodeSpec().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -5345,6 +9054,9 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); bitField0_ = 0; + if (sourceCodeSpecBuilder_ != null) { + sourceCodeSpecBuilder_.clear(); + } serviceAccount_ = ""; packageSpec_ = null; if (packageSpecBuilder_ != null) { @@ -5362,8 +9074,10 @@ public Builder clear() { classMethods_ = null; classMethodsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); agentFramework_ = ""; + deploymentSourceCase_ = 0; + deploymentSource_ = null; return this; } @@ -5395,6 +9109,7 @@ public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec buildPartial() { if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); onBuilt(); return result; } @@ -5402,9 +9117,9 @@ public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec result) { if (classMethodsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { classMethods_ = java.util.Collections.unmodifiableList(classMethods_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } result.classMethods_ = classMethods_; } else { @@ -5415,26 +9130,35 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { + if (((from_bitField0_ & 0x00000002) != 0)) { result.serviceAccount_ = serviceAccount_; to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.packageSpec_ = packageSpecBuilder_ == null ? packageSpec_ : packageSpecBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.deploymentSpec_ = deploymentSpecBuilder_ == null ? deploymentSpec_ : deploymentSpecBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.agentFramework_ = agentFramework_; } result.bitField0_ |= to_bitField0_; } + private void buildPartialOneofs( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec result) { + result.deploymentSourceCase_ = deploymentSourceCase_; + result.deploymentSource_ = this.deploymentSource_; + if (deploymentSourceCase_ == 11 && sourceCodeSpecBuilder_ != null) { + result.deploymentSource_ = sourceCodeSpecBuilder_.build(); + } + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -5483,7 +9207,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec return this; if (other.hasServiceAccount()) { serviceAccount_ = other.serviceAccount_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasPackageSpec()) { @@ -5496,7 +9220,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec if (!other.classMethods_.isEmpty()) { if (classMethods_.isEmpty()) { classMethods_ = other.classMethods_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureClassMethodsIsMutable(); classMethods_.addAll(other.classMethods_); @@ -5509,7 +9233,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec classMethodsBuilder_.dispose(); classMethodsBuilder_ = null; classMethods_ = other.classMethods_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); classMethodsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClassMethodsFieldBuilder() @@ -5521,9 +9245,20 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec } if (!other.getAgentFramework().isEmpty()) { agentFramework_ = other.agentFramework_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } + switch (other.getDeploymentSourceCase()) { + case SOURCE_CODE_SPEC: + { + mergeSourceCodeSpec(other.getSourceCodeSpec()); + break; + } + case DEPLOYMENTSOURCE_NOT_SET: + { + break; + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -5553,13 +9288,13 @@ public Builder mergeFrom( case 10: { serviceAccount_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case 10 case 18: { input.readMessage(getPackageSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 18 case 26: @@ -5577,15 +9312,21 @@ public Builder mergeFrom( case 34: { input.readMessage(getDeploymentSpecFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 34 case 42: { agentFramework_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 42 + case 90: + { + input.readMessage(getSourceCodeSpecFieldBuilder().getBuilder(), extensionRegistry); + deploymentSourceCase_ = 11; + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5603,8 +9344,275 @@ public Builder mergeFrom( return this; } + private int deploymentSourceCase_ = 0; + private java.lang.Object deploymentSource_; + + public DeploymentSourceCase getDeploymentSourceCase() { + return DeploymentSourceCase.forNumber(deploymentSourceCase_); + } + + public Builder clearDeploymentSource() { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + onChanged(); + return this; + } + private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder> + sourceCodeSpecBuilder_; + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + @java.lang.Override + public boolean hasSourceCodeSpec() { + return deploymentSourceCase_ == 11; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + getSourceCodeSpec() { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } else { + if (deploymentSourceCase_ == 11) { + return sourceCodeSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder setSourceCodeSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec value) { + if (sourceCodeSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deploymentSource_ = value; + onChanged(); + } else { + sourceCodeSpecBuilder_.setMessage(value); + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder setSourceCodeSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder + builderForValue) { + if (sourceCodeSpecBuilder_ == null) { + deploymentSource_ = builderForValue.build(); + onChanged(); + } else { + sourceCodeSpecBuilder_.setMessage(builderForValue.build()); + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder mergeSourceCodeSpec( + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec value) { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11 + && deploymentSource_ + != com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance()) { + deploymentSource_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.newBuilder( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_) + .mergeFrom(value) + .buildPartial(); + } else { + deploymentSource_ = value; + } + onChanged(); + } else { + if (deploymentSourceCase_ == 11) { + sourceCodeSpecBuilder_.mergeFrom(value); + } else { + sourceCodeSpecBuilder_.setMessage(value); + } + } + deploymentSourceCase_ = 11; + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public Builder clearSourceCodeSpec() { + if (sourceCodeSpecBuilder_ == null) { + if (deploymentSourceCase_ == 11) { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + onChanged(); + } + } else { + if (deploymentSourceCase_ == 11) { + deploymentSourceCase_ = 0; + deploymentSource_ = null; + } + sourceCodeSpecBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder + getSourceCodeSpecBuilder() { + return getSourceCodeSpecFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder() { + if ((deploymentSourceCase_ == 11) && (sourceCodeSpecBuilder_ != null)) { + return sourceCodeSpecBuilder_.getMessageOrBuilder(); + } else { + if (deploymentSourceCase_ == 11) { + return (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_; + } + return com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Deploy from source code files with a defined entrypoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder> + getSourceCodeSpecFieldBuilder() { + if (sourceCodeSpecBuilder_ == null) { + if (!(deploymentSourceCase_ == 11)) { + deploymentSource_ = + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + .getDefaultInstance(); + } + sourceCodeSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.Builder, + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec) + deploymentSource_, + getParentForChildren(), + isClean()); + deploymentSource_ = null; + } + deploymentSourceCase_ = 11; + onChanged(); + return sourceCodeSpecBuilder_; + } + private java.lang.Object serviceAccount_ = ""; /** @@ -5623,7 +9631,7 @@ public Builder mergeFrom( * @return Whether the serviceAccount field is set. */ public boolean hasServiceAccount() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** @@ -5701,7 +9709,7 @@ public Builder setServiceAccount(java.lang.String value) { throw new NullPointerException(); } serviceAccount_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -5723,7 +9731,7 @@ public Builder setServiceAccount(java.lang.String value) { */ public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -5750,7 +9758,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceAccount_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -5770,6 +9778,8 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. *
* * @@ -5779,7 +9789,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { * @return Whether the packageSpec field is set. */ public boolean hasPackageSpec() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** @@ -5790,6 +9800,8 @@ public boolean hasPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5817,6 +9829,8 @@ public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec getPa * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5833,7 +9847,7 @@ public Builder setPackageSpec( } else { packageSpecBuilder_.setMessage(value); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -5846,6 +9860,8 @@ public Builder setPackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5860,7 +9876,7 @@ public Builder setPackageSpec( } else { packageSpecBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -5873,6 +9889,8 @@ public Builder setPackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5882,7 +9900,7 @@ public Builder setPackageSpec( public Builder mergePackageSpec( com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec value) { if (packageSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) + if (((bitField0_ & 0x00000004) != 0) && packageSpec_ != null && packageSpec_ != com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec @@ -5895,7 +9913,7 @@ public Builder mergePackageSpec( packageSpecBuilder_.mergeFrom(value); } if (packageSpec_ != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } return this; @@ -5909,6 +9927,8 @@ public Builder mergePackageSpec( * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5916,7 +9936,7 @@ public Builder mergePackageSpec( * */ public Builder clearPackageSpec() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); packageSpec_ = null; if (packageSpecBuilder_ != null) { packageSpecBuilder_.dispose(); @@ -5934,6 +9954,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5942,7 +9964,7 @@ public Builder clearPackageSpec() { */ public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec.Builder getPackageSpecBuilder() { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return getPackageSpecFieldBuilder().getBuilder(); } @@ -5955,6 +9977,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -5981,6 +10005,8 @@ public Builder clearPackageSpec() { * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -6025,7 +10051,7 @@ public Builder clearPackageSpec() { * @return Whether the deploymentSpec field is set. */ public boolean hasDeploymentSpec() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -6074,7 +10100,7 @@ public Builder setDeploymentSpec( } else { deploymentSpecBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -6098,7 +10124,7 @@ public Builder setDeploymentSpec( } else { deploymentSpecBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -6117,7 +10143,7 @@ public Builder setDeploymentSpec( public Builder mergeDeploymentSpec( com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec value) { if (deploymentSpecBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000008) != 0) && deploymentSpec_ != null && deploymentSpec_ != com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec @@ -6130,7 +10156,7 @@ public Builder mergeDeploymentSpec( deploymentSpecBuilder_.mergeFrom(value); } if (deploymentSpec_ != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } return this; @@ -6148,7 +10174,7 @@ public Builder mergeDeploymentSpec( * */ public Builder clearDeploymentSpec() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); deploymentSpec_ = null; if (deploymentSpecBuilder_ != null) { deploymentSpecBuilder_.dispose(); @@ -6171,7 +10197,7 @@ public Builder clearDeploymentSpec() { */ public com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec.Builder getDeploymentSpecBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return getDeploymentSpecFieldBuilder().getBuilder(); } @@ -6231,9 +10257,9 @@ public Builder clearDeploymentSpec() { java.util.Collections.emptyList(); private void ensureClassMethodsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { classMethods_ = new java.util.ArrayList(classMethods_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -6489,7 +10515,7 @@ public Builder addAllClassMethods( public Builder clearClassMethods() { if (classMethodsBuilder_ == null) { classMethods_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { classMethodsBuilder_.clear(); @@ -6638,7 +10664,7 @@ public java.util.List getClassMethodsBuilder com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - classMethods_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + classMethods_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); classMethods_ = null; } return classMethodsBuilder_; @@ -6715,7 +10741,7 @@ public Builder setAgentFramework(java.lang.String value) { throw new NullPointerException(); } agentFramework_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -6735,7 +10761,7 @@ public Builder setAgentFramework(java.lang.String value) { */ public Builder clearAgentFramework() { agentFramework_ = getDefaultInstance().getAgentFramework(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -6760,7 +10786,7 @@ public Builder setAgentFrameworkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); agentFramework_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpecOrBuilder.java index 2010a0d86a69..f21e34ea2386 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ReasoningEngineSpecOrBuilder.java @@ -24,6 +24,50 @@ public interface ReasoningEngineSpecOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ReasoningEngineSpec) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return Whether the sourceCodeSpec field is set. + */ + boolean hasSourceCodeSpec(); + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + * + * @return The sourceCodeSpec. + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec(); + + /** + * + * + *
+   * Deploy from source code files with a defined entrypoint.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11; + * + */ + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpecOrBuilder + getSourceCodeSpecOrBuilder(); + /** * * @@ -83,6 +127,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -101,6 +147,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -119,6 +167,8 @@ public interface ReasoningEngineSpecOrBuilder * Ignored when users directly specify a deployment image through * `deployment_spec.first_party_image_override`, but keeping the * field_behavior to avoid introducing breaking changes. + * The `deployment_source` field should not be set if `package_spec` is + * specified. * * * @@ -271,4 +321,7 @@ public interface ReasoningEngineSpecOrBuilder * @return The bytes for agentFramework. */ com.google.protobuf.ByteString getAgentFrameworkBytes(); + + com.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSourceCase + getDeploymentSourceCase(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/content.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/content.proto index ee5abbf44fa4..afca4d1ad7d8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/content.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/content.proto @@ -205,6 +205,20 @@ message SpeechConfig { VoiceConfig voice_config = 1; } +// Config for image generation features. +message ImageConfig { + // Optional. The desired aspect ratio for the generated images. The following + // aspect ratios are supported: + // + // "1:1" + // "2:3", "3:2" + // "3:4", "4:3" + // "4:5", "5:4" + // "9:16", "16:9" + // "21:9" + optional string aspect_ratio = 2 [(google.api.field_behavior) = OPTIONAL]; +} + // Generation config. message GenerationConfig { // The configuration for routing the request to a specific model. @@ -429,6 +443,10 @@ message GenerationConfig { // Optional. Config for model selection. ModelConfig model_config = 27 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Config for image generation features. + optional ImageConfig image_config = 30 + [(google.api.field_behavior) = OPTIONAL]; } // Safety settings. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/reasoning_engine.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/reasoning_engine.proto index 126f0843b27f..6e14c18facd0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/reasoning_engine.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/reasoning_engine.proto @@ -35,7 +35,8 @@ option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; // ReasoningEngine configurations message ReasoningEngineSpec { - // User provided package spec like pickled object and package requirements. + // User-provided package specification, containing pickled object and package + // requirements. message PackageSpec { // Optional. The Cloud Storage URI of the pickled python object. string pickle_object_gcs_uri = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -72,20 +73,23 @@ message ReasoningEngineSpec { [(google.api.field_behavior) = OPTIONAL]; // Optional. The minimum number of application instances that will be kept - // running at all times. Defaults to 1. + // running at all times. Defaults to 1. Range: [0, 10]. optional int32 min_instances = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of application instances that can be - // launched to handle increased traffic. Defaults to 100. + // launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. + // + // If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100]. optional int32 max_instances = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Resource limits for each container. Only 'cpu' and 'memory' // keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. // - // * The only supported values for CPU are '1', '2', '4', and '8'. For + // * The only supported values for CPU are '1', '2', '4', '6' and '8'. For // more information, go to // https://cloud.google.com/run/docs/configuring/cpu. - // * For supported 'memory' values and syntax, go to + // * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. + // * For required cpu on different memory values, go to // https://cloud.google.com/run/docs/configuring/memory-limits map resource_limits = 7 [(google.api.field_behavior) = OPTIONAL]; @@ -96,6 +100,66 @@ message ReasoningEngineSpec { [(google.api.field_behavior) = OPTIONAL]; } + // Specification for deploying from source code. + message SourceCodeSpec { + // Specifies source code provided as a byte stream. + message InlineSource { + // Required. Input only. The application source code archive, provided as + // a compressed tarball + // (.tar.gz) file. + bytes source_archive = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = INPUT_ONLY + ]; + } + + // Specification for running a Python application from source. + message PythonSpec { + // Optional. The version of Python to use. Support version + // includes 3.9, 3.10, 3.11, 3.12, 3.13. + // If not specified, default value is 3.10. + string version = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Python module to load as the entrypoint, specified as a + // fully qualified module name. For example: path.to.agent. + // If not specified, defaults to "agent". + // + // The project root will be added to Python sys.path, allowing imports + // to be specified relative to the root. + string entrypoint_module = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The name of the callable object within the + // `entrypoint_module` to use as the application If not specified, + // defaults to "root_agent". + string entrypoint_object = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The path to the requirements file, relative to the source + // root. If not specified, defaults to "requirements.txt". + string requirements_file = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Specifies where the source code is located. + oneof source { + // Source code is provided directly in the request. + InlineSource inline_source = 1; + } + + // Specifies the language-specific configuration for building and running + // the code. + oneof language_spec { + // Configuration for a Python application. + PythonSpec python_spec = 2; + } + } + + // Defines the source for the deployment. + // The `package_spec` field should not be set if `deployment_source` is + // specified. + oneof deployment_source { + // Deploy from source code files with a defined entrypoint. + SourceCodeSpec source_code_spec = 11; + } + // Optional. The service account that the Reasoning Engine artifact runs as. // It should have "roles/storage.objectViewer" for reading the user project's // Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If @@ -107,6 +171,8 @@ message ReasoningEngineSpec { // Ignored when users directly specify a deployment image through // `deployment_spec.first_party_image_override`, but keeping the // field_behavior to avoid introducing breaking changes. + // The `deployment_source` field should not be set if `package_spec` is + // specified. PackageSpec package_spec = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The specification of a Reasoning Engine deployment. @@ -168,6 +234,9 @@ message ReasoningEngine { // ReasoningEngine and all sub-resources of this ReasoningEngine will be // secured by this key. EncryptionSpec encryption_spec = 11; + + // Labels for the ReasoningEngine. + map labels = 17; } // Configuration for how Agent Engine sub-resources should manage context. diff --git a/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index e7807ec6f129..c2fa03208db7 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb-connectors - 0.54.0 + 0.55.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.54.0' +implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.55.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.54.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.55.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb-connectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.54.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.55.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-alloydb/README.md b/java-alloydb/README.md index 6939f06aa6ec..b774b0309686 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb - 0.65.0 + 0.66.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb:0.65.0' +implementation 'com.google.cloud:google-cloud-alloydb:0.66.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.65.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.66.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.65.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.66.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index 2956feae5ee3..91469a3c9b2c 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-admin - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.86.0' +implementation 'com.google.analytics:google-analytics-admin:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.86.0" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.87.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md index 1627aeb01a7b..17dbc5fa4fc5 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-data - 0.87.0 + 0.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-data:0.87.0' +implementation 'com.google.analytics:google-analytics-data:0.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.87.0" +libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.88.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index 0cdfa2bb83c1..ae2f85726966 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-analyticshub - 0.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-analyticshub:0.73.0' +implementation 'com.google.cloud:google-cloud-analyticshub:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index 707769dfa468..350cbc0c6d95 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-api-gateway - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.76.0' +implementation 'com.google.cloud:google-cloud-api-gateway:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index 2282cb44c9ba..7b7d94df2407 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apigee-connect - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-connect:2.76.0' +implementation 'com.google.cloud:google-cloud-apigee-connect:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index cdbec231339c..5cbd19308eb3 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apigee-registry - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-registry:0.76.0' +implementation 'com.google.cloud:google-cloud-apigee-registry:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.77.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apihub/README.md b/java-apihub/README.md index 887ce0072f74..7df16daea2d6 100644 --- a/java-apihub/README.md +++ b/java-apihub/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apihub - 0.29.0 + 0.30.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apihub:0.29.0' +implementation 'com.google.cloud:google-cloud-apihub:0.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.30.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apihub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apikeys/README.md b/java-apikeys/README.md index eafceae40c2e..8445eab509be 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apikeys - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apikeys:0.74.0' +implementation 'com.google.cloud:google-cloud-apikeys:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md index a39ef7af5b43..a40e19a4985b 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-appengine-admin - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-appengine-admin:2.76.0' +implementation 'com.google.cloud:google-cloud-appengine-admin:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apphub/README.md b/java-apphub/README.md index 8b30b7513fd2..43b4f3028b9c 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apphub - 0.40.0 + 0.41.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apphub:0.40.0' +implementation 'com.google.cloud:google-cloud-apphub:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.41.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md index e15f1d6099fd..b4c688568a9b 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.area120 google-area120-tables - 0.80.0 + 0.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.area120:google-area120-tables:0.80.0' +implementation 'com.google.area120:google-area120-tables:0.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.80.0" +libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.81.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md index 6be39ea90da6..fd81d5d22a10 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-artifact-registry - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-artifact-registry:1.75.0' +implementation 'com.google.cloud:google-cloud-artifact-registry:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-asset/README.md b/java-asset/README.md index 8d128a1bb8b6..119ed8cc76ed 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-asset - 3.80.0 + 3.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-asset:3.80.0' +implementation 'com.google.cloud:google-cloud-asset:3.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.81.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index 2de4db624c9f..97d921a7598e 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-assured-workloads - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-assured-workloads:2.76.0' +implementation 'com.google.cloud:google-cloud-assured-workloads:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-automl/README.md b/java-automl/README.md index 545e789c86c8..dc8f79e8d757 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-automl - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-automl:2.76.0' +implementation 'com.google.cloud:google-cloud-automl:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.77.0" ``` ## Authentication @@ -205,7 +205,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-automl.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-backupdr/README.md b/java-backupdr/README.md index 31bf70a7b539..8a52cf51edb7 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-backupdr - 0.35.0 + 0.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-backupdr:0.35.0' +implementation 'com.google.cloud:google-cloud-backupdr:0.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.35.0" +libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.36.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-backupdr.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index cd2dc8dff8f5..b64745cb8a9a 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bare-metal-solution - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.76.0' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.77.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/README.md b/java-batch/README.md index f3a247832f7f..3bb979b4f5d1 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-batch - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-batch:0.76.0' +implementation 'com.google.cloud:google-cloud-batch:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.77.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index ce3adbd33bea..edc1aaa79899 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnections - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.74.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnections.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index 9daeaf97a715..4f3d357d64ab 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnectors - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.74.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index ac809e767c5f..6b33416c660c 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appgateways - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.74.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index d34fc1543b06..848ed7fc44d3 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.74.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index 9ae75f96d533..914e7cf1bfab 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientgateways - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.74.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-biglake/README.md b/java-biglake/README.md index d6beec99b7e2..7cb61d3baad9 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-biglake - 0.64.0 + 0.65.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-biglake:0.64.0' +implementation 'com.google.cloud:google-cloud-biglake:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.65.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.65.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index 49080c992d14..30172df4c6e7 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquery-data-exchange - 2.71.0 + 2.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.71.0' +implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.72.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-data-exchange.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.72.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index 94b62ef77460..dd1346d51022 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryconnection - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.78.0' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryconnection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 3a555f0c2005..b95f634f3be8 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatapolicy - 0.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.73.0' +implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.74.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatapolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index 8505bf00e28e..aef9e2b7696c 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.76.0' +implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md index be0b84e33bc2..50e4570bf576 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerymigration - 0.79.0 + 0.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerymigration:0.79.0' +implementation 'com.google.cloud:google-cloud-bigquerymigration:0.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.80.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerymigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index 76d87a9436a9..84c91bed9d39 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryreservation - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.77.0' +implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryreservation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billing/README.md b/java-billing/README.md index 6416eaefe0e3..36389fc508f5 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billing - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.76.0' +implementation 'com.google.cloud:google-cloud-billing:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md index 428323c98e3a..ac0f060b692f 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.76.0' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index 5a94839ef6d3..0d739b1c40bf 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-binary-authorization - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:1.75.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index 991955a178ed..1019199f043f 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-certificate-manager - 0.79.0 + 0.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-certificate-manager:0.79.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.80.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-certificate-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-channel/README.md b/java-channel/README.md index 94acf84aeb40..3350defa0f4d 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-channel - 3.80.0 + 3.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-channel:3.80.0' +implementation 'com.google.cloud:google-cloud-channel:3.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.81.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-channel.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-chat/README.md b/java-chat/README.md index 4e61dab2bb4b..aa5ec3a7d6a5 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chat - 0.40.0 + 0.41.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chat:0.40.0' +implementation 'com.google.cloud:google-cloud-chat:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.41.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chat.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json b/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json index 1d934510215a..18a5b89b2c98 100644 --- a/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json +++ b/java-chat/google-cloud-chat/src/main/resources/META-INF/native-image/com.google.chat.v1/reflect-config.json @@ -557,6 +557,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.Button$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.apps.card.v1.ButtonList", "queryAllDeclaredConstructors": true, @@ -665,6 +674,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.Card$NestedWidget", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Card$NestedWidget$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.apps.card.v1.Card$Section", "queryAllDeclaredConstructors": true, @@ -683,6 +710,105 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.Carousel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Carousel$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Carousel$CarouselCard", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Carousel$CarouselCard$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Chip", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Chip$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.ChipList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.ChipList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.ChipList$Layout", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.CollapseControl", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.CollapseControl$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.apps.card.v1.Columns", "queryAllDeclaredConstructors": true, @@ -1043,6 +1169,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.OverflowMenu", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.OverflowMenu$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.OverflowMenu$OverflowMenuItem", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.OverflowMenu$OverflowMenuItem$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.apps.card.v1.SelectionInput", "queryAllDeclaredConstructors": true, @@ -1196,6 +1358,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.TextParagraph$TextSyntax", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Validation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.apps.card.v1.Validation$InputType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.apps.card.v1.Widget", "queryAllDeclaredConstructors": true, @@ -1232,6 +1430,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.apps.card.v1.Widget$VerticalAlignment", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.chat.v1.AccessoryWidget", "queryAllDeclaredConstructors": true, diff --git a/java-chronicle/README.md b/java-chronicle/README.md index 1c7510d1bb05..5ef74b4df203 100644 --- a/java-chronicle/README.md +++ b/java-chronicle/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chronicle - 0.14.0 + 0.15.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chronicle:0.14.0' +implementation 'com.google.cloud:google-cloud-chronicle:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.15.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chronicle.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.15.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index 94beff1477d1..9e02f9411093 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-build - 3.78.0 + 3.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-build:3.78.0' +implementation 'com.google.cloud:google-cloud-build:3.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index 471e39af84b0..5ce35b72aea9 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcommerceconsumerprocurement - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.74.0' +implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.75.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index 0808d74f735b..340ce9bee1f1 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcontrolspartner - 0.40.0 + 0.41.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.40.0' +implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.41.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcontrolspartner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md index 57ff00a88d56..4b9c982ce86a 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudquotas - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudquotas:0.44.0' +implementation 'com.google.cloud:google-cloud-cloudquotas:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.45.0" ``` ## Authentication @@ -196,7 +196,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudquotas.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudsecuritycompliance/README.md b/java-cloudsecuritycompliance/README.md index a11b875d3644..3ffcbc18078f 100644 --- a/java-cloudsecuritycompliance/README.md +++ b/java-cloudsecuritycompliance/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsecuritycompliance - 0.3.0 + 0.4.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.3.0' +implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.4.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.4.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsecuritycompliance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.3.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.4.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudsupport/README.md b/java-cloudsupport/README.md index 5c14dcb33e9a..45117eaf381e 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsupport - 0.60.0 + 0.61.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsupport:0.60.0' +implementation 'com.google.cloud:google-cloud-cloudsupport:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.61.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsupport.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.61.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-compute/README.md b/java-compute/README.md index 2234105f9b47..36908cea4f8c 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-compute - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-compute:1.86.0' +implementation 'com.google.cloud:google-cloud-compute:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.87.0" ``` ## Authentication @@ -257,7 +257,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index b0227d542618..b1eb59fa7fe5 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-confidentialcomputing - 0.62.0 + 0.63.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.62.0' +implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.63.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.62.0" +libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.63.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-confidentialcomputing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.62.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.63.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-configdelivery/README.md b/java-configdelivery/README.md index f1a545545a95..70d012e56238 100644 --- a/java-configdelivery/README.md +++ b/java-configdelivery/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-configdelivery - 0.10.0 + 0.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-configdelivery:0.10.0' +implementation 'com.google.cloud:google-cloud-configdelivery:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.11.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-configdelivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.10.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.11.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-connectgateway/README.md b/java-connectgateway/README.md index f16ab65fc0e6..1d3d094adf00 100644 --- a/java-connectgateway/README.md +++ b/java-connectgateway/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-connectgateway - 0.28.0 + 0.29.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-connectgateway:0.28.0' +implementation 'com.google.cloud:google-cloud-connectgateway:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.29.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-connectgateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md index 8c4d0df7f5da..c97aa9b8332c 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contact-center-insights - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contact-center-insights:2.76.0' +implementation 'com.google.cloud:google-cloud-contact-center-insights:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-container/README.md b/java-container/README.md index 9c31bf9edbf9..ddb24ccc7efa 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-container - 2.79.0 + 2.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-container:2.79.0' +implementation 'com.google.cloud:google-cloud-container:2.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.80.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json index 1886fa2fc8a3..151c7bf6afc2 100644 --- a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json +++ b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json @@ -1340,6 +1340,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.ContainerdConfig$WritableCgroups", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.ContainerdConfig$WritableCgroups$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.ControlPlaneEndpointsConfig", "queryAllDeclaredConstructors": true, @@ -1880,6 +1898,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.Fleet$MembershipType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.GPUDriverInstallationConfig", "queryAllDeclaredConstructors": true, @@ -2582,6 +2609,123 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$NodeKernelModuleLoading", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$NodeKernelModuleLoading$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$NodeKernelModuleLoading$Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$BootDiskProfile", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$BootDiskProfile$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$DedicatedLocalSsdProfile", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$DedicatedLocalSsdProfile$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$EncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$EncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$EphemeralLocalSsdProfile", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.LinuxNodeConfig$SwapConfig$EphemeralLocalSsdProfile$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.LinuxNodeConfig$TransparentHugepageDefrag", "queryAllDeclaredConstructors": true, @@ -2933,6 +3077,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.MaintenanceExclusionOptions$EndTimeBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.MaintenanceExclusionOptions$Scope", "queryAllDeclaredConstructors": true, @@ -3275,6 +3428,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.NetworkTierConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.NetworkTierConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.NetworkTierConfig$NetworkTier", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.NodeConfig", "queryAllDeclaredConstructors": true, @@ -3995,6 +4175,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.PrivilegedAdmissionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.PrivilegedAdmissionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.ProtectConfig", "queryAllDeclaredConstructors": true, @@ -4418,6 +4616,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.SecretSyncConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.SecretSyncConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.SecretSyncConfig$SyncRotationConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.SecretSyncConfig$SyncRotationConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.SecurityBulletinEvent", "queryAllDeclaredConstructors": true, diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java index 0e439f588dfc..5295bb3474e3 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java @@ -122,6 +122,7 @@ import com.google.container.v1beta1.ResourceUsageExportConfig; import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; import com.google.container.v1beta1.SecretManagerConfig; +import com.google.container.v1beta1.SecretSyncConfig; import com.google.container.v1beta1.SecurityPostureConfig; import com.google.container.v1beta1.ServerConfig; import com.google.container.v1beta1.SetAddonsConfigRequest; @@ -344,6 +345,7 @@ public void getClusterTest() throws Exception { .setRbacBindingConfig(RBACBindingConfig.newBuilder().build()) .setGkeAutoUpgradeConfig(GkeAutoUpgradeConfig.newBuilder().build()) .setAnonymousAuthenticationConfig(AnonymousAuthenticationConfig.newBuilder().build()) + .setSecretSyncConfig(SecretSyncConfig.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index 79c56078afb9..148ccb935926 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5864 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1133,7 +1133,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5864 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1152,7 +1152,7 @@ public long getMaxTimeSharedClientsPerGpu() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5864 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ @@ -1175,7 +1175,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5864 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index 42995f77c8d9..90b73cbf9eaa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -105,7 +105,7 @@ public interface AcceleratorConfigOrBuilder * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5864 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index ecaee80c2e8b..c7e08da21b8a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -199,7 +199,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -224,7 +224,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return The kubernetesDashboard. */ @java.lang.Override @@ -333,7 +333,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return Whether the istioConfig field is set. */ @java.lang.Override @@ -353,7 +353,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The istioConfig. */ @java.lang.Override @@ -502,7 +502,8 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -519,7 +520,8 @@ public boolean hasConfigConnectorConfig() { * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -538,7 +540,8 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -627,7 +630,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -647,7 +650,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return The kalmConfig. */ @java.lang.Override @@ -683,7 +686,7 @@ public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * @@ -701,7 +704,7 @@ public boolean hasGcpFilestoreCsiDriverConfig() { * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * @@ -721,7 +724,7 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreC * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * @@ -2593,7 +2596,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -2617,7 +2620,7 @@ public boolean hasKubernetesDashboard() { *
* * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -3070,7 +3073,7 @@ public Builder clearNetworkPolicyConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -3089,7 +3092,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The istioConfig. */ @java.lang.Deprecated @@ -3690,7 +3693,8 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3706,7 +3710,8 @@ public boolean hasConfigConnectorConfig() { * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3728,7 +3733,8 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3753,7 +3759,8 @@ public Builder setConfigConnectorConfig( * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3775,7 +3782,8 @@ public Builder setConfigConnectorConfig( * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3806,7 +3814,8 @@ public Builder mergeConfigConnectorConfig( * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3827,7 +3836,8 @@ public Builder clearConfigConnectorConfig() { * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3844,7 +3854,8 @@ public Builder clearConfigConnectorConfig() { * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -3865,7 +3876,8 @@ public Builder clearConfigConnectorConfig() { * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
-     * extension to manage hosted GCP services through the Kubernetes API
+     * extension to manage hosted Google Cloud services through the Kubernetes
+     * API.
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -4126,7 +4138,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -4145,7 +4157,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return The kalmConfig. */ @java.lang.Deprecated @@ -4334,7 +4346,7 @@ public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4351,7 +4363,7 @@ public boolean hasGcpFilestoreCsiDriverConfig() { * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4375,7 +4387,7 @@ public boolean hasGcpFilestoreCsiDriverConfig() { * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4401,7 +4413,7 @@ public Builder setGcpFilestoreCsiDriverConfig( * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4424,7 +4436,7 @@ public Builder setGcpFilestoreCsiDriverConfig( * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4456,7 +4468,7 @@ public Builder mergeGcpFilestoreCsiDriverConfig( * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4478,7 +4490,7 @@ public Builder clearGcpFilestoreCsiDriverConfig() { * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4496,7 +4508,7 @@ public Builder clearGcpFilestoreCsiDriverConfig() { * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * @@ -4518,7 +4530,7 @@ public Builder clearGcpFilestoreCsiDriverConfig() { * * *
-     * Configuration for the GCP Filestore CSI driver.
+     * Configuration for the Filestore CSI driver.
      * 
* * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index 9c4711a4a17b..36682ffe7ef8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -124,7 +124,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -146,7 +146,7 @@ public interface AddonsConfigOrBuilder *
* * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1942 + * google/container/v1beta1/cluster_service.proto;l=2070 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -224,7 +224,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -241,7 +241,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1951 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The istioConfig. */ @java.lang.Deprecated @@ -345,7 +345,8 @@ public interface AddonsConfigOrBuilder * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -359,7 +360,8 @@ public interface AddonsConfigOrBuilder * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -373,7 +375,8 @@ public interface AddonsConfigOrBuilder * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
-   * extension to manage hosted GCP services through the Kubernetes API
+   * extension to manage hosted Google Cloud services through the Kubernetes
+   * API.
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; @@ -436,7 +439,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -453,7 +456,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1970 + * google/container/v1beta1/cluster_service.proto;l=2099 * @return The kalmConfig. */ @java.lang.Deprecated @@ -476,7 +479,7 @@ public interface AddonsConfigOrBuilder * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * @@ -491,7 +494,7 @@ public interface AddonsConfigOrBuilder * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * @@ -506,7 +509,7 @@ public interface AddonsConfigOrBuilder * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfig.java index a8db01e8b837..ddfc715227c2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfig.java @@ -62,6 +62,42 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.AutoIpamConfig.Builder.class); } + private int bitField0_; + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_ = false; + + /** + * + * + *
+   * The flag that enables Auto IPAM on this cluster
+   * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * The flag that enables Auto IPAM on this cluster
+   * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -76,6 +112,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(1, enabled_); + } getUnknownFields().writeTo(output); } @@ -85,6 +124,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -101,6 +143,10 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1beta1.AutoIpamConfig other = (com.google.container.v1beta1.AutoIpamConfig) obj; + if (hasEnabled() != other.hasEnabled()) return false; + if (hasEnabled()) { + if (getEnabled() != other.getEnabled()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -112,6 +158,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEnabled()) { + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -251,6 +301,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + enabled_ = false; return this; } @@ -278,10 +330,23 @@ public com.google.container.v1beta1.AutoIpamConfig build() { public com.google.container.v1beta1.AutoIpamConfig buildPartial() { com.google.container.v1beta1.AutoIpamConfig result = new com.google.container.v1beta1.AutoIpamConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } + private void buildPartial0(com.google.container.v1beta1.AutoIpamConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -327,6 +392,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.AutoIpamConfig other) { if (other == com.google.container.v1beta1.AutoIpamConfig.getDefaultInstance()) return this; + if (other.hasEnabled()) { + setEnabled(other.getEnabled()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -353,6 +421,12 @@ public Builder mergeFrom( case 0: done = true; break; + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -370,6 +444,80 @@ public Builder mergeFrom( return this; } + private int bitField0_; + + private boolean enabled_; + + /** + * + * + *
+     * The flag that enables Auto IPAM on this cluster
+     * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * The flag that enables Auto IPAM on this cluster
+     * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+     * The flag that enables Auto IPAM on this cluster
+     * 
+ * + * optional bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The flag that enables Auto IPAM on this cluster
+     * 
+ * + * optional bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfigOrBuilder.java index 47d4fc84e38d..61f1b9e1ab24 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoIpamConfigOrBuilder.java @@ -22,4 +22,31 @@ public interface AutoIpamConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AutoIpamConfig) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The flag that enables Auto IPAM on this cluster
+   * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + boolean hasEnabled(); + + /** + * + * + *
+   * The flag that enables Auto IPAM on this cluster
+   * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java index 462a8b90e372..fb39532fde4f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java @@ -196,6 +196,66 @@ public com.google.container.v1beta1.AutopilotConversionStatus getConversionStatu : conversionStatus_; } + public static final int PRIVILEGED_ADMISSION_CONFIG_FIELD_NUMBER = 4; + private com.google.container.v1beta1.PrivilegedAdmissionConfig privilegedAdmissionConfig_; + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return Whether the privilegedAdmissionConfig field is set. + */ + @java.lang.Override + public boolean hasPrivilegedAdmissionConfig() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return The privilegedAdmissionConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfig getPrivilegedAdmissionConfig() { + return privilegedAdmissionConfig_ == null + ? com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance() + : privilegedAdmissionConfig_; + } + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder + getPrivilegedAdmissionConfigOrBuilder() { + return privilegedAdmissionConfig_ == null + ? com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance() + : privilegedAdmissionConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -219,6 +279,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getConversionStatus()); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getPrivilegedAdmissionConfig()); + } getUnknownFields().writeTo(output); } @@ -238,6 +301,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConversionStatus()); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getPrivilegedAdmissionConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -262,6 +330,11 @@ public boolean equals(final java.lang.Object obj) { if (hasConversionStatus()) { if (!getConversionStatus().equals(other.getConversionStatus())) return false; } + if (hasPrivilegedAdmissionConfig() != other.hasPrivilegedAdmissionConfig()) return false; + if (hasPrivilegedAdmissionConfig()) { + if (!getPrivilegedAdmissionConfig().equals(other.getPrivilegedAdmissionConfig())) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,6 +356,10 @@ public int hashCode() { hash = (37 * hash) + CONVERSION_STATUS_FIELD_NUMBER; hash = (53 * hash) + getConversionStatus().hashCode(); } + if (hasPrivilegedAdmissionConfig()) { + hash = (37 * hash) + PRIVILEGED_ADMISSION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPrivilegedAdmissionConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -426,6 +503,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkloadPolicyConfigFieldBuilder(); getConversionStatusFieldBuilder(); + getPrivilegedAdmissionConfigFieldBuilder(); } } @@ -444,6 +522,11 @@ public Builder clear() { conversionStatusBuilder_.dispose(); conversionStatusBuilder_ = null; } + privilegedAdmissionConfig_ = null; + if (privilegedAdmissionConfigBuilder_ != null) { + privilegedAdmissionConfigBuilder_.dispose(); + privilegedAdmissionConfigBuilder_ = null; + } return this; } @@ -496,6 +579,13 @@ private void buildPartial0(com.google.container.v1beta1.Autopilot result) { conversionStatusBuilder_ == null ? conversionStatus_ : conversionStatusBuilder_.build(); to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.privilegedAdmissionConfig_ = + privilegedAdmissionConfigBuilder_ == null + ? privilegedAdmissionConfig_ + : privilegedAdmissionConfigBuilder_.build(); + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -553,6 +643,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Autopilot other) { if (other.hasConversionStatus()) { mergeConversionStatus(other.getConversionStatus()); } + if (other.hasPrivilegedAdmissionConfig()) { + mergePrivilegedAdmissionConfig(other.getPrivilegedAdmissionConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -599,6 +692,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + input.readMessage( + getPrivilegedAdmissionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1092,6 +1192,224 @@ public Builder clearConversionStatus() { return conversionStatusBuilder_; } + private com.google.container.v1beta1.PrivilegedAdmissionConfig privilegedAdmissionConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivilegedAdmissionConfig, + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder, + com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder> + privilegedAdmissionConfigBuilder_; + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return Whether the privilegedAdmissionConfig field is set. + */ + public boolean hasPrivilegedAdmissionConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return The privilegedAdmissionConfig. + */ + public com.google.container.v1beta1.PrivilegedAdmissionConfig getPrivilegedAdmissionConfig() { + if (privilegedAdmissionConfigBuilder_ == null) { + return privilegedAdmissionConfig_ == null + ? com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance() + : privilegedAdmissionConfig_; + } else { + return privilegedAdmissionConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public Builder setPrivilegedAdmissionConfig( + com.google.container.v1beta1.PrivilegedAdmissionConfig value) { + if (privilegedAdmissionConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + privilegedAdmissionConfig_ = value; + } else { + privilegedAdmissionConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public Builder setPrivilegedAdmissionConfig( + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder builderForValue) { + if (privilegedAdmissionConfigBuilder_ == null) { + privilegedAdmissionConfig_ = builderForValue.build(); + } else { + privilegedAdmissionConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public Builder mergePrivilegedAdmissionConfig( + com.google.container.v1beta1.PrivilegedAdmissionConfig value) { + if (privilegedAdmissionConfigBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && privilegedAdmissionConfig_ != null + && privilegedAdmissionConfig_ + != com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance()) { + getPrivilegedAdmissionConfigBuilder().mergeFrom(value); + } else { + privilegedAdmissionConfig_ = value; + } + } else { + privilegedAdmissionConfigBuilder_.mergeFrom(value); + } + if (privilegedAdmissionConfig_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public Builder clearPrivilegedAdmissionConfig() { + bitField0_ = (bitField0_ & ~0x00000008); + privilegedAdmissionConfig_ = null; + if (privilegedAdmissionConfigBuilder_ != null) { + privilegedAdmissionConfigBuilder_.dispose(); + privilegedAdmissionConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder + getPrivilegedAdmissionConfigBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getPrivilegedAdmissionConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + public com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder + getPrivilegedAdmissionConfigOrBuilder() { + if (privilegedAdmissionConfigBuilder_ != null) { + return privilegedAdmissionConfigBuilder_.getMessageOrBuilder(); + } else { + return privilegedAdmissionConfig_ == null + ? com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance() + : privilegedAdmissionConfig_; + } + } + + /** + * + * + *
+     * PrivilegedAdmissionConfig is the configuration related to privileged
+     * admission control.
+     * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivilegedAdmissionConfig, + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder, + com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder> + getPrivilegedAdmissionConfigFieldBuilder() { + if (privilegedAdmissionConfigBuilder_ == null) { + privilegedAdmissionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivilegedAdmissionConfig, + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder, + com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder>( + getPrivilegedAdmissionConfig(), getParentForChildren(), isClean()); + privilegedAdmissionConfig_ = null; + } + return privilegedAdmissionConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java index 907a762549ed..fe4cb024435e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java @@ -116,4 +116,48 @@ public interface AutopilotOrBuilder *
*/ com.google.container.v1beta1.AutopilotConversionStatusOrBuilder getConversionStatusOrBuilder(); + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return Whether the privilegedAdmissionConfig field is set. + */ + boolean hasPrivilegedAdmissionConfig(); + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + * + * @return The privilegedAdmissionConfig. + */ + com.google.container.v1beta1.PrivilegedAdmissionConfig getPrivilegedAdmissionConfig(); + + /** + * + * + *
+   * PrivilegedAdmissionConfig is the configuration related to privileged
+   * admission control.
+   * 
+ * + * .google.container.v1beta1.PrivilegedAdmissionConfig privileged_admission_config = 4; + * + */ + com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder + getPrivilegedAdmissionConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index f853da28112f..3e6120fbc0ed 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -385,7 +385,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The minCpuPlatform. */ @java.lang.Override @@ -422,7 +422,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -2230,7 +2230,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -2266,7 +2266,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2302,7 +2302,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2337,7 +2337,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2368,7 +2368,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 83a58ec29d81..45933b019b61 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -258,7 +258,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -284,7 +284,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5637 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index b05a0708877e..d86119eb3fbc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -1032,7 +1032,7 @@ public com.google.protobuf.Parser getParserForType() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2534 + * google/container/v1beta1/cluster_service.proto;l=2674 * @return The enabled. */ @java.lang.Override @@ -1629,7 +1629,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2534 + * google/container/v1beta1/cluster_service.proto;l=2674 * @return The enabled. */ @java.lang.Override @@ -1650,7 +1650,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2534 + * google/container/v1beta1/cluster_service.proto;l=2674 * @param value The enabled to set. * @return This builder for chaining. */ @@ -1675,7 +1675,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2534 + * google/container/v1beta1/cluster_service.proto;l=2674 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index 121ec284fb99..834b0600beca 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -36,7 +36,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2534 + * google/container/v1beta1/cluster_service.proto;l=2674 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java index 95aed2081548..b12ac1eb57ec 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java @@ -1270,14 +1270,64 @@ public com.google.protobuf.Parser getParserForType() { public interface AutoscaledRolloutPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the waitForDrainDuration field is set. + */ + boolean hasWaitForDrainDuration(); + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The waitForDrainDuration. + */ + com.google.protobuf.Duration getWaitForDrainDuration(); + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getWaitForDrainDurationOrBuilder(); + } /** * * *
-   * Autoscaled rollout policy uses cluster autoscaler during
-   * blue-green upgrades to scale both the green and blue pools.
+   * Autoscaled rollout policy utilizes the cluster autoscaler during
+   * blue-green upgrade to scale both the blue and green pools.
    * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy} @@ -1316,6 +1366,72 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy.Builder.class); } + private int bitField0_; + public static final int WAIT_FOR_DRAIN_DURATION_FIELD_NUMBER = 1; + private com.google.protobuf.Duration waitForDrainDuration_; + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the waitForDrainDuration field is set. + */ + @java.lang.Override + public boolean hasWaitForDrainDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The waitForDrainDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getWaitForDrainDuration() { + return waitForDrainDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : waitForDrainDuration_; + } + + /** + * + * + *
+     * Optional. Time to wait after cordoning the blue pool before draining the
+     * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+     * inclusive.
+     * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getWaitForDrainDurationOrBuilder() { + return waitForDrainDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : waitForDrainDuration_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1330,6 +1446,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getWaitForDrainDuration()); + } getUnknownFields().writeTo(output); } @@ -1339,6 +1458,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaitForDrainDuration()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1356,6 +1479,10 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy other = (com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy) obj; + if (hasWaitForDrainDuration() != other.hasWaitForDrainDuration()) return false; + if (hasWaitForDrainDuration()) { + if (!getWaitForDrainDuration().equals(other.getWaitForDrainDuration())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1367,6 +1494,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWaitForDrainDuration()) { + hash = (37 * hash) + WAIT_FOR_DRAIN_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getWaitForDrainDuration().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1475,8 +1606,8 @@ protected Builder newBuilderForType( * * *
-     * Autoscaled rollout policy uses cluster autoscaler during
-     * blue-green upgrades to scale both the green and blue pools.
+     * Autoscaled rollout policy utilizes the cluster autoscaler during
+     * blue-green upgrade to scale both the blue and green pools.
      * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy} @@ -1504,15 +1635,30 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using // com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWaitForDrainDurationFieldBuilder(); + } } @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + waitForDrainDuration_ = null; + if (waitForDrainDurationBuilder_ != null) { + waitForDrainDurationBuilder_.dispose(); + waitForDrainDurationBuilder_ = null; + } return this; } @@ -1543,10 +1689,27 @@ public com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy bu public com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy buildPartial() { com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy result = new com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } + private void buildPartial0( + com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.waitForDrainDuration_ = + waitForDrainDurationBuilder_ == null + ? waitForDrainDuration_ + : waitForDrainDurationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -1599,6 +1762,9 @@ public Builder mergeFrom( if (other == com.google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy .getDefaultInstance()) return this; + if (other.hasWaitForDrainDuration()) { + mergeWaitForDrainDuration(other.getWaitForDrainDuration()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1625,6 +1791,13 @@ public Builder mergeFrom( case 0: done = true; break; + case 10: + { + input.readMessage( + getWaitForDrainDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1642,6 +1815,238 @@ public Builder mergeFrom( return this; } + private int bitField0_; + + private com.google.protobuf.Duration waitForDrainDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + waitForDrainDurationBuilder_; + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the waitForDrainDuration field is set. + */ + public boolean hasWaitForDrainDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The waitForDrainDuration. + */ + public com.google.protobuf.Duration getWaitForDrainDuration() { + if (waitForDrainDurationBuilder_ == null) { + return waitForDrainDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : waitForDrainDuration_; + } else { + return waitForDrainDurationBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setWaitForDrainDuration(com.google.protobuf.Duration value) { + if (waitForDrainDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + waitForDrainDuration_ = value; + } else { + waitForDrainDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setWaitForDrainDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (waitForDrainDurationBuilder_ == null) { + waitForDrainDuration_ = builderForValue.build(); + } else { + waitForDrainDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeWaitForDrainDuration(com.google.protobuf.Duration value) { + if (waitForDrainDurationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && waitForDrainDuration_ != null + && waitForDrainDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + getWaitForDrainDurationBuilder().mergeFrom(value); + } else { + waitForDrainDuration_ = value; + } + } else { + waitForDrainDurationBuilder_.mergeFrom(value); + } + if (waitForDrainDuration_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearWaitForDrainDuration() { + bitField0_ = (bitField0_ & ~0x00000001); + waitForDrainDuration_ = null; + if (waitForDrainDurationBuilder_ != null) { + waitForDrainDurationBuilder_.dispose(); + waitForDrainDurationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Duration.Builder getWaitForDrainDurationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getWaitForDrainDurationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.DurationOrBuilder getWaitForDrainDurationOrBuilder() { + if (waitForDrainDurationBuilder_ != null) { + return waitForDrainDurationBuilder_.getMessageOrBuilder(); + } else { + return waitForDrainDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : waitForDrainDuration_; + } + } + + /** + * + * + *
+       * Optional. Time to wait after cordoning the blue pool before draining the
+       * nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
+       * inclusive.
+       * 
+ * + * + * .google.protobuf.Duration wait_for_drain_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getWaitForDrainDurationFieldBuilder() { + if (waitForDrainDurationBuilder_ == null) { + waitForDrainDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getWaitForDrainDuration(), getParentForChildren(), isClean()); + waitForDrainDuration_ = null; + } + return waitForDrainDurationBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java index f41661a36cbd..a55680f110ea 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The operationId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The bytes for operationId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @param value The projectId to set. * @return This builder for chaining. */ @@ -823,7 +823,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -877,7 +877,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The zone. */ @java.lang.Deprecated @@ -906,7 +906,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The bytes for zone. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @param value The zone to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return This builder for chaining. */ @java.lang.Deprecated @@ -987,7 +987,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The operationId. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index 1296732e3b14..fac30cb39062 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4548 + * google/container/v1beta1/cluster_service.proto;l=4719 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4554 + * google/container/v1beta1/cluster_service.proto;l=4725 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4558 + * google/container/v1beta1/cluster_service.proto;l=4729 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index 4dd58ba199b8..d14438da7530 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -508,7 +508,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2638 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The initialNodeCount. */ @java.lang.Override @@ -540,7 +540,7 @@ public int getInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -569,7 +569,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return The nodeConfig. */ @java.lang.Override @@ -1742,7 +1742,7 @@ public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationP *
* * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1767,7 +1767,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { *
* * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override @@ -2087,7 +2087,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2786 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The privateCluster. */ @java.lang.Override @@ -2115,7 +2115,7 @@ public boolean getPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -2146,7 +2146,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -2576,8 +2576,7 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -2593,8 +2592,7 @@ public boolean hasWorkloadIdentityConfig() { * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -2612,8 +2610,7 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -2746,7 +2743,9 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -2762,7 +2761,9 @@ public boolean hasWorkloadAltsConfig() { * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -2780,7 +2781,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -2914,7 +2917,7 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return Whether the tpuConfig field is set. */ @java.lang.Override @@ -2935,7 +2938,7 @@ public boolean hasTpuConfig() { * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return The tpuConfig. */ @java.lang.Override @@ -3199,7 +3202,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The zone. */ @java.lang.Override @@ -3229,7 +3232,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The bytes for zone. */ @java.lang.Override @@ -3460,7 +3463,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { *
* * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The currentNodeVersion. */ @java.lang.Override @@ -3493,7 +3496,7 @@ public java.lang.String getCurrentNodeVersion() { *
* * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3625,7 +3628,7 @@ public com.google.container.v1beta1.Cluster.Status getStatus() { *
* * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The statusMessage. */ @java.lang.Override @@ -3656,7 +3659,7 @@ public java.lang.String getStatusMessage() { *
* * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3774,7 +3777,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { *
* * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3794,7 +3797,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { *
* * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3814,7 +3817,7 @@ public int getInstanceGroupUrlsCount() { *
* * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3835,7 +3838,7 @@ public java.lang.String getInstanceGroupUrls(int index) { *
* * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3860,7 +3863,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { *
* * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2937 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The currentNodeCount. */ @java.lang.Override @@ -4001,7 +4004,7 @@ public com.google.protobuf.ByteString getLocationBytes() { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.enable_tpu is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2955 + * google/container/v1beta1/cluster_service.proto;l=3096 * @return The enableTpu. */ @java.lang.Override @@ -4031,7 +4034,7 @@ public boolean getEnableTpu() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -4064,7 +4067,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -4599,7 +4602,7 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return Whether the protectConfig field is set. */ @java.lang.Override @@ -4621,7 +4624,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return The protectConfig. */ @java.lang.Override @@ -4933,13 +4936,20 @@ public com.google.container.v1beta1.ControlPlaneEndpointsConfig getControlPlaneE * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return Whether the enterpriseConfig field is set. */ @java.lang.Override + @java.lang.Deprecated public boolean hasEnterpriseConfig() { return ((bitField1_ & 0x00000400) != 0); } @@ -4949,13 +4959,20 @@ public boolean hasEnterpriseConfig() { * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return The enterpriseConfig. */ @java.lang.Override + @java.lang.Deprecated public com.google.container.v1beta1.EnterpriseConfig getEnterpriseConfig() { return enterpriseConfig_ == null ? com.google.container.v1beta1.EnterpriseConfig.getDefaultInstance() @@ -4967,11 +4984,16 @@ public com.google.container.v1beta1.EnterpriseConfig getEnterpriseConfig() { * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ @java.lang.Override + @java.lang.Deprecated public com.google.container.v1beta1.EnterpriseConfigOrBuilder getEnterpriseConfigOrBuilder() { return enterpriseConfig_ == null ? com.google.container.v1beta1.EnterpriseConfig.getDefaultInstance() @@ -5387,6 +5409,59 @@ public boolean hasAnonymousAuthenticationConfig() { : anonymousAuthenticationConfig_; } + public static final int SECRET_SYNC_CONFIG_FIELD_NUMBER = 166; + private com.google.container.v1beta1.SecretSyncConfig secretSyncConfig_; + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return Whether the secretSyncConfig field is set. + */ + @java.lang.Override + public boolean hasSecretSyncConfig() { + return ((bitField1_ & 0x00080000) != 0); + } + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return The secretSyncConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig getSecretSyncConfig() { + return secretSyncConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance() + : secretSyncConfig_; + } + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfigOrBuilder getSecretSyncConfigOrBuilder() { + return secretSyncConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance() + : secretSyncConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -5662,6 +5737,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField1_ & 0x00040000) != 0)) { output.writeMessage(164, getAnonymousAuthenticationConfig()); } + if (((bitField1_ & 0x00080000) != 0)) { + output.writeMessage(166, getSecretSyncConfig()); + } getUnknownFields().writeTo(output); } @@ -5982,6 +6060,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 164, getAnonymousAuthenticationConfig()); } + if (((bitField1_ & 0x00080000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(166, getSecretSyncConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -6245,6 +6326,10 @@ public boolean equals(final java.lang.Object obj) { if (!getAnonymousAuthenticationConfig().equals(other.getAnonymousAuthenticationConfig())) return false; } + if (hasSecretSyncConfig() != other.hasSecretSyncConfig()) return false; + if (hasSecretSyncConfig()) { + if (!getSecretSyncConfig().equals(other.getSecretSyncConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6544,6 +6629,10 @@ public int hashCode() { hash = (37 * hash) + ANONYMOUS_AUTHENTICATION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAnonymousAuthenticationConfig().hashCode(); } + if (hasSecretSyncConfig()) { + hash = (37 * hash) + SECRET_SYNC_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSecretSyncConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -6757,6 +6846,7 @@ private void maybeForceBuilderInitialization() { getRbacBindingConfigFieldBuilder(); getGkeAutoUpgradeConfigFieldBuilder(); getAnonymousAuthenticationConfigFieldBuilder(); + getSecretSyncConfigFieldBuilder(); } } @@ -7061,6 +7151,11 @@ public Builder clear() { anonymousAuthenticationConfigBuilder_.dispose(); anonymousAuthenticationConfigBuilder_ = null; } + secretSyncConfig_ = null; + if (secretSyncConfigBuilder_ != null) { + secretSyncConfigBuilder_.dispose(); + secretSyncConfigBuilder_ = null; + } return this; } @@ -7546,6 +7641,11 @@ private void buildPartial2(com.google.container.v1beta1.Cluster result) { : anonymousAuthenticationConfigBuilder_.build(); to_bitField1_ |= 0x00040000; } + if (((from_bitField2_ & 0x00800000) != 0)) { + result.secretSyncConfig_ = + secretSyncConfigBuilder_ == null ? secretSyncConfig_ : secretSyncConfigBuilder_.build(); + to_bitField1_ |= 0x00080000; + } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; } @@ -7970,6 +8070,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { if (other.hasAnonymousAuthenticationConfig()) { mergeAnonymousAuthenticationConfig(other.getAnonymousAuthenticationConfig()); } + if (other.hasSecretSyncConfig()) { + mergeSecretSyncConfig(other.getSecretSyncConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -8575,6 +8678,13 @@ public Builder mergeFrom( bitField2_ |= 0x00400000; break; } // case 1314 + case 1330: + { + input.readMessage( + getSecretSyncConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField2_ |= 0x00800000; + break; + } // case 1330 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -8870,7 +8980,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2638 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The initialNodeCount. */ @java.lang.Override @@ -8899,7 +9009,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2638 + * google/container/v1beta1/cluster_service.proto;l=2778 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -8932,7 +9042,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2638 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8970,7 +9080,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -8998,7 +9108,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return The nodeConfig. */ @java.lang.Deprecated @@ -12415,7 +12525,7 @@ public com.google.container.v1beta1.IPAllocationPolicy.Builder getIpAllocationPo * * * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -12439,7 +12549,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -13671,7 +13781,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2786 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The privateCluster. */ @java.lang.Override @@ -13694,7 +13804,7 @@ public boolean getPrivateCluster() { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2786 + * google/container/v1beta1/cluster_service.proto;l=2926 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -13721,7 +13831,7 @@ public Builder setPrivateCluster(boolean value) { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2786 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13748,7 +13858,7 @@ public Builder clearPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -13778,7 +13888,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -13808,7 +13918,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -13837,7 +13947,7 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13862,7 +13972,7 @@ public Builder clearMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -15370,8 +15480,7 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15386,8 +15495,7 @@ public boolean hasWorkloadIdentityConfig() { * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15408,8 +15516,7 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15433,8 +15540,7 @@ public Builder setWorkloadIdentityConfig( * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15455,8 +15561,7 @@ public Builder setWorkloadIdentityConfig( * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15486,8 +15591,7 @@ public Builder mergeWorkloadIdentityConfig( * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15507,8 +15611,7 @@ public Builder clearWorkloadIdentityConfig() { * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15524,8 +15627,7 @@ public Builder clearWorkloadIdentityConfig() { * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15545,8 +15647,7 @@ public Builder clearWorkloadIdentityConfig() { * * *
-     * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-     * policies.
+     * Configuration for the use of Kubernetes Service Accounts in IAM policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -15993,7 +16094,9 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16008,7 +16111,9 @@ public boolean hasWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16029,7 +16134,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16052,7 +16159,9 @@ public Builder setWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSCo * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16073,7 +16182,9 @@ public Builder setWorkloadAltsConfig( * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16102,7 +16213,9 @@ public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTS * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16122,7 +16235,9 @@ public Builder clearWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16137,7 +16252,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsCo * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16157,7 +16274,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsCo * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -16594,7 +16713,7 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return Whether the tpuConfig field is set. */ @java.lang.Deprecated @@ -16614,7 +16733,7 @@ public boolean hasTpuConfig() { * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return The tpuConfig. */ @java.lang.Deprecated @@ -17528,7 +17647,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The zone. */ @java.lang.Deprecated @@ -17558,7 +17677,7 @@ public java.lang.String getZone() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The bytes for zone. */ @java.lang.Deprecated @@ -17588,7 +17707,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @param value The zone to set. * @return This builder for chaining. */ @@ -17617,7 +17736,7 @@ public Builder setZone(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17642,7 +17761,7 @@ public Builder clearZone() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -18099,7 +18218,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -18131,7 +18250,7 @@ public java.lang.String getCurrentNodeVersion() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -18163,7 +18282,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -18194,7 +18313,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return This builder for chaining. */ @java.lang.Deprecated @@ -18221,7 +18340,7 @@ public Builder clearCurrentNodeVersion() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -18474,7 +18593,7 @@ public Builder clearStatus() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The statusMessage. */ @java.lang.Deprecated @@ -18504,7 +18623,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -18534,7 +18653,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -18563,7 +18682,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return This builder for chaining. */ @java.lang.Deprecated @@ -18588,7 +18707,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -18822,7 +18941,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -18843,7 +18962,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -18863,7 +18982,7 @@ public int getInstanceGroupUrlsCount() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -18884,7 +19003,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -18905,7 +19024,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -18934,7 +19053,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -18962,7 +19081,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -18987,7 +19106,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19011,7 +19130,7 @@ public Builder clearInstanceGroupUrls() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -19043,7 +19162,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2937 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The currentNodeCount. */ @java.lang.Override @@ -19065,7 +19184,7 @@ public int getCurrentNodeCount() { * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2937 + * google/container/v1beta1/cluster_service.proto;l=3078 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -19091,7 +19210,7 @@ public Builder setCurrentNodeCount(int value) { * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2937 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19364,7 +19483,7 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.enable_tpu is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2955 + * google/container/v1beta1/cluster_service.proto;l=3096 * @return The enableTpu. */ @java.lang.Override @@ -19386,7 +19505,7 @@ public boolean getEnableTpu() { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.enable_tpu is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2955 + * google/container/v1beta1/cluster_service.proto;l=3096 * @param value The enableTpu to set. * @return This builder for chaining. */ @@ -19412,7 +19531,7 @@ public Builder setEnableTpu(boolean value) { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.enable_tpu is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2955 + * google/container/v1beta1/cluster_service.proto;l=3096 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19441,7 +19560,7 @@ public Builder clearEnableTpu() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -19473,7 +19592,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -19505,7 +19624,7 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -19536,7 +19655,7 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19563,7 +19682,7 @@ public Builder clearTpuIpv4CidrBlock() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -21461,7 +21580,7 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -21482,7 +21601,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return The protectConfig. */ @java.lang.Deprecated @@ -22613,12 +22732,19 @@ public Builder clearControlPlaneEndpointsConfig() { * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return Whether the enterpriseConfig field is set. */ + @java.lang.Deprecated public boolean hasEnterpriseConfig() { return ((bitField2_ & 0x00004000) != 0); } @@ -22628,12 +22754,19 @@ public boolean hasEnterpriseConfig() { * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return The enterpriseConfig. */ + @java.lang.Deprecated public com.google.container.v1beta1.EnterpriseConfig getEnterpriseConfig() { if (enterpriseConfigBuilder_ == null) { return enterpriseConfig_ == null @@ -22649,10 +22782,15 @@ public com.google.container.v1beta1.EnterpriseConfig getEnterpriseConfig() { * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public Builder setEnterpriseConfig(com.google.container.v1beta1.EnterpriseConfig value) { if (enterpriseConfigBuilder_ == null) { if (value == null) { @@ -22672,10 +22810,15 @@ public Builder setEnterpriseConfig(com.google.container.v1beta1.EnterpriseConfig * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public Builder setEnterpriseConfig( com.google.container.v1beta1.EnterpriseConfig.Builder builderForValue) { if (enterpriseConfigBuilder_ == null) { @@ -22693,10 +22836,15 @@ public Builder setEnterpriseConfig( * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public Builder mergeEnterpriseConfig(com.google.container.v1beta1.EnterpriseConfig value) { if (enterpriseConfigBuilder_ == null) { if (((bitField2_ & 0x00004000) != 0) @@ -22722,10 +22870,15 @@ public Builder mergeEnterpriseConfig(com.google.container.v1beta1.EnterpriseConf * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public Builder clearEnterpriseConfig() { bitField2_ = (bitField2_ & ~0x00004000); enterpriseConfig_ = null; @@ -22742,10 +22895,15 @@ public Builder clearEnterpriseConfig() { * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public com.google.container.v1beta1.EnterpriseConfig.Builder getEnterpriseConfigBuilder() { bitField2_ |= 0x00004000; onChanged(); @@ -22757,10 +22915,15 @@ public com.google.container.v1beta1.EnterpriseConfig.Builder getEnterpriseConfig * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated public com.google.container.v1beta1.EnterpriseConfigOrBuilder getEnterpriseConfigOrBuilder() { if (enterpriseConfigBuilder_ != null) { return enterpriseConfigBuilder_.getMessageOrBuilder(); @@ -22776,9 +22939,13 @@ public com.google.container.v1beta1.EnterpriseConfigOrBuilder getEnterpriseConfi * *
      * GKE Enterprise Configuration.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1beta1.EnterpriseConfig, @@ -24202,6 +24369,202 @@ public Builder clearAnonymousAuthenticationConfig() { return anonymousAuthenticationConfigBuilder_; } + private com.google.container.v1beta1.SecretSyncConfig secretSyncConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig, + com.google.container.v1beta1.SecretSyncConfig.Builder, + com.google.container.v1beta1.SecretSyncConfigOrBuilder> + secretSyncConfigBuilder_; + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return Whether the secretSyncConfig field is set. + */ + public boolean hasSecretSyncConfig() { + return ((bitField2_ & 0x00800000) != 0); + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return The secretSyncConfig. + */ + public com.google.container.v1beta1.SecretSyncConfig getSecretSyncConfig() { + if (secretSyncConfigBuilder_ == null) { + return secretSyncConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance() + : secretSyncConfig_; + } else { + return secretSyncConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public Builder setSecretSyncConfig(com.google.container.v1beta1.SecretSyncConfig value) { + if (secretSyncConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + secretSyncConfig_ = value; + } else { + secretSyncConfigBuilder_.setMessage(value); + } + bitField2_ |= 0x00800000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public Builder setSecretSyncConfig( + com.google.container.v1beta1.SecretSyncConfig.Builder builderForValue) { + if (secretSyncConfigBuilder_ == null) { + secretSyncConfig_ = builderForValue.build(); + } else { + secretSyncConfigBuilder_.setMessage(builderForValue.build()); + } + bitField2_ |= 0x00800000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public Builder mergeSecretSyncConfig(com.google.container.v1beta1.SecretSyncConfig value) { + if (secretSyncConfigBuilder_ == null) { + if (((bitField2_ & 0x00800000) != 0) + && secretSyncConfig_ != null + && secretSyncConfig_ + != com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance()) { + getSecretSyncConfigBuilder().mergeFrom(value); + } else { + secretSyncConfig_ = value; + } + } else { + secretSyncConfigBuilder_.mergeFrom(value); + } + if (secretSyncConfig_ != null) { + bitField2_ |= 0x00800000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public Builder clearSecretSyncConfig() { + bitField2_ = (bitField2_ & ~0x00800000); + secretSyncConfig_ = null; + if (secretSyncConfigBuilder_ != null) { + secretSyncConfigBuilder_.dispose(); + secretSyncConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public com.google.container.v1beta1.SecretSyncConfig.Builder getSecretSyncConfigBuilder() { + bitField2_ |= 0x00800000; + onChanged(); + return getSecretSyncConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + public com.google.container.v1beta1.SecretSyncConfigOrBuilder getSecretSyncConfigOrBuilder() { + if (secretSyncConfigBuilder_ != null) { + return secretSyncConfigBuilder_.getMessageOrBuilder(); + } else { + return secretSyncConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance() + : secretSyncConfig_; + } + } + + /** + * + * + *
+     * Configuration for sync Secret Manager secrets as k8s secrets.
+     * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig, + com.google.container.v1beta1.SecretSyncConfig.Builder, + com.google.container.v1beta1.SecretSyncConfigOrBuilder> + getSecretSyncConfigFieldBuilder() { + if (secretSyncConfigBuilder_ == null) { + secretSyncConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig, + com.google.container.v1beta1.SecretSyncConfig.Builder, + com.google.container.v1beta1.SecretSyncConfigOrBuilder>( + getSecretSyncConfig(), getParentForChildren(), isClean()); + secretSyncConfig_ = null; + } + return secretSyncConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index c8b9968a4a04..6cfa97c8f6c5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -108,7 +108,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2638 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -134,7 +134,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2651 + * google/container/v1beta1/cluster_service.proto;l=2791 * @return The nodeConfig. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -984,7 +984,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2763 + * See google/container/v1beta1/cluster_service.proto;l=2903 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -1209,7 +1209,7 @@ java.lang.String getResourceLabelsOrDefault( * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2786 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The privateCluster. */ @java.lang.Deprecated @@ -1229,7 +1229,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1249,7 +1249,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2793 + * google/container/v1beta1/cluster_service.proto;l=2933 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1550,8 +1550,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -1564,8 +1563,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -1578,8 +1576,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; @@ -1670,7 +1667,9 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -1683,7 +1682,9 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -1696,7 +1697,9 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; @@ -1789,7 +1792,7 @@ java.lang.String getResourceLabelsOrDefault( * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return Whether the tpuConfig field is set. */ @java.lang.Deprecated @@ -1807,7 +1810,7 @@ java.lang.String getResourceLabelsOrDefault( * .google.container.v1beta1.TpuConfig tpu_config = 47 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2848 + * google/container/v1beta1/cluster_service.proto;l=2989 * @return The tpuConfig. */ @java.lang.Deprecated @@ -1980,7 +1983,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The zone. */ @java.lang.Deprecated @@ -1999,7 +2002,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3008 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2133,7 +2136,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -2155,7 +2158,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -2233,7 +2236,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The statusMessage. */ @java.lang.Deprecated @@ -2253,7 +2256,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=3056 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2321,7 +2324,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2339,7 +2342,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2357,7 +2360,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2376,7 +2379,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3073 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2396,7 +2399,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2937 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2477,7 +2480,7 @@ java.lang.String getResourceLabelsOrDefault( * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.enable_tpu is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2955 + * google/container/v1beta1/cluster_service.proto;l=3096 * @return The enableTpu. */ @java.lang.Deprecated @@ -2499,7 +2502,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -2521,7 +2524,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=3103 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -2887,7 +2890,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -2906,7 +2909,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3137 * @return The protectConfig. */ @java.lang.Deprecated @@ -3117,12 +3120,19 @@ java.lang.String getResourceLabelsOrDefault( * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return Whether the enterpriseConfig field is set. */ + @java.lang.Deprecated boolean hasEnterpriseConfig(); /** @@ -3130,12 +3140,19 @@ java.lang.String getResourceLabelsOrDefault( * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.Cluster.enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3160 * @return The enterpriseConfig. */ + @java.lang.Deprecated com.google.container.v1beta1.EnterpriseConfig getEnterpriseConfig(); /** @@ -3143,10 +3160,15 @@ java.lang.String getResourceLabelsOrDefault( * *
    * GKE Enterprise Configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149; + * .google.container.v1beta1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; + * */ + @java.lang.Deprecated com.google.container.v1beta1.EnterpriseConfigOrBuilder getEnterpriseConfigOrBuilder(); /** @@ -3439,4 +3461,41 @@ java.lang.String getResourceLabelsOrDefault( */ com.google.container.v1beta1.AnonymousAuthenticationConfigOrBuilder getAnonymousAuthenticationConfigOrBuilder(); + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return Whether the secretSyncConfig field is set. + */ + boolean hasSecretSyncConfig(); + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + * + * @return The secretSyncConfig. + */ + com.google.container.v1beta1.SecretSyncConfig getSecretSyncConfig(); + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * .google.container.v1beta1.SecretSyncConfig secret_sync_config = 166; + */ + com.google.container.v1beta1.SecretSyncConfigOrBuilder getSecretSyncConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java index d65580a86ae2..978564e827d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java @@ -36,6 +36,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_LinuxNodeConfig_HugepagesConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_LinuxNodeConfig_HugepagesConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -156,6 +180,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_HostMaintenancePolicy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -884,6 +912,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_Autopilot_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_WorkloadPolicyConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1036,6 +1068,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_GkeAutoUpgradeConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_GkeAutoUpgradeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkTierConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkTierConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SecretSyncConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SecretSyncConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -1054,8 +1098,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "otobuf/duration.proto\032\033google/protobuf/e" + "mpty.proto\032\037google/protobuf/timestamp.pr" + "oto\032\036google/protobuf/wrappers.proto\032\025goo" - + "gle/rpc/code.proto\032\027google/rpc/status.proto\032\026google/type/date.proto\"\325" - + "\t\n" + + "gle/rpc/code.proto\032\027google/rpc/status.proto\032\026google/type/date.proto\"\275\023\n" + "\017LinuxNodeConfig\022G\n" + "\007sysctls\030\001 \003(\01326.google.contai" + "ner.v1beta1.LinuxNodeConfig.SysctlsEntry\022I\n" @@ -1066,12 +1109,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034transparent_hugepage_enabled\030\004 \001(" + "\0162D.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabledB\003\340A\001\022m\n" + "\033transparent_hugepage_defrag\030\005 \001(\0162C.goog" - + "le.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefragB\003\340A\001\032\177\n" + + "le.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefragB\003\340A\001\022S\n" + + "\013swap_config\030\014" + + " \001(\01324.google.container.v1beta1.LinuxNodeConfig.SwapConfigB\003\340A\001H\001\210\001\001\022j\n" + + "\032node_kernel_module_loading\030\r" + + " \001(\0132A.google.co" + + "ntainer.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingB\003\340A\001\032\177\n" + "\017HugepagesConfig\022!\n" + "\017hugepage_size2m\030\001 \001(\005B\003\340A\001H\000\210\001\001\022!\n" + "\017hugepage_size1g\030\002 \001(\005B\003\340A\001H\001\210\001\001B\022\n" + "\020_hugepage_size2mB\022\n" - + "\020_hugepage_size1g\032.\n" + + "\020_hugepage_size1g\032\275\006\n\n" + + "SwapConfig\022\031\n" + + "\007enabled\030\001 \001(\010B\003\340A\001H\001\210\001\001\022j\n" + + "\021encryption_config\030\002 \001(\0132E.google.container.v1" + + "beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigB\003\340A\001H\002\210\001\001\022a\n" + + "\021boot_disk_profile\030\003 \001(\0132D.google.container.v1beta1.LinuxN" + + "odeConfig.SwapConfig.BootDiskProfileH\000\022t\n" + + "\033ephemeral_local_ssd_profile\030\004 \001(\0132M.go" + + "ogle.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileH\000\022t\n" + + "\033dedicated_local_ssd_profile\030\005 \001(\0132M.goog" + + "le.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfileH\000\032;\n" + + "\020EncryptionConfig\022\032\n" + + "\010disabled\030\001 \001(\010B\003\340A\001H\000\210\001\001B\013\n" + + "\t_disabled\032T\n" + + "\017BootDiskProfile\022\027\n\r" + + "swap_size_gib\030\001 \001(\003H\000\022\033\n" + + "\021swap_size_percent\030\002 \001(\005H\000B\013\n" + + "\tswap_size\032]\n" + + "\030EphemeralLocalSsdProfile\022\027\n\r" + + "swap_size_gib\030\001 \001(\003H\000\022\033\n" + + "\021swap_size_percent\030\002 \001(\005H\000B\013\n" + + "\tswap_size\032.\n" + + "\030DedicatedLocalSsdProfile\022\022\n\n" + + "disk_count\030\001 \001(\003B\025\n" + + "\023performance_profileB\n\n" + + "\010_enabledB\024\n" + + "\022_encryption_config\032\324\001\n" + + "\027NodeKernelModuleLoading\022X\n" + + "\006policy\030\001 \001(\0162H.google.conta" + + "iner.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy\"_\n" + + "\006Policy\022\026\n" + + "\022POLICY_UNSPECIFIED\020\000\022\032\n" + + "\026ENFORCE_SIGNED_MODULES\020\001\022!\n" + + "\035DO_NOT_ENFORCE_SIGNED_MODULES\020\002\032.\n" + "\014SysctlsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"Q\n\n" @@ -1091,10 +1172,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE\020\003\022\'\n" + "#TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE\020\004\022%\n" + "!TRANSPARENT_HUGEPAGE_DEFRAG_NEVER\020\005B\014\n\n" - + "_hugepages\"\271\001\n" + + "_hugepagesB\016\n" + + "\014_swap_config\"\271\001\n" + "\021WindowsNodeConfig\022I\n\n" - + "os_version\030\001 \001(\01625.google.c" - + "ontainer.v1beta1.WindowsNodeConfig.OSVersion\"Y\n" + + "os_version\030\001" + + " \001(\01625.google.container.v1beta1.WindowsNodeConfig.OSVersion\"Y\n" + "\tOSVersion\022\032\n" + "\026OS_VERSION_UNSPECIFIED\020\000\022\027\n" + "\023OS_VERSION_LTSC2019\020\001\022\027\n" @@ -1103,8 +1185,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022cpu_manager_policy\030\001 \001(\t\022H\n" + "\020topology_manager\030\010" + " \001(\0132).google.container.v1beta1.TopologyManagerB\003\340A\001\022D\n" - + "\016memory_manager\030\t " - + "\001(\0132\'.google.container.v1beta1.MemoryManagerB\003\340A\001\0221\n\r" + + "\016memory_manager\030\t" + + " \001(\0132\'.google.container.v1beta1.MemoryManagerB\003\340A\001\0221\n\r" + "cpu_cfs_quota\030\002 \001(\0132\032.google.protobuf.BoolValue\022\034\n" + "\024cpu_cfs_quota_period\030\003 \001(\t\022\026\n" + "\016pod_pids_limit\030\004 \001(\003\0223\n" @@ -1118,12 +1200,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026container_log_max_size\030\016 \001(\tB\003\340A\001\022$\n" + "\027container_log_max_files\030\017 \001(\005B\003\340A\001\022#\n" + "\026allowed_unsafe_sysctls\030\020 \003(\tB\003\340A\001\022E\n\r" - + "eviction_soft\030\021" - + " \001(\0132).google.container.v1beta1.EvictionSignalsB\003\340A\001\022V\n" - + "\032eviction_soft_grace_period\030\022 \001(\0132-.google.con" - + "tainer.v1beta1.EvictionGracePeriodB\003\340A\001\022W\n" - + "\030eviction_minimum_reclaim\030\023 \001(\01320.goog" - + "le.container.v1beta1.EvictionMinimumReclaimB\003\340A\001\0222\n" + + "eviction_soft\030\021 \001(\0132" + + ").google.container.v1beta1.EvictionSignalsB\003\340A\001\022V\n" + + "\032eviction_soft_grace_period\030\022 " + + "\001(\0132-.google.container.v1beta1.EvictionGracePeriodB\003\340A\001\022W\n" + + "\030eviction_minimum_reclaim\030\023" + + " \001(\01320.google.container.v1beta1.EvictionMinimumReclaimB\003\340A\001\0222\n" + "%eviction_max_pod_grace_period_seconds\030\024 \001(\005B\003\340A\001\022%\n" + "\030max_parallel_image_pulls\030\025 \001(\005B\003\340A\001\022)\n" + "\027single_process_oom_kill\030\026 \001(\010B\003\340A\001H\001\210\001\001B)\n" @@ -1139,8 +1221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020nodefs_available\030\002 \001(\tB\003\340A\001\022\037\n" + "\022nodefs_inodes_free\030\003 \001(\tB\003\340A\001\022\036\n" + "\021imagefs_available\030\004 \001(\tB\003\340A\001\022 \n" - + "\023imagefs_inodes_free\030\005 \001(\tB\003\340A\001\022\032\n" - + "\r" + + "\023imagefs_inodes_free\030\005 \001(\tB\003\340A\001\022\032\n\r" + "pid_available\030\006 \001(\tB\003\340A\001\"\322\001\n" + "\023EvictionGracePeriod\022\035\n" + "\020memory_available\030\001 \001(\tB\003\340A\001\022\035\n" @@ -1161,21 +1242,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014disk_size_gb\030\002 \001(\005\022\024\n" + "\014oauth_scopes\030\003 \003(\t\022\027\n" + "\017service_account\030\t \001(\t\022D\n" - + "\010metadata\030\004" - + " \003(\01322.google.container.v1beta1.NodeConfig.MetadataEntry\022\022\n\n" + + "\010metadata\030\004 \003(\01322.goo" + + "gle.container.v1beta1.NodeConfig.MetadataEntry\022\022\n\n" + "image_type\030\005 \001(\t\022@\n" - + "\006labels\030\006" - + " \003(\01320.google.container.v1beta1.NodeConfig.LabelsEntry\022\027\n" + + "\006labels\030\006 \003" + + "(\01320.google.container.v1beta1.NodeConfig.LabelsEntry\022\027\n" + "\017local_ssd_count\030\007 \001(\005\022\014\n" + "\004tags\030\010 \003(\t\022\023\n" + "\013preemptible\030\n" + " \001(\010\022A\n" + "\014accelerators\030\013 \003(\0132+.google.container.v1beta1.AcceleratorConfig\022?\n" - + "\016sandbox_config\030\021" - + " \001(\0132\'.google.container.v1beta1.SandboxConfig\022\022\n\n" + + "\016sandbox_config\030\021 " + + "\001(\0132\'.google.container.v1beta1.SandboxConfig\022\022\n\n" + "node_group\030\022 \001(\t\022K\n" - + "\024reservation_affinity\030\023 \001(\0132-" - + ".google.container.v1beta1.ReservationAffinity\022\021\n" + + "\024reservation_affinity\030\023" + + " \001(\0132-.google.container.v1beta1.ReservationAffinity\022\021\n" + "\tdisk_type\030\014 \001(\t\022\030\n" + "\020min_cpu_platform\030\r" + " \001(\t\022R\n" @@ -1189,46 +1270,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132).google.container.v1beta1.LinuxNodeConfig\022C\n" + "\016kubelet_config\030\026" + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\022R\n" - + "\030ephemeral_storage_config\030\030 \001(\01320.google" - + ".container.v1beta1.EphemeralStorageConfig\0229\n" + + "\030ephemeral_storage_config\030\030" + + " \001(\01320.google.container.v1beta1.EphemeralStorageConfig\0229\n" + "\013gcfs_config\030\031 \001(\0132$.google.container.v1beta1.GcfsConfig\022T\n" - + "\031advanced_machine_features\030\032" - + " \001(\01321.google.container.v1beta1.AdvancedMachineFeatures\0223\n" + + "\031advanced_machine_features\030\032 \001(\01321.google" + + ".container.v1beta1.AdvancedMachineFeatures\0223\n" + "\005gvnic\030\035 \001(\0132$.google.container.v1beta1.VirtualNIC\022\014\n" + "\004spot\030 \001(\010\022G\n" - + "\022confidential_nodes\030# \001(" - + "\0132+.google.container.v1beta1.ConfidentialNodes\022>\n" - + "\013fast_socket\030$" - + " \001(\0132$.google.container.v1beta1.FastSocketH\000\210\001\001\022Q\n" - + "\017resource_labels\030%" - + " \003(\01328.google.container.v1beta1.NodeConfig.ResourceLabelsEntry\022G\n" - + "\016logging_config\030&" - + " \001(\0132/.google.container.v1beta1.NodePoolLoggingConfig\022H\n" + + "\022confidential_nodes\030#" + + " \001(\0132+.google.container.v1beta1.ConfidentialNodes\022>\n" + + "\013fast_socket\030$ " + + "\001(\0132$.google.container.v1beta1.FastSocketH\000\210\001\001\022Q\n" + + "\017resource_labels\030% \003(\01328.google" + + ".container.v1beta1.NodeConfig.ResourceLabelsEntry\022G\n" + + "\016logging_config\030& \001(\0132/.goog" + + "le.container.v1beta1.NodePoolLoggingConfig\022H\n" + "\023windows_node_config\030\'" + " \001(\0132+.google.container.v1beta1.WindowsNodeConfig\022V\n" - + "\033local_nvme_ssd_block_config\030(" - + " \001(\01321.google.container.v1beta1.LocalNvmeSsdBlockConfig\022d\n" - + "\"ephemeral_storage_local_ssd_config\030) \001(\01328.googl" - + "e.container.v1beta1.EphemeralStorageLocalSsdConfig\022F\n" - + "\022sole_tenant_config\030* \001(\0132*" - + ".google.container.v1beta1.SoleTenantConfig\022E\n" + + "\033local_nvme_ssd_block_config\030( \001(\01321.goog" + + "le.container.v1beta1.LocalNvmeSsdBlockConfig\022d\n" + + "\"ephemeral_storage_local_ssd_config\030)" + + " \001(\01328.google.container.v1beta1.EphemeralStorageLocalSsdConfig\022F\n" + + "\022sole_tenant_config\030*" + + " \001(\0132*.google.container.v1beta1.SoleTenantConfig\022E\n" + "\021containerd_config\030+" + " \001(\0132*.google.container.v1beta1.ContainerdConfig\022P\n" - + "\027host_maintenance_policy\030," - + " \001(\0132/.google.container.v1beta1.HostMaintenancePolicy\022L\n" - + "\025resource_manager_tags\030-" - + " \001(\0132-.google.container.v1beta1.ResourceManagerTags\022(\n" + + "\027host_maintenance_policy\030, \001" + + "(\0132/.google.container.v1beta1.HostMaintenancePolicy\022L\n" + + "\025resource_manager_tags\030- \001" + + "(\0132-.google.container.v1beta1.ResourceManagerTags\022(\n" + "\033enable_confidential_storage\030. \001(\010B\003\340A\001\022I\n" - + "\024secondary_boot_disks\0300" - + " \003(\0132+.google.container.v1beta1.SecondaryBootDisk\022\025\n\r" + + "\024secondary_boot_disks\0300 \003(" + + "\0132+.google.container.v1beta1.SecondaryBootDisk\022\025\n\r" + "storage_pools\0301 \003(\t\022k\n" - + "#secondary_boot_disk_update_strategy\0302 \001(\01329.google.container.v1" - + "beta1.SecondaryBootDiskUpdateStrategyH\001\210\001\001\0223\n" + + "#secondary_boot_disk_update_strategy\0302 \001(\01329.goo" + + "gle.container.v1beta1.SecondaryBootDiskUpdateStrategyH\001\210\001\001\0223\n" + "\020max_run_duration\0305 \001(\0132\031.google.protobuf.Duration\022c\n" - + "\031local_ssd_encryption_mode\0306" - + " \001(\0162;.google.container.v1beta1.NodeConfig.LocalSsdEncryptionModeH\002\210\001\001\022\\\n" - + "\025effective_cgroup_mode\0307 \001(\01628.google.con" - + "tainer.v1beta1.NodeConfig.EffectiveCgroupModeB\003\340A\003\022\027\n\n" + + "\031local_ssd_encryption_mode\0306 \001(\0162;.google.cont" + + "ainer.v1beta1.NodeConfig.LocalSsdEncryptionModeH\002\210\001\001\022\\\n" + + "\025effective_cgroup_mode\0307 " + + "\001(\01628.google.container.v1beta1.NodeConfig.EffectiveCgroupModeB\003\340A\003\022\027\n\n" + "flex_start\0308 \001(\010H\003\210\001\001\0225\n" + "\tboot_disk\0309 \001(\0132\".google.container.v1beta1.BootDisk\032/\n\r" + "MetadataEntry\022\013\n" @@ -1238,7 +1319,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\0325\n" + "\023ResourceLabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t:\0028\001\"z\n" + "\026LocalSsdEncryptionMode\022)\n" + "%LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED\020\000\022\027\n" @@ -1255,8 +1337,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027AdvancedMachineFeatures\022\035\n" + "\020threads_per_core\030\001 \001(\003H\000\210\001\001\022)\n" + "\034enable_nested_virtualization\030\002 \001(\010H\001\210\001\001\022u\n" - + "\033performance_monitoring_unit\030\003 \001(\0162K.google.container.v1beta1.Advan" - + "cedMachineFeatures.PerformanceMonitoringUnitH\002\210\001\001\"w\n" + + "\033performance_monitoring_unit\030\003 \001(\0162K.google.contain" + + "er.v1beta1.AdvancedMachineFeatures.PerformanceMonitoringUnitH\002\210\001\001\"w\n" + "\031PerformanceMonitoringUnit\022+\n" + "\'PERFORMANCE_MONITORING_UNIT_UNSPECIFIED\020\000\022\021\n\r" + "ARCHITECTURAL\020\001\022\014\n" @@ -1264,29 +1346,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010ENHANCED\020\003B\023\n" + "\021_threads_per_coreB\037\n" + "\035_enable_nested_virtualizationB\036\n" - + "\034_performance_monitoring_unit\"\206\010\n" + + "\034_performance_monitoring_unit\"\377\010\n" + "\021NodeNetworkConfig\022\035\n" + "\020create_pod_range\030\004 \001(\010B\003\340A\004\022\021\n" + "\tpod_range\030\005 \001(\t\022\033\n" + "\023pod_ipv4_cidr_block\030\006 \001(\t\022!\n" + "\024enable_private_nodes\030\t \001(\010H\000\210\001\001\022m\n" - + "\032network_performance_config\030\013 \001(\0132D.google.co" - + "ntainer.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigH\001\210\001\001\022[\n" + + "\032network_performance_config\030\013 \001(\0132D.google.container.v1beta1.NodeNetw" + + "orkConfig.NetworkPerformanceConfigH\001\210\001\001\022[\n" + "\035pod_cidr_overprovision_config\030\r" + " \001(\01324.google.container.v1beta1.PodCIDROverprovisionConfig\022^\n" - + "\037additional_node_network_configs\030\016 \003(\01325." - + "google.container.v1beta1.AdditionalNodeNetworkConfig\022\\\n" - + "\036additional_pod_network_configs\030\017" - + " \003(\01324.google.container.v1beta1.AdditionalPodNetworkConfig\022\'\n" + + "\037additional_node_network_configs\030\016" + + " \003(\01325.google.container.v1beta1.AdditionalNodeNetworkConfig\022\\\n" + + "\036additional_pod_network_configs\030\017 \003(\01324.google.co" + + "ntainer.v1beta1.AdditionalPodNetworkConfig\022\'\n" + "\032pod_ipv4_range_utilization\030\020 \001(\001B\003\340A\003\022\027\n\n" - + "subnetwork\030\023 \001(\tB\003\340A\003\032\372\002\n" + + "subnetwork\030\023 \001(\tB\003\340A\003\022M\n" + + "\023network_tier_config\030\024" + + " \001(\0132+.google.container.v1beta1.NetworkTierConfigB\003\340A\003\022(\n" + + "\033accelerator_network_profile\030\025 \001(\tB\003\340A\005\032\372\002\n" + "\030NetworkPerformanceConfig\022s\n" - + "\033total_egress_bandwidth_tier\030\001 \001(\0162I" - + ".google.container.v1beta1.NodeNetworkCon" - + "fig.NetworkPerformanceConfig.TierH\000\210\001\001\022y\n" - + "!external_ip_egress_bandwidth_tier\030\002 \001(" - + "\0162I.google.container.v1beta1.NodeNetwork" - + "Config.NetworkPerformanceConfig.TierH\001\210\001\001\"(\n" + + "\033total_egress_bandwidth_tier\030\001 \001(\0162I.google.container.v1bet" + + "a1.NodeNetworkConfig.NetworkPerformanceConfig.TierH\000\210\001\001\022y\n" + + "!external_ip_egress_bandwidth_tier\030\002 \001(\0162I.google.container.v1" + + "beta1.NodeNetworkConfig.NetworkPerformanceConfig.TierH\001\210\001\001\"(\n" + "\004Tier\022\024\n" + "\020TIER_UNSPECIFIED\020\000\022\n\n" + "\006TIER_1\020\001B\036\n" @@ -1300,8 +1383,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032AdditionalPodNetworkConfig\022\022\n\n" + "subnetwork\030\001 \001(\t\022\033\n" + "\023secondary_pod_range\030\002 \001(\t\022K\n" - + "\021max_pods_per_node\030\003" - + " \001(\0132+.google.container.v1beta1.MaxPodsConstraintH\000\210\001\001B\024\n" + + "\021max_pods_per_node\030\003 \001(" + + "\0132+.google.container.v1beta1.MaxPodsConstraintH\000\210\001\001B\024\n" + "\022_max_pods_per_node\"Y\n" + "\026ShieldedInstanceConfig\022\032\n" + "\022enable_secure_boot\030\001 \001(\010\022#\n" @@ -1332,40 +1415,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017ANY_RESERVATION\020\002\022\030\n" + "\024SPECIFIC_RESERVATION\020\003\"\323\002\n" + "\020SoleTenantConfig\022P\n" - + "\017node_affinities\030\001 \003(\01327.google.contai" - + "ner.v1beta1.SoleTenantConfig.NodeAffinity\022\037\n\r" + + "\017node_affinities\030\001 \003(" + + "\01327.google.container.v1beta1.SoleTenantConfig.NodeAffinity\022\037\n\r" + "min_node_cpus\030\002 \001(\005B\003\340A\001H\000\210\001\001\032\271\001\n" + "\014NodeAffinity\022\013\n" + "\003key\030\001 \001(\t\022R\n" - + "\010operator\030\002 \001" - + "(\0162@.google.container.v1beta1.SoleTenantConfig.NodeAffinity.Operator\022\016\n" + + "\010operator\030\002 \001(\0162@.google.container.v" + + "1beta1.SoleTenantConfig.NodeAffinity.Operator\022\016\n" + "\006values\030\003 \003(\t\"8\n" + "\010Operator\022\030\n" + "\024OPERATOR_UNSPECIFIED\020\000\022\006\n" + "\002IN\020\001\022\n\n" + "\006NOT_IN\020\002B\020\n" - + "\016_min_node_cpus\"\213\005\n" + + "\016_min_node_cpus\"\217\006\n" + "\020ContainerdConfig\022n\n" - + "\036private_registry_access_config\030\001 \001(\0132F.google.container" - + ".v1beta1.ContainerdConfig.PrivateRegistryAccessConfig\032\206\004\n" + + "\036private_registry_access_config\030\001 \001(\0132F" + + ".google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig\022Y\n" + + "\020writable_cgroups\030\002 \001(\0132:.google.container.v1be" + + "ta1.ContainerdConfig.WritableCgroupsB\003\340A\001\032\206\004\n" + "\033PrivateRegistryAccessConfig\022\017\n" + "\007enabled\030\001 \001(\010\022\224\001\n" - + "#certificate_authority_domain_config\030\002 \003(\0132g.google.co" - + "ntainer.v1beta1.ContainerdConfig.Private" - + "RegistryAccessConfig.CertificateAuthorityDomainConfig\032\276\002\n" - + " CertificateAuthorityDomainConfig\022\r\n" + + "#certificate_authority_domain_config\030\002 \003(\0132g.google.container.v1be" + + "ta1.ContainerdConfig.PrivateRegistryAcce" + + "ssConfig.CertificateAuthorityDomainConfig\032\276\002\n" + + " CertificateAuthorityDomainConfig\022\r" + + "\n" + "\005fqdns\030\001 \003(\t\022\273\001\n" - + "%gcp_secret_manager_certificate_config\030\002 \001(\0132\211\001.goo" - + "gle.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAu" - + "thorityDomainConfig.GCPSecretManagerCertificateConfigH\000\0327\n" + + "%gcp_secret_manager_certificate_config\030\002 \001(\0132\211\001.google.containe" + + "r.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomai" + + "nConfig.GCPSecretManagerCertificateConfigH\000\0327\n" + "!GCPSecretManagerCertificateConfig\022\022\n\n" + "secret_uri\030\001 \001(\tB\024\n" - + "\022certificate_config\"\255\005\n" + + "\022certificate_config\032\'\n" + + "\017WritableCgroups\022\024\n" + + "\007enabled\030\001 \001(\010B\003\340A\001\"\255\005\n" + "\025HostMaintenancePolicy\022f\n" - + "\024maintenance_interval\030\001 \001(\0162C.google." - + "container.v1beta1.HostMaintenancePolicy.MaintenanceIntervalH\001\210\001\001\022~\n" - + "\"opportunistic_maintenance_strategy\030\002 \001(\0132P.google.co" - + "ntainer.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategyH\000\032\240\002\n" + + "\024maintenance_interval\030\001 \001(\0162C.google.container.v" + + "1beta1.HostMaintenancePolicy.MaintenanceIntervalH\001\210\001\001\022~\n" + + "\"opportunistic_maintenance_strategy\030\002 \001(\0132P.google.container.v1b" + + "eta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategyH\000\032\240\002\n" + " OpportunisticMaintenanceStrategy\022=\n" + "\025node_idle_time_window\030\001" + " \001(\0132\031.google.protobuf.DurationH\000\210\001\001\022G\n" @@ -1382,7 +1470,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024maintenance_strategyB\027\n" + "\025_maintenance_interval\"\276\001\n" + "\tNodeTaint\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t\022:\n" + "\006effect\030\003 \001(\0162*.google.container.v1beta1.NodeTaint.Effect\"Y\n" + "\006Effect\022\026\n" @@ -1398,8 +1487,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\205\001\n" + "\016ResourceLabels\022D\n" - + "\006labels\030\001" - + " \003(\01324.google.container.v1beta1.ResourceLabels.LabelsEntry\032-\n" + + "\006labels\030\001 \003(\01324.goog" + + "le.container.v1beta1.ResourceLabels.LabelsEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\033\n" @@ -1408,50 +1497,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "MasterAuth\022\024\n" + "\010username\030\001 \001(\tB\002\030\001\022\024\n" + "\010password\030\002 \001(\tB\002\030\001\022T\n" - + "\031client_certificate_config\030\003 \001(\01321.google.co" - + "ntainer.v1beta1.ClientCertificateConfig\022#\n" + + "\031client_certificate_config\030\003" + + " \001(\01321.google.container.v1beta1.ClientCertificateConfig\022#\n" + "\026cluster_ca_certificate\030d \001(\tB\003\340A\003\022\037\n" + "\022client_certificate\030e \001(\tB\003\340A\003\022\027\n\n" + "client_key\030f \001(\tB\003\340A\003\";\n" + "\027ClientCertificateConfig\022 \n" + "\030issue_client_certificate\030\001 \001(\010\"\314\013\n" + "\014AddonsConfig\022H\n" - + "\023http_load_balancing\030\001 \001(" - + "\0132+.google.container.v1beta1.HttpLoadBalancing\022V\n" - + "\032horizontal_pod_autoscaling\030\002 \001" - + "(\01322.google.container.v1beta1.HorizontalPodAutoscaling\022O\n" - + "\024kubernetes_dashboard\030\003" - + " \001(\0132-.google.container.v1beta1.KubernetesDashboardB\002\030\001\022L\n" - + "\025network_policy_config\030\004" - + " \001(\0132-.google.container.v1beta1.NetworkPolicyConfig\022?\n" - + "\014istio_config\030\005 \001(\0132%.go" - + "ogle.container.v1beta1.IstioConfigB\002\030\001\022B\n" + + "\023http_load_balancing\030\001" + + " \001(\0132+.google.container.v1beta1.HttpLoadBalancing\022V\n" + + "\032horizontal_pod_autoscaling\030\002 \001(\01322.google" + + ".container.v1beta1.HorizontalPodAutoscaling\022O\n" + + "\024kubernetes_dashboard\030\003 \001(\0132-.goog" + + "le.container.v1beta1.KubernetesDashboardB\002\030\001\022L\n" + + "\025network_policy_config\030\004 \001(\0132-.go" + + "ogle.container.v1beta1.NetworkPolicyConfig\022?\n" + + "\014istio_config\030\005" + + " \001(\0132%.google.container.v1beta1.IstioConfigB\002\030\001\022B\n" + "\020cloud_run_config\030\007" + " \001(\0132(.google.container.v1beta1.CloudRunConfig\022B\n" - + "\020dns_cache_config\030\010" - + " \001(\0132(.google.container.v1beta1.DnsCacheConfig\022P\n" + + "\020dns_cache_config\030\010 \001(" + + "\0132(.google.container.v1beta1.DnsCacheConfig\022P\n" + "\027config_connector_config\030\n" + " \001(\0132/.google.container.v1beta1.ConfigConnectorConfig\022i\n" - + "%gce_persistent_disk_csi_driver_config\030\013 \001(\0132:.google.contain" - + "er.v1beta1.GcePersistentDiskCsiDriverConfig\022=\n" + + "%gce_persistent_disk_csi_driver_config\030\013" + + " \001(\0132:.google.container.v1beta1.GcePersistentDiskCsiDriverConfig\022=\n" + "\013kalm_config\030\014" + " \001(\0132$.google.container.v1beta1.KalmConfigB\002\030\001\022^\n" - + "\037gcp_filestore_csi_driver_config\030\016 \001(\01325.google.con" - + "tainer.v1beta1.GcpFilestoreCsiDriverConfig\022O\n" - + "\027gke_backup_agent_config\030\020 \001(\0132..go" - + "ogle.container.v1beta1.GkeBackupAgentConfig\022T\n" - + "\032gcs_fuse_csi_driver_config\030\021 \001(\0132" - + "0.google.container.v1beta1.GcsFuseCsiDriverConfig\022K\n" - + "\022stateful_ha_config\030\022 \001(\0132*." - + "google.container.v1beta1.StatefulHAConfigB\003\340A\001\022_\n" - + "\037parallelstore_csi_driver_config\030\023" - + " \001(\01326.google.container.v1beta1.ParallelstoreCsiDriverConfig\022M\n" - + "\023ray_operator_config\030\025" - + " \001(\0132+.google.container.v1beta1.RayOperatorConfigB\003\340A\001\022_\n" - + "\037high_scale_checkpointing_config\030\026 \001(\01326.google.contain" - + "er.v1beta1.HighScaleCheckpointingConfig\022Q\n" - + "\030lustre_csi_driver_config\030\027 \001(\0132/.goog" - + "le.container.v1beta1.LustreCsiDriverConfig\"%\n" + + "\037gcp_filestore_csi_driver_config\030\016" + + " \001(\01325.google.container.v1beta1.GcpFilestoreCsiDriverConfig\022O\n" + + "\027gke_backup_agent_config\030\020" + + " \001(\0132..google.container.v1beta1.GkeBackupAgentConfig\022T\n" + + "\032gcs_fuse_csi_driver_config\030\021 \001(\01320.google.co" + + "ntainer.v1beta1.GcsFuseCsiDriverConfig\022K\n" + + "\022stateful_ha_config\030\022" + + " \001(\0132*.google.container.v1beta1.StatefulHAConfigB\003\340A\001\022_\n" + + "\037parallelstore_csi_driver_config\030\023 \001(\01326.g" + + "oogle.container.v1beta1.ParallelstoreCsiDriverConfig\022M\n" + + "\023ray_operator_config\030\025 \001(" + + "\0132+.google.container.v1beta1.RayOperatorConfigB\003\340A\001\022_\n" + + "\037high_scale_checkpointing_config\030\026" + + " \001(\01326.google.container.v1beta1.HighScaleCheckpointingConfig\022Q\n" + + "\030lustre_csi_driver_config\030\027" + + " \001(\0132/.google.container.v1beta1.LustreCsiDriverConfig\"%\n" + "\021HttpLoadBalancing\022\020\n" + "\010disabled\030\001 \001(\010\",\n" + "\030HorizontalPodAutoscaling\022\020\n" @@ -1479,16 +1568,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034ParallelstoreCsiDriverConfig\022\017\n" + "\007enabled\030\001 \001(\010\"/\n" + "\034HighScaleCheckpointingConfig\022\017\n" - + "\007enabled\030\001 \001(\010\"K\n" + + "\007enabled\030\001 \001(\010\"O\n" + "\025LustreCsiDriverConfig\022\017\n" - + "\007enabled\030\001 \001(\010\022!\n" - + "\031enable_legacy_lustre_port\030\003 \001(\010\"\342\001\n" + + "\007enabled\030\001 \001(\010\022%\n" + + "\031enable_legacy_lustre_port\030\003 \001(\010B\002\030\001\"\342\001\n" + "\021RayOperatorConfig\022\017\n" + "\007enabled\030\001 \001(\010\022Z\n" - + "\032ray_cluster_logging_config\030\002 \001(\01321.goog" - + "le.container.v1beta1.RayClusterLoggingConfigB\003\340A\001\022`\n" - + "\035ray_cluster_monitoring_config\030\003" - + " \001(\01324.google.container.v1beta1.RayClusterMonitoringConfigB\003\340A\001\"9\n" + + "\032ray_cluster_logging_config\030\002 \001(\01321.google.cont" + + "ainer.v1beta1.RayClusterLoggingConfigB\003\340A\001\022`\n" + + "\035ray_cluster_monitoring_config\030\003 \001(" + + "\01324.google.container.v1beta1.RayClusterMonitoringConfigB\003\340A\001\"9\n" + "&PrivateClusterMasterGlobalAccessConfig\022\017\n" + "\007enabled\030\001 \001(\010\"\355\002\n" + "\024PrivateClusterConfig\022 \n" @@ -1498,29 +1587,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020private_endpoint\030\004 \001(\tB\005\030\001\340A\003\022\036\n" + "\017public_endpoint\030\005 \001(\tB\005\030\001\340A\003\022\031\n" + "\014peering_name\030\007 \001(\tB\003\340A\003\022i\n" - + "\033master_global_access_config\030\010 \001(\0132@.google.contain" - + "er.v1beta1.PrivateClusterMasterGlobalAccessConfigB\002\030\001\022\'\n" + + "\033master_global_access_config\030\010 \001(\0132@.google.container.v1be", + "ta1.PrivateClusterMasterGlobalAccessConfigB\002\030\001\022\'\n" + "\033private_endpoint_subnetwork\030\n" + " \001(\tB\002\030\001\"\237\001\n" + "\013IstioConfig\022\024\n" + "\010disabled\030\001 \001(\010B\002\030\001\022E\n" - + "\004auth\030\002 \001(\01623.google.cont" - + "ainer.v1beta1.IstioConfig.IstioAuthModeB\002\030\001\"3\n\r" + + "\004auth\030\002" + + " \001(\01623.google.container.v1beta1.IstioConfig.IstioAuthModeB\002\030\001\"3\n\r" + "IstioAuthMode\022\r\n" + "\tAUTH_NONE\020\000\022\023\n" + "\017AUTH_MUTUAL_TLS\020\001\"\363\001\n" + "\016CloudRunConfig\022\020\n" + "\010disabled\030\001 \001(\010\022U\n" - + "\022load_balancer_type\030\003 \001(" - + "\01629.google.container.v1beta1.CloudRunConfig.LoadBalancerType\"x\n" + + "\022load_balancer_type\030\003 \001(\01629.goo" + + "gle.container.v1beta1.CloudRunConfig.LoadBalancerType\"x\n" + "\020LoadBalancerType\022\"\n" + "\036LOAD_BALANCER_TYPE_UNSPECIFIED\020\000\022\037\n" + "\033LOAD_BALANCER_TYPE_EXTERNAL\020\001\022\037\n" + "\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\357\002\n" + "\036MasterAuthorizedNetworksConfig\022\017\n" + "\007enabled\030\001 \001(\010\022W\n" - + "\013cidr_blocks\030\002 \003(\0132B.google.container.v1bet" - + "a1.MasterAuthorizedNetworksConfig.CidrBlock\022,\n" + + "\013cidr_blocks\030\002" + + " \003(\0132B.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock\022,\n" + "\037gcp_public_cidrs_access_enabled\030\003 \001(\010H\000\210\001\001\0221\n" + "$private_endpoint_enforcement_enabled\030\005 \001(\010H\001\210\001\001\0325\n" + "\tCidrBlock\022\024\n" @@ -1538,7 +1627,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024PROVIDER_UNSPECIFIED\020\000\022\n\n" + "\006CALICO\020\001\"-\n" + "\032PodCIDROverprovisionConfig\022\017\n" - + "\007disable\030\001 \001(\010\"\322\t\n" + + "\007disable\030\001 \001(\010\"\234\n\n" + "\022IPAllocationPolicy\022\026\n" + "\016use_ip_aliases\030\001 \001(\010\022\031\n" + "\021create_subnetwork\030\002 \001(\010\022\027\n" @@ -1553,25 +1642,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\t\022 \n" + "\030services_ipv4_cidr_block\030\013 \001(\t\022\033\n" + "\023allow_route_overlap\030\014 \001(\010\022\037\n" - + "\023tpu_ipv4_cidr_block\030", - "\r" + + "\023tpu_ipv4_cidr_block\030\r" + " \001(\tB\002\030\001\022\022\n\n" + "use_routes\030\017 \001(\010\022J\n\n" - + "stack_type\030\020" - + " \001(\01626.google.container.v1beta1.IPAllocationPolicy.StackType\022U\n" + + "stack_type\030\020 \001" + + "(\01626.google.container.v1beta1.IPAllocationPolicy.StackType\022U\n" + "\020ipv6_access_type\030\021" + " \001(\0162;.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType\022[\n" - + "\035pod_cidr_overprovision_config\030\025 \001(\01324.google" - + ".container.v1beta1.PodCIDROverprovisionConfig\022#\n" + + "\035pod_cidr_overprovision_config\030\025 \001(\01324.google.contai" + + "ner.v1beta1.PodCIDROverprovisionConfig\022#\n" + "\026subnet_ipv6_cidr_block\030\026 \001(\tB\003\340A\003\022%\n" + "\030services_ipv6_cidr_block\030\027 \001(\tB\003\340A\003\022^\n" - + "\034additional_pod_ranges_config\030\030 \001(\0132" - + "3.google.container.v1beta1.AdditionalPodRangesConfigB\003\340A\003\022/\n" + + "\034additional_pod_ranges_config\030\030 \001(\01323.googl" + + "e.container.v1beta1.AdditionalPodRangesConfigB\003\340A\003\022/\n" + "\"default_pod_ipv4_range_utilization\030\031 \001(\001B\003\340A\003\022]\n" - + "\034additional_ip_ranges_configs\030\035 \003(\01322.google.contai" - + "ner.v1beta1.AdditionalIPRangesConfigB\003\340A\003\022G\n" + + "\034additional_ip_ranges_configs\030\035" + + " \003(\01322.google.container.v1beta1.AdditionalIPRangesConfigB\003\340A\003\022G\n" + "\020auto_ipam_config\030\036" - + " \001(\0132(.google.container.v1beta1.AutoIpamConfigB\003\340A\001\"@\n" + + " \001(\0132(.google.container.v1beta1.AutoIpamConfigB\003\340A\001\022H\n" + + "\023network_tier_config\030\037" + + " \001(\0132+.google.container.v1beta1.NetworkTierConfig\"@\n" + "\tStackType\022\032\n" + "\026STACK_TYPE_UNSPECIFIED\020\000\022\010\n" + "\004IPV4\020\001\022\r\n" @@ -1582,10 +1672,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010EXTERNAL\020\002\"\300\003\n" + "\023BinaryAuthorization\022\023\n" + "\007enabled\030\001 \001(\010B\002\030\001\022U\n" - + "\017evaluation_mode\030\002" - + " \001(\0162<.google.container.v1beta1.BinaryAuthorization.EvaluationMode\022Y\n" - + "\017policy_bindings\030\005 \003(\0132;.google.container.v1b" - + "eta1.BinaryAuthorization.PolicyBindingB\003\340A\001\032+\n\r" + + "\017evaluation_mode\030\002 \001(\0162<." + + "google.container.v1beta1.BinaryAuthorization.EvaluationMode\022Y\n" + + "\017policy_bindings\030\005" + + " \003(\0132;.google.container.v1beta1.BinaryAuthorization.PolicyBindingB\003\340A\001\032+\n\r" + "PolicyBinding\022\021\n" + "\004name\030\001 \001(\tH\000\210\001\001B\007\n" + "\005_name\"\264\001\n" @@ -1606,13 +1696,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013UNSPECIFIED\020\000\022\014\n" + "\010DISABLED\020\001\022\013\n" + "\007ENABLED\020\002\022\017\n" - + "\013SYSTEM_ONLY\020\003\"\324(\n" + + "\013SYSTEM_ONLY\020\003\"\241)\n" + "\007Cluster\022\014\n" + "\004name\030\001 \001(\t\022\023\n" + "\013description\030\002 \001(\t\022\036\n" + "\022initial_node_count\030\003 \001(\005B\002\030\001\022=\n" - + "\013node_config\030\004 \001(\0132$" - + ".google.container.v1beta1.NodeConfigB\002\030\001\0229\n" + + "\013node_config\030\004" + + " \001(\0132$.google.container.v1beta1.NodeConfigB\002\030\001\0229\n" + "\013master_auth\030\005 \001(\0132$.google.container.v1beta1.MasterAuth\022\027\n" + "\017logging_service\030\006 \001(\t\022\032\n" + "\022monitoring_service\030\007 \001(\t\022\017\n" @@ -1626,59 +1716,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\t\022\037\n" + "\027enable_kubernetes_alpha\030\016 \001(\010\022$\n" + "\033alpha_cluster_feature_gates\030\240\001 \003(\t\022I\n" - + "\024enable_k8s_beta_apis\030\217\001" - + " \001(\0132*.google.container.v1beta1.K8sBetaAPIConfig\022N\n" - + "\017resource_labels\030\017" - + " \003(\01325.google.container.v1beta1.Cluster.ResourceLabelsEntry\022\031\n" + + "\024enable_k8s_beta_apis\030\217\001 " + + "\001(\0132*.google.container.v1beta1.K8sBetaAPIConfig\022N\n" + + "\017resource_labels\030\017 \003(\01325.googl" + + "e.container.v1beta1.Cluster.ResourceLabelsEntry\022\031\n" + "\021label_fingerprint\030\020 \001(\t\0229\n" + "\013legacy_abac\030\022 \001(\0132$.google.container.v1beta1.LegacyAbac\022?\n" + "\016network_policy\030\023 \001(\0132\'.google.container.v1beta1.NetworkPolicy\022J\n" - + "\024ip_allocation_policy\030\024 \001(" - + "\0132,.google.container.v1beta1.IPAllocationPolicy\022g\n" - + "!master_authorized_networks_config\030\026" - + " \001(\01328.google.container.v1beta1.MasterAuthorizedNetworksConfigB\002\030\001\022G\n" + + "\024ip_allocation_policy\030\024" + + " \001(\0132,.google.container.v1beta1.IPAllocationPolicy\022g\n" + + "!master_authorized_networks_config\030\026 \001(\01328." + + "google.container.v1beta1.MasterAuthorizedNetworksConfigB\002\030\001\022G\n" + "\022maintenance_policy\030\027" + " \001(\0132+.google.container.v1beta1.MaintenancePolicy\022K\n" - + "\024binary_authorization\030\030" - + " \001(\0132-.google.container.v1beta1.BinaryAuthorization\022U\n" + + "\024binary_authorization\030\030 \001" + + "(\0132-.google.container.v1beta1.BinaryAuthorization\022U\n" + "\032pod_security_policy_config\030\031" + " \001(\01321.google.container.v1beta1.PodSecurityPolicyConfig\022A\n" + "\013autoscaling\030\032 \001(\0132,.google.container.v1beta1.ClusterAutoscaling\022?\n" - + "\016network_config\030\033 \001(\013" - + "2\'.google.container.v1beta1.NetworkConfig\022\033\n" + + "\016network_config\030\033" + + " \001(\0132\'.google.container.v1beta1.NetworkConfig\022\033\n" + "\017private_cluster\030\034 \001(\010B\002\030\001\022\"\n" + "\026master_ipv4_cidr_block\030\035 \001(\tB\002\030\001\022P\n" + "\033default_max_pods_constraint\030\036" + " \001(\0132+.google.container.v1beta1.MaxPodsConstraint\022Y\n" - + "\034resource_usage_export_config\030! \001(\01323.google.cont" - + "ainer.v1beta1.ResourceUsageExportConfig\022X\n" - + "\033authenticator_groups_config\030\" \001(\01323.g" - + "oogle.container.v1beta1.AuthenticatorGroupsConfig\022N\n" - + "\026private_cluster_config\030% \001(" - + "\0132..google.container.v1beta1.PrivateClusterConfig\022R\n" - + "\030vertical_pod_autoscaling\030\' " - + "\001(\01320.google.container.v1beta1.VerticalPodAutoscaling\022?\n" + + "\034resource_usage_export_config\030!" + + " \001(\01323.google.container.v1beta1.ResourceUsageExportConfig\022X\n" + + "\033authenticator_groups_config\030\"" + + " \001(\01323.google.container.v1beta1.AuthenticatorGroupsConfig\022N\n" + + "\026private_cluster_config\030%" + + " \001(\0132..google.container.v1beta1.PrivateClusterConfig\022R\n" + + "\030vertical_pod_autoscaling\030\' \001(\01320.google." + + "container.v1beta1.VerticalPodAutoscaling\022?\n" + "\016shielded_nodes\030( \001(\0132\'.google.container.v1beta1.ShieldedNodes\022A\n" + "\017release_channel\030) \001(\0132(.google.container.v1beta1.ReleaseChannel\022R\n" + "\030workload_identity_config\030+" + " \001(\01320.google.container.v1beta1.WorkloadIdentityConfig\022M\n" + "\025workload_certificates\0304" + " \001(\0132..google.container.v1beta1.WorkloadCertificates\022E\n" - + "\021mesh_certificates\030C" - + " \001(\0132*.google.container.v1beta1.MeshCertificates\022J\n" - + "\024workload_alts_config\0305" - + " \001(\0132,.google.container.v1beta1.WorkloadALTSConfig\022N\n" - + "\026cost_management_config\030-" - + " \001(\0132..google.container.v1beta1.CostManagementConfig\022E\n" - + "\021cluster_telemetry\030. \001" - + "(\0132*.google.container.v1beta1.ClusterTelemetry\022;\n\n" + + "\021mesh_certificates\030C \001" + + "(\0132*.google.container.v1beta1.MeshCertificates\022J\n" + + "\024workload_alts_config\0305 \001(\0132,.g" + + "oogle.container.v1beta1.WorkloadALTSConfig\022N\n" + + "\026cost_management_config\030- \001(\0132..goo" + + "gle.container.v1beta1.CostManagementConfig\022E\n" + + "\021cluster_telemetry\030." + + " \001(\0132*.google.container.v1beta1.ClusterTelemetry\022;\n\n" + "tpu_config\030/ \001(\0132#.google.container.v1beta1.TpuConfigB\002\030\001\022I\n" - + "\023notification_config\0301" - + " \001(\0132,.google.container.v1beta1.NotificationConfig\022G\n" - + "\022confidential_nodes\0302" - + " \001(\0132+.google.container.v1beta1.ConfidentialNodes\022P\n" - + "\027identity_service_config\0306" - + " \001(\0132/.google.container.v1beta1.IdentityServiceConfig\022\026\n" + + "\023notification_config\0301 " + + "\001(\0132,.google.container.v1beta1.NotificationConfig\022G\n" + + "\022confidential_nodes\0302 \001(\0132+." + + "google.container.v1beta1.ConfidentialNodes\022P\n" + + "\027identity_service_config\0306 \001(\0132/.go" + + "ogle.container.v1beta1.IdentityServiceConfig\022\026\n" + "\tself_link\030d \001(\tB\003\340A\003\022\023\n" + "\004zone\030e \001(\tB\005\030\001\340A\003\022\025\n" + "\010endpoint\030f \001(\tB\003\340A\003\022\037\n" @@ -1686,8 +1776,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026current_master_version\030h \001(\tB\003\340A\003\022#\n" + "\024current_node_version\030i \001(\tB\005\030\001\340A\003\022\030\n" + "\013create_time\030j \001(\tB\003\340A\003\022=\n" - + "\006status\030k \001(\0162(.goo" - + "gle.container.v1beta1.Cluster.StatusB\003\340A\003\022\035\n" + + "\006status\030k" + + " \001(\0162(.google.container.v1beta1.Cluster.StatusB\003\340A\003\022\035\n" + "\016status_message\030l \001(\tB\005\030\001\340A\003\022 \n" + "\023node_ipv4_cidr_size\030m \001(\005B\003\340A\003\022\037\n" + "\022services_ipv4_cidr\030n \001(\tB\003\340A\003\022\"\n" @@ -1703,12 +1793,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006master\030| \001(\0132 .google.container.v1beta1.Master\0227\n" + "\tautopilot\030\200\001 \001(\0132#.google.container.v1beta1.Autopilot\022\020\n" + "\002id\030\201\001 \001(\tB\003\340A\003\022L\n" - + "\022node_pool_defaults\030\203\001" - + " \001(\0132*.google.container.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n" + + "\022node_pool_defaults\030\203\001 \001(\0132*" + + ".google.container.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n" + "\016logging_config\030\204\001" + " \001(\0132\'.google.container.v1beta1.LoggingConfig\022F\n" - + "\021monitoring_config\030\205\001 \001(\0132*.goo" - + "gle.container.v1beta1.MonitoringConfig\022L\n" + + "\021monitoring_config\030\205\001" + + " \001(\0132*.google.container.v1beta1.MonitoringConfig\022L\n" + "\025node_pool_auto_config\030\210\001" + " \001(\0132,.google.container.v1beta1.NodePoolAutoConfig\022I\n" + "\016protect_config\030\211\001" @@ -1717,26 +1807,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132(.google.container.v1beta1.PodAutoscaling\022\r\n" + "\004etag\030\213\001 \001(\t\022/\n" + "\005fleet\030\214\001 \001(\0132\037.google.container.v1beta1.Fleet\022Q\n" - + "\027security_posture_config\030\221\001 \001(\0132/." - + "google.container.v1beta1.SecurityPostureConfig\022^\n" - + "\036control_plane_endpoints_config\030\222\001" - + " \001(\01325.google.container.v1beta1.ControlPlaneEndpointsConfig\022F\n" - + "\021enterprise_config\030\225\001" - + " \001(\0132*.google.container.v1beta1.EnterpriseConfig\022M\n" - + "\025secret_manager_config\030\226\001" - + " \001(\0132-.google.container.v1beta1.SecretManagerConfig\022U\n" - + "\031compliance_posture_config\030\227\001" - + " \001(\01321.google.container.v1beta1.CompliancePostureConfig\022 \n\r" + + "\027security_posture_config\030\221\001" + + " \001(\0132/.google.container.v1beta1.SecurityPostureConfig\022^\n" + + "\036control_plane_endpoints_config\030\222\001 \001(\01325.goo" + + "gle.container.v1beta1.ControlPlaneEndpointsConfig\022J\n" + + "\021enterprise_config\030\225\001 \001(\0132*." + + "google.container.v1beta1.EnterpriseConfigB\002\030\001\022M\n" + + "\025secret_manager_config\030\226\001 \001(\0132-." + + "google.container.v1beta1.SecretManagerConfig\022U\n" + + "\031compliance_posture_config\030\227\001 \001(\013" + + "21.google.container.v1beta1.CompliancePostureConfig\022 \n\r" + "satisfies_pzs\030\230\001 \001(\010B\003\340A\003H\002\210\001\001\022 \n\r" + "satisfies_pzi\030\231\001 \001(\010B\003\340A\003H\003\210\001\001\022W\n" - + "\030user_managed_keys_config\030\232\001 " - + "\001(\0132/.google.container.v1beta1.UserManagedKeysConfigH\004\210\001\001\022N\n" - + "\023rbac_binding_config\030\234\001" - + " \001(\0132+.google.container.v1beta1.RBACBindingConfigH\005\210\001\001\022P\n" - + "\027gke_auto_upgrade_config\030\243\001" - + " \001(\0132..google.container.v1beta1.GkeAutoUpgradeConfig\022a\n" - + "\037anonymous_authentication_config\030\244\001 \001(\01327.google.container" - + ".v1beta1.AnonymousAuthenticationConfig\0325\n" + + "\030user_managed_keys_config\030\232\001 \001(\0132/.goo" + + "gle.container.v1beta1.UserManagedKeysConfigH\004\210\001\001\022N\n" + + "\023rbac_binding_config\030\234\001 \001(\0132+" + + ".google.container.v1beta1.RBACBindingConfigH\005\210\001\001\022P\n" + + "\027gke_auto_upgrade_config\030\243\001 \001" + + "(\0132..google.container.v1beta1.GkeAutoUpgradeConfig\022a\n" + + "\037anonymous_authentication_config\030\244\001" + + " \001(\01327.google.container.v1beta1.AnonymousAuthenticationConfig\022G\n" + + "\022secret_sync_config\030\246\001" + + " \001(\0132*.google.container.v1beta1.SecretSyncConfig\0325\n" + "\023ResourceLabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"w\n" @@ -1760,7 +1852,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ",enable_insecure_binding_system_authenticated\030\002 \001(\010H\001\210\001\001B1\n" + "/_enable_insecure_binding_system_unauthenticatedB/\n" + "-_enable_insecure_binding_system_authenticated\"\351\004\n" - + "\025UserManagedKeysConfig\0228\n\n" + + "\025UserManagedKeysConfig\0228\n" + + "\n" + "cluster_ca\030\n" + " \001(\tB$\372A!\n" + "\037privateca.googleapis.com/CaPool\0229\n" @@ -1780,17 +1873,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!gkeops_etcd_backup_encryption_key\030\021 \001(\tB-\372A*\n" + "(cloudkms.googleapis.com/CryptoKeyVersion\"\243\001\n" + "\035AnonymousAuthenticationConfig\022J\n" - + "\004mode\030\001" - + " \001(\0162<.google.container.v1beta1.AnonymousAuthenticationConfig.Mode\"6\n" + + "\004mode\030\001 \001(\0162" + + "<.google.container.v1beta1.AnonymousAuthenticationConfig.Mode\"6\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\013\n" + "\007ENABLED\020\001\022\013\n" + "\007LIMITED\020\002\"\304\002\n" + "\027CompliancePostureConfig\022I\n" - + "\004mode\030\001" - + " \001(\01626.google.container.v1beta1.CompliancePostureConfig.ModeH\000\210\001\001\022b\n" - + "\024compliance_standards\030\002 \003(\0132D.google.cont" - + "ainer.v1beta1.CompliancePostureConfig.ComplianceStandard\0328\n" + + "\004mode\030\001 \001(\0162" + + "6.google.container.v1beta1.CompliancePostureConfig.ModeH\000\210\001\001\022b\n" + + "\024compliance_standards\030\002 \003(\0132D.google.container.v1beta1.Co" + + "mpliancePostureConfig.ComplianceStandard\0328\n" + "\022ComplianceStandard\022\025\n" + "\010standard\030\001 \001(\tH\000\210\001\001B\013\n" + "\t_standard\"7\n" @@ -1814,8 +1907,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ProtectConfig\022F\n" + "\017workload_config\030\001" + " \001(\0132(.google.container.v1beta1.WorkloadConfigH\000\210\001\001\022k\n" - + "\033workload_vulnerability_mode\030\002 \001(\0162A.google.co" - + "ntainer.v1beta1.ProtectConfig.WorkloadVulnerabilityModeH\001\210\001\001\"a\n" + + "\033workload_vulnerability_mode\030\002 \001(\0162A.google.container.v1beta1." + + "ProtectConfig.WorkloadVulnerabilityModeH\001\210\001\001\"a\n" + "\031WorkloadVulnerabilityMode\022+\n" + "\'WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED\020\000\022\014\n" + "\010DISABLED\020\001\022\t\n" @@ -1823,10 +1916,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020_workload_configB\036\n" + "\034_workload_vulnerability_mode\"\270\003\n" + "\025SecurityPostureConfig\022G\n" - + "\004mode\030\001" - + " \001(\01624.google.container.v1beta1.SecurityPostureConfig.ModeH\000\210\001\001\022b\n" - + "\022vulnerability_mode\030\002 \001(\0162A.google.container.v1" - + "beta1.SecurityPostureConfig.VulnerabilityModeH\001\210\001\001\"E\n" + + "\004mode\030\001 \001(\01624.go" + + "ogle.container.v1beta1.SecurityPostureConfig.ModeH\000\210\001\001\022b\n" + + "\022vulnerability_mode\030\002 \001" + + "(\0162A.google.container.v1beta1.SecurityPostureConfig.VulnerabilityModeH\001\210\001\001\"E\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\014\n" + "\010DISABLED\020\001\022\t\n" @@ -1844,101 +1937,101 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132,.google.container.v1beta1.NodeConfigDefaults\"\373\002\n" + "\022NodeConfigDefaults\0229\n" + "\013gcfs_config\030\001 \001(\0132$.google.container.v1beta1.GcfsConfig\022G\n" - + "\016logging_config\030\003" - + " \001(\0132/.google.container.v1beta1.NodePoolLoggingConfig\022E\n" - + "\021containerd_config\030\004" - + " \001(\0132*.google.container.v1beta1.ContainerdConfig\022P\n" - + "\027host_maintenance_policy\030\005" - + " \001(\0132/.google.container.v1beta1.HostMaintenancePolicy\022H\n" + + "\016logging_config\030\003 \001(\013" + + "2/.google.container.v1beta1.NodePoolLoggingConfig\022E\n" + + "\021containerd_config\030\004 \001(\0132*.g" + + "oogle.container.v1beta1.ContainerdConfig\022P\n" + + "\027host_maintenance_policy\030\005 \001(\0132/.goog" + + "le.container.v1beta1.HostMaintenancePolicy\022H\n" + "\023node_kubelet_config\030\006" + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\"\264\002\n" + "\022NodePoolAutoConfig\022;\n" + "\014network_tags\030\001 \001(\0132%.google.container.v1beta1.NetworkTags\022L\n" - + "\025resource_manager_tags\030\002" - + " \001(\0132-.google.container.v1beta1.ResourceManagerTags\022H\n" - + "\023node_kubelet_config\030\003 " - + "\001(\0132+.google.container.v1beta1.NodeKubeletConfig\022I\n" - + "\021linux_node_config\030\004 \001(\0132).go" - + "ogle.container.v1beta1.LinuxNodeConfigB\003\340A\003\"\3144\n\r" + + "\025resource_manager_tags\030\002 \001(\0132-.google" + + ".container.v1beta1.ResourceManagerTags\022H\n" + + "\023node_kubelet_config\030\003" + + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\022I\n" + + "\021linux_node_config\030\004" + + " \001(\0132).google.container.v1beta1.LinuxNodeConfigB\003\340A\003\"\2435\n\r" + "ClusterUpdate\022\034\n" + "\024desired_node_version\030\004 \001(\t\022\"\n" + "\032desired_monitoring_service\030\005 \001(\t\022E\n" - + "\025desired_addons_config\030\006 \001(\0132&" - + ".google.container.v1beta1.AddonsConfig\022\034\n" + + "\025desired_addons_config\030\006" + + " \001(\0132&.google.container.v1beta1.AddonsConfig\022\034\n" + "\024desired_node_pool_id\030\007 \001(\t\022\032\n" + "\022desired_image_type\030\010 \001(\t\022T\n" - + "\035desired_node_pool_autoscaling\030\t" - + " \001(\0132-.google.container.v1beta1.NodePoolAutoscaling\022\031\n" + + "\035desired_node_pool_autoscaling\030\t \001(\0132" + + "-.google.container.v1beta1.NodePoolAutoscaling\022\031\n" + "\021desired_locations\030\n" + " \003(\t\022o\n" - + ")desired_master_authorized_networks_config\030\014 \001(\01328.google.container." - + "v1beta1.MasterAuthorizedNetworksConfigB\002\030\001\022]\n" - + "\"desired_pod_security_policy_config\030\016" - + " \001(\01321.google.container.v1beta1.PodSecurityPolicyConfig\022Q\n" - + "\033desired_cluster_autoscaling\030\017" - + " \001(\0132,.google.container.v1beta1.ClusterAutoscaling\022S\n" - + "\034desired_binary_authorization\030\020" - + " \001(\0132-.google.container.v1beta1.BinaryAuthorization\022\037\n" + + ")desired_master_authorized_networks_config\030\014" + + " \001(\01328.google.container.v1beta1.MasterAuthorizedNetworksConfigB\002\030\001\022]\n" + + "\"desired_pod_security_policy_config\030\016 \001(\01321.google." + + "container.v1beta1.PodSecurityPolicyConfig\022Q\n" + + "\033desired_cluster_autoscaling\030\017 \001(\0132," + + ".google.container.v1beta1.ClusterAutoscaling\022S\n" + + "\034desired_binary_authorization\030\020 \001" + + "(\0132-.google.container.v1beta1.BinaryAuthorization\022\037\n" + "\027desired_logging_service\030\023 \001(\t\022a\n" + "$desired_resource_usage_export_config\030\025" + " \001(\01323.google.container.v1beta1.ResourceUsageExportConfig\022Z\n" - + " desired_vertical_pod_autoscaling\030\026 \001(\0132" - + "0.google.container.v1beta1.VerticalPodAutoscaling\022Z\n" - + "\036desired_private_cluster_config\030\031" - + " \001(\0132..google.container.v1beta1.PrivateClusterConfigB\002\030\001\022a\n" - + "$desired_intra_node_visibility_config\030\032 \001(\01323.google.con" - + "tainer.v1beta1.IntraNodeVisibilityConfig\022P\n" - + "\033desired_default_snat_status\030\034 \001(\0132+." - + "google.container.v1beta1.DefaultSnatStatus\022M\n" - + "\031desired_cluster_telemetry\030\036 \001(\0132*." - + "google.container.v1beta1.ClusterTelemetry\022I\n" + + " desired_vertical_pod_autoscaling\030\026" + + " \001(\01320.google.container.v1beta1.VerticalPodAutoscaling\022Z\n" + + "\036desired_private_cluster_config\030\031 \001(\0132..goog" + + "le.container.v1beta1.PrivateClusterConfigB\002\030\001\022a\n" + + "$desired_intra_node_visibility_config\030\032" + + " \001(\01323.google.container.v1beta1.IntraNodeVisibilityConfig\022P\n" + + "\033desired_default_snat_status\030\034" + + " \001(\0132+.google.container.v1beta1.DefaultSnatStatus\022M\n" + + "\031desired_cluster_telemetry\030\036" + + " \001(\0132*.google.container.v1beta1.ClusterTelemetry\022I\n" + "\027desired_release_channel\030\037" + " \001(\0132(.google.container.v1beta1.ReleaseChannel\022R\n" - + "\026private_cluster_config\030% \001(\0132..google.co" - + "ntainer.v1beta1.PrivateClusterConfigB\002\030\001\022C\n" + + "\026private_cluster_config\030%" + + " \001(\0132..google.container.v1beta1.PrivateClusterConfigB\002\030\001\022C\n" + "\022desired_tpu_config\030&" + " \001(\0132#.google.container.v1beta1.TpuConfigB\002\030\001\022V\n" + "\037desired_l4ilb_subsetting_config\030\'" + " \001(\0132-.google.container.v1beta1.ILBSubsettingConfig\022M\n" + "\031desired_datapath_provider\0302" + " \001(\0162*.google.container.v1beta1.DatapathProvider\022]\n" - + "\"desired_private_ipv6_google_access\0303 \001(\016" - + "21.google.container.v1beta1.PrivateIPv6GoogleAccess\022Q\n" - + "\033desired_notification_config\0307" - + " \001(\0132,.google.container.v1beta1.NotificationConfig\022\036\n" + + "\"desired_private_ipv6_google_access\0303" + + " \001(\01621.google.container.v1beta1.PrivateIPv6GoogleAccess\022Q\n" + + "\033desired_notification_config\0307 \001(\0132,.googl" + + "e.container.v1beta1.NotificationConfig\022\036\n" + "\026desired_master_version\030d \001(\t\022A\n" + "\023desired_gcfs_config\030m \001(\0132$.google.container.v1beta1.GcfsConfig\022Q\n" + "\033desired_database_encryption\030." + " \001(\0132,.google.container.v1beta1.DatabaseEncryption\022Z\n" - + " desired_workload_identity_config\030/ \001(\01320" - + ".google.container.v1beta1.WorkloadIdentityConfig\022U\n" - + "\035desired_workload_certificates\030=" - + " \001(\0132..google.container.v1beta1.WorkloadCertificates\022M\n" - + "\031desired_mesh_certificates\030C" - + " \001(\0132*.google.container.v1beta1.MeshCertificates\022R\n" - + "\034desired_workload_alts_config\030>" - + " \001(\0132,.google.container.v1beta1.WorkloadALTSConfig\022G\n" + + " desired_workload_identity_config\030/" + + " \001(\01320.google.container.v1beta1.WorkloadIdentityConfig\022U\n" + + "\035desired_workload_certificates\030= \001(\0132..google" + + ".container.v1beta1.WorkloadCertificates\022M\n" + + "\031desired_mesh_certificates\030C \001(\0132*.goo" + + "gle.container.v1beta1.MeshCertificates\022R\n" + + "\034desired_workload_alts_config\030> \001(\0132,.g" + + "oogle.container.v1beta1.WorkloadALTSConfig\022G\n" + "\026desired_shielded_nodes\0300" + " \001(\0132\'.google.container.v1beta1.ShieldedNodes\022V\n" - + "\036desired_cost_management_config\0301" - + " \001(\0132..google.container.v1beta1.CostManagementConfig\0228\n" + + "\036desired_cost_management_config\0301 \001(\0132..go" + + "ogle.container.v1beta1.CostManagementConfig\0228\n" + "\016desired_master\0304 \001(\0132 .google.container.v1beta1.Master\022?\n" + "\022desired_dns_config\0305 \001(\0132#.google.container.v1beta1.DNSConfig\022_\n" - + "#desired_service_external_ips_config\030< \001(\01322.google.con" - + "tainer.v1beta1.ServiceExternalIPsConfig\022`\n" - + "#desired_authenticator_groups_config\030?" - + " \001(\01323.google.container.v1beta1.AuthenticatorGroupsConfig\022G\n" + + "#desired_service_external_ips_config\030<" + + " \001(\01322.google.container.v1beta1.ServiceExternalIPsConfig\022`\n" + + "#desired_authenticator_groups_config\030? \001(\01323.google.co" + + "ntainer.v1beta1.AuthenticatorGroupsConfig\022G\n" + "\026desired_logging_config\030@" + " \001(\0132\'.google.container.v1beta1.LoggingConfig\022M\n" + "\031desired_monitoring_config\030A" + " \001(\0132*.google.container.v1beta1.MonitoringConfig\022X\n" - + "\037desired_identity_service_config\030B" - + " \001(\0132/.google.container.v1beta1.IdentityServiceConfig\0220\n" + + "\037desired_identity_service_config\030B \001(\0132/.goo" + + "gle.container.v1beta1.IdentityServiceConfig\0220\n" + "\037desired_enable_private_endpoint\030G" + " \001(\010B\002\030\001H\000\210\001\001\0221\n" + "$desired_default_enable_private_nodes\030H \001(\010H\001\210\001\001\022e\n" - + "&desired_control_plane_endpoints_config\030I" - + " \001(\01325.google.container.v1beta1.ControlPlaneEndpointsConfig\022Y\n" + + "&desired_control_plane_endpoints_config\030I \001(\01325.googl" + + "e.container.v1beta1.ControlPlaneEndpointsConfig\022Y\n" + "*desired_node_pool_auto_config_network_tags\030n" + " \001(\0132%.google.container.v1beta1.NetworkTags\022P\n" + "\026desired_protect_config\030p" @@ -1948,64 +2041,66 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032desired_gateway_api_config\030r" + " \001(\0132*.google.container.v1beta1.GatewayAPIConfig\022\014\n" + "\004etag\030s \001(\t\022Y\n" - + " desired_node_pool_logging_config\030t" - + " \001(\0132/.google.container.v1beta1.NodePoolLoggingConfig\0226\n\r" + + " desired_node_pool_logging_config\030t \001(\0132/.google" + + ".container.v1beta1.NodePoolLoggingConfig\0226\n\r" + "desired_fleet\030u \001(\0132\037.google.container.v1beta1.Fleet\022?\n" + "\022desired_stack_type\030w \001(\0162#.google.container.v1beta1.StackType\022Y\n" - + "\034additional_pod_ranges_config\030x" - + " \001(\01323.google.container.v1beta1.AdditionalPodRangesConfig\022a\n" - + "$removed_additional_pod_ranges_config\030y \001(\01323.goo" - + "gle.container.v1beta1.AdditionalPodRangesConfig\022H\n" - + "\024enable_k8s_beta_apis\030z \001(\0132*." - + "google.container.v1beta1.K8sBetaAPIConfig\022X\n" - + "\037desired_security_posture_config\030| \001" - + "(\0132/.google.container.v1beta1.SecurityPostureConfig\022s\n" - + "\"desired_network_performance_config\030} \001(\0132G.google.container.v1bet" - + "a1.NetworkConfig.ClusterNetworkPerformanceConfig\022/\n" + + "\034additional_pod_ranges_config\030x \001(\0132" + + "3.google.container.v1beta1.AdditionalPodRangesConfig\022a\n" + + "$removed_additional_pod_ranges_config\030y" + + " \001(\01323.google.container.v1beta1.AdditionalPodRangesConfig\022H\n" + + "\024enable_k8s_beta_apis\030z" + + " \001(\0132*.google.container.v1beta1.K8sBetaAPIConfig\022X\n" + + "\037desired_security_posture_config\030|" + + " \001(\0132/.google.container.v1beta1.SecurityPostureConfig\022s\n" + + "\"desired_network_performance_config\030} \001(\0132" + + "G.google.container.v1beta1.NetworkConfig.ClusterNetworkPerformanceConfig\022/\n" + "\"desired_enable_fqdn_network_policy\030~ \001(\010H\003\210\001\001\022a\n" - + "(desired_autopilot_workload_policy_config\030\200\001" - + " \001(\0132..google.container.v1beta1.WorkloadPolicyConfig\022J\n" + + "(desired_autopilot_workload_policy_c", + "onfig\030\200\001 \001(\0132..google.container.v1beta1.WorkloadPolicyConfig\022J\n" + "\025desired_k8s_beta_apis\030\203\001" + " \001(\0132*.google.container.v1beta1.K8sBetaAPIConfig\022Y\n" - + "\037desired_host_maintenance_policy\030\204\001 \001(\0132/.goo" - + "gle.container.v1beta1.HostMaintenancePolicy\022N\n" - + "\031desired_containerd_config\030\206\001 \001(\0132" - + "*.google.container.v1beta1.ContainerdConfig\022-\n" + + "\037desired_host_maintenance_policy\030\204\001" + + " \001(\0132/.google.container.v1beta1.HostMaintenancePolicy\022N\n" + + "\031desired_containerd_config\030\206\001" + + " \001(\0132*.google.container.v1beta1.ContainerdConfig\022-\n" + "\037desired_enable_multi_networking\030\207\001 \001(\010H\004\210\001\001\022k\n" - + "3desired_node_pool_auto_config_resource_manager_tags\030\210\001 \001(\0132-.googl" - + "e.container.v1beta1.ResourceManagerTags\022g\n" - + "$desired_in_transit_encryption_config\030\211\001" - + " \001(\01623.google.container.v1beta1.InTransitEncryptionConfigH\005\210\001\001\022>\n" + + "3desired_node_pool_auto_config_resource_manager_tags\030\210\001" + + " \001(\0132-.google.container.v1beta1.ResourceManagerTags\022g\n" + + "$desired_in_transit_encryption_config\030\211\001 \001(\01623.google." + + "container.v1beta1.InTransitEncryptionConfigH\005\210\001\001\022>\n" + "0desired_enable_cilium_clusterwide_network_policy\030\212\001" + " \001(\010H\006\210\001\001\022Z\n" - + "\035desired_secret_manager_config\030\213\001" - + " \001(\0132-.google.container.v1beta1.SecretManagerConfigH\007\210\001\001\022b\n" - + "!desired_compliance_posture_config\030\214\001 \001(\01321.google.contai" - + "ner.v1beta1.CompliancePostureConfigH\010\210\001\001\022Q\n" - + "\033desired_node_kubelet_config\030\215\001 \001(\0132+" - + ".google.container.v1beta1.NodeKubeletConfig\022b\n" - + ",desired_node_pool_auto_config_kubelet_config\030\216\001" - + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\022V\n" - + "\030user_managed_keys_config\030\217\001" - + " \001(\0132/.google.container.v1beta1.UserManagedKeysConfigB\002\030\001\022V\n" + + "\035desired_secret_manager_config\030\213\001 \001(\0132-.googl" + + "e.container.v1beta1.SecretManagerConfigH\007\210\001\001\022b\n" + + "!desired_compliance_posture_config\030\214\001" + + " \001(\01321.google.container.v1beta1.CompliancePostureConfigH\010\210\001\001\022Q\n" + + "\033desired_node_kubelet_config\030\215\001" + + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\022b\n" + + ",desired_node_pool_auto_config_kubelet_config\030\216\001 \001" + + "(\0132+.google.container.v1beta1.NodeKubeletConfig\022V\n" + + "\030user_managed_keys_config\030\217\001 \001" + + "(\0132/.google.container.v1beta1.UserManagedKeysConfigB\002\030\001\022V\n" + "\033desired_rbac_binding_config\030\220\001" + " \001(\0132+.google.container.v1beta1.RBACBindingConfigH\t\210\001\001\022g\n" - + "#desired_additional_ip_ranges_config\030\221\001" - + " \001(\01329.google.container.v1beta1.DesiredAdditionalIPRangesConfig\022U\n" + + "#desired_additional_ip_ranges_config\030\221\001 \001(\01329.google.c" + + "ontainer.v1beta1.DesiredAdditionalIPRangesConfig\022Y\n" + "\031desired_enterprise_config\030\223\001" - + " \001(\01321.google.container.v1beta1.DesiredEnterpriseConfig\022K\n" + + " \001(\01321.google.container.v1beta1.DesiredEnterpriseConfigB\002\030\001\022K\n" + "\030desired_auto_ipam_config\030\224\001" + " \001(\0132(.google.container.v1beta1.AutoIpamConfig\022;\n" + "-desired_disable_l4_lb_firewall_reconciliation\030\225\001 \001(\010H\n" + "\210\001\001\022c\n" + "/desired_node_pool_auto_config_linux_node_config\030\226\001" + " \001(\0132).google.container.v1beta1.LinuxNodeConfig\022Z\n" - + " desired_user_managed_keys_config\030\230\001 \001(\0132/.goog", - "le.container.v1beta1.UserManagedKeysConfig\022i\n" - + "\'desired_anonymous_authentication_config\030\234\001" - + " \001(\01327.google.container.v1beta1.AnonymousAuthenticationConfig\022P\n" + + " desired_user_managed_keys_config\030\230\001" + + " \001(\0132/.google.container.v1beta1.UserManagedKeysConfig\022i\n" + + "\'desired_anonymous_authentication_config\030\234\001 \001(\013" + + "27.google.container.v1beta1.AnonymousAuthenticationConfig\022P\n" + "\027gke_auto_upgrade_config\030\232\001" - + " \001(\0132..google.container.v1beta1.GkeAutoUpgradeConfigB\"\n" + + " \001(\0132..google.container.v1beta1.GkeAutoUpgradeConfig\022Q\n" + + "\033desired_network_tier_config\030\233\001" + + " \001(\0132+.google.container.v1beta1.NetworkTierConfigB\"\n" + " _desired_enable_private_endpointB\'\n" + "%_desired_default_enable_private_nodesB\031\n" + "\027_desired_protect_configB%\n" @@ -2021,26 +2116,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017pod_range_names\030\001 \003(\t\022@\n" + "\016pod_range_info\030\002" + " \003(\0132#.google.container.v1beta1.RangeInfoB\003\340A\003\"L\n" - + "\030AdditionalIPRangesConfig\022\022\n\n" + + "\030AdditionalIPRangesConfig\022\022\n" + + "\n" + "subnetwork\030\001 \001(\t\022\034\n" + "\024pod_ipv4_range_names\030\002 \003(\t\"{\n" + "\037DesiredAdditionalIPRangesConfig\022X\n" - + "\034additional_ip_ranges_configs\030\001" - + " \003(\01322.google.container.v1beta1.AdditionalIPRangesConfig\"\020\n" - + "\016AutoIpamConfig\">\n" - + "\tRangeInfo\022\027\n\n" + + "\034additional_ip_ranges_configs\030\001 \003(\013" + + "22.google.container.v1beta1.AdditionalIPRangesConfig\"2\n" + + "\016AutoIpamConfig\022\024\n" + + "\007enabled\030\001 \001(\010H\000\210\001\001B\n\n" + + "\010_enabled\">\n" + + "\tRangeInfo\022\027\n" + + "\n" + "range_name\030\001 \001(\tB\003\340A\003\022\030\n" - + "\013utilization\030\002 \001(\001B\003\340A\003\"g\n" + + "\013utilization\030\002 \001(\001B\003\340A\003\"k\n" + "\027DesiredEnterpriseConfig\022L\n" - + "\014desired_tier\030\001 \001(\01626.googl" - + "e.container.v1beta1.EnterpriseConfig.ClusterTier\"\375\010\n" + + "\014desired_tier\030\001 \001(\01626.google.container.v1b" + + "eta1.EnterpriseConfig.ClusterTier:\002\030\001\"\375\010\n" + "\tOperation\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\023\n" + "\004zone\030\002 \001(\tB\005\030\001\340A\003\022E\n" - + "\016operation_type\030\003" - + " \001(\0162(.google.container.v1beta1.Operation.TypeB\003\340A\003\022?\n" - + "\006status\030\004 \001(\0162*.google.c" - + "ontainer.v1beta1.Operation.StatusB\003\340A\003\022\023\n" + + "\016operation_type\030\003 \001(\0162(.go" + + "ogle.container.v1beta1.Operation.TypeB\003\340A\003\022?\n" + + "\006status\030\004" + + " \001(\0162*.google.container.v1beta1.Operation.StatusB\003\340A\003\022\023\n" + "\006detail\030\010 \001(\tB\003\340A\003\022\035\n" + "\016status_message\030\005 \001(\tB\005\030\001\340A\003\022\026\n" + "\tself_link\030\006 \001(\tB\003\340A\003\022\030\n" @@ -2049,8 +2148,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "start_time\030\n" + " \001(\tB\003\340A\003\022\025\n" + "\010end_time\030\013 \001(\tB\003\340A\003\022B\n" - + "\010progress\030\014 \001(\0132+.google.c" - + "ontainer.v1beta1.OperationProgressB\003\340A\003\022I\n" + + "\010progress\030\014" + + " \001(\0132+.google.container.v1beta1.OperationProgressB\003\340A\003\022I\n" + "\022cluster_conditions\030\r" + " \003(\0132).google.container.v1beta1.StatusConditionB\002\030\001\022J\n" + "\023nodepool_conditions\030\016" @@ -2087,8 +2186,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021OperationProgress\022\014\n" + "\004name\030\001 \001(\t\022:\n" + "\006status\030\002 \001(\0162*.google.container.v1beta1.Operation.Status\022C\n" - + "\007metrics\030\003 \003(\01322.goog" - + "le.container.v1beta1.OperationProgress.Metric\022;\n" + + "\007metrics\030\003" + + " \003(\01322.google.container.v1beta1.OperationProgress.Metric\022;\n" + "\006stages\030\004 \003(\0132+.google.container.v1beta1.OperationProgress\032i\n" + "\006Metric\022\021\n" + "\004name\030\001 \001(\tB\003\340A\002\022\023\n" @@ -2111,8 +2210,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022<\n" - + "\006update\030\004 \001(" - + "\0132\'.google.container.v1beta1.ClusterUpdateB\003\340A\002\022\014\n" + + "\006update\030\004" + + " \001(\0132\'.google.container.v1beta1.ClusterUpdateB\003\340A\002\022\014\n" + "\004name\030\005 \001(\t\"\335\r\n" + "\025UpdateNodePoolRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2123,28 +2222,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "image_type\030\006 \001(\tB\003\340A\002\022\021\n" + "\tlocations\030\r" + " \003(\t\022R\n" - + "\030workload_metadata_config\030\016" - + " \001(\01320.google.container.v1beta1.WorkloadMetadataConfig\022\014\n" + + "\030workload_metadata_config\030\016 \001(\01320.goog" + + "le.container.v1beta1.WorkloadMetadataConfig\022\014\n" + "\004name\030\010 \001(\t\022L\n" - + "\020upgrade_settings\030\017" - + " \001(\01322.google.container.v1beta1.NodePool.UpgradeSettings\0223\n" + + "\020upgrade_settings\030\017 " + + "\001(\01322.google.container.v1beta1.NodePool.UpgradeSettings\0223\n" + "\004tags\030\020 \001(\0132%.google.container.v1beta1.NetworkTags\0224\n" + "\006taints\030\021 \001(\0132$.google.container.v1beta1.NodeTaints\0224\n" + "\006labels\030\022 \001(\0132$.google.container.v1beta1.NodeLabels\022D\n" - + "\021linux_node_config\030\023" - + " \001(\0132).google.container.v1beta1.LinuxNodeConfig\022C\n" - + "\016kubelet_config\030\024 \001(" - + "\0132+.google.container.v1beta1.NodeKubeletConfig\022H\n" - + "\023node_network_config\030\025 \001(\0132+.go" - + "ogle.container.v1beta1.NodeNetworkConfig\0229\n" + + "\021linux_node_config\030\023 " + + "\001(\0132).google.container.v1beta1.LinuxNodeConfig\022C\n" + + "\016kubelet_config\030\024" + + " \001(\0132+.google.container.v1beta1.NodeKubeletConfig\022H\n" + + "\023node_network_config\030\025" + + " \001(\0132+.google.container.v1beta1.NodeNetworkConfig\0229\n" + "\013gcfs_config\030\026 \001(\0132$.google.container.v1beta1.GcfsConfig\022G\n" - + "\022confidential_nodes\030\027" - + " \001(\0132+.google.container.v1beta1.ConfidentialNodes\0223\n" + + "\022confidential_nodes\030\027 \001(\0132+.g" + + "oogle.container.v1beta1.ConfidentialNodes\0223\n" + "\005gvnic\030\035 \001(\0132$.google.container.v1beta1.VirtualNIC\022\014\n" + "\004etag\030\036 \001(\t\0229\n" + "\013fast_socket\030\037 \001(\0132$.google.container.v1beta1.FastSocket\022G\n" - + "\016logging_config\030 \001" - + "(\0132/.google.container.v1beta1.NodePoolLoggingConfig\022A\n" + + "\016logging_config\030 \001(\0132/.google" + + ".container.v1beta1.NodePoolLoggingConfig\022A\n" + "\017resource_labels\030! \001(\0132(.google.container.v1beta1.ResourceLabels\022H\n" + "\023windows_node_config\030\"" + " \001(\0132+.google.container.v1beta1.WindowsNodeConfig\022A\n" @@ -2152,12 +2251,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014machine_type\030$ \001(\tB\003\340A\001\022\026\n" + "\tdisk_type\030% \001(\tB\003\340A\001\022\031\n" + "\014disk_size_gb\030& \001(\003B\003\340A\001\022L\n" - + "\025resource_manager_tags\030\'" - + " \001(\0132-.google.container.v1beta1.ResourceManagerTags\022E\n" - + "\021containerd_config\030( \001" - + "(\0132*.google.container.v1beta1.ContainerdConfig\022R\n" - + "\023queued_provisioning\030* \001(\01325.go" - + "ogle.container.v1beta1.NodePool.QueuedProvisioning\022\025\n\r" + + "\025resource_manager_tags\030\' \001(\0132-." + + "google.container.v1beta1.ResourceManagerTags\022E\n" + + "\021containerd_config\030(" + + " \001(\0132*.google.container.v1beta1.ContainerdConfig\022R\n" + + "\023queued_provisioning\030* \001(\01325.google.contai" + + "ner.v1beta1.NodePool.QueuedProvisioning\022\025\n\r" + "storage_pools\030+ \003(\t\0223\n" + "\020max_run_duration\030- \001(\0132\031.google.protobuf.Duration\022\027\n\n" + "flex_start\030. \001(\010H\000\210\001\001\0225\n" @@ -2168,8 +2267,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022\030\n" + "\014node_pool_id\030\004 \001(\tB\002\030\001\022G\n" - + "\013autoscaling\030\005" - + " \001(\0132-.google.container.v1beta1.NodePoolAutoscalingB\003\340A\002\022\014\n" + + "\013autoscaling\030\005 \001(\0132-." + + "google.container.v1beta1.NodePoolAutoscalingB\003\340A\002\022\014\n" + "\004name\030\006 \001(\t\"\210\001\n" + "\030SetLoggingServiceRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2187,8 +2286,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022B\n\r" - + "addons_config\030\004 \001(\0132&.goo" - + "gle.container.v1beta1.AddonsConfigB\003\340A\002\022\014\n" + + "addons_config\030\004" + + " \001(\0132&.google.container.v1beta1.AddonsConfigB\003\340A\002\022\014\n" + "\004name\030\006 \001(\t\"}\n" + "\023SetLocationsRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2206,8 +2305,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022J\n" - + "\006action\030\004 \001(\01625.google.container." - + "v1beta1.SetMasterAuthRequest.ActionB\003\340A\002\0229\n" + + "\006action\030\004" + + " \001(\01625.google.container.v1beta1.SetMasterAuthRequest.ActionB\003\340A\002\0229\n" + "\006update\030\005" + " \001(\0132$.google.container.v1beta1.MasterAuthB\003\340A\002\022\014\n" + "\004name\030\007 \001(\t\"P\n" @@ -2255,17 +2354,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022default_image_type\030\004 \001(\t\022\031\n" + "\021valid_image_types\030\005 \003(\t\022\035\n" + "\025valid_master_versions\030\006 \003(\t\022M\n" - + "\010channels\030\t \003(\0132;.google.con" - + "tainer.v1beta1.ServerConfig.ReleaseChannelConfig\022\\\n" + + "\010channels\030\t" + + " \003(\0132;.google.container.v1beta1.ServerConfig.ReleaseChannelConfig\022\\\n" + "\024windows_version_maps\030\n" - + " \003(\0132>" - + ".google.container.v1beta1.ServerConfig.WindowsVersionMapsEntry\032\321\002\n" + + " \003(\0132>.google.con" + + "tainer.v1beta1.ServerConfig.WindowsVersionMapsEntry\032\321\002\n" + "\024ReleaseChannelConfig\022A\n" + "\007channel\030\001" + " \001(\01620.google.container.v1beta1.ReleaseChannel.Channel\022\027\n" + "\017default_version\030\002 \001(\t\022l\n" - + "\022available_versions\030\003 \003(\0132L.google.container.v1beta1.Serve" - + "rConfig.ReleaseChannelConfig.AvailableVersionB\002\030\001\022\026\n" + + "\022available_versions\030\003 \003(\0132L.google.container.v1beta1.ServerConfig.Rel" + + "easeChannelConfig.AvailableVersionB\002\030\001\022\026\n" + "\016valid_versions\030\004 \003(\t\022\036\n" + "\026upgrade_target_version\030\005 \001(\t\0327\n" + "\020AvailableVersion\022\017\n" @@ -2278,8 +2377,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007enabled\030\001 \001(\010\022\033\n" + "\023min_provision_nodes\030\002 \001(\005\"\314\001\n" + "\017WindowsVersions\022R\n" - + "\020windows_versions\030\001 \003(\01328.google.containe" - + "r.v1beta1.WindowsVersions.WindowsVersion\032e\n" + + "\020windows_versions\030\001" + + " \003(\01328.google.container.v1beta1.WindowsVersions.WindowsVersion\032e\n" + "\016WindowsVersion\022\022\n\n" + "image_type\030\001 \001(\t\022\022\n\n" + "os_version\030\002 \001(\t\022+\n" @@ -2288,8 +2387,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022:\n" - + "\tnode_pool\030\004" - + " \001(\0132\".google.container.v1beta1.NodePoolB\003\340A\002\022\016\n" + + "\tnode_pool\030\004 " + + "\001(\0132\".google.container.v1beta1.NodePoolB\003\340A\002\022\016\n" + "\006parent\030\006 \001(\t\"\201\001\n" + "\025DeleteNodePoolRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2307,12 +2406,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022\030\n" + "\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n" - + "\004name\030\006 \001(\t\"\251\004\n" + + "\004name\030\006 \001(\t\"\352\004\n" + "\021BlueGreenSettings\022d\n" - + "\027standard_rollout_policy\030\001 \001(\0132A.google.container.v1beta1." - + "BlueGreenSettings.StandardRolloutPolicyH\000\022h\n" - + "\031autoscaled_rollout_policy\030\003 \001(\0132C.g" - + "oogle.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicyH\000\022?\n" + + "\027standard_rollout_policy\030\001 \001(" + + "\0132A.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyH\000\022h\n" + + "\031autoscaled_rollout_policy\030\003 \001(\0132C.google.conta" + + "iner.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicyH\000\022?\n" + "\027node_pool_soak_duration\030\002" + " \001(\0132\031.google.protobuf.DurationH\001\210\001\001\032\271\001\n" + "\025StandardRolloutPolicy\022\032\n" @@ -2321,8 +2420,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023batch_soak_duration\030\003" + " \001(\0132\031.google.protobuf.DurationH\001\210\001\001B\023\n" + "\021update_batch_sizeB\026\n" - + "\024_batch_soak_duration\032\031\n" - + "\027AutoscaledRolloutPolicyB\020\n" + + "\024_batch_soak_duration\032Z\n" + + "\027AutoscaledRolloutPolicy\022?\n" + + "\027wait_for_drain_duration\030\001" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001B\020\n" + "\016rollout_policyB\032\n" + "\030_node_pool_soak_duration\"\301\021\n" + "\010NodePool\022\014\n" @@ -2331,47 +2432,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022initial_node_count\030\003 \001(\005\022\021\n" + "\tlocations\030\r" + " \003(\t\022C\n" - + "\016network_config\030\016" - + " \001(\0132+.google.container.v1beta1.NodeNetworkConfig\022\026\n" + + "\016network_config\030\016 \001(\0132" + + "+.google.container.v1beta1.NodeNetworkConfig\022\026\n" + "\tself_link\030d \001(\tB\003\340A\003\022\017\n" + "\007version\030e \001(\t\022 \n" + "\023instance_group_urls\030f \003(\tB\003\340A\003\022>\n" - + "\006status\030g \001(" - + "\0162).google.container.v1beta1.NodePool.StatusB\003\340A\003\022\035\n" + + "\006status\030g" + + " \001(\0162).google.container.v1beta1.NodePool.StatusB\003\340A\003\022\035\n" + "\016status_message\030h \001(\tB\005\030\001\340A\003\022B\n" - + "\013autoscaling\030\004" - + " \001(\0132-.google.container.v1beta1.NodePoolAutoscaling\022<\n\n" + + "\013autoscaling\030\004 \001(\0132-.go" + + "ogle.container.v1beta1.NodePoolAutoscaling\022<\n\n" + "management\030\005 \001(\0132(.google.container.v1beta1.NodeManagement\022H\n" - + "\023max_pods_constraint\030\006 \001(\0132" - + "+.google.container.v1beta1.MaxPodsConstraint\022=\n\n" + + "\023max_pods_constraint\030\006" + + " \001(\0132+.google.container.v1beta1.MaxPodsConstraint\022=\n\n" + "conditions\030i \003(\0132).google.container.v1beta1.StatusCondition\022\037\n" + "\022pod_ipv4_cidr_size\030\007 \001(\005B\003\340A\003\022L\n" + "\020upgrade_settings\030k" + " \001(\01322.google.container.v1beta1.NodePool.UpgradeSettings\022L\n" + "\020placement_policy\030l" + " \001(\01322.google.container.v1beta1.NodePool.PlacementPolicy\022G\n" - + "\013update_info\030m \001(\0132-." - + "google.container.v1beta1.NodePool.UpdateInfoB\003\340A\003\022\014\n" + + "\013update_info\030m" + + " \001(\0132-.google.container.v1beta1.NodePool.UpdateInfoB\003\340A\003\022\014\n" + "\004etag\030n \001(\t\022R\n" - + "\023queued_provisioning\030p" - + " \001(\01325.google.container.v1beta1.NodePool.QueuedProvisioning\022R\n" - + "\030best_effort_provisioning\030q" - + " \001(\01320.google.container.v1beta1.BestEffortProvisioning\032\372\001\n" + + "\023queued_provisioning\030p \001(\01325.google.cont" + + "ainer.v1beta1.NodePool.QueuedProvisioning\022R\n" + + "\030best_effort_provisioning\030q \001(\01320.go" + + "ogle.container.v1beta1.BestEffortProvisioning\032\372\001\n" + "\017UpgradeSettings\022\021\n" + "\tmax_surge\030\001 \001(\005\022\027\n" + "\017max_unavailable\030\002 \001(\005\022G\n" - + "\010strategy\030\003 \001(\01620.goog" - + "le.container.v1beta1.NodePoolUpdateStrategyH\000\210\001\001\022M\n" - + "\023blue_green_settings\030\004 \001(\0132+." - + "google.container.v1beta1.BlueGreenSettingsH\001\210\001\001B\013\n" + + "\010strategy\030\003" + + " \001(\01620.google.container.v1beta1.NodePoolUpdateStrategyH\000\210\001\001\022M\n" + + "\023blue_green_settings\030\004" + + " \001(\0132+.google.container.v1beta1.BlueGreenSettingsH\001\210\001\001B\013\n" + "\t_strategyB\026\n" + "\024_blue_green_settings\032\262\004\n\n" + "UpdateInfo\022T\n" - + "\017blue_green_info\030\001" - + " \001(\0132;.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo\032\315\003\n\r" + + "\017blue_green_info\030\001 \001(\0132;.google.container.v1" + + "beta1.NodePool.UpdateInfo.BlueGreenInfo\032\315\003\n\r" + "BlueGreenInfo\022P\n" - + "\005phase\030\001 \001(\0162A.google.container.v1" - + "beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase\022 \n" + + "\005phase\030\001 \001(\0162A.googl" + + "e.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase\022 \n" + "\030blue_instance_group_urls\030\002 \003(\t\022!\n" + "\031green_instance_group_urls\030\003 \003(\t\022%\n" + "\035blue_pool_deletion_start_time\030\004 \001(\t\022\032\n" @@ -2387,8 +2488,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022DELETING_BLUE_POOL\020\006\022\024\n" + "\020ROLLBACK_STARTED\020\007\032\256\001\n" + "\017PlacementPolicy\022E\n" - + "\004type\030\001 " - + "\001(\01627.google.container.v1beta1.NodePool.PlacementPolicy.Type\022\024\n" + + "\004type\030\001" + + " \001(\01627.google.container.v1beta1.NodePool.PlacementPolicy.Type\022\024\n" + "\014tpu_topology\030\002 \001(\t\022\023\n" + "\013policy_name\030\003 \001(\t\")\n" + "\004Type\022\024\n" @@ -2416,29 +2517,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006window\030\001 \001(\0132+.google.container.v1beta1.MaintenanceWindow\022\030\n" + "\020resource_version\030\003 \001(\t\"\212\003\n" + "\021MaintenanceWindow\022T\n" - + "\030daily_maintenance_window\030\002" - + " \001(\01320.google.container.v1beta1.DailyMaintenanceWindowH\000\022I\n" - + "\020recurring_window\030\003" - + " \001(\0132-.google.container.v1beta1.RecurringTimeWindowH\000\022f\n" - + "\026maintenance_exclusions\030\004 \003(\0132F.google.container.v" - + "1beta1.MaintenanceWindow.MaintenanceExclusionsEntry\032b\n" + + "\030daily_maintenance_window\030\002 \001(\01320.goo" + + "gle.container.v1beta1.DailyMaintenanceWindowH\000\022I\n" + + "\020recurring_window\030\003 \001(\0132-.googl" + + "e.container.v1beta1.RecurringTimeWindowH\000\022f\n" + + "\026maintenance_exclusions\030\004 \003(\0132F.goog" + + "le.container.v1beta1.MaintenanceWindow.MaintenanceExclusionsEntry\032b\n" + "\032MaintenanceExclusionsEntry\022\013\n" + "\003key\030\001 \001(\t\0223\n" + "\005value\030\002 \001(\0132$.google.container.v1beta1.TimeWindow:\0028\001B\010\n" + "\006policy\"\325\001\n\n" + "TimeWindow\022^\n" - + "\035maintenance_exclusion_options\030\003" - + " \001(\01325.google.container.v1beta1.MaintenanceExclusionOptionsH\000\022.\n\n" + + "\035maintenance_exclusion_options\030\003 \001(\01325.google.c" + + "ontainer.v1beta1.MaintenanceExclusionOptionsH\000\022.\n\n" + "start_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\t\n" - + "\007options\"\271\001\n" + + "\007options\"\353\002\n" + "\033MaintenanceExclusionOptions\022J\n" - + "\005scope\030\001 \001(\0162;.google.contai" - + "ner.v1beta1.MaintenanceExclusionOptions.Scope\"N\n" + + "\005scope\030\001 \001(\0162;" + + ".google.container.v1beta1.MaintenanceExclusionOptions.Scope\022`\n" + + "\021end_time_behavior\030\002" + + " \001(\0162E.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior\"N\n" + "\005Scope\022\017\n" + "\013NO_UPGRADES\020\000\022\025\n" + "\021NO_MINOR_UPGRADES\020\001\022\035\n" - + "\031NO_MINOR_OR_NODE_UPGRADES\020\002\"_\n" + + "\031NO_MINOR_OR_NODE_UPGRADES\020\002\"N\n" + + "\017EndTimeBehavior\022!\n" + + "\035END_TIME_BEHAVIOR_UNSPECIFIED\020\000\022\030\n" + + "\024UNTIL_END_OF_SUPPORT\020\001\"_\n" + "\023RecurringTimeWindow\0224\n" + "\006window\030\001 \001(\0132$.google.container.v1beta1.TimeWindow\022\022\n\n" + "recurrence\030\002 \001(\t\"C\n" @@ -2450,8 +2556,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022\030\n" + "\014node_pool_id\030\004 \001(\tB\002\030\001\022A\n\n" - + "management\030\005 \001(\0132(.g" - + "oogle.container.v1beta1.NodeManagementB\003\340A\002\022\014\n" + + "management\030\005" + + " \001(\0132(.google.container.v1beta1.NodeManagementB\003\340A\002\022\014\n" + "\004name\030\007 \001(\t\"\233\001\n" + "\026SetNodePoolSizeRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2475,13 +2581,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034enable_node_autoprovisioning\030\001 \001(\010\022@\n" + "\017resource_limits\030\002" + " \003(\0132\'.google.container.v1beta1.ResourceLimit\022\\\n" - + "\023autoscaling_profile\030\003 \001(\0162?.google.containe" - + "r.v1beta1.ClusterAutoscaling.AutoscalingProfile\022g\n" + + "\023autoscaling_profile\030\003 \001(\0162?.google.container.v1beta" + + "1.ClusterAutoscaling.AutoscalingProfile\022g\n" + "#autoprovisioning_node_pool_defaults\030\004" + " \001(\0132:.google.container.v1beta1.AutoprovisioningNodePoolDefaults\022\"\n" + "\032autoprovisioning_locations\030\005 \003(\t\022Y\n" - + "\034default_compute_class_config\030\t \001(\01323.google.cont" - + "ainer.v1beta1.DefaultComputeClassConfig\"U\n" + + "\034default_compute_class_config\030\t" + + " \001(\01323.google.container.v1beta1.DefaultComputeClassConfig\"U\n" + "\022AutoscalingProfile\022\027\n" + "\023PROFILE_UNSPECIFIED\020\000\022\030\n" + "\024OPTIMIZE_UTILIZATION\020\001\022\014\n" @@ -2489,10 +2595,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " AutoprovisioningNodePoolDefaults\022\024\n" + "\014oauth_scopes\030\001 \003(\t\022\027\n" + "\017service_account\030\002 \001(\t\022L\n" - + "\020upgrade_settings\030\003 \001(\01322.g" - + "oogle.container.v1beta1.NodePool.UpgradeSettings\022<\n\n" + + "\020upgrade_settings\030\003 \001(\01322.google.co" + + "ntainer.v1beta1.NodePool.UpgradeSettings\022<\n\n" + "management\030\004 \001(\0132(.google.container.v1beta1.NodeManagement\022\034\n" - + "\020min_cpu_platform\030\005 \001(\tB\002\030\001\022\024\n" + + "\020min_cpu_platfo", + "rm\030\005 \001(\tB\002\030\001\022\024\n" + "\014disk_size_gb\030\006 \001(\005\022\021\n" + "\tdisk_type\030\007 \001(\t\022R\n" + "\030shielded_instance_config\030\010" @@ -2514,8 +2621,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016min_node_count\030\002 \001(\005\022\026\n" + "\016max_node_count\030\003 \001(\005\022\027\n" + "\017autoprovisioned\030\004 \001(\010\022U\n" - + "\017location_policy\030\005 \001(\0162<.google.con" - + "tainer.v1beta1.NodePoolAutoscaling.LocationPolicy\022\034\n" + + "\017location_policy\030\005 \001(\0162<.google.container.v" + + "1beta1.NodePoolAutoscaling.LocationPolicy\022\034\n" + "\024total_min_node_count\030\006 \001(\005\022\034\n" + "\024total_max_node_count\030\007 \001(\005\"H\n" + "\016LocationPolicy\022\037\n" @@ -2526,12 +2633,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022\\\n" - + "\017resource_labels\030\004 \003(\0132>.google.container.v1bet" - + "a1.SetLabelsRequest.ResourceLabelsEntryB\003\340A\002\022\036\n" + + "\017resource_labels\030\004" + + " \003(\0132>.google.container.v1beta1.SetLabelsRequest.ResourceLabelsEntryB\003\340A\002\022\036\n" + "\021label_fingerprint\030\005 \001(\tB\003\340A\002\022\014\n" + "\004name\030\007 \001(\t\0325\n" + "\023ResourceLabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t:\0028\001\"|\n" + "\024SetLegacyAbacRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" @@ -2547,8 +2655,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022rotate_credentials\030\007 \001(\010\"k\n" + "\031CompleteIPRotationRequest\022\026\n\n" + "project_id\030\001 \001(\tB\002\030\001\022\020\n" - + "\004zone\030\002 \001(\tB\002\030\001\022\026\n" - + "\n" + + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022\014\n" + "\004name\030\007 \001(\t\"\374\002\n" + "\021AcceleratorConfig\022\031\n" @@ -2556,36 +2663,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020accelerator_type\030\002 \001(\t\022\032\n" + "\022gpu_partition_size\030\003 \001(\t\022+\n" + "\037max_time_shared_clients_per_gpu\030\004 \001(\003B\002\030\001\022K\n" - + "\022gpu_sharing_config\030\005" - + " \001(\0132*.google.container.v1beta1.GPUSharingConfigH\000\210\001\001\022b\n" - + "\036gpu_driver_installation_config\030\006 \001(\01325.google.container." - + "v1beta1.GPUDriverInstallationConfigH\001\210\001\001B\025\n" + + "\022gpu_sharing_config\030\005 " + + "\001(\0132*.google.container.v1beta1.GPUSharingConfigH\000\210\001\001\022b\n" + + "\036gpu_driver_installation_config\030\006" + + " \001(\01325.google.container.v1beta1.GPUDriverInstallationConfigH\001\210\001\001B\025\n" + "\023_gpu_sharing_configB!\n" + "\037_gpu_driver_installation_config\"\210\002\n" + "\020GPUSharingConfig\022\"\n" + "\032max_shared_clients_per_gpu\030\001 \001(\003\022`\n" - + "\024gpu_sharing_strategy\030\002 \001(\0162=.google.conta" - + "iner.v1beta1.GPUSharingConfig.GPUSharingStrategyH\000\210\001\001\"U\n" + + "\024gpu_sharing_strategy\030\002 \001(\0162=.google.container.v1b" + + "eta1.GPUSharingConfig.GPUSharingStrategyH\000\210\001\001\"U\n" + "\022GPUSharingStrategy\022$\n" + " GPU_SHARING_STRATEGY_UNSPECIFIED\020\000\022\020\n" + "\014TIME_SHARING\020\001\022\007\n" + "\003MPS\020\002B\027\n" - + "\025_gpu_sharing_str", - "ategy\"\211\002\n" + + "\025_gpu_sharing_strategy\"\211\002\n" + "\033GPUDriverInstallationConfig\022g\n" - + "\022gpu_driver_version\030\001 \001(\0162F.google.conta" - + "iner.v1beta1.GPUDriverInstallationConfig.GPUDriverVersionH\000\210\001\001\"j\n" + + "\022gpu_driver_version\030\001 \001(\0162F.google.container.v1b" + + "eta1.GPUDriverInstallationConfig.GPUDriverVersionH\000\210\001\001\"j\n" + "\020GPUDriverVersion\022\"\n" + "\036GPU_DRIVER_VERSION_UNSPECIFIED\020\000\022\031\n" + "\025INSTALLATION_DISABLED\020\001\022\013\n" - + "\007DEFAULT\020\002\022\n" - + "\n" + + "\007DEFAULT\020\002\022\n\n" + "\006LATEST\020\003B\025\n" + "\023_gpu_driver_version\"z\n" + "\027ManagedPrometheusConfig\022\017\n" + "\007enabled\030\001 \001(\010\022N\n" - + "\026auto_monitoring_config\030\002 \001(\0132..google.c" - + "ontainer.v1beta1.AutoMonitoringConfig\"\216\001\n" + + "\026auto_monitoring_config\030\002" + + " \001(\0132..google.container.v1beta1.AutoMonitoringConfig\"\216\001\n" + "\024AutoMonitoringConfig\022C\n" + "\005scope\030\001 \001(\01624.google.container.v1beta1.AutoMonitoringConfig.Scope\"1\n" + "\005Scope\022\025\n" @@ -2593,8 +2698,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003ALL\020\001\022\010\n" + "\004NONE\020\002\"\313\002\n" + "\026WorkloadMetadataConfig\022X\n\r" - + "node_metadata\030\001 \001(\0162=.googl" - + "e.container.v1beta1.WorkloadMetadataConfig.NodeMetadataB\002\030\001\022C\n" + + "node_metadata\030\001 \001(\0162=.google.contai" + + "ner.v1beta1.WorkloadMetadataConfig.NodeMetadataB\002\030\001\022C\n" + "\004mode\030\002 \001(\01625.google.container.v1beta1.WorkloadMetadataConfig.Mode\"P\n" + "\014NodeMetadata\022\017\n" + "\013UNSPECIFIED\020\000\022\n\n" @@ -2609,8 +2714,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "project_id\030\001 \001(\tB\002\030\001\022\020\n" + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + "cluster_id\030\003 \001(\tB\002\030\001\022D\n" - + "\016network_policy\030\004 \001(\0132\'.goo" - + "gle.container.v1beta1.NetworkPolicyB\003\340A\002\022\014\n" + + "\016network_policy\030\004" + + " \001(\0132\'.google.container.v1beta1.NetworkPolicyB\003\340A\002\022\014\n" + "\004name\030\006 \001(\t\"\276\001\n" + "\033SetMaintenancePolicyRequest\022\027\n\n" + "project_id\030\001 \001(\tB\003\340A\002\022\021\n" @@ -2633,8 +2738,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004ZONE\020\001\022\n\n" + "\006REGION\020\002\"\375\002\n" + "\017StatusCondition\022@\n" - + "\004code\030\001" - + " \001(\0162..google.container.v1beta1.StatusCondition.CodeB\002\030\001\022\017\n" + + "\004code\030\001 " + + "\001(\0162..google.container.v1beta1.StatusCondition.CodeB\002\030\001\022\017\n" + "\007message\030\002 \001(\t\022(\n" + "\016canonical_code\030\003 \001(\0162\020.google.rpc.Code\"\354\001\n" + "\004Code\022\013\n" @@ -2656,10 +2761,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132+.google.container.v1beta1.DefaultSnatStatus\022\037\n" + "\027enable_l4ilb_subsetting\030\n" + " \001(\010\022E\n" - + "\021datapath_provider\030\013 \001(\0162*" - + ".google.container.v1beta1.DatapathProvider\022U\n" - + "\032private_ipv6_google_access\030\014 \001(\01621" - + ".google.container.v1beta1.PrivateIPv6GoogleAccess\0227\n\n" + + "\021datapath_provider\030\013" + + " \001(\0162*.google.container.v1beta1.DatapathProvider\022U\n" + + "\032private_ipv6_google_access\030\014 \001(\01621.google." + + "container.v1beta1.PrivateIPv6GoogleAccess\0227\n\n" + "dns_config\030\r" + " \001(\0132#.google.container.v1beta1.DNSConfig\022W\n" + "\033service_external_ips_config\030\017" @@ -2667,18 +2772,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022gateway_api_config\030\020" + " \001(\0132*.google.container.v1beta1.GatewayAPIConfig\022\037\n" + "\027enable_multi_networking\030\021 \001(\010\022k\n" - + "\032network_performance_config\030\022 \001(\0132G.google.container.v1be" - + "ta1.NetworkConfig.ClusterNetworkPerformanceConfig\022\'\n" + + "\032network_performance_config\030\022 \001(\0132G.google.container.v1beta1.Netw" + + "orkConfig.ClusterNetworkPerformanceConfig\022\'\n" + "\032enable_fqdn_network_policy\030\023 \001(\010H\000\210\001\001\022^\n" - + "\034in_transit_encryption_config\030\024" - + " \001(\01623.google.container.v1beta1.InTransitEncryptionConfigH\001\210\001\001\0225\n" + + "\034in_transit_encryption_config\030\024 \001(\016" + + "23.google.container.v1beta1.InTransitEncryptionConfigH\001\210\001\001\0225\n" + "(enable_cilium_clusterwide_network_policy\030\025 \001(\010H\002\210\001\001\022)\n" + "\034default_enable_private_nodes\030\026 \001(\010H\003\210\001\001\0222\n" + "%disable_l4_lb_firewall_reconciliation\030\030" + " \001(\010H\004\210\001\001\032\343\001\n" + "\037ClusterNetworkPerformanceConfig\022v\n" - + "\033total_egress_bandwidth_tier\030\001 \001(\0162L.google.container.v1beta1.Net" - + "workConfig.ClusterNetworkPerformanceConfig.TierH\000\210\001\001\"(\n" + + "\033total_egress_bandwidth_tier\030\001 \001(" + + "\0162L.google.container.v1beta1.NetworkConf" + + "ig.ClusterNetworkPerformanceConfig.TierH\000\210\001\001\"(\n" + "\004Tier\022\024\n" + "\020TIER_UNSPECIFIED\020\000\022\n\n" + "\006TIER_1\020\001B\036\n" @@ -2703,14 +2809,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tpage_size\030\003 \001(\005\022\022\n\n" + "page_token\030\004 \001(\t\"y\n" + "\035ListUsableSubnetworksResponse\022?\n" - + "\013subnetworks\030\001 \003(\0132*." - + "google.container.v1beta1.UsableSubnetwork\022\027\n" + + "\013subnetworks\030\001" + + " \003(\0132*.google.container.v1beta1.UsableSubnetwork\022\027\n" + "\017next_page_token\030\002 \001(\t\"\205\002\n" + "\036UsableSubnetworkSecondaryRange\022\022\n\n" + "range_name\030\001 \001(\t\022\025\n\r" + "ip_cidr_range\030\002 \001(\t\022O\n" - + "\006status\030\003 \001(\016" - + "2?.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status\"g\n" + + "\006status\030\003 \001(\0162?.googl" + + "e.container.v1beta1.UsableSubnetworkSecondaryRange.Status\"g\n" + "\006Status\022\013\n" + "\007UNKNOWN\020\000\022\n\n" + "\006UNUSED\020\001\022\022\n" @@ -2721,8 +2827,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "subnetwork\030\001 \001(\t\022\017\n" + "\007network\030\002 \001(\t\022\025\n\r" + "ip_cidr_range\030\003 \001(\t\022U\n" - + "\023secondary_ip_ranges\030\004 \003(\013" - + "28.google.container.v1beta1.UsableSubnetworkSecondaryRange\022\026\n" + + "\023secondary_ip_ranges\030\004 \003(\01328.googl" + + "e.container.v1beta1.UsableSubnetworkSecondaryRange\022\026\n" + "\016status_message\030\005 \001(\t\")\n" + "\026VerticalPodAutoscaling\022\017\n" + "\007enabled\030\001 \001(\010\"%\n" @@ -2734,8 +2840,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007enabled\030\001 \001(\010\"\201\003\n" + "\tDNSConfig\022A\n" + "\013cluster_dns\030\001 \001(\0162,.google.container.v1beta1.DNSConfig.Provider\022G\n" - + "\021cluster_dns_scope\030\002 \001(\0162," - + ".google.container.v1beta1.DNSConfig.DNSScope\022\032\n" + + "\021cluster_dns_scope\030\002" + + " \001(\0162,.google.container.v1beta1.DNSConfig.DNSScope\022\032\n" + "\022cluster_dns_domain\030\003 \001(\t\022*\n" + "\035additive_vpc_scope_dns_domain\030\005 \001(\tB\003\340A\001\"W\n" + "\010Provider\022\030\n" @@ -2761,20 +2867,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023enable_certificates\030\001 \001(\0132\032.google.protobuf.BoolValue\"\362\005\n" + "\022DatabaseEncryption\022\020\n" + "\010key_name\030\001 \001(\t\022A\n" - + "\005state\030\002 \001(\0162" - + "2.google.container.v1beta1.DatabaseEncryption.State\022Z\n\r" - + "current_state\030\003 \001(\01629.goo" - + "gle.container.v1beta1.DatabaseEncryption.CurrentStateB\003\340A\003H\000\210\001\001\022\034\n" + + "\005state\030\002 \001(\01622.google" + + ".container.v1beta1.DatabaseEncryption.State\022Z\n\r" + + "current_state\030\003 \001(\01629.google.cont" + + "ainer.v1beta1.DatabaseEncryption.CurrentStateB\003\340A\003H\000\210\001\001\022\034\n" + "\017decryption_keys\030\004 \003(\tB\003\340A\003\022_\n" - + "\025last_operation_errors\030\005" - + " \003(\0132;.google.container.v1beta1.DatabaseEncryption.OperationErrorB\003\340A\003\032h\n" + + "\025last_operation_errors\030\005 \003(\0132;.g" + + "oogle.container.v1beta1.DatabaseEncryption.OperationErrorB\003\340A\003\032h\n" + "\016OperationError\022\020\n" + "\010key_name\030\001 \001(\t\022\025\n\r" + "error_message\030\002 \001(\t\022-\n" + "\ttimestamp\030\003 \001(\0132\032.google.protobuf.Timestamp\"2\n" + "\005State\022\013\n" - + "\007UNKNOWN\020\000\022\r" - + "\n" + + "\007UNKNOWN\020\000\022\r\n" + "\tENCRYPTED\020\001\022\r\n" + "\tDECRYPTED\020\002\"\373\001\n" + "\014CurrentState\022\035\n" @@ -2787,11 +2892,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036CURRENT_STATE_DECRYPTION_ERROR\020\006B\020\n" + "\016_current_state\"\367\002\n" + "\031ResourceUsageExportConfig\022e\n" - + "\024bigquery_destination\030\001 \001(\013" - + "2G.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination\022&\n" + + "\024bigquery_destination\030\001 \001(\0132G.googl" + + "e.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination\022&\n" + "\036enable_network_egress_metering\030\002 \001(\010\022r\n" - + "\033consumption_metering_config\030\003 \001(\0132M.google." - + "container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig\032)\n" + + "\033consumption_metering_config\030\003 \001(\0132M.google.containe" + + "r.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig\032)\n" + "\023BigQueryDestination\022\022\n\n" + "dataset_id\030\001 \001(\t\032,\n" + "\031ConsumptionMeteringConfig\022\017\n" @@ -2832,8 +2937,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033AutopilotCompatibilityIssue\0224\n" + "\020last_observation\030\001 \001(\0132\032.google.protobuf.Timestamp\022\027\n" + "\017constraint_type\030\002 \001(\t\022]\n" - + "\024incompatibility_type\030\003 \001(\0162?.google" - + ".container.v1beta1.AutopilotCompatibilityIssue.IssueType\022\020\n" + + "\024incompatibility_type\030\003 \001(\0162?.google.contain" + + "er.v1beta1.AutopilotCompatibilityIssue.IssueType\022\020\n" + "\010subjects\030\004 \003(\t\022\031\n" + "\021documentation_url\030\005 \001(\t\022\023\n" + "\013description\030\006 \001(\t\"r\n" @@ -2862,34 +2967,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017ipv4_cidr_block\030\003 \001(\t:\002\030\001\"\010\n" + "\006Master\"\224\001\n" + "\031AutopilotConversionStatus\022M\n" - + "\005state\030\002 \001(\01629.g" - + "oogle.container.v1beta1.AutopilotConversionStatus.StateB\003\340A\003\"(\n" + + "\005state\030\002 \001(\01629.google.co" + + "ntainer.v1beta1.AutopilotConversionStatus.StateB\003\340A\003\"(\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022\010\n" - + "\004DONE\020\005\"\301\001\n" + + "\004DONE\020\005\"\233\002\n" + "\tAutopilot\022\017\n" + "\007enabled\030\001 \001(\010\022N\n" - + "\026workload_policy_config\030\002" - + " \001(\0132..google.container.v1beta1.WorkloadPolicyConfig\022S\n" - + "\021conversion_status\030\003 \001(\013" - + "23.google.container.v1beta1.AutopilotConversionStatusB\003\340A\003\"\254\001\n" + + "\026workload_policy_config\030\002 \001(\0132.." + + "google.container.v1beta1.WorkloadPolicyConfig\022S\n" + + "\021conversion_status\030\003 \001(\01323.googl" + + "e.container.v1beta1.AutopilotConversionStatusB\003\340A\003\022X\n" + + "\033privileged_admission_config\030\004" + + " \001(\01323.google.container.v1beta1.PrivilegedAdmissionConfig\"4\n" + + "\031PrivilegedAdmissionConfig\022\027\n" + + "\017allowlist_paths\030\001 \003(\t\"\254\001\n" + "\024WorkloadPolicyConfig\022\034\n" + "\017allow_net_admin\030\001 \001(\010H\000\210\001\001\0225\n" + "(autopilot_compatibility_auditing_enabled\030\002 \001(\010H\001\210\001\001B\022\n" + "\020_allow_net_adminB+\n" + ")_autopilot_compatibility_auditing_enabled\"\320\003\n" + "\022NotificationConfig\022C\n" - + "\006pubsub\030\001 \001(\01323.googl" - + "e.container.v1beta1.NotificationConfig.PubSub\032\217\001\n" + + "\006pubsub\030\001" + + " \001(\01323.google.container.v1beta1.NotificationConfig.PubSub\032\217\001\n" + "\006PubSub\022\017\n" + "\007enabled\030\001 \001(\010\022/\n" + "\005topic\030\002 \001(\tB \372A\035\n" + "\033pubsub.googleapis.com/Topic\022C\n" - + "\006filter\030\003" - + " \001(\01323.google.container.v1beta1.NotificationConfig.Filter\032T\n" + + "\006filter\030\003 \001(\01323.goo" + + "gle.container.v1beta1.NotificationConfig.Filter\032T\n" + "\006Filter\022J\n\n" - + "event_type\030\001 \003(\01626.google.container" - + ".v1beta1.NotificationConfig.EventType\"\214\001\n" + + "event_type\030\001 \003(\01626." + + "google.container.v1beta1.NotificationConfig.EventType\"\214\001\n" + "\tEventType\022\032\n" + "\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n" + "\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n\r" @@ -2898,21 +3007,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022UPGRADE_INFO_EVENT\020\004\"\365\001\n" + "\021ConfidentialNodes\022\017\n" + "\007enabled\030\001 \001(\010\022h\n" - + "\032confidential_instance_type\030\002 \001(\0162D.google.container.v1bet" - + "a1.ConfidentialNodes.ConfidentialInstanceType\"e\n" + + "\032confidential_instance_type\030\002 \001(\0162D.google" + + ".container.v1beta1.ConfidentialNodes.ConfidentialInstanceType\"e\n" + "\030ConfidentialInstanceType\022*\n" + "&CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED\020\000\022\007\n" + "\003SEV\020\001\022\013\n" + "\007SEV_SNP\020\002\022\007\n" - + "\003TDX\020\003\"\344\001\n" + + "\003TDX\020\003\"\247\002\n" + "\014UpgradeEvent\022D\n\r" + "resource_type\030\001" + " \001(\0162-.google.container.v1beta1.UpgradeResourceType\022\021\n" + "\toperation\030\002 \001(\t\0228\n" + "\024operation_start_time\030\003 \001(\0132\032.google.protobuf.Timestamp\022\027\n" + "\017current_version\030\004 \001(\t\022\026\n" - + "\016target_version\030\005 \001(\t\022\020\n" - + "\010resource\030\006 \001(\t\"\301\006\n" + + "\016target_version\030\005 \001(\t\022 \n" + + "\030current_emulated_version\030\007 \001(\t\022\037\n" + + "\027target_emulated_version\030\010 \001(\t\022\020\n" + + "\010resource\030\006 \001(\t\"\204\007\n" + "\020UpgradeInfoEvent\022D\n\r" + "resource_type\030\001" + " \001(\0162-.google.container.v1beta1.UpgradeResourceType\022\021\n" @@ -2920,16 +3031,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "start_time\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n" + "\010end_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022\027\n" + "\017current_version\030\005 \001(\t\022\026\n" - + "\016target_version\030\006 \001(\t\022\020\n" + + "\016target_version\030\006 \001(\t\022 \n" + + "\030current_emulated_version\030\017 \001(\t\022\037\n" + + "\027target_emulated_version\030\020 \001(\t\022\020\n" + "\010resource\030\007 \001(\t\022D\n" - + "\005state\030\010 \001(\01620.google.conta" - + "iner.v1beta1.UpgradeInfoEvent.StateB\003\340A\003\022B\n" + + "\005state\030\010" + + " \001(\01620.google.container.v1beta1.UpgradeInfoEvent.StateB\003\340A\003\022B\n" + "\031standard_support_end_time\030\t" + " \001(\0132\032.google.protobuf.TimestampH\000\210\001\001\022B\n" + "\031extended_support_end_time\030\n" + " \001(\0132\032.google.protobuf.TimestampH\001\210\001\001\022\023\n" - + "\013description\030\013 \001(\t\022H\n" - + "\n" + + "\013description\030\013 \001(\t\022H\n\n" + "event_type\030\014" + " \001(\01624.google.container.v1beta1.UpgradeInfoEvent.EventType\"T\n" + "\005State\022\025\n" @@ -2951,8 +3063,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017release_channel\030\003" + " \001(\0132(.google.container.v1beta1.ReleaseChannel\022\020\n" + "\010resource\030\004 \001(\t\022C\n" - + "\020windows_versions\030\005 \001(\0132" - + ").google.container.v1beta1.WindowsVersions\"\272\002\n" + + "\020windows_versions\030\005" + + " \001(\0132).google.container.v1beta1.WindowsVersions\"\272\002\n" + "\025SecurityBulletinEvent\022\036\n" + "\026resource_type_affected\030\001 \001(\t\022\023\n" + "\013bulletin_id\030\002 \001(\t\022\017\n" @@ -2969,11 +3081,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025IdentityServiceConfig\022\017\n" + "\007enabled\030\001 \001(\010\"[\n\r" + "LoggingConfig\022J\n" - + "\020component_config\030\001" - + " \001(\01320.google.container.v1beta1.LoggingComponentConfig\"\243\002\n" + + "\020component_config\030\001 \001(\01320.goo" + + "gle.container.v1beta1.LoggingComponentConfig\"\243\002\n" + "\026LoggingComponentConfig\022U\n" - + "\021enable_components\030\001 \003(\0162:.google.co" - + "ntainer.v1beta1.LoggingComponentConfig.Component\"\261\001\n" + + "\021enable_components\030\001 \003(\0162:.google.container.v1" + + "beta1.LoggingComponentConfig.Component\"\261\001\n" + "\tComponent\022\031\n" + "\025COMPONENT_UNSPECIFIED\020\000\022\025\n" + "\021SYSTEM_COMPONENTS\020\001\022\r\n" @@ -2987,16 +3099,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027RayClusterLoggingConfig\022\017\n" + "\007enabled\030\001 \001(\010\"\246\002\n" + "\020MonitoringConfig\022M\n" - + "\020component_config\030\001 \001(\0132" - + "3.google.container.v1beta1.MonitoringComponentConfig\022T\n" - + "\031managed_prometheus_config\030\002" - + " \001(\01321.google.container.v1beta1.ManagedPrometheusConfig\022m\n" - + "&advanced_datapath_observability_config\030\003 \001(\0132=.google.cont" - + "ainer.v1beta1.AdvancedDatapathObservabilityConfig\"\243\002\n" + + "\020component_config\030\001 \001(\01323.google.c" + + "ontainer.v1beta1.MonitoringComponentConfig\022T\n" + + "\031managed_prometheus_config\030\002 \001(\01321." + + "google.container.v1beta1.ManagedPrometheusConfig\022m\n" + + "&advanced_datapath_observability_config\030\003 \001(\0132=.google.container.v1be" + + "ta1.AdvancedDatapathObservabilityConfig\"\243\002\n" + "#AdvancedDatapathObservabilityConfig\022\026\n" + "\016enable_metrics\030\001 \001(\010\022[\n\n" - + "relay_mode\030\002 \001(\0162G.google.container.v1beta1" - + ".AdvancedDatapathObservabilityConfig.RelayMode\022\031\n" + + "relay_mode\030\002 " + + "\001(\0162G.google.container.v1beta1.AdvancedDatapathObservabilityConfig.RelayMode\022\031\n" + "\014enable_relay\030\003 \001(\010H\000\210\001\001\"[\n" + "\tRelayMode\022\032\n" + "\026RELAY_MODE_UNSPECIFIED\020\000\022\014\n" @@ -3007,18 +3119,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032RayClusterMonitoringConfig\022\017\n" + "\007enabled\030\001 \001(\010\"_\n" + "\025NodePoolLoggingConfig\022F\n" - + "\016variant_config\030\001 \001(\0132" - + "..google.container.v1beta1.LoggingVariantConfig\"\244\001\n" + + "\016variant_config\030\001 \001(\0132..google.c" + + "ontainer.v1beta1.LoggingVariantConfig\"\244\001\n" + "\024LoggingVariantConfig\022G\n" - + "\007variant\030\001" - + " \001(\01626.google.container.v1beta1.LoggingVariantConfig.Variant\"C\n" + + "\007variant\030\001 \001(\0162" + + "6.google.container.v1beta1.LoggingVariantConfig.Variant\"C\n" + "\007Variant\022\027\n" + "\023VARIANT_UNSPECIFIED\020\000\022\013\n" + "\007DEFAULT\020\001\022\022\n" + "\016MAX_THROUGHPUT\020\002\"\376\002\n" + "\031MonitoringComponentConfig\022X\n" - + "\021enable_components\030\001 \003(\0162=.google" - + ".container.v1beta1.MonitoringComponentConfig.Component\"\206\002\n" + + "\021enable_components\030\001 \003(\0162=.google.container" + + ".v1beta1.MonitoringComponentConfig.Component\"\206\002\n" + "\tComponent\022\031\n" + "\025COMPONENT_UNSPECIFIED\020\000\022\025\n" + "\021SYSTEM_COMPONENTS\020\001\022\021\n" @@ -3030,8 +3142,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003HPA\020\010\022\007\n" + "\003POD\020\t\022\r\n" + "\tDAEMONSET\020\n" - + "\022\016\n" - + "\n" + + "\022\016\n\n" + "DEPLOYMENT\020\013\022\017\n" + "\013STATEFULSET\020\014\022\014\n" + "\010CADVISOR\020\r" @@ -3040,32 +3151,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004DCGM\020\017\022\n\n" + "\006JOBSET\020\020\"\265\001\n" + "\016PodAutoscaling\022M\n" - + "\013hpa_profile\030\002 \001(\0162" - + "3.google.container.v1beta1.PodAutoscaling.HPAProfileH\000\210\001\001\"D\n\n" + + "\013hpa_profile\030\002 \001(\01623.google.c" + + "ontainer.v1beta1.PodAutoscaling.HPAProfileH\000\210\001\001\"D\n\n" + "HPAProfile\022\033\n" + "\027HPA_PROFILE_UNSPECIFIED\020\000\022\010\n" + "\004NONE\020\001\022\017\n" + "\013PERFORMANCE\020\002B\016\n" - + "\014_hpa_profile\"N\n" + + "\014_hpa_profile\"\333\001\n" + "\005Fleet\022\017\n" + "\007project\030\001 \001(\t\022\027\n\n" + "membership\030\002 \001(\tB\003\340A\003\022\033\n" - + "\016pre_registered\030\003 \001(\010B\003\340A\003\"\273\005\n" + + "\016pre_registered\030\003 \001(\010B\003\340A\003\022G\n" + + "\017membership_type\030\004 \001(\0162" + + "..google.container.v1beta1.Fleet.MembershipType\"B\n" + + "\016MembershipType\022\037\n" + + "\033MEMBERSHIP_TYPE_UNSPECIFIED\020\000\022\017\n" + + "\013LIGHTWEIGHT\020\001\"\306\006\n" + "\033ControlPlaneEndpointsConfig\022d\n" - + "\023dns_endpoint_config\030\001" - + " \001(\0132G.google.container.v1beta1.ControlPlaneEndpointsConfig.DNSEndpointConfig\022d\n" - + "\023ip_endpoints_config\030\003 \001(\0132G.google.cont" - + "ainer.v1beta1.ControlPlaneEndpointsConfig.IPEndpointsConfig\032j\n" + + "\023dns_endpoint_config\030\001 \001(\0132G.google.container.v1be" + + "ta1.ControlPlaneEndpointsConfig.DNSEndpointConfig\022d\n" + + "\023ip_endpoints_config\030\003 \001(\0132G" + + ".google.container.v1beta1.ControlPlaneEndpointsConfig.IPEndpointsConfig\032\364\001\n" + "\021DNSEndpointConfig\022\025\n" + "\010endpoint\030\002 \001(\tB\003\340A\003\022#\n" - + "\026allow_external_traffic\030\003 \001(\010H\000\210\001\001B\031\n" - + "\027_allow_external_traffic\032\343\002\n" + + "\026allow_external_traffic\030\003 \001(\010H\000\210\001\001\022&\n" + + "\031enable_k8s_tokens_via_dns\030\005 \001(\010H\001\210\001\001\022%\n" + + "\030enable_k8s_certs_via_dns\030\006 \001(\010H\002\210\001\001B\031\n" + + "\027_allow_external_trafficB\034\n" + + "\032_enable_k8s_tokens_via_dnsB\033\n" + + "\031_enable_k8s_certs_via_dns\032\343\002\n" + "\021IPEndpointsConfig\022\024\n" + "\007enabled\030\001 \001(\010H\000\210\001\001\022#\n" + "\026enable_public_endpoint\030\002 \001(\010H\001\210\001\001\022\032\n\r" + "global_access\030\003 \001(\010H\002\210\001\001\022\\\n" - + "\032authorized_networks_config\030\004 \001(\01328.googl" - + "e.container.v1beta1.MasterAuthorizedNetworksConfig\022\034\n" + + "\032authorized_networks_config\030\004 \001(\01328.google.contain", + "er.v1beta1.MasterAuthorizedNetworksConfig\022\034\n" + "\017public_endpoint\030\005 \001(\tB\003\340A\003\022\035\n" + "\020private_endpoint\030\006 \001(\tB\003\340A\003\022#\n" + "\033private_endpoint_subnetwork\030\007 \001(\tB\n\n" @@ -3073,24 +3193,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027_enable_public_endpointB\020\n" + "\016_global_access\"\211\001\n" + "\023ResourceManagerTags\022E\n" - + "\004tags\030\001 " - + "\003(\01327.google.container.v1beta1.ResourceManagerTags.TagsEntry\032+\n" + + "\004tags\030\001 \003(\01327.goo" + + "gle.container.v1beta1.ResourceManagerTags.TagsEntry\032+\n" + "\tTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\376\001\n" + + "\005value\030\002 \001(\t:\0028\001\"\206\002\n" + "\020EnterpriseConfig\022Q\n" - + "\014cluster_tier\030\001 \001(\01626.google.co" - + "ntainer.v1beta1.EnterpriseConfig.ClusterTierB\003\340A\003\022L\n" - + "\014desired_tier\030\002 \001(\01626.google" - + ".container.v1beta1.EnterpriseConfig.ClusterTier\"I\n" + + "\014cluster_tier\030\001 \001(\01626.google.container.v" + + "1beta1.EnterpriseConfig.ClusterTierB\003\340A\003\022L\n" + + "\014desired_tier\030\002 \001(\01626.google.containe" + + "r.v1beta1.EnterpriseConfig.ClusterTier\"M\n" + "\013ClusterTier\022\034\n" + "\030CLUSTER_TIER_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\016\n\n" - + "ENTERPRISE\020\002\"\255\002\n" + + "ENTERPRISE\020\002\032\002\030\001:\002\030\001\"\255\002\n" + "\023SecretManagerConfig\022\024\n" + "\007enabled\030\001 \001(\010H\000\210\001\001\022Z\n" - + "\017rotation_config\030\002 \001(\0132<.goog" - + "le.container.v1beta1.SecretManagerConfig.RotationConfigH\001\210\001\001\032\203\001\n" + + "\017rotation_config\030\002 \001(\0132<.googl" + + "e.container.v1beta1.SecretManagerConfig.RotationConfigH\001\210\001\001\032\203\001\n" + "\016RotationConfig\022\024\n" + "\007enabled\030\001 \001(\010H\000\210\001\001\0229\n" + "\021rotation_interval\030\002" @@ -3118,10 +3238,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022ClusterUpgradeInfo\022!\n" + "\024minor_target_version\030\007 \001(\tH\000\210\001\001\022!\n" + "\024patch_target_version\030\010 \001(\tH\001\210\001\001\022[\n" - + "\023auto_upgrade_status\030\002 \003" - + "(\0162>.google.container.v1beta1.ClusterUpgradeInfo.AutoUpgradeStatus\022[\n\r" - + "paused_reason\030\003 \003(\0162D.google.container.v1beta1.Clu" - + "sterUpgradeInfo.AutoUpgradePausedReason\022A\n" + + "\023auto_upgrade_status\030\002 \003(" + + "\0162>.google.container.v1beta1.ClusterUpgradeInfo.AutoUpgradeStatus\022[\n\r" + + "paused_reason\030\003 \003(\0162D.google.container.v1beta1.Clus" + + "terUpgradeInfo.AutoUpgradePausedReason\022A\n" + "\017upgrade_details\030\004 \003(\0132(.google.container.v1beta1.UpgradeDetails\022.\n" + "!end_of_standard_support_timestamp\030\005 \001(\tH\002\210\001\001\022.\n" + "!end_of_extended_support_timestamp\030\006 \001(\tH\003\210\001\001\"Z\n" @@ -3156,335 +3276,313 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006FAILED\020\001\022\r\n" + "\tSUCCEEDED\020\002\022\014\n" + "\010CANCELED\020\003\022\013\n" - + "\007RUNNIN", - "G\020\004\"B\n\tStartType\022\032\n\026START_TYPE_UNSPECIFI" - + "ED\020\000\022\r\n\tAUTOMATIC\020\001\022\n\n\006MANUAL\020\002B\r\n\013_star" - + "t_timeB\013\n\t_end_time\"E\n\037FetchNodePoolUpgr" - + "adeInfoRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\017\n\007ver" - + "sion\030d \001(\t\"\333\006\n\023NodePoolUpgradeInfo\022!\n\024mi" - + "nor_target_version\030\001 \001(\tH\000\210\001\001\022!\n\024patch_t" - + "arget_version\030\002 \001(\tH\001\210\001\001\022\\\n\023auto_upgrade" - + "_status\030\003 \003(\0162?.google.container.v1beta1" - + ".NodePoolUpgradeInfo.AutoUpgradeStatus\022\\" - + "\n\rpaused_reason\030\004 \003(\0162E.google.container" - + ".v1beta1.NodePoolUpgradeInfo.AutoUpgrade" - + "PausedReason\022A\n\017upgrade_details\030\005 \003(\0132(." - + "google.container.v1beta1.UpgradeDetails\022" - + ".\n!end_of_standard_support_timestamp\030\006 \001" - + "(\tH\002\210\001\001\022.\n!end_of_extended_support_times" - + "tamp\030\007 \001(\tH\003\210\001\001\"Z\n\021AutoUpgradeStatus\022\013\n\007" - + "UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\030\n\024MINOR_UPGRADE_P" - + "AUSED\020\002\022\022\n\016UPGRADE_PAUSED\020\003\"\304\001\n\027AutoUpgr" - + "adePausedReason\022*\n&AUTO_UPGRADE_PAUSED_R" - + "EASON_UNSPECIFIED\020\000\022\026\n\022MAINTENANCE_WINDO" - + "W\020\001\022%\n!MAINTENANCE_EXCLUSION_NO_UPGRADES" - + "\020\002\022+\n\'MAINTENANCE_EXCLUSION_NO_MINOR_UPG" - + "RADES\020\003\022\021\n\rSYSTEM_CONFIG\020\004B\027\n\025_minor_tar" - + "get_versionB\027\n\025_patch_target_versionB$\n\"" - + "_end_of_standard_support_timestampB$\n\"_e" - + "nd_of_extended_support_timestamp\"\236\001\n\024Gke" - + "AutoUpgradeConfig\022L\n\npatch_mode\030\001 \001(\01628." - + "google.container.v1beta1.GkeAutoUpgradeC" - + "onfig.PatchMode\"8\n\tPatchMode\022\032\n\026PATCH_MO" - + "DE_UNSPECIFIED\020\000\022\017\n\013ACCELERATED\020\001*\306\001\n\027Pr" - + "ivateIPv6GoogleAccess\022*\n&PRIVATE_IPV6_GO" - + "OGLE_ACCESS_UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV" - + "6_GOOGLE_ACCESS_DISABLED\020\001\022(\n$PRIVATE_IP" - + "V6_GOOGLE_ACCESS_TO_GOOGLE\020\002\022,\n(PRIVATE_" - + "IPV6_GOOGLE_ACCESS_BIDIRECTIONAL\020\003*W\n\023Up" - + "gradeResourceType\022%\n!UPGRADE_RESOURCE_TY" - + "PE_UNSPECIFIED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POO" - + "L\020\002*^\n\026NodePoolUpdateStrategy\022)\n%NODE_PO" - + "OL_UPDATE_STRATEGY_UNSPECIFIED\020\000\022\016\n\nBLUE" - + "_GREEN\020\002\022\t\n\005SURGE\020\003*a\n\020DatapathProvider\022" - + "!\n\035DATAPATH_PROVIDER_UNSPECIFIED\020\000\022\023\n\017LE" - + "GACY_DATAPATH\020\001\022\025\n\021ADVANCED_DATAPATH\020\002*@" - + "\n\tStackType\022\032\n\026STACK_TYPE_UNSPECIFIED\020\000\022" - + "\010\n\004IPV4\020\001\022\r\n\tIPV4_IPV6\020\002*\237\001\n\031InTransitEn" - + "cryptionConfig\022,\n(IN_TRANSIT_ENCRYPTION_" - + "CONFIG_UNSPECIFIED\020\000\022\"\n\036IN_TRANSIT_ENCRY" - + "PTION_DISABLED\020\001\0220\n,IN_TRANSIT_ENCRYPTIO" - + "N_INTER_NODE_TRANSPARENT\020\0022\225S\n\016ClusterMa" - + "nager\022\363\001\n\014ListClusters\022-.google.containe" - + "r.v1beta1.ListClustersRequest\032..google.c" - + "ontainer.v1beta1.ListClustersResponse\"\203\001" - + "\332A\017project_id,zone\202\323\344\223\002k\0221/v1beta1/{pare" - + "nt=projects/*/locations/*}/clustersZ6\0224/" - + "v1beta1/projects/{project_id}/zones/{zon" - + "e}/clusters\022\372\001\n\nGetCluster\022+.google.cont" - + "ainer.v1beta1.GetClusterRequest\032!.google" - + ".container.v1beta1.Cluster\"\233\001\332A\032project_" - + "id,zone,cluster_id\202\323\344\223\002x\0221/v1beta1/{name" - + "=projects/*/locations/*/clusters/*}ZC\022A/" - + "v1beta1/projects/{project_id}/zones/{zon" - + "e}/clusters/{cluster_id}\022\370\001\n\rCreateClust" - + "er\022..google.container.v1beta1.CreateClus" - + "terRequest\032#.google.container.v1beta1.Op" - + "eration\"\221\001\332A\027project_id,zone,cluster\202\323\344\223" - + "\002q\"1/v1beta1/{parent=projects/*/location" - + "s/*}/clusters:\001*Z9\"4/v1beta1/projects/{p" - + "roject_id}/zones/{zone}/clusters:\001*\022\217\002\n\r" - + "UpdateCluster\022..google.container.v1beta1" - + ".UpdateClusterRequest\032#.google.container" - + ".v1beta1.Operation\"\250\001\332A!project_id,zone," - + "cluster_id,update\202\323\344\223\002~\0321/v1beta1/{name=" - + "projects/*/locations/*/clusters/*}:\001*ZF\032" - + "A/v1beta1/projects/{project_id}/zones/{z" - + "one}/clusters/{cluster_id}:\001*\022\232\002\n\016Update" - + "NodePool\022/.google.container.v1beta1.Upda" - + "teNodePoolRequest\032#.google.container.v1b" - + "eta1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name" - + "=projects/*/locations/*/clusters/*/nodeP" - + "ools/*}:\001*Zf\"a/v1beta1/projects/{project" - + "_id}/zones/{zone}/clusters/{cluster_id}/" - + "nodePools/{node_pool_id}/update:\001*\022\276\002\n\026S" - + "etNodePoolAutoscaling\0227.google.container" - + ".v1beta1.SetNodePoolAutoscalingRequest\032#" - + ".google.container.v1beta1.Operation\"\305\001\202\323" - + "\344\223\002\276\001\"L/v1beta1/{name=projects/*/locatio" - + "ns/*/clusters/*/nodePools/*}:setAutoscal" - + "ing:\001*Zk\"f/v1beta1/projects/{project_id}" - + "/zones/{zone}/clusters/{cluster_id}/node" - + "Pools/{node_pool_id}/autoscaling:\001*\022\264\002\n\021" - + "SetLoggingService\0222.google.container.v1b" - + "eta1.SetLoggingServiceRequest\032#.google.c" - + "ontainer.v1beta1.Operation\"\305\001\332A*project_" - + "id,zone,cluster_id,logging_service\202\323\344\223\002\221" - + "\001\"/v1beta1/{name=projects/*/loca" - + "tions/*/clusters/*}:setLocations:\001*ZP\"K/" - + "v1beta1/projects/{project_id}/zones/{zon" - + "e}/clusters/{cluster_id}/locations:\001*\022\252\002" - + "\n\014UpdateMaster\022-.google.container.v1beta" - + "1.UpdateMasterRequest\032#.google.container" - + ".v1beta1.Operation\"\305\001\332A)project_id,zone," - + "cluster_id,master_version\202\323\344\223\002\222\001\">/v1bet" - + "a1/{name=projects/*/locations/*/clusters" - + "/*}:updateMaster:\001*ZM\"H/v1beta1/projects" - + "/{project_id}/zones/{zone}/clusters/{clu" - + "ster_id}/master:\001*\022\210\002\n\rSetMasterAuth\022..g" - + "oogle.container.v1beta1.SetMasterAuthReq" - + "uest\032#.google.container.v1beta1.Operatio" - + "n\"\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/*/l" - + "ocations/*/clusters/*}:setMasterAuth:\001*Z" - + "T\"O/v1beta1/projects/{project_id}/zones/" - + "{zone}/clusters/{cluster_id}:setMasterAu" - + "th:\001*\022\202\002\n\rDeleteCluster\022..google.contain" - + "er.v1beta1.DeleteClusterRequest\032#.google" - + ".container.v1beta1.Operation\"\233\001\332A\032projec" - + "t_id,zone,cluster_id\202\323\344\223\002x*1/v1beta1/{na" - + "me=projects/*/locations/*/clusters/*}ZC*" - + "A/v1beta1/projects/{project_id}/zones/{z" - + "one}/clusters/{cluster_id}\022\375\001\n\016ListOpera" - + "tions\022/.google.container.v1beta1.ListOpe" - + "rationsRequest\0320.google.container.v1beta" - + "1.ListOperationsResponse\"\207\001\332A\017project_id" - + ",zone\202\323\344\223\002o\0223/v1beta1/{parent=projects/*" - + "/locations/*}/operationsZ8\0226/v1beta1/pro" - + "jects/{project_id}/zones/{zone}/operatio" - + "ns\022\210\002\n\014GetOperation\022-.google.container.v" - + "1beta1.GetOperationRequest\032#.google.cont" - + "ainer.v1beta1.Operation\"\243\001\332A\034project_id," - + "zone,operation_id\202\323\344\223\002~\0223/v1beta1/{name=" - + "projects/*/locations/*/operations/*}ZG\022E" - + "/v1beta1/projects/{project_id}/zones/{zo" - + "ne}/operations/{operation_id}\022\226\002\n\017Cancel" - + "Operation\0220.google.container.v1beta1.Can" - + "celOperationRequest\032\026.google.protobuf.Em" - + "pty\"\270\001\332A\034project_id,zone,operation_id\202\323\344" - + "\223\002\222\001\":/v1beta1/{name=projects/*/location" - + "s/*/operations/*}:cancel:\001*ZQ\"L/v1beta1/" - + "projects/{project_id}/zones/{zone}/opera" - + "tions/{operation_id}:cancel:\001*\022\367\001\n\017GetSe" - + "rverConfig\0220.google.container.v1beta1.Ge" - + "tServerConfigRequest\032&.google.container." - + "v1beta1.ServerConfig\"\211\001\332A\017project_id,zon" - + "e\202\323\344\223\002q\0223/v1beta1/{name=projects/*/locat" - + "ions/*}/serverConfigZ:\0228/v1beta1/project" - + "s/{project_id}/zones/{zone}/serverconfig" - + "\022\265\001\n\016GetJSONWebKeys\022/.google.container.v" - + "1beta1.GetJSONWebKeysRequest\0320.google.co" - + "ntainer.v1beta1.GetJSONWebKeysResponse\"@" - + "\202\323\344\223\002:\0228/v1beta1/{parent=projects/*/loca" - + "tions/*/clusters/*}/jwks\022\245\002\n\rListNodePoo" - + "ls\022..google.container.v1beta1.ListNodePo" - + "olsRequest\032/.google.container.v1beta1.Li" - + "stNodePoolsResponse\"\262\001\332A\032project_id,zone" - + ",cluster_id\202\323\344\223\002\216\001\022=/v1beta1/{parent=pro" - + "jects/*/locations/*/clusters/*}/nodePool" - + "sZM\022K/v1beta1/projects/{project_id}/zone" - + "s/{zone}/clusters/{cluster_id}/nodePools" - + "\022\260\002\n\013GetNodePool\022,.google.container.v1be" - + "ta1.GetNodePoolRequest\032\".google.containe" - + "r.v1beta1.NodePool\"\316\001\332A\'project_id,zone," - + "cluster_id,node_pool_id\202\323\344\223\002\235\001\022=/v1beta1" - + "/{name=projects/*/locations/*/clusters/*" - + "/nodePools/*}Z\\\022Z/v1beta1/projects/{proj" - + "ect_id}/zones/{zone}/clusters/{cluster_i" - + "d}/nodePools/{node_pool_id}\022\253\002\n\016CreateNo" - + "dePool\022/.google.container.v1beta1.Create" - + "NodePoolRequest\032#.google.container.v1bet" - + "a1.Operation\"\302\001\332A$project_id,zone,cluste" - + "r_id,node_pool\202\323\344\223\002\224\001\"=/v1beta1/{parent=" - + "projects/*/locations/*/clusters/*}/nodeP" - + "ools:\001*ZP\"K/v1beta1/projects/{project_id" - + "}/zones/{zone}/clusters/{cluster_id}/nod" - + "ePools:\001*\022\267\002\n\016DeleteNodePool\022/.google.co" - + "ntainer.v1beta1.DeleteNodePoolRequest\032#." - + "google.container.v1beta1.Operation\"\316\001\332A\'" - + "project_id,zone,cluster_id,node_pool_id\202" - + "\323\344\223\002\235\001*=/v1beta1/{name=projects/*/locati" - + "ons/*/clusters/*/nodePools/*}Z\\*Z/v1beta" - + "1/projects/{project_id}/zones/{zone}/clu" - + "sters/{cluster_id}/nodePools/{node_pool_" - + "id}\022\305\001\n\027CompleteNodePoolUpgrade\0228.google" - + ".container.v1beta1.CompleteNodePoolUpgra" - + "deRequest\032\026.google.protobuf.Empty\"X\202\323\344\223\002" - + "R\"M/v1beta1/{name=projects/*/locations/*" - + "/clusters/*/nodePools/*}:completeUpgrade" - + ":\001*\022\341\002\n\027RollbackNodePoolUpgrade\0228.google" - + ".container.v1beta1.RollbackNodePoolUpgra" - + "deRequest\032#.google.container.v1beta1.Ope" - + "ration\"\346\001\332A\'project_id,zone,cluster_id,n" - + "ode_pool_id\202\323\344\223\002\265\001\"F/v1beta1/{name=proje" - + "cts/*/locations/*/clusters/*/nodePools/*" - + "}:rollback:\001*Zh\"c/v1beta1/projects/{proj" - + "ect_id}/zones/{zone}/clusters/{cluster_i" - + "d}/nodePools/{node_pool_id}:rollback:\001*\022" - + "\362\002\n\025SetNodePoolManagement\0226.google.conta" - + "iner.v1beta1.SetNodePoolManagementReques" - + "t\032#.google.container.v1beta1.Operation\"\373" - + "\001\332A2project_id,zone,cluster_id,node_pool" - + "_id,management\202\323\344\223\002\277\001\"K/v1beta1/{name=pr" - + "ojects/*/locations/*/clusters/*/nodePool" - + "s/*}:setManagement:\001*Zm\"h/v1beta1/projec" + + "r_id}/nodePools/{node_pool_id}/autoscaling:\001*\022\264\002\n" + + "\021SetLoggingService\0222.google.container.v1beta1.SetLoggingServiceRequest\032" + + "#.google.container.v1beta1.Operation\"\305\001\332" + + "A*project_id,zone,cluster_id,logging_ser" + + "vice\202\323\344\223\002\221\001\"/v1beta1/{name=proje" + + "cts/*/locations/*/clusters/*}:setLocations:\001*ZP\"K/v1beta1/projects/{project_id}/" + + "zones/{zone}/clusters/{cluster_id}/locations:\001*\022\252\002\n" + + "\014UpdateMaster\022-.google.container.v1beta1.UpdateMasterRequest\032#.google" + + ".container.v1beta1.Operation\"\305\001\332A)projec" + + "t_id,zone,cluster_id,master_version\202\323\344\223\002" + + "\222\001\">/v1beta1/{name=projects/*/locations/" + + "*/clusters/*}:updateMaster:\001*ZM\"H/v1beta" + + "1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master:\001*\022\210\002\n\r" + + "SetMasterAuth\022..google.container.v1beta1.SetMas" + + "terAuthRequest\032#.google.container.v1beta" + + "1.Operation\"\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=pr" + + "ojects/*/locations/*/clusters/*}:setMasterAuth:\001*ZT\"O/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth:\001*\022\202\002\n\r" + + "DeleteCluster\022..google.container.v1beta1.DeleteClusterReques" + + "t\032#.google.container.v1beta1.Operation\"\233" + + "\001\332A\032project_id,zone,cluster_id\202\323\344\223\002x*1/v" + + "1beta1/{name=projects/*/locations/*/clus" + + "ters/*}ZC*A/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}\022\375\001\n" + + "\016ListOperations\022/.google.container.v1bet" + + "a1.ListOperationsRequest\0320.google.contai" + + "ner.v1beta1.ListOperationsResponse\"\207\001\332A\017" + + "project_id,zone\202\323\344\223\002o\0223/v1beta1/{parent=" + + "projects/*/locations/*}/operationsZ8\0226/v" + + "1beta1/projects/{project_id}/zones/{zone}/operations\022\210\002\n" + + "\014GetOperation\022-.google.container.v1beta1.GetOperationRequest\032#.g" + + "oogle.container.v1beta1.Operation\"\243\001\332A\034p" + + "roject_id,zone,operation_id\202\323\344\223\002~\0223/v1be" + + "ta1/{name=projects/*/locations/*/operations/*}ZG\022E/v1beta1/projects/{project_id}" + + "/zones/{zone}/operations/{operation_id}\022\226\002\n" + + "\017CancelOperation\0220.google.container.v" + + "1beta1.CancelOperationRequest\032\026.google.p" + + "rotobuf.Empty\"\270\001\332A\034project_id,zone,opera" + + "tion_id\202\323\344\223\002\222\001\":/v1beta1/{name=projects/" + + "*/locations/*/operations/*}:cancel:\001*ZQ\"L/v1beta1/projects/{project_id}/zones/{z" + + "one}/operations/{operation_id}:cancel:\001*\022\367\001\n" + + "\017GetServerConfig\0220.google.container.v1beta1.GetServerConfigRequest\032&.google." + + "container.v1beta1.ServerConfig\"\211\001\332A\017proj" + + "ect_id,zone\202\323\344\223\002q\0223/v1beta1/{name=projec" + + "ts/*/locations/*}/serverConfigZ:\0228/v1bet" + + "a1/projects/{project_id}/zones/{zone}/serverconfig\022\265\001\n" + + "\016GetJSONWebKeys\022/.google.container.v1beta1.GetJSONWebKeysRequest\0320" + + ".google.container.v1beta1.GetJSONWebKeys" + + "Response\"@\202\323\344\223\002:\0228/v1beta1/{parent=projects/*/locations/*/clusters/*}/jwks\022\245\002\n\r" + + "ListNodePools\022..google.container.v1beta1." + + "ListNodePoolsRequest\032/.google.container." + + "v1beta1.ListNodePoolsResponse\"\262\001\332A\032proje" + + "ct_id,zone,cluster_id\202\323\344\223\002\216\001\022=/v1beta1/{" + + "parent=projects/*/locations/*/clusters/*}/nodePoolsZM\022K/v1beta1/projects/{projec" + + "t_id}/zones/{zone}/clusters/{cluster_id}/nodePools\022\260\002\n" + + "\013GetNodePool\022,.google.container.v1beta1.GetNodePoolRequest\032\".googl" + + "e.container.v1beta1.NodePool\"\316\001\332A\'projec" + + "t_id,zone,cluster_id,node_pool_id\202\323\344\223\002\235\001" + + "\022=/v1beta1/{name=projects/*/locations/*/" + + "clusters/*/nodePools/*}Z\\\022Z/v1beta1/projects/{project_id}/zones/{zone}/clusters/" + + "{cluster_id}/nodePools/{node_pool_id}\022\253\002\n" + + "\016CreateNodePool\022/.google.container.v1be" + + "ta1.CreateNodePoolRequest\032#.google.conta" + + "iner.v1beta1.Operation\"\302\001\332A$project_id,z" + + "one,cluster_id,node_pool\202\323\344\223\002\224\001\"=/v1beta" + + "1/{parent=projects/*/locations/*/clusters/*}/nodePools:\001*ZP\"K/v1beta1/projects/{" + + "project_id}/zones/{zone}/clusters/{cluster_id}/nodePools:\001*\022\267\002\n" + + "\016DeleteNodePool\022/.google.container.v1beta1.DeleteNodePool" + + "Request\032#.google.container.v1beta1.Opera" + + "tion\"\316\001\332A\'project_id,zone,cluster_id,nod" + + "e_pool_id\202\323\344\223\002\235\001*=/v1beta1/{name=project" + + "s/*/locations/*/clusters/*/nodePools/*}Z\\*Z/v1beta1/projects/{project_id}/zones/" + + "{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}\022\305\001\n" + + "\027CompleteNodePoolUpgrade\0228.google.container.v1beta1.CompleteNod" + + "ePoolUpgradeRequest\032\026.google.protobuf.Em" + + "pty\"X\202\323\344\223\002R\"M/v1beta1/{name=projects/*/l" + + "ocations/*/clusters/*/nodePools/*}:completeUpgrade:\001*\022\341\002\n" + + "\027RollbackNodePoolUpgrade\0228.google.container.v1beta1.RollbackNod" + + "ePoolUpgradeRequest\032#.google.container.v" + + "1beta1.Operation\"\346\001\332A\'project_id,zone,cl" + + "uster_id,node_pool_id\202\323\344\223\002\265\001\"F/v1beta1/{" + + "name=projects/*/locations/*/clusters/*/nodePools/*}:rollback:\001*Zh\"c/v1beta1/proj" + + "ects/{project_id}/zones/{zone}/clusters/" + + "{cluster_id}/nodePools/{node_pool_id}:rollback:\001*\022\362\002\n" + + "\025SetNodePoolManagement\0226.google.container.v1beta1.SetNodePoolManage" + + "mentRequest\032#.google.container.v1beta1.O" + + "peration\"\373\001\332A2project_id,zone,cluster_id" + + ",node_pool_id,management\202\323\344\223\002\277\001\"K/v1beta" + + "1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement:\001*Zm\"h/v1be" + + "ta1/projects/{project_id}/zones/{zone}/c" + + "lusters/{cluster_id}/nodePools/{node_pool_id}/setManagement:\001*\022\304\002\n" + + "\tSetLabels\022*.google.container.v1beta1.SetLabelsRequest" + + "\032#.google.container.v1beta1.Operation\"\345\001" + + "\332A * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -597,7 +597,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override @@ -1016,7 +1016,7 @@ public com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPod * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -1046,7 +1046,7 @@ public boolean hasDesiredPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return The desiredPrivateClusterConfig. */ @java.lang.Override @@ -1325,7 +1325,7 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseCha * * * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -1348,7 +1348,7 @@ public boolean hasPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return The privateClusterConfig. */ @java.lang.Override @@ -1396,7 +1396,7 @@ public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return Whether the desiredTpuConfig field is set. */ @java.lang.Override @@ -1417,7 +1417,7 @@ public boolean hasDesiredTpuConfig() { * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return The desiredTpuConfig. */ @java.lang.Override @@ -1997,7 +1997,9 @@ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates( * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -2013,7 +2015,9 @@ public boolean hasDesiredWorkloadAltsConfig() { * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -2031,7 +2035,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsCon * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -2570,7 +2576,7 @@ public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServ * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -2594,7 +2600,7 @@ public boolean hasDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -2786,7 +2792,7 @@ public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetw * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Override @@ -2808,7 +2814,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return The desiredProtectConfig. */ @java.lang.Override @@ -4177,7 +4183,7 @@ public boolean hasDesiredNodePoolAutoConfigKubeletConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3634 + * google/container/v1beta1/cluster_service.proto;l=3783 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Override @@ -4203,7 +4209,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3634 + * google/container/v1beta1/cluster_service.proto;l=3783 * @return The userManagedKeysConfig. */ @java.lang.Override @@ -4369,13 +4375,21 @@ public boolean hasDesiredAdditionalIpRangesConfig() { * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3796 * @return Whether the desiredEnterpriseConfig field is set. */ @java.lang.Override + @java.lang.Deprecated public boolean hasDesiredEnterpriseConfig() { return ((bitField1_ & 0x40000000) != 0); } @@ -4385,13 +4399,21 @@ public boolean hasDesiredEnterpriseConfig() { * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3796 * @return The desiredEnterpriseConfig. */ @java.lang.Override + @java.lang.Deprecated public com.google.container.v1beta1.DesiredEnterpriseConfig getDesiredEnterpriseConfig() { return desiredEnterpriseConfig_ == null ? com.google.container.v1beta1.DesiredEnterpriseConfig.getDefaultInstance() @@ -4403,11 +4425,17 @@ public com.google.container.v1beta1.DesiredEnterpriseConfig getDesiredEnterprise * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * */ @java.lang.Override + @java.lang.Deprecated public com.google.container.v1beta1.DesiredEnterpriseConfigOrBuilder getDesiredEnterpriseConfigOrBuilder() { return desiredEnterpriseConfig_ == null @@ -4749,6 +4777,60 @@ public com.google.container.v1beta1.GkeAutoUpgradeConfig getGkeAutoUpgradeConfig : gkeAutoUpgradeConfig_; } + public static final int DESIRED_NETWORK_TIER_CONFIG_FIELD_NUMBER = 155; + private com.google.container.v1beta1.NetworkTierConfig desiredNetworkTierConfig_; + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return Whether the desiredNetworkTierConfig field is set. + */ + @java.lang.Override + public boolean hasDesiredNetworkTierConfig() { + return ((bitField2_ & 0x00000020) != 0); + } + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return The desiredNetworkTierConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig getDesiredNetworkTierConfig() { + return desiredNetworkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : desiredNetworkTierConfig_; + } + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfigOrBuilder + getDesiredNetworkTierConfigOrBuilder() { + return desiredNetworkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : desiredNetworkTierConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -5006,6 +5088,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField2_ & 0x00000010) != 0)) { output.writeMessage(154, getGkeAutoUpgradeConfig()); } + if (((bitField2_ & 0x00000020) != 0)) { + output.writeMessage(155, getDesiredNetworkTierConfig()); + } if (((bitField2_ & 0x00000008) != 0)) { output.writeMessage(156, getDesiredAnonymousAuthenticationConfig()); } @@ -5379,6 +5464,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(154, getGkeAutoUpgradeConfig()); } + if (((bitField2_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 155, getDesiredNetworkTierConfig()); + } if (((bitField2_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -5754,6 +5844,10 @@ public boolean equals(final java.lang.Object obj) { if (hasGkeAutoUpgradeConfig()) { if (!getGkeAutoUpgradeConfig().equals(other.getGkeAutoUpgradeConfig())) return false; } + if (hasDesiredNetworkTierConfig() != other.hasDesiredNetworkTierConfig()) return false; + if (hasDesiredNetworkTierConfig()) { + if (!getDesiredNetworkTierConfig().equals(other.getDesiredNetworkTierConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6077,6 +6171,10 @@ public int hashCode() { hash = (37 * hash) + GKE_AUTO_UPGRADE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGkeAutoUpgradeConfig().hashCode(); } + if (hasDesiredNetworkTierConfig()) { + hash = (37 * hash) + DESIRED_NETWORK_TIER_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDesiredNetworkTierConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -6282,6 +6380,7 @@ private void maybeForceBuilderInitialization() { getDesiredUserManagedKeysConfigFieldBuilder(); getDesiredAnonymousAuthenticationConfigFieldBuilder(); getGkeAutoUpgradeConfigFieldBuilder(); + getDesiredNetworkTierConfigFieldBuilder(); } } @@ -6619,6 +6718,11 @@ public Builder clear() { gkeAutoUpgradeConfigBuilder_.dispose(); gkeAutoUpgradeConfigBuilder_ = null; } + desiredNetworkTierConfig_ = null; + if (desiredNetworkTierConfigBuilder_ != null) { + desiredNetworkTierConfigBuilder_.dispose(); + desiredNetworkTierConfigBuilder_ = null; + } return this; } @@ -7167,6 +7271,13 @@ private void buildPartial2(com.google.container.v1beta1.ClusterUpdate result) { : gkeAutoUpgradeConfigBuilder_.build(); to_bitField2_ |= 0x00000010; } + if (((from_bitField2_ & 0x00010000) != 0)) { + result.desiredNetworkTierConfig_ = + desiredNetworkTierConfigBuilder_ == null + ? desiredNetworkTierConfig_ + : desiredNetworkTierConfigBuilder_.build(); + to_bitField2_ |= 0x00000020; + } result.bitField1_ |= to_bitField1_; result.bitField2_ |= to_bitField2_; } @@ -7483,6 +7594,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) { if (other.hasGkeAutoUpgradeConfig()) { mergeGkeAutoUpgradeConfig(other.getGkeAutoUpgradeConfig()); } + if (other.hasDesiredNetworkTierConfig()) { + mergeDesiredNetworkTierConfig(other.getDesiredNetworkTierConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -8059,6 +8173,13 @@ public Builder mergeFrom( bitField2_ |= 0x00008000; break; } // case 1234 + case 1242: + { + input.readMessage( + getDesiredNetworkTierConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField2_ |= 0x00010000; + break; + } // case 1242 case 1250: { input.readMessage( @@ -9345,7 +9466,7 @@ public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config - * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -9369,7 +9490,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config - * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -10827,7 +10948,7 @@ public Builder clearDesiredVerticalPodAutoscaling() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Deprecated @@ -10856,7 +10977,7 @@ public boolean hasDesiredPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return The desiredPrivateClusterConfig. */ @java.lang.Deprecated @@ -11947,7 +12068,7 @@ public com.google.container.v1beta1.ReleaseChannel.Builder getDesiredReleaseChan * * * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return Whether the privateClusterConfig field is set. */ @java.lang.Deprecated @@ -11969,7 +12090,7 @@ public boolean hasPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return The privateClusterConfig. */ @java.lang.Deprecated @@ -12193,7 +12314,7 @@ public Builder clearPrivateClusterConfig() { * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return Whether the desiredTpuConfig field is set. */ @java.lang.Deprecated @@ -12213,7 +12334,7 @@ public boolean hasDesiredTpuConfig() { * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return The desiredTpuConfig. */ @java.lang.Deprecated @@ -14215,7 +14336,9 @@ public Builder clearDesiredMeshCertificates() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14230,7 +14353,9 @@ public boolean hasDesiredWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14251,7 +14376,9 @@ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsCon * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14275,7 +14402,9 @@ public Builder setDesiredWorkloadAltsConfig( * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14296,7 +14425,9 @@ public Builder setDesiredWorkloadAltsConfig( * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14326,7 +14457,9 @@ public Builder mergeDesiredWorkloadAltsConfig( * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14346,7 +14479,9 @@ public Builder clearDesiredWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14362,7 +14497,9 @@ public Builder clearDesiredWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -14382,7 +14519,9 @@ public Builder clearDesiredWorkloadAltsConfig() { * * *
-     * Configuration for direct-path (via ALTS) with workload identity.
+     * Configuration for direct-path (via ALTS) with workload identity. This
+     * feature is not officially supported for external customers in Kubernetes
+     * Engine when using Workload Identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -16276,7 +16415,7 @@ public Builder clearDesiredIdentityServiceConfig() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -16300,7 +16439,7 @@ public boolean hasDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -16324,7 +16463,7 @@ public boolean getDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -16352,7 +16491,7 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16919,7 +17058,7 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -16940,7 +17079,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -21547,7 +21686,7 @@ public Builder clearDesiredNodePoolAutoConfigKubeletConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3634 + * See google/container/v1beta1/cluster_service.proto;l=3783 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -21572,7 +21711,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3634 + * See google/container/v1beta1/cluster_service.proto;l=3783 * @return The userManagedKeysConfig. */ @java.lang.Deprecated @@ -22249,13 +22388,20 @@ public Builder clearDesiredAdditionalIpRangesConfig() { * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3796 * @return Whether the desiredEnterpriseConfig field is set. */ + @java.lang.Deprecated public boolean hasDesiredEnterpriseConfig() { return ((bitField2_ & 0x00000200) != 0); } @@ -22265,13 +22411,20 @@ public boolean hasDesiredEnterpriseConfig() { * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3796 * @return The desiredEnterpriseConfig. */ + @java.lang.Deprecated public com.google.container.v1beta1.DesiredEnterpriseConfig getDesiredEnterpriseConfig() { if (desiredEnterpriseConfigBuilder_ == null) { return desiredEnterpriseConfig_ == null @@ -22287,11 +22440,16 @@ public com.google.container.v1beta1.DesiredEnterpriseConfig getDesiredEnterprise * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public Builder setDesiredEnterpriseConfig( com.google.container.v1beta1.DesiredEnterpriseConfig value) { if (desiredEnterpriseConfigBuilder_ == null) { @@ -22312,11 +22470,16 @@ public Builder setDesiredEnterpriseConfig( * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public Builder setDesiredEnterpriseConfig( com.google.container.v1beta1.DesiredEnterpriseConfig.Builder builderForValue) { if (desiredEnterpriseConfigBuilder_ == null) { @@ -22334,11 +22497,16 @@ public Builder setDesiredEnterpriseConfig( * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public Builder mergeDesiredEnterpriseConfig( com.google.container.v1beta1.DesiredEnterpriseConfig value) { if (desiredEnterpriseConfigBuilder_ == null) { @@ -22365,11 +22533,16 @@ public Builder mergeDesiredEnterpriseConfig( * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public Builder clearDesiredEnterpriseConfig() { bitField2_ = (bitField2_ & ~0x00000200); desiredEnterpriseConfig_ = null; @@ -22386,11 +22559,16 @@ public Builder clearDesiredEnterpriseConfig() { * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public com.google.container.v1beta1.DesiredEnterpriseConfig.Builder getDesiredEnterpriseConfigBuilder() { bitField2_ |= 0x00000200; @@ -22403,11 +22581,16 @@ public Builder clearDesiredEnterpriseConfig() { * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ + @java.lang.Deprecated public com.google.container.v1beta1.DesiredEnterpriseConfigOrBuilder getDesiredEnterpriseConfigOrBuilder() { if (desiredEnterpriseConfigBuilder_ != null) { @@ -22424,9 +22607,13 @@ public Builder clearDesiredEnterpriseConfig() { * *
      * The desired enterprise configuration for the cluster.
+     *
+     * Deprecated: GKE Enterprise features are now available without an Enterprise
+     * tier.
      * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -23600,6 +23787,206 @@ public Builder clearGkeAutoUpgradeConfig() { return gkeAutoUpgradeConfigBuilder_; } + private com.google.container.v1beta1.NetworkTierConfig desiredNetworkTierConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + desiredNetworkTierConfigBuilder_; + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return Whether the desiredNetworkTierConfig field is set. + */ + public boolean hasDesiredNetworkTierConfig() { + return ((bitField2_ & 0x00010000) != 0); + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return The desiredNetworkTierConfig. + */ + public com.google.container.v1beta1.NetworkTierConfig getDesiredNetworkTierConfig() { + if (desiredNetworkTierConfigBuilder_ == null) { + return desiredNetworkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : desiredNetworkTierConfig_; + } else { + return desiredNetworkTierConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public Builder setDesiredNetworkTierConfig( + com.google.container.v1beta1.NetworkTierConfig value) { + if (desiredNetworkTierConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredNetworkTierConfig_ = value; + } else { + desiredNetworkTierConfigBuilder_.setMessage(value); + } + bitField2_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public Builder setDesiredNetworkTierConfig( + com.google.container.v1beta1.NetworkTierConfig.Builder builderForValue) { + if (desiredNetworkTierConfigBuilder_ == null) { + desiredNetworkTierConfig_ = builderForValue.build(); + } else { + desiredNetworkTierConfigBuilder_.setMessage(builderForValue.build()); + } + bitField2_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public Builder mergeDesiredNetworkTierConfig( + com.google.container.v1beta1.NetworkTierConfig value) { + if (desiredNetworkTierConfigBuilder_ == null) { + if (((bitField2_ & 0x00010000) != 0) + && desiredNetworkTierConfig_ != null + && desiredNetworkTierConfig_ + != com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance()) { + getDesiredNetworkTierConfigBuilder().mergeFrom(value); + } else { + desiredNetworkTierConfig_ = value; + } + } else { + desiredNetworkTierConfigBuilder_.mergeFrom(value); + } + if (desiredNetworkTierConfig_ != null) { + bitField2_ |= 0x00010000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public Builder clearDesiredNetworkTierConfig() { + bitField2_ = (bitField2_ & ~0x00010000); + desiredNetworkTierConfig_ = null; + if (desiredNetworkTierConfigBuilder_ != null) { + desiredNetworkTierConfigBuilder_.dispose(); + desiredNetworkTierConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public com.google.container.v1beta1.NetworkTierConfig.Builder + getDesiredNetworkTierConfigBuilder() { + bitField2_ |= 0x00010000; + onChanged(); + return getDesiredNetworkTierConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + public com.google.container.v1beta1.NetworkTierConfigOrBuilder + getDesiredNetworkTierConfigOrBuilder() { + if (desiredNetworkTierConfigBuilder_ != null) { + return desiredNetworkTierConfigBuilder_.getMessageOrBuilder(); + } else { + return desiredNetworkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : desiredNetworkTierConfig_; + } + } + + /** + * + * + *
+     * The desired network tier configuration for the cluster.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + getDesiredNetworkTierConfigFieldBuilder() { + if (desiredNetworkTierConfigBuilder_ == null) { + desiredNetworkTierConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder>( + getDesiredNetworkTierConfig(), getParentForChildren(), isClean()); + desiredNetworkTierConfig_ = null; + } + return desiredNetworkTierConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java index a45da211fcb1..0ca935a719d2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java @@ -358,7 +358,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -380,7 +380,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3526 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3567 * @return The desiredPrivateClusterConfig. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return Whether the privateClusterConfig field is set. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3437 + * google/container/v1beta1/cluster_service.proto;l=3584 * @return The privateClusterConfig. */ @java.lang.Deprecated @@ -957,7 +957,7 @@ public interface ClusterUpdateOrBuilder * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return Whether the desiredTpuConfig field is set. */ @java.lang.Deprecated @@ -975,7 +975,7 @@ public interface ClusterUpdateOrBuilder * .google.container.v1beta1.TpuConfig desired_tpu_config = 38 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_tpu_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3442 + * google/container/v1beta1/cluster_service.proto;l=3589 * @return The desiredTpuConfig. */ @java.lang.Deprecated @@ -1375,7 +1375,9 @@ public interface ClusterUpdateOrBuilder * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -1388,7 +1390,9 @@ public interface ClusterUpdateOrBuilder * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -1401,7 +1405,9 @@ public interface ClusterUpdateOrBuilder * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; @@ -1784,7 +1790,7 @@ public interface ClusterUpdateOrBuilder * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Deprecated @@ -1805,7 +1811,7 @@ public interface ClusterUpdateOrBuilder * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1beta1.ClusterUpdate.desired_enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3673 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Deprecated @@ -1948,7 +1954,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -1967,7 +1973,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3542 + * google/container/v1beta1/cluster_service.proto;l=3691 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -2942,7 +2948,7 @@ public interface ClusterUpdateOrBuilder *
* * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3634 + * google/container/v1beta1/cluster_service.proto;l=3783 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -2965,7 +2971,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3634 + * google/container/v1beta1/cluster_service.proto;l=3783 * @return The userManagedKeysConfig. */ @java.lang.Deprecated @@ -3082,12 +3088,20 @@ public interface ClusterUpdateOrBuilder * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3796 * @return Whether the desiredEnterpriseConfig field is set. */ + @java.lang.Deprecated boolean hasDesiredEnterpriseConfig(); /** @@ -3095,12 +3109,20 @@ public interface ClusterUpdateOrBuilder * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * * + * @deprecated google.container.v1beta1.ClusterUpdate.desired_enterprise_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3796 * @return The desiredEnterpriseConfig. */ + @java.lang.Deprecated com.google.container.v1beta1.DesiredEnterpriseConfig getDesiredEnterpriseConfig(); /** @@ -3108,10 +3130,16 @@ public interface ClusterUpdateOrBuilder * *
    * The desired enterprise configuration for the cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* - * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147; + * + * .google.container.v1beta1.DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; + * */ + @java.lang.Deprecated com.google.container.v1beta1.DesiredEnterpriseConfigOrBuilder getDesiredEnterpriseConfigOrBuilder(); @@ -3356,4 +3384,41 @@ public interface ClusterUpdateOrBuilder * .google.container.v1beta1.GkeAutoUpgradeConfig gke_auto_upgrade_config = 154; */ com.google.container.v1beta1.GkeAutoUpgradeConfigOrBuilder getGkeAutoUpgradeConfigOrBuilder(); + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return Whether the desiredNetworkTierConfig field is set. + */ + boolean hasDesiredNetworkTierConfig(); + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + * + * @return The desiredNetworkTierConfig. + */ + com.google.container.v1beta1.NetworkTierConfig getDesiredNetworkTierConfig(); + + /** + * + * + *
+   * The desired network tier configuration for the cluster.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig desired_network_tier_config = 155; + */ + com.google.container.v1beta1.NetworkTierConfigOrBuilder getDesiredNetworkTierConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index bb521bd02b99..e3d95d9e74a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The bytes for clusterId. */ @java.lang.Override @@ -741,7 +741,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The projectId. */ @java.lang.Deprecated @@ -769,7 +769,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @param value The projectId to set. * @return This builder for chaining. */ @@ -824,7 +824,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return This builder for chaining. */ @java.lang.Deprecated @@ -847,7 +847,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -878,7 +878,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The zone. */ @java.lang.Deprecated @@ -907,7 +907,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The bytes for zone. */ @java.lang.Deprecated @@ -936,7 +936,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @param value The zone to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return This builder for chaining. */ @java.lang.Deprecated @@ -988,7 +988,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1017,7 +1017,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The clusterId. */ @java.lang.Deprecated @@ -1044,7 +1044,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1071,7 +1071,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1119,7 +1119,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index 730e251b1ae9..8b1e59f04aa9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5641 + * google/container/v1beta1/cluster_service.proto;l=5832 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5647 + * google/container/v1beta1/cluster_service.proto;l=5838 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5651 + * google/container/v1beta1/cluster_service.proto;l=5842 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfig.java index 5021fb48be86..641f297bdb43 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfig.java @@ -288,7 +288,7 @@ public interface CertificateAuthorityDomainConfigOrBuilder * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -303,7 +303,7 @@ public interface CertificateAuthorityDomainConfigOrBuilder * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -320,7 +320,7 @@ public interface CertificateAuthorityDomainConfigOrBuilder * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -1283,7 +1283,7 @@ public com.google.protobuf.ByteString getFqdnsBytes(int index) { * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -1301,7 +1301,7 @@ public boolean hasGcpSecretManagerCertificateConfig() { * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -1328,7 +1328,7 @@ public boolean hasGcpSecretManagerCertificateConfig() { * * *
-       * Google Secret Manager (GCP) certificate configuration.
+       * Secret Manager certificate configuration.
        * 
* * @@ -2095,7 +2095,7 @@ public Builder addFqdnsBytes(com.google.protobuf.ByteString value) { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2113,7 +2113,7 @@ public boolean hasGcpSecretManagerCertificateConfig() { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2149,7 +2149,7 @@ public boolean hasGcpSecretManagerCertificateConfig() { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2177,7 +2177,7 @@ public Builder setGcpSecretManagerCertificateConfig( * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2202,7 +2202,7 @@ public Builder setGcpSecretManagerCertificateConfig( * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2248,7 +2248,7 @@ public Builder mergeGcpSecretManagerCertificateConfig( * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2276,7 +2276,7 @@ public Builder clearGcpSecretManagerCertificateConfig() { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2293,7 +2293,7 @@ public Builder clearGcpSecretManagerCertificateConfig() { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -2323,7 +2323,7 @@ public Builder clearGcpSecretManagerCertificateConfig() { * * *
-         * Google Secret Manager (GCP) certificate configuration.
+         * Secret Manager certificate configuration.
          * 
* * @@ -3595,6 +3595,560 @@ public com.google.protobuf.Parser getParserForType( } } + public interface WritableCgroupsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ContainerdConfig.WritableCgroups) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Whether writable cgroups is enabled.
+     * 
+ * + * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + boolean getEnabled(); + } + + /** + * + * + *
+   * Defines writable cgroups configuration.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.ContainerdConfig.WritableCgroups} + */ + public static final class WritableCgroups extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.ContainerdConfig.WritableCgroups) + WritableCgroupsOrBuilder { + private static final long serialVersionUID = 0L; + + // Use WritableCgroups.newBuilder() to construct. + private WritableCgroups(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WritableCgroups() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WritableCgroups(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.class, + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_ = false; + + /** + * + * + *
+     * Optional. Whether writable cgroups is enabled.
+     * 
+ * + * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (enabled_ != false) { + output.writeBool(1, enabled_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.ContainerdConfig.WritableCgroups)) { + return super.equals(obj); + } + com.google.container.v1beta1.ContainerdConfig.WritableCgroups other = + (com.google.container.v1beta1.ContainerdConfig.WritableCgroups) obj; + + if (getEnabled() != other.getEnabled()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Defines writable cgroups configuration.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.ContainerdConfig.WritableCgroups} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ContainerdConfig.WritableCgroups) + com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.class, + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder.class); + } + + // Construct using com.google.container.v1beta1.ContainerdConfig.WritableCgroups.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enabled_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ContainerdConfig_WritableCgroups_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups + getDefaultInstanceForType() { + return com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups build() { + com.google.container.v1beta1.ContainerdConfig.WritableCgroups result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups buildPartial() { + com.google.container.v1beta1.ContainerdConfig.WritableCgroups result = + new com.google.container.v1beta1.ContainerdConfig.WritableCgroups(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.ContainerdConfig.WritableCgroups) { + return mergeFrom((com.google.container.v1beta1.ContainerdConfig.WritableCgroups) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups other) { + if (other + == com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance()) + return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean enabled_; + + /** + * + * + *
+       * Optional. Whether writable cgroups is enabled.
+       * 
+ * + * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+       * Optional. Whether writable cgroups is enabled.
+       * 
+ * + * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Whether writable cgroups is enabled.
+       * 
+ * + * bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ContainerdConfig.WritableCgroups) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.ContainerdConfig.WritableCgroups) + private static final com.google.container.v1beta1.ContainerdConfig.WritableCgroups + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.ContainerdConfig.WritableCgroups(); + } + + public static com.google.container.v1beta1.ContainerdConfig.WritableCgroups + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WritableCgroups parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + private int bitField0_; public static final int PRIVATE_REGISTRY_ACCESS_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig @@ -3663,6 +4217,69 @@ public boolean hasPrivateRegistryAccessConfig() { : privateRegistryAccessConfig_; } + public static final int WRITABLE_CGROUPS_FIELD_NUMBER = 2; + private com.google.container.v1beta1.ContainerdConfig.WritableCgroups writableCgroups_; + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the writableCgroups field is set. + */ + @java.lang.Override + public boolean hasWritableCgroups() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The writableCgroups. + */ + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups getWritableCgroups() { + return writableCgroups_ == null + ? com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance() + : writableCgroups_; + } + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder + getWritableCgroupsOrBuilder() { + return writableCgroups_ == null + ? com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance() + : writableCgroups_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3680,6 +4297,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPrivateRegistryAccessConfig()); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getWritableCgroups()); + } getUnknownFields().writeTo(output); } @@ -3694,6 +4314,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 1, getPrivateRegistryAccessConfig()); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWritableCgroups()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3715,6 +4338,10 @@ public boolean equals(final java.lang.Object obj) { if (!getPrivateRegistryAccessConfig().equals(other.getPrivateRegistryAccessConfig())) return false; } + if (hasWritableCgroups() != other.hasWritableCgroups()) return false; + if (hasWritableCgroups()) { + if (!getWritableCgroups().equals(other.getWritableCgroups())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3730,6 +4357,10 @@ public int hashCode() { hash = (37 * hash) + PRIVATE_REGISTRY_ACCESS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getPrivateRegistryAccessConfig().hashCode(); } + if (hasWritableCgroups()) { + hash = (37 * hash) + WRITABLE_CGROUPS_FIELD_NUMBER; + hash = (53 * hash) + getWritableCgroups().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3872,6 +4503,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPrivateRegistryAccessConfigFieldBuilder(); + getWritableCgroupsFieldBuilder(); } } @@ -3884,6 +4516,11 @@ public Builder clear() { privateRegistryAccessConfigBuilder_.dispose(); privateRegistryAccessConfigBuilder_ = null; } + writableCgroups_ = null; + if (writableCgroupsBuilder_ != null) { + writableCgroupsBuilder_.dispose(); + writableCgroupsBuilder_ = null; + } return this; } @@ -3928,6 +4565,11 @@ private void buildPartial0(com.google.container.v1beta1.ContainerdConfig result) : privateRegistryAccessConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.writableCgroups_ = + writableCgroupsBuilder_ == null ? writableCgroups_ : writableCgroupsBuilder_.build(); + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -3979,6 +4621,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ContainerdConfig other) { if (other.hasPrivateRegistryAccessConfig()) { mergePrivateRegistryAccessConfig(other.getPrivateRegistryAccessConfig()); } + if (other.hasWritableCgroups()) { + mergeWritableCgroups(other.getWritableCgroups()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4012,6 +4657,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 18: + { + input.readMessage(getWritableCgroupsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4264,6 +4915,234 @@ public Builder clearPrivateRegistryAccessConfig() { return privateRegistryAccessConfigBuilder_; } + private com.google.container.v1beta1.ContainerdConfig.WritableCgroups writableCgroups_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ContainerdConfig.WritableCgroups, + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder, + com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder> + writableCgroupsBuilder_; + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the writableCgroups field is set. + */ + public boolean hasWritableCgroups() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The writableCgroups. + */ + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups getWritableCgroups() { + if (writableCgroupsBuilder_ == null) { + return writableCgroups_ == null + ? com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance() + : writableCgroups_; + } else { + return writableCgroupsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setWritableCgroups( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups value) { + if (writableCgroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + writableCgroups_ = value; + } else { + writableCgroupsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setWritableCgroups( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder builderForValue) { + if (writableCgroupsBuilder_ == null) { + writableCgroups_ = builderForValue.build(); + } else { + writableCgroupsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeWritableCgroups( + com.google.container.v1beta1.ContainerdConfig.WritableCgroups value) { + if (writableCgroupsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && writableCgroups_ != null + && writableCgroups_ + != com.google.container.v1beta1.ContainerdConfig.WritableCgroups + .getDefaultInstance()) { + getWritableCgroupsBuilder().mergeFrom(value); + } else { + writableCgroups_ = value; + } + } else { + writableCgroupsBuilder_.mergeFrom(value); + } + if (writableCgroups_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearWritableCgroups() { + bitField0_ = (bitField0_ & ~0x00000002); + writableCgroups_ = null; + if (writableCgroupsBuilder_ != null) { + writableCgroupsBuilder_.dispose(); + writableCgroupsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder + getWritableCgroupsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getWritableCgroupsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder + getWritableCgroupsOrBuilder() { + if (writableCgroupsBuilder_ != null) { + return writableCgroupsBuilder_.getMessageOrBuilder(); + } else { + return writableCgroups_ == null + ? com.google.container.v1beta1.ContainerdConfig.WritableCgroups.getDefaultInstance() + : writableCgroups_; + } + } + + /** + * + * + *
+     * Optional. WritableCgroups defines writable cgroups configuration for the
+     * node pool.
+     * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ContainerdConfig.WritableCgroups, + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder, + com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder> + getWritableCgroupsFieldBuilder() { + if (writableCgroupsBuilder_ == null) { + writableCgroupsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ContainerdConfig.WritableCgroups, + com.google.container.v1beta1.ContainerdConfig.WritableCgroups.Builder, + com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder>( + getWritableCgroups(), getParentForChildren(), isClean()); + writableCgroups_ = null; + } + return writableCgroupsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfigOrBuilder.java index 7712df724aa0..9bb1ade905d9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ContainerdConfigOrBuilder.java @@ -71,4 +71,51 @@ public interface ContainerdConfigOrBuilder */ com.google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfigOrBuilder getPrivateRegistryAccessConfigOrBuilder(); + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the writableCgroups field is set. + */ + boolean hasWritableCgroups(); + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The writableCgroups. + */ + com.google.container.v1beta1.ContainerdConfig.WritableCgroups getWritableCgroups(); + + /** + * + * + *
+   * Optional. WritableCgroups defines writable cgroups configuration for the
+   * node pool.
+   * 
+ * + * + * .google.container.v1beta1.ContainerdConfig.WritableCgroups writable_cgroups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.container.v1beta1.ContainerdConfig.WritableCgroupsOrBuilder + getWritableCgroupsOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ControlPlaneEndpointsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ControlPlaneEndpointsConfig.java index dcf00d401f60..e867ed603173 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ControlPlaneEndpointsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ControlPlaneEndpointsConfig.java @@ -106,7 +106,8 @@ public interface DNSEndpointConfigOrBuilder * *
      * Controls whether user traffic is allowed over this endpoint. Note that
-     * GCP-managed services may still use the endpoint even if this is false.
+     * Google-managed services may still use the endpoint
+     * even if this is false.
      * 
* * optional bool allow_external_traffic = 3; @@ -120,7 +121,8 @@ public interface DNSEndpointConfigOrBuilder * *
      * Controls whether user traffic is allowed over this endpoint. Note that
-     * GCP-managed services may still use the endpoint even if this is false.
+     * Google-managed services may still use the endpoint
+     * even if this is false.
      * 
* * optional bool allow_external_traffic = 3; @@ -128,6 +130,58 @@ public interface DNSEndpointConfigOrBuilder * @return The allowExternalTraffic. */ boolean getAllowExternalTraffic(); + + /** + * + * + *
+     * Controls whether the k8s token auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return Whether the enableK8sTokensViaDns field is set. + */ + boolean hasEnableK8STokensViaDns(); + + /** + * + * + *
+     * Controls whether the k8s token auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return The enableK8sTokensViaDns. + */ + boolean getEnableK8STokensViaDns(); + + /** + * + * + *
+     * Controls whether the k8s certs auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return Whether the enableK8sCertsViaDns field is set. + */ + boolean hasEnableK8SCertsViaDns(); + + /** + * + * + *
+     * Controls whether the k8s certs auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return The enableK8sCertsViaDns. + */ + boolean getEnableK8SCertsViaDns(); } /** @@ -246,7 +300,8 @@ public com.google.protobuf.ByteString getEndpointBytes() { * *
      * Controls whether user traffic is allowed over this endpoint. Note that
-     * GCP-managed services may still use the endpoint even if this is false.
+     * Google-managed services may still use the endpoint
+     * even if this is false.
      * 
* * optional bool allow_external_traffic = 3; @@ -263,7 +318,8 @@ public boolean hasAllowExternalTraffic() { * *
      * Controls whether user traffic is allowed over this endpoint. Note that
-     * GCP-managed services may still use the endpoint even if this is false.
+     * Google-managed services may still use the endpoint
+     * even if this is false.
      * 
* * optional bool allow_external_traffic = 3; @@ -275,6 +331,76 @@ public boolean getAllowExternalTraffic() { return allowExternalTraffic_; } + public static final int ENABLE_K8S_TOKENS_VIA_DNS_FIELD_NUMBER = 5; + private boolean enableK8STokensViaDns_ = false; + + /** + * + * + *
+     * Controls whether the k8s token auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return Whether the enableK8sTokensViaDns field is set. + */ + @java.lang.Override + public boolean hasEnableK8STokensViaDns() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Controls whether the k8s token auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return The enableK8sTokensViaDns. + */ + @java.lang.Override + public boolean getEnableK8STokensViaDns() { + return enableK8STokensViaDns_; + } + + public static final int ENABLE_K8S_CERTS_VIA_DNS_FIELD_NUMBER = 6; + private boolean enableK8SCertsViaDns_ = false; + + /** + * + * + *
+     * Controls whether the k8s certs auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return Whether the enableK8sCertsViaDns field is set. + */ + @java.lang.Override + public boolean hasEnableK8SCertsViaDns() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Controls whether the k8s certs auth is allowed via DNS.
+     * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return The enableK8sCertsViaDns. + */ + @java.lang.Override + public boolean getEnableK8SCertsViaDns() { + return enableK8SCertsViaDns_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -295,6 +421,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(3, allowExternalTraffic_); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(5, enableK8STokensViaDns_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(6, enableK8SCertsViaDns_); + } getUnknownFields().writeTo(output); } @@ -310,6 +442,12 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowExternalTraffic_); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableK8STokensViaDns_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, enableK8SCertsViaDns_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -332,6 +470,14 @@ public boolean equals(final java.lang.Object obj) { if (hasAllowExternalTraffic()) { if (getAllowExternalTraffic() != other.getAllowExternalTraffic()) return false; } + if (hasEnableK8STokensViaDns() != other.hasEnableK8STokensViaDns()) return false; + if (hasEnableK8STokensViaDns()) { + if (getEnableK8STokensViaDns() != other.getEnableK8STokensViaDns()) return false; + } + if (hasEnableK8SCertsViaDns() != other.hasEnableK8SCertsViaDns()) return false; + if (hasEnableK8SCertsViaDns()) { + if (getEnableK8SCertsViaDns() != other.getEnableK8SCertsViaDns()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -349,6 +495,14 @@ public int hashCode() { hash = (37 * hash) + ALLOW_EXTERNAL_TRAFFIC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowExternalTraffic()); } + if (hasEnableK8STokensViaDns()) { + hash = (37 * hash) + ENABLE_K8S_TOKENS_VIA_DNS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableK8STokensViaDns()); + } + if (hasEnableK8SCertsViaDns()) { + hash = (37 * hash) + ENABLE_K8S_CERTS_VIA_DNS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableK8SCertsViaDns()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -502,6 +656,8 @@ public Builder clear() { bitField0_ = 0; endpoint_ = ""; allowExternalTraffic_ = false; + enableK8STokensViaDns_ = false; + enableK8SCertsViaDns_ = false; return this; } @@ -551,6 +707,14 @@ private void buildPartial0( result.allowExternalTraffic_ = allowExternalTraffic_; to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.enableK8STokensViaDns_ = enableK8STokensViaDns_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.enableK8SCertsViaDns_ = enableK8SCertsViaDns_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -614,6 +778,12 @@ public Builder mergeFrom( if (other.hasAllowExternalTraffic()) { setAllowExternalTraffic(other.getAllowExternalTraffic()); } + if (other.hasEnableK8STokensViaDns()) { + setEnableK8STokensViaDns(other.getEnableK8STokensViaDns()); + } + if (other.hasEnableK8SCertsViaDns()) { + setEnableK8SCertsViaDns(other.getEnableK8SCertsViaDns()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -652,6 +822,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 24 + case 40: + { + enableK8STokensViaDns_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 48: + { + enableK8SCertsViaDns_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -809,7 +991,8 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { * *
        * Controls whether user traffic is allowed over this endpoint. Note that
-       * GCP-managed services may still use the endpoint even if this is false.
+       * Google-managed services may still use the endpoint
+       * even if this is false.
        * 
* * optional bool allow_external_traffic = 3; @@ -826,7 +1009,8 @@ public boolean hasAllowExternalTraffic() { * *
        * Controls whether user traffic is allowed over this endpoint. Note that
-       * GCP-managed services may still use the endpoint even if this is false.
+       * Google-managed services may still use the endpoint
+       * even if this is false.
        * 
* * optional bool allow_external_traffic = 3; @@ -843,7 +1027,8 @@ public boolean getAllowExternalTraffic() { * *
        * Controls whether user traffic is allowed over this endpoint. Note that
-       * GCP-managed services may still use the endpoint even if this is false.
+       * Google-managed services may still use the endpoint
+       * even if this is false.
        * 
* * optional bool allow_external_traffic = 3; @@ -864,7 +1049,8 @@ public Builder setAllowExternalTraffic(boolean value) { * *
        * Controls whether user traffic is allowed over this endpoint. Note that
-       * GCP-managed services may still use the endpoint even if this is false.
+       * Google-managed services may still use the endpoint
+       * even if this is false.
        * 
* * optional bool allow_external_traffic = 3; @@ -878,6 +1064,150 @@ public Builder clearAllowExternalTraffic() { return this; } + private boolean enableK8STokensViaDns_; + + /** + * + * + *
+       * Controls whether the k8s token auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return Whether the enableK8sTokensViaDns field is set. + */ + @java.lang.Override + public boolean hasEnableK8STokensViaDns() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+       * Controls whether the k8s token auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return The enableK8sTokensViaDns. + */ + @java.lang.Override + public boolean getEnableK8STokensViaDns() { + return enableK8STokensViaDns_; + } + + /** + * + * + *
+       * Controls whether the k8s token auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @param value The enableK8sTokensViaDns to set. + * @return This builder for chaining. + */ + public Builder setEnableK8STokensViaDns(boolean value) { + + enableK8STokensViaDns_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Controls whether the k8s token auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_tokens_via_dns = 5; + * + * @return This builder for chaining. + */ + public Builder clearEnableK8STokensViaDns() { + bitField0_ = (bitField0_ & ~0x00000004); + enableK8STokensViaDns_ = false; + onChanged(); + return this; + } + + private boolean enableK8SCertsViaDns_; + + /** + * + * + *
+       * Controls whether the k8s certs auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return Whether the enableK8sCertsViaDns field is set. + */ + @java.lang.Override + public boolean hasEnableK8SCertsViaDns() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Controls whether the k8s certs auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return The enableK8sCertsViaDns. + */ + @java.lang.Override + public boolean getEnableK8SCertsViaDns() { + return enableK8SCertsViaDns_; + } + + /** + * + * + *
+       * Controls whether the k8s certs auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @param value The enableK8sCertsViaDns to set. + * @return This builder for chaining. + */ + public Builder setEnableK8SCertsViaDns(boolean value) { + + enableK8SCertsViaDns_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Controls whether the k8s certs auth is allowed via DNS.
+       * 
+ * + * optional bool enable_k8s_certs_via_dns = 6; + * + * @return This builder for chaining. + */ + public Builder clearEnableK8SCertsViaDns() { + bitField0_ = (bitField0_ & ~0x00000008); + enableK8SCertsViaDns_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 865f67d05e77..e801a4eec04f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The bytes for zone. */ @java.lang.Override @@ -753,7 +753,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The projectId. */ @java.lang.Deprecated @@ -781,7 +781,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -809,7 +809,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @param value The projectId to set. * @return This builder for chaining. */ @@ -836,7 +836,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return This builder for chaining. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -890,7 +890,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The zone. */ @java.lang.Deprecated @@ -919,7 +919,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The bytes for zone. */ @java.lang.Deprecated @@ -948,7 +948,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @param value The zone to set. * @return This builder for chaining. */ @@ -976,7 +976,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1000,7 +1000,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index 4b5b249d7d2d..93d4bec2bab1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3989 + * google/container/v1beta1/cluster_service.proto;l=4152 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3995 + * google/container/v1beta1/cluster_service.proto;l=4158 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index 65fc1e003747..4911a8e01c68 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The bytes for clusterId. */ @java.lang.Override @@ -845,7 +845,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The projectId. */ @java.lang.Deprecated @@ -873,7 +873,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @param value The projectId to set. * @return This builder for chaining. */ @@ -928,7 +928,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return This builder for chaining. */ @java.lang.Deprecated @@ -951,7 +951,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -982,7 +982,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1040,7 +1040,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @param value The zone to set. * @return This builder for chaining. */ @@ -1068,7 +1068,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1121,7 +1121,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The clusterId. */ @java.lang.Deprecated @@ -1148,7 +1148,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1175,7 +1175,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1201,7 +1201,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1223,7 +1223,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index e80fa02159f1..37bb66fefdf9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4684 + * google/container/v1beta1/cluster_service.proto;l=4855 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4690 + * google/container/v1beta1/cluster_service.proto;l=4861 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4694 + * google/container/v1beta1/cluster_service.proto;l=4865 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index 8354d8b08b3d..4f04a42ff0e1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The bytes for clusterId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @param value The projectId to set. * @return This builder for chaining. */ @@ -823,7 +823,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -877,7 +877,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The zone. */ @java.lang.Deprecated @@ -906,7 +906,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The bytes for zone. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @param value The zone to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return This builder for chaining. */ @java.lang.Deprecated @@ -987,7 +987,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The clusterId. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index 95bd6360c496..50cc7c4d6619 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4455 + * google/container/v1beta1/cluster_service.proto;l=4626 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4461 + * google/container/v1beta1/cluster_service.proto;l=4632 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4465 + * google/container/v1beta1/cluster_service.proto;l=4636 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index 6527f4359bd6..2b41148bc9dd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The nodePoolId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -828,7 +828,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The projectId. */ @java.lang.Deprecated @@ -856,7 +856,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @param value The projectId to set. * @return This builder for chaining. */ @@ -911,7 +911,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +965,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The zone. */ @java.lang.Deprecated @@ -994,7 +994,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @param value The zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1075,7 +1075,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1104,7 +1104,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The clusterId. */ @java.lang.Deprecated @@ -1131,7 +1131,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1184,7 +1184,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1206,7 +1206,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1235,7 +1235,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1315,7 +1315,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1337,7 +1337,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index 92deb1a3bb21..85e7832dd2aa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4710 + * google/container/v1beta1/cluster_service.proto;l=4881 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4716 + * google/container/v1beta1/cluster_service.proto;l=4887 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4720 + * google/container/v1beta1/cluster_service.proto;l=4891 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4724 + * google/container/v1beta1/cluster_service.proto;l=4895 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfig.java index d65c39117cf1..ecd5bbc5b72b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfig.java @@ -24,10 +24,14 @@ * *
  * DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
+ *
+ * Deprecated: GKE Enterprise features are now available without an Enterprise
+ * tier.
  * 
* * Protobuf type {@code google.container.v1beta1.DesiredEnterpriseConfig} */ +@java.lang.Deprecated public final class DesiredEnterpriseConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DesiredEnterpriseConfig) @@ -272,6 +276,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* * Protobuf type {@code google.container.v1beta1.DesiredEnterpriseConfig} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfigOrBuilder.java index af0d61e4b05d..a7341a6c39e8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DesiredEnterpriseConfigOrBuilder.java @@ -19,6 +19,7 @@ // Protobuf Java Version: 3.25.8 package com.google.container.v1beta1; +@java.lang.Deprecated public interface DesiredEnterpriseConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DesiredEnterpriseConfig) diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfig.java index 780ceafe6c4d..87b962980a21 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfig.java @@ -24,10 +24,14 @@ * *
  * EnterpriseConfig is the cluster enterprise configuration.
+ *
+ * Deprecated: GKE Enterprise features are now available without an Enterprise
+ * tier.
  * 
* * Protobuf type {@code google.container.v1beta1.EnterpriseConfig} */ +@java.lang.Deprecated public final class EnterpriseConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.EnterpriseConfig) @@ -70,10 +74,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Premium tiers for GKE Cluster.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* * Protobuf enum {@code google.container.v1beta1.EnterpriseConfig.ClusterTier} */ + @java.lang.Deprecated public enum ClusterTier implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -488,6 +496,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * EnterpriseConfig is the cluster enterprise configuration.
+   *
+   * Deprecated: GKE Enterprise features are now available without an Enterprise
+   * tier.
    * 
* * Protobuf type {@code google.container.v1beta1.EnterpriseConfig} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfigOrBuilder.java index c7078dfd398e..25f8e91a9b4f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EnterpriseConfigOrBuilder.java @@ -19,6 +19,7 @@ // Protobuf Java Version: 3.25.8 package com.google.container.v1beta1; +@java.lang.Deprecated public interface EnterpriseConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.EnterpriseConfig) diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Fleet.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Fleet.java index 05f5bb658afe..0086f04c251c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Fleet.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Fleet.java @@ -42,6 +42,7 @@ private Fleet(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Fleet() { project_ = ""; membership_ = ""; + membershipType_ = 0; } @java.lang.Override @@ -65,6 +66,143 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.Fleet.Builder.class); } + /** + * + * + *
+   * MembershipType describes if the membership supports all features or only
+   * lightweight compatible ones.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.Fleet.MembershipType} + */ + public enum MembershipType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The MembershipType is not set.
+     * 
+ * + * MEMBERSHIP_TYPE_UNSPECIFIED = 0; + */ + MEMBERSHIP_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * The membership supports only lightweight compatible features.
+     * 
+ * + * LIGHTWEIGHT = 1; + */ + LIGHTWEIGHT(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * The MembershipType is not set.
+     * 
+ * + * MEMBERSHIP_TYPE_UNSPECIFIED = 0; + */ + public static final int MEMBERSHIP_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * The membership supports only lightweight compatible features.
+     * 
+ * + * LIGHTWEIGHT = 1; + */ + public static final int LIGHTWEIGHT_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MembershipType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static MembershipType forNumber(int value) { + switch (value) { + case 0: + return MEMBERSHIP_TYPE_UNSPECIFIED; + case 1: + return LIGHTWEIGHT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MembershipType findValueByNumber(int number) { + return MembershipType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.Fleet.getDescriptor().getEnumTypes().get(0); + } + + private static final MembershipType[] VALUES = values(); + + public static MembershipType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MembershipType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.Fleet.MembershipType) + } + public static final int PROJECT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -199,6 +337,43 @@ public boolean getPreRegistered() { return preRegistered_; } + public static final int MEMBERSHIP_TYPE_FIELD_NUMBER = 4; + private int membershipType_ = 0; + + /** + * + * + *
+   * The type of the cluster's fleet membership.
+   * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The enum numeric value on the wire for membershipType. + */ + @java.lang.Override + public int getMembershipTypeValue() { + return membershipType_; + } + + /** + * + * + *
+   * The type of the cluster's fleet membership.
+   * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The membershipType. + */ + @java.lang.Override + public com.google.container.v1beta1.Fleet.MembershipType getMembershipType() { + com.google.container.v1beta1.Fleet.MembershipType result = + com.google.container.v1beta1.Fleet.MembershipType.forNumber(membershipType_); + return result == null ? com.google.container.v1beta1.Fleet.MembershipType.UNRECOGNIZED : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -222,6 +397,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (preRegistered_ != false) { output.writeBool(3, preRegistered_); } + if (membershipType_ + != com.google.container.v1beta1.Fleet.MembershipType.MEMBERSHIP_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, membershipType_); + } getUnknownFields().writeTo(output); } @@ -240,6 +420,11 @@ public int getSerializedSize() { if (preRegistered_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, preRegistered_); } + if (membershipType_ + != com.google.container.v1beta1.Fleet.MembershipType.MEMBERSHIP_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, membershipType_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -258,6 +443,7 @@ public boolean equals(final java.lang.Object obj) { if (!getProject().equals(other.getProject())) return false; if (!getMembership().equals(other.getMembership())) return false; if (getPreRegistered() != other.getPreRegistered()) return false; + if (membershipType_ != other.membershipType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,6 +461,8 @@ public int hashCode() { hash = (53 * hash) + getMembership().hashCode(); hash = (37 * hash) + PRE_REGISTERED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreRegistered()); + hash = (37 * hash) + MEMBERSHIP_TYPE_FIELD_NUMBER; + hash = (53 * hash) + membershipType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -417,6 +605,7 @@ public Builder clear() { project_ = ""; membership_ = ""; preRegistered_ = false; + membershipType_ = 0; return this; } @@ -461,6 +650,9 @@ private void buildPartial0(com.google.container.v1beta1.Fleet result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.preRegistered_ = preRegistered_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.membershipType_ = membershipType_; + } } @java.lang.Override @@ -521,6 +713,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Fleet other) { if (other.getPreRegistered() != false) { setPreRegistered(other.getPreRegistered()); } + if (other.membershipType_ != 0) { + setMembershipTypeValue(other.getMembershipTypeValue()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -565,6 +760,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 24 + case 32: + { + membershipType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -885,6 +1086,103 @@ public Builder clearPreRegistered() { return this; } + private int membershipType_ = 0; + + /** + * + * + *
+     * The type of the cluster's fleet membership.
+     * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The enum numeric value on the wire for membershipType. + */ + @java.lang.Override + public int getMembershipTypeValue() { + return membershipType_; + } + + /** + * + * + *
+     * The type of the cluster's fleet membership.
+     * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @param value The enum numeric value on the wire for membershipType to set. + * @return This builder for chaining. + */ + public Builder setMembershipTypeValue(int value) { + membershipType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * The type of the cluster's fleet membership.
+     * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The membershipType. + */ + @java.lang.Override + public com.google.container.v1beta1.Fleet.MembershipType getMembershipType() { + com.google.container.v1beta1.Fleet.MembershipType result = + com.google.container.v1beta1.Fleet.MembershipType.forNumber(membershipType_); + return result == null + ? com.google.container.v1beta1.Fleet.MembershipType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * The type of the cluster's fleet membership.
+     * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @param value The membershipType to set. + * @return This builder for chaining. + */ + public Builder setMembershipType(com.google.container.v1beta1.Fleet.MembershipType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + membershipType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The type of the cluster's fleet membership.
+     * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return This builder for chaining. + */ + public Builder clearMembershipType() { + bitField0_ = (bitField0_ & ~0x00000008); + membershipType_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FleetOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FleetOrBuilder.java index 89fbb06f9269..1b5d72cd1940 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FleetOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FleetOrBuilder.java @@ -97,4 +97,30 @@ public interface FleetOrBuilder * @return The preRegistered. */ boolean getPreRegistered(); + + /** + * + * + *
+   * The type of the cluster's fleet membership.
+   * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The enum numeric value on the wire for membershipType. + */ + int getMembershipTypeValue(); + + /** + * + * + *
+   * The type of the cluster's fleet membership.
+   * 
+ * + * .google.container.v1beta1.Fleet.MembershipType membership_type = 4; + * + * @return The membershipType. + */ + com.google.container.v1beta1.Fleet.MembershipType getMembershipType(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java index b387b0f16c2c..1e886f82786b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java @@ -23,7 +23,7 @@ * * *
- * Configuration for the GCP Filestore CSI driver.
+ * Configuration for the Filestore CSI driver.
  * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} @@ -69,7 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * Whether the Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; @@ -246,7 +246,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Configuration for the GCP Filestore CSI driver.
+   * Configuration for the Filestore CSI driver.
    * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} @@ -429,7 +429,7 @@ public Builder mergeFrom( * * *
-     * Whether the GCP Filestore CSI driver is enabled for this cluster.
+     * Whether the Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; @@ -445,7 +445,7 @@ public boolean getEnabled() { * * *
-     * Whether the GCP Filestore CSI driver is enabled for this cluster.
+     * Whether the Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; @@ -465,7 +465,7 @@ public Builder setEnabled(boolean value) { * * *
-     * Whether the GCP Filestore CSI driver is enabled for this cluster.
+     * Whether the Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java index 1b28be41ee36..f2ef9115fadd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java @@ -28,7 +28,7 @@ public interface GcpFilestoreCsiDriverConfigOrBuilder * * *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * Whether the Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index 083da33b8f6a..c6f42a9c724d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -795,7 +795,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @param value The projectId to set. * @return This builder for chaining. */ @@ -822,7 +822,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -876,7 +876,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The bytes for zone. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @param value The zone to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1015,7 +1015,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The clusterId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1095,7 +1095,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index 6494972a4dcf..c180c19783a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4011 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4017 + * google/container/v1beta1/cluster_service.proto;l=4180 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4184 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java index 919ef9e32c59..3e85fbb673f8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The nodePoolId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -828,7 +828,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The projectId. */ @java.lang.Deprecated @@ -856,7 +856,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @param value The projectId to set. * @return This builder for chaining. */ @@ -911,7 +911,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +965,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The zone. */ @java.lang.Deprecated @@ -994,7 +994,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @param value The zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1075,7 +1075,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1104,7 +1104,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The clusterId. */ @java.lang.Deprecated @@ -1131,7 +1131,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1184,7 +1184,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1206,7 +1206,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1235,7 +1235,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1315,7 +1315,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1337,7 +1337,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index ef3fc81c1b4e..11806d1f69c1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4759 + * google/container/v1beta1/cluster_service.proto;l=4930 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4765 + * google/container/v1beta1/cluster_service.proto;l=4936 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4769 + * google/container/v1beta1/cluster_service.proto;l=4940 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4773 + * google/container/v1beta1/cluster_service.proto;l=4944 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index 3bc9992894e8..ba2575c64911 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The operationId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The bytes for operationId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @param value The projectId to set. * @return This builder for chaining. */ @@ -823,7 +823,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -877,7 +877,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The zone. */ @java.lang.Deprecated @@ -906,7 +906,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The bytes for zone. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @param value The zone to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return This builder for chaining. */ @java.lang.Deprecated @@ -987,7 +987,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The operationId. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index 9f8894564059..2da15e1a99f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4507 + * google/container/v1beta1/cluster_service.proto;l=4678 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4513 + * google/container/v1beta1/cluster_service.proto;l=4684 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4517 + * google/container/v1beta1/cluster_service.proto;l=4688 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index b4a772836c36..c0e47f71391a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The bytes for zone. */ @java.lang.Override @@ -654,7 +654,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The projectId. */ @java.lang.Deprecated @@ -682,7 +682,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,7 +710,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @param value The projectId to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return This builder for chaining. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -791,7 +791,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The zone. */ @java.lang.Deprecated @@ -820,7 +820,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The bytes for zone. */ @java.lang.Deprecated @@ -849,7 +849,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @param value The zone to set. * @return This builder for chaining. */ @@ -877,7 +877,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return This builder for chaining. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index 5a5a94c724b4..4e659b0404fa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4580 + * google/container/v1beta1/cluster_service.proto;l=4751 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4586 + * google/container/v1beta1/cluster_service.proto;l=4757 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index b0ee1e6295ce..747cb6cb1994 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -512,7 +512,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -539,7 +539,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -571,7 +571,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -598,7 +598,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -630,7 +630,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -657,7 +657,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -1105,7 +1105,7 @@ public boolean getAllowRouteOverlap() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2437 + * google/container/v1beta1/cluster_service.proto;l=2572 * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -1147,7 +1147,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2437 + * google/container/v1beta1/cluster_service.proto;l=2572 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -1721,6 +1721,65 @@ public com.google.container.v1beta1.AutoIpamConfigOrBuilder getAutoIpamConfigOrB : autoIpamConfig_; } + public static final int NETWORK_TIER_CONFIG_FIELD_NUMBER = 31; + private com.google.container.v1beta1.NetworkTierConfig networkTierConfig_; + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return Whether the networkTierConfig field is set. + */ + @java.lang.Override + public boolean hasNetworkTierConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return The networkTierConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig() { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder() { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1809,6 +1868,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(30, getAutoIpamConfig()); } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(31, getNetworkTierConfig()); + } getUnknownFields().writeTo(output); } @@ -1902,6 +1964,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getAutoIpamConfig()); } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, getNetworkTierConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1956,6 +2021,10 @@ public boolean equals(final java.lang.Object obj) { if (hasAutoIpamConfig()) { if (!getAutoIpamConfig().equals(other.getAutoIpamConfig())) return false; } + if (hasNetworkTierConfig() != other.hasNetworkTierConfig()) return false; + if (hasNetworkTierConfig()) { + if (!getNetworkTierConfig().equals(other.getNetworkTierConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2024,6 +2093,10 @@ public int hashCode() { hash = (37 * hash) + AUTO_IPAM_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAutoIpamConfig().hashCode(); } + if (hasNetworkTierConfig()) { + hash = (37 * hash) + NETWORK_TIER_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNetworkTierConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2169,6 +2242,7 @@ private void maybeForceBuilderInitialization() { getAdditionalPodRangesConfigFieldBuilder(); getAdditionalIpRangesConfigsFieldBuilder(); getAutoIpamConfigFieldBuilder(); + getNetworkTierConfigFieldBuilder(); } } @@ -2217,6 +2291,11 @@ public Builder clear() { autoIpamConfigBuilder_.dispose(); autoIpamConfigBuilder_ = null; } + networkTierConfig_ = null; + if (networkTierConfigBuilder_ != null) { + networkTierConfigBuilder_.dispose(); + networkTierConfigBuilder_ = null; + } return this; } @@ -2345,6 +2424,13 @@ private void buildPartial0(com.google.container.v1beta1.IPAllocationPolicy resul autoIpamConfigBuilder_ == null ? autoIpamConfig_ : autoIpamConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00800000) != 0)) { + result.networkTierConfig_ = + networkTierConfigBuilder_ == null + ? networkTierConfig_ + : networkTierConfigBuilder_.build(); + to_bitField0_ |= 0x00000008; + } result.bitField0_ |= to_bitField0_; } @@ -2511,6 +2597,9 @@ public Builder mergeFrom(com.google.container.v1beta1.IPAllocationPolicy other) if (other.hasAutoIpamConfig()) { mergeAutoIpamConfig(other.getAutoIpamConfig()); } + if (other.hasNetworkTierConfig()) { + mergeNetworkTierConfig(other.getNetworkTierConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2685,6 +2774,13 @@ public Builder mergeFrom( bitField0_ |= 0x00400000; break; } // case 242 + case 250: + { + input.readMessage( + getNetworkTierConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00800000; + break; + } // case 250 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2964,7 +3060,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2990,7 +3086,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -3016,7 +3112,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -3041,7 +3137,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3062,7 +3158,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -3090,7 +3186,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -3116,7 +3212,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -3142,7 +3238,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -3167,7 +3263,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3188,7 +3284,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -3216,7 +3312,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -3242,7 +3338,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -3268,7 +3364,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -3293,7 +3389,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3314,7 +3410,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -4266,7 +4362,7 @@ public Builder clearAllowRouteOverlap() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2437 + * See google/container/v1beta1/cluster_service.proto;l=2572 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -4307,7 +4403,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2437 + * See google/container/v1beta1/cluster_service.proto;l=2572 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -4348,7 +4444,7 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2437 + * See google/container/v1beta1/cluster_service.proto;l=2572 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -4388,7 +4484,7 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2437 + * See google/container/v1beta1/cluster_service.proto;l=2572 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4424,7 +4520,7 @@ public Builder clearTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2437 + * See google/container/v1beta1/cluster_service.proto;l=2572 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -6267,6 +6363,220 @@ public com.google.container.v1beta1.AutoIpamConfigOrBuilder getAutoIpamConfigOrB return autoIpamConfigBuilder_; } + private com.google.container.v1beta1.NetworkTierConfig networkTierConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + networkTierConfigBuilder_; + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return Whether the networkTierConfig field is set. + */ + public boolean hasNetworkTierConfig() { + return ((bitField0_ & 0x00800000) != 0); + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return The networkTierConfig. + */ + public com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig() { + if (networkTierConfigBuilder_ == null) { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } else { + return networkTierConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public Builder setNetworkTierConfig(com.google.container.v1beta1.NetworkTierConfig value) { + if (networkTierConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkTierConfig_ = value; + } else { + networkTierConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00800000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public Builder setNetworkTierConfig( + com.google.container.v1beta1.NetworkTierConfig.Builder builderForValue) { + if (networkTierConfigBuilder_ == null) { + networkTierConfig_ = builderForValue.build(); + } else { + networkTierConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00800000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public Builder mergeNetworkTierConfig(com.google.container.v1beta1.NetworkTierConfig value) { + if (networkTierConfigBuilder_ == null) { + if (((bitField0_ & 0x00800000) != 0) + && networkTierConfig_ != null + && networkTierConfig_ + != com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance()) { + getNetworkTierConfigBuilder().mergeFrom(value); + } else { + networkTierConfig_ = value; + } + } else { + networkTierConfigBuilder_.mergeFrom(value); + } + if (networkTierConfig_ != null) { + bitField0_ |= 0x00800000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public Builder clearNetworkTierConfig() { + bitField0_ = (bitField0_ & ~0x00800000); + networkTierConfig_ = null; + if (networkTierConfigBuilder_ != null) { + networkTierConfigBuilder_.dispose(); + networkTierConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public com.google.container.v1beta1.NetworkTierConfig.Builder getNetworkTierConfigBuilder() { + bitField0_ |= 0x00800000; + onChanged(); + return getNetworkTierConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + public com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder() { + if (networkTierConfigBuilder_ != null) { + return networkTierConfigBuilder_.getMessageOrBuilder(); + } else { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + } + + /** + * + * + *
+     * Cluster-level network tier configuration is used to determine the default
+     * network tier for external IP addresses on cluster resources, such as node
+     * pools and load balancers.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + getNetworkTierConfigFieldBuilder() { + if (networkTierConfigBuilder_ == null) { + networkTierConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder>( + getNetworkTierConfig(), getParentForChildren(), isClean()); + networkTierConfig_ = null; + } + return networkTierConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index 128f07ed9252..d80d2af4da8b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -95,7 +95,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -111,7 +111,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2331 + * google/container/v1beta1/cluster_service.proto;l=2466 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2334 + * google/container/v1beta1/cluster_service.proto;l=2469 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -159,7 +159,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -175,7 +175,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2337 + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -466,7 +466,7 @@ public interface IPAllocationPolicyOrBuilder * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2437 + * google/container/v1beta1/cluster_service.proto;l=2572 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -497,7 +497,7 @@ public interface IPAllocationPolicyOrBuilder * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2437 + * google/container/v1beta1/cluster_service.proto;l=2572 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -897,4 +897,47 @@ public interface IPAllocationPolicyOrBuilder *
*/ com.google.container.v1beta1.AutoIpamConfigOrBuilder getAutoIpamConfigOrBuilder(); + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return Whether the networkTierConfig field is set. + */ + boolean hasNetworkTierConfig(); + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + * + * @return The networkTierConfig. + */ + com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig(); + + /** + * + * + *
+   * Cluster-level network tier configuration is used to determine the default
+   * network tier for external IP addresses on cluster resources, such as node
+   * pools and load balancers.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 31; + */ + com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index 228ffb20e783..f363bdaab974 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -213,7 +213,7 @@ private IstioAuthMode(int value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2196 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return The disabled. */ @java.lang.Override @@ -235,7 +235,7 @@ public boolean getDisabled() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -254,7 +254,7 @@ public int getAuthValue() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The auth. */ @java.lang.Override @@ -640,7 +640,7 @@ public Builder mergeFrom( * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2196 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return The disabled. */ @java.lang.Override @@ -659,7 +659,7 @@ public boolean getDisabled() { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2196 + * google/container/v1beta1/cluster_service.proto;l=2331 * @param value The disabled to set. * @return This builder for chaining. */ @@ -682,7 +682,7 @@ public Builder setDisabled(boolean value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2196 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return This builder for chaining. */ @java.lang.Deprecated @@ -706,7 +706,7 @@ public Builder clearDisabled() { *
* * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -726,7 +726,7 @@ public int getAuthValue() { *
* * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ @@ -749,7 +749,7 @@ public Builder setAuthValue(int value) { *
* * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The auth. */ @java.lang.Override @@ -773,7 +773,7 @@ public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { *
* * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The auth to set. * @return This builder for chaining. */ @@ -799,7 +799,7 @@ public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode va *
* * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index cb60456b6a95..390b6a918bbc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface IstioConfigOrBuilder * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2196 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return The disabled. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The enum numeric value on the wire for auth. */ @java.lang.Deprecated @@ -66,7 +66,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2199 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The auth. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index e8a01ecb9a20..980a5d467563 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -75,7 +75,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2041 + * google/container/v1beta1/cluster_service.proto;l=2170 * @return The enabled. */ @java.lang.Override @@ -435,7 +435,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2041 + * google/container/v1beta1/cluster_service.proto;l=2170 * @return The enabled. */ @java.lang.Override @@ -454,7 +454,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2041 + * google/container/v1beta1/cluster_service.proto;l=2170 * @param value The enabled to set. * @return This builder for chaining. */ @@ -477,7 +477,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2041 + * google/container/v1beta1/cluster_service.proto;l=2170 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java index cbec79fc45a8..efcc4187a4c3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface KalmConfigOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2041 + * google/container/v1beta1/cluster_service.proto;l=2170 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java index 85e32260c6f2..d6f3ab88c0e0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java @@ -468,7 +468,7 @@ public enum TransparentHugepageDefrag implements com.google.protobuf.ProtocolMes *
      * It means that an application will wake kswapd in the background to
      * reclaim pages and wake kcompactd to compact memory so that THP is
-     * available in the near future. It’s the responsibility of khugepaged to
+     * available in the near future. It's the responsibility of khugepaged to
      * then install the THP pages later.
      * 
* @@ -545,7 +545,7 @@ public enum TransparentHugepageDefrag implements com.google.protobuf.ProtocolMes *
      * It means that an application will wake kswapd in the background to
      * reclaim pages and wake kcompactd to compact memory so that THP is
-     * available in the near future. It’s the responsibility of khugepaged to
+     * available in the near future. It's the responsibility of khugepaged to
      * then install the THP pages later.
      * 
* @@ -1453,129 +1453,6280 @@ public com.google.protobuf.Parser getParserForType() { } } - private int bitField0_; - public static final int SYSCTLS_FIELD_NUMBER = 1; + public interface SwapConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.SwapConfig) + com.google.protobuf.MessageOrBuilder { - private static final class SysctlsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } + /** + * + * + *
+     * Optional. Enables or disables swap for the node pool.
+     * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the enabled field is set. + */ + boolean hasEnabled(); - @SuppressWarnings("serial") - private com.google.protobuf.MapField sysctls_; + /** + * + * + *
+     * Optional. Enables or disables swap for the node pool.
+     * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + boolean getEnabled(); - private com.google.protobuf.MapField internalGetSysctls() { - if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); - } - return sysctls_; - } + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the encryptionConfig field is set. + */ + boolean hasEncryptionConfig(); - public int getSysctlsCount() { - return internalGetSysctls().getMap().size(); + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The encryptionConfig. + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig getEncryptionConfig(); + + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return Whether the bootDiskProfile field is set. + */ + boolean hasBootDiskProfile(); + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return The bootDiskProfile. + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile getBootDiskProfile(); + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder + getBootDiskProfileOrBuilder(); + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return Whether the ephemeralLocalSsdProfile field is set. + */ + boolean hasEphemeralLocalSsdProfile(); + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return The ephemeralLocalSsdProfile. + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getEphemeralLocalSsdProfile(); + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder + getEphemeralLocalSsdProfileOrBuilder(); + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return Whether the dedicatedLocalSsdProfile field is set. + */ + boolean hasDedicatedLocalSsdProfile(); + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return The dedicatedLocalSsdProfile. + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDedicatedLocalSsdProfile(); + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfileOrBuilder + getDedicatedLocalSsdProfileOrBuilder(); + + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.PerformanceProfileCase + getPerformanceProfileCase(); } /** * * *
-   * The Linux kernel parameters to be applied to the nodes and all pods running
-   * on the nodes.
-   *
-   * The following parameters are supported.
-   *
-   * net.core.busy_poll
-   * net.core.busy_read
-   * net.core.netdev_max_backlog
-   * net.core.rmem_max
-   * net.core.rmem_default
-   * net.core.wmem_default
-   * net.core.wmem_max
-   * net.core.optmem_max
-   * net.core.somaxconn
-   * net.ipv4.tcp_rmem
-   * net.ipv4.tcp_wmem
-   * net.ipv4.tcp_tw_reuse
-   * net.ipv4.tcp_max_orphans
-   * net.netfilter.nf_conntrack_max
-   * net.netfilter.nf_conntrack_buckets
-   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-   * net.netfilter.nf_conntrack_tcp_timeout_established
-   * net.netfilter.nf_conntrack_acct
-   * kernel.shmmni
-   * kernel.shmmax
-   * kernel.shmall
-   * fs.aio-max-nr
-   * fs.file-max
-   * fs.inotify.max_user_instances
-   * fs.inotify.max_user_watches
-   * fs.nr_open
-   * vm.dirty_background_ratio
-   * vm.dirty_expire_centisecs
-   * vm.dirty_ratio
-   * vm.dirty_writeback_centisecs
-   * vm.max_map_count
-   * vm.overcommit_memory
-   * vm.overcommit_ratio
-   * vm.vfs_cache_pressure
-   * vm.swappiness
-   * vm.watermark_scale_factor
-   * vm.min_free_kbytes
+   * Configuration for swap memory on a node pool.
    * 
* - * map<string, string> sysctls = 1; + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig} */ - @java.lang.Override - public boolean containsSysctls(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); + public static final class SwapConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig) + SwapConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SwapConfig.newBuilder() to construct. + private SwapConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - return internalGetSysctls().getMap().containsKey(key); - } - /** Use {@link #getSysctlsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSysctls() { - return getSysctlsMap(); - } + private SwapConfig() {} - /** - * - * - *
-   * The Linux kernel parameters to be applied to the nodes and all pods running
-   * on the nodes.
-   *
-   * The following parameters are supported.
-   *
-   * net.core.busy_poll
-   * net.core.busy_read
-   * net.core.netdev_max_backlog
-   * net.core.rmem_max
-   * net.core.rmem_default
-   * net.core.wmem_default
-   * net.core.wmem_max
-   * net.core.optmem_max
-   * net.core.somaxconn
-   * net.ipv4.tcp_rmem
-   * net.ipv4.tcp_wmem
-   * net.ipv4.tcp_tw_reuse
-   * net.ipv4.tcp_max_orphans
-   * net.netfilter.nf_conntrack_max
-   * net.netfilter.nf_conntrack_buckets
-   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-   * net.netfilter.nf_conntrack_tcp_timeout_established
-   * net.netfilter.nf_conntrack_acct
-   * kernel.shmmni
+    @java.lang.Override
+    @SuppressWarnings({"unused"})
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      return new SwapConfig();
+    }
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_descriptor;
+    }
+
+    @java.lang.Override
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.class,
+              com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder.class);
+    }
+
+    public interface EncryptionConfigOrBuilder
+        extends
+        // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig)
+        com.google.protobuf.MessageOrBuilder {
+
+      /**
+       *
+       *
+       * 
+       * Optional. If true, swap space will not be encrypted.
+       * Defaults to false (encrypted).
+       * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the disabled field is set. + */ + boolean hasDisabled(); + + /** + * + * + *
+       * Optional. If true, swap space will not be encrypted.
+       * Defaults to false (encrypted).
+       * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + boolean getDisabled(); + } + + /** + * + * + *
+     * Defines encryption settings for the swap space.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig} + */ + public static final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) + EncryptionConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use EncryptionConfig.newBuilder() to construct. + private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EncryptionConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EncryptionConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder + .class); + } + + private int bitField0_; + public static final int DISABLED_FIELD_NUMBER = 1; + private boolean disabled_ = false; + + /** + * + * + *
+       * Optional. If true, swap space will not be encrypted.
+       * Defaults to false (encrypted).
+       * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the disabled field is set. + */ + @java.lang.Override + public boolean hasDisabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Optional. If true, swap space will not be encrypted.
+       * Defaults to false (encrypted).
+       * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(1, disabled_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig other = + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) obj; + + if (hasDisabled() != other.hasDisabled()) return false; + if (hasDisabled()) { + if (getDisabled() != other.getDisabled()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDisabled()) { + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Defines encryption settings for the swap space.
+       * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder + .class); + } + + // Construct using + // com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + disabled_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EncryptionConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig build() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig result = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.disabled_ = disabled_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) { + return mergeFrom( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig other) { + if (other + == com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance()) return this; + if (other.hasDisabled()) { + setDisabled(other.getDisabled()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + disabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean disabled_; + + /** + * + * + *
+         * Optional. If true, swap space will not be encrypted.
+         * Defaults to false (encrypted).
+         * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the disabled field is set. + */ + @java.lang.Override + public boolean hasDisabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+         * Optional. If true, swap space will not be encrypted.
+         * Defaults to false (encrypted).
+         * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + /** + * + * + *
+         * Optional. If true, swap space will not be encrypted.
+         * Defaults to false (encrypted).
+         * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Optional. If true, swap space will not be encrypted.
+         * Defaults to false (encrypted).
+         * 
+ * + * optional bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDisabled() { + bitField0_ = (bitField0_ & ~0x00000001); + disabled_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig) + private static final com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface BootDiskProfileOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + boolean hasSwapSizeGib(); + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + long getSwapSizeGib(); + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the boot disk
+       * size.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + boolean hasSwapSizePercent(); + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the boot disk
+       * size.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + int getSwapSizePercent(); + + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.SwapSizeCase + getSwapSizeCase(); + } + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile} + */ + public static final class BootDiskProfile extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + BootDiskProfileOrBuilder { + private static final long serialVersionUID = 0L; + + // Use BootDiskProfile.newBuilder() to construct. + private BootDiskProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BootDiskProfile() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BootDiskProfile(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder + .class); + } + + private int swapSizeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object swapSize_; + + public enum SwapSizeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SWAP_SIZE_GIB(1), + SWAP_SIZE_PERCENT(2), + SWAPSIZE_NOT_SET(0); + private final int value; + + private SwapSizeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SwapSizeCase valueOf(int value) { + return forNumber(value); + } + + public static SwapSizeCase forNumber(int value) { + switch (value) { + case 1: + return SWAP_SIZE_GIB; + case 2: + return SWAP_SIZE_PERCENT; + case 0: + return SWAPSIZE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SwapSizeCase getSwapSizeCase() { + return SwapSizeCase.forNumber(swapSizeCase_); + } + + public static final int SWAP_SIZE_GIB_FIELD_NUMBER = 1; + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + @java.lang.Override + public boolean hasSwapSizeGib() { + return swapSizeCase_ == 1; + } + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + @java.lang.Override + public long getSwapSizeGib() { + if (swapSizeCase_ == 1) { + return (java.lang.Long) swapSize_; + } + return 0L; + } + + public static final int SWAP_SIZE_PERCENT_FIELD_NUMBER = 2; + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the boot disk
+       * size.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + @java.lang.Override + public boolean hasSwapSizePercent() { + return swapSizeCase_ == 2; + } + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the boot disk
+       * size.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + @java.lang.Override + public int getSwapSizePercent() { + if (swapSizeCase_ == 2) { + return (java.lang.Integer) swapSize_; + } + return 0; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (swapSizeCase_ == 1) { + output.writeInt64(1, (long) ((java.lang.Long) swapSize_)); + } + if (swapSizeCase_ == 2) { + output.writeInt32(2, (int) ((java.lang.Integer) swapSize_)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (swapSizeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) swapSize_)); + } + if (swapSizeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) swapSize_)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile other = + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) obj; + + if (!getSwapSizeCase().equals(other.getSwapSizeCase())) return false; + switch (swapSizeCase_) { + case 1: + if (getSwapSizeGib() != other.getSwapSizeGib()) return false; + break; + case 2: + if (getSwapSizePercent() != other.getSwapSizePercent()) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (swapSizeCase_) { + case 1: + hash = (37 * hash) + SWAP_SIZE_GIB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSwapSizeGib()); + break; + case 2: + hash = (37 * hash) + SWAP_SIZE_PERCENT_FIELD_NUMBER; + hash = (53 * hash) + getSwapSizePercent(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder + .class); + } + + // Construct using + // com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + swapSizeCase_ = 0; + swapSize_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_BootDiskProfile_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile build() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile result = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile result) { + result.swapSizeCase_ = swapSizeCase_; + result.swapSize_ = this.swapSize_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) { + return mergeFrom( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile other) { + if (other + == com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance()) return this; + switch (other.getSwapSizeCase()) { + case SWAP_SIZE_GIB: + { + setSwapSizeGib(other.getSwapSizeGib()); + break; + } + case SWAP_SIZE_PERCENT: + { + setSwapSizePercent(other.getSwapSizePercent()); + break; + } + case SWAPSIZE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + swapSize_ = input.readInt64(); + swapSizeCase_ = 1; + break; + } // case 8 + case 16: + { + swapSize_ = input.readInt32(); + swapSizeCase_ = 2; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int swapSizeCase_ = 0; + private java.lang.Object swapSize_; + + public SwapSizeCase getSwapSizeCase() { + return SwapSizeCase.forNumber(swapSizeCase_); + } + + public Builder clearSwapSize() { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + public boolean hasSwapSizeGib() { + return swapSizeCase_ == 1; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + public long getSwapSizeGib() { + if (swapSizeCase_ == 1) { + return (java.lang.Long) swapSize_; + } + return 0L; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @param value The swapSizeGib to set. + * @return This builder for chaining. + */ + public Builder setSwapSizeGib(long value) { + + swapSizeCase_ = 1; + swapSize_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return This builder for chaining. + */ + public Builder clearSwapSizeGib() { + if (swapSizeCase_ == 1) { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the boot disk
+         * size.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + public boolean hasSwapSizePercent() { + return swapSizeCase_ == 2; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the boot disk
+         * size.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + public int getSwapSizePercent() { + if (swapSizeCase_ == 2) { + return (java.lang.Integer) swapSize_; + } + return 0; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the boot disk
+         * size.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @param value The swapSizePercent to set. + * @return This builder for chaining. + */ + public Builder setSwapSizePercent(int value) { + + swapSizeCase_ = 2; + swapSize_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the boot disk
+         * size.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return This builder for chaining. + */ + public Builder clearSwapSizePercent() { + if (swapSizeCase_ == 2) { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + private static final com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BootDiskProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface EphemeralLocalSsdProfileOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + boolean hasSwapSizeGib(); + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + long getSwapSizeGib(); + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the ephemeral
+       * local SSD capacity.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + boolean hasSwapSizePercent(); + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the ephemeral
+       * local SSD capacity.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + int getSwapSizePercent(); + + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.SwapSizeCase + getSwapSizeCase(); + } + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * Protobuf type {@code + * google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile} + */ + public static final class EphemeralLocalSsdProfile + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + EphemeralLocalSsdProfileOrBuilder { + private static final long serialVersionUID = 0L; + + // Use EphemeralLocalSsdProfile.newBuilder() to construct. + private EphemeralLocalSsdProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EphemeralLocalSsdProfile() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EphemeralLocalSsdProfile(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder.class); + } + + private int swapSizeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object swapSize_; + + public enum SwapSizeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SWAP_SIZE_GIB(1), + SWAP_SIZE_PERCENT(2), + SWAPSIZE_NOT_SET(0); + private final int value; + + private SwapSizeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SwapSizeCase valueOf(int value) { + return forNumber(value); + } + + public static SwapSizeCase forNumber(int value) { + switch (value) { + case 1: + return SWAP_SIZE_GIB; + case 2: + return SWAP_SIZE_PERCENT; + case 0: + return SWAPSIZE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SwapSizeCase getSwapSizeCase() { + return SwapSizeCase.forNumber(swapSizeCase_); + } + + public static final int SWAP_SIZE_GIB_FIELD_NUMBER = 1; + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + @java.lang.Override + public boolean hasSwapSizeGib() { + return swapSizeCase_ == 1; + } + + /** + * + * + *
+       * Specifies the size of the swap space in gibibytes (GiB).
+       * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + @java.lang.Override + public long getSwapSizeGib() { + if (swapSizeCase_ == 1) { + return (java.lang.Long) swapSize_; + } + return 0L; + } + + public static final int SWAP_SIZE_PERCENT_FIELD_NUMBER = 2; + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the ephemeral
+       * local SSD capacity.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + @java.lang.Override + public boolean hasSwapSizePercent() { + return swapSizeCase_ == 2; + } + + /** + * + * + *
+       * Specifies the size of the swap space as a percentage of the ephemeral
+       * local SSD capacity.
+       * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + @java.lang.Override + public int getSwapSizePercent() { + if (swapSizeCase_ == 2) { + return (java.lang.Integer) swapSize_; + } + return 0; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (swapSizeCase_ == 1) { + output.writeInt64(1, (long) ((java.lang.Long) swapSize_)); + } + if (swapSizeCase_ == 2) { + output.writeInt32(2, (int) ((java.lang.Integer) swapSize_)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (swapSizeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) swapSize_)); + } + if (swapSizeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) swapSize_)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile other = + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) obj; + + if (!getSwapSizeCase().equals(other.getSwapSizeCase())) return false; + switch (swapSizeCase_) { + case 1: + if (getSwapSizeGib() != other.getSwapSizeGib()) return false; + break; + case 2: + if (getSwapSizePercent() != other.getSwapSizePercent()) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (swapSizeCase_) { + case 1: + hash = (37 * hash) + SWAP_SIZE_GIB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSwapSizeGib()); + break; + case 2: + hash = (37 * hash) + SWAP_SIZE_PERCENT_FIELD_NUMBER; + hash = (53 * hash) + getSwapSizePercent(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * Protobuf type {@code + * google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder.class); + } + + // Construct using + // com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + swapSizeCase_ = 0; + swapSize_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_EphemeralLocalSsdProfile_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + build() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile result = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + result) { + result.swapSizeCase_ = swapSizeCase_; + result.swapSize_ = this.swapSize_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) { + return mergeFrom( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + other) { + if (other + == com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance()) return this; + switch (other.getSwapSizeCase()) { + case SWAP_SIZE_GIB: + { + setSwapSizeGib(other.getSwapSizeGib()); + break; + } + case SWAP_SIZE_PERCENT: + { + setSwapSizePercent(other.getSwapSizePercent()); + break; + } + case SWAPSIZE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + swapSize_ = input.readInt64(); + swapSizeCase_ = 1; + break; + } // case 8 + case 16: + { + swapSize_ = input.readInt32(); + swapSizeCase_ = 2; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int swapSizeCase_ = 0; + private java.lang.Object swapSize_; + + public SwapSizeCase getSwapSizeCase() { + return SwapSizeCase.forNumber(swapSizeCase_); + } + + public Builder clearSwapSize() { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return Whether the swapSizeGib field is set. + */ + public boolean hasSwapSizeGib() { + return swapSizeCase_ == 1; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return The swapSizeGib. + */ + public long getSwapSizeGib() { + if (swapSizeCase_ == 1) { + return (java.lang.Long) swapSize_; + } + return 0L; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @param value The swapSizeGib to set. + * @return This builder for chaining. + */ + public Builder setSwapSizeGib(long value) { + + swapSizeCase_ = 1; + swapSize_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space in gibibytes (GiB).
+         * 
+ * + * int64 swap_size_gib = 1; + * + * @return This builder for chaining. + */ + public Builder clearSwapSizeGib() { + if (swapSizeCase_ == 1) { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the ephemeral
+         * local SSD capacity.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return Whether the swapSizePercent field is set. + */ + public boolean hasSwapSizePercent() { + return swapSizeCase_ == 2; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the ephemeral
+         * local SSD capacity.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return The swapSizePercent. + */ + public int getSwapSizePercent() { + if (swapSizeCase_ == 2) { + return (java.lang.Integer) swapSize_; + } + return 0; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the ephemeral
+         * local SSD capacity.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @param value The swapSizePercent to set. + * @return This builder for chaining. + */ + public Builder setSwapSizePercent(int value) { + + swapSizeCase_ = 2; + swapSize_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+         * Specifies the size of the swap space as a percentage of the ephemeral
+         * local SSD capacity.
+         * 
+ * + * int32 swap_size_percent = 2; + * + * @return This builder for chaining. + */ + public Builder clearSwapSizePercent() { + if (swapSizeCase_ == 2) { + swapSizeCase_ = 0; + swapSize_ = null; + onChanged(); + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + private static final com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfile + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EphemeralLocalSsdProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface DedicatedLocalSsdProfileOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * The number of physical local NVMe SSD disks to attach.
+       * 
+ * + * int64 disk_count = 1; + * + * @return The diskCount. + */ + long getDiskCount(); + } + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * Protobuf type {@code + * google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile} + */ + public static final class DedicatedLocalSsdProfile + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + DedicatedLocalSsdProfileOrBuilder { + private static final long serialVersionUID = 0L; + + // Use DedicatedLocalSsdProfile.newBuilder() to construct. + private DedicatedLocalSsdProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DedicatedLocalSsdProfile() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DedicatedLocalSsdProfile(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder.class); + } + + public static final int DISK_COUNT_FIELD_NUMBER = 1; + private long diskCount_ = 0L; + + /** + * + * + *
+       * The number of physical local NVMe SSD disks to attach.
+       * 
+ * + * int64 disk_count = 1; + * + * @return The diskCount. + */ + @java.lang.Override + public long getDiskCount() { + return diskCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (diskCount_ != 0L) { + output.writeInt64(1, diskCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (diskCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, diskCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile other = + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) obj; + + if (getDiskCount() != other.getDiskCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DISK_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskCount()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * Protobuf type {@code + * google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfileOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder.class); + } + + // Construct using + // com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + diskCount_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_DedicatedLocalSsdProfile_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + build() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile result = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.diskCount_ = diskCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) { + return mergeFrom( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + other) { + if (other + == com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance()) return this; + if (other.getDiskCount() != 0L) { + setDiskCount(other.getDiskCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + diskCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private long diskCount_; + + /** + * + * + *
+         * The number of physical local NVMe SSD disks to attach.
+         * 
+ * + * int64 disk_count = 1; + * + * @return The diskCount. + */ + @java.lang.Override + public long getDiskCount() { + return diskCount_; + } + + /** + * + * + *
+         * The number of physical local NVMe SSD disks to attach.
+         * 
+ * + * int64 disk_count = 1; + * + * @param value The diskCount to set. + * @return This builder for chaining. + */ + public Builder setDiskCount(long value) { + + diskCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * The number of physical local NVMe SSD disks to attach.
+         * 
+ * + * int64 disk_count = 1; + * + * @return This builder for chaining. + */ + public Builder clearDiskCount() { + bitField0_ = (bitField0_ & ~0x00000001); + diskCount_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + private static final com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfile + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DedicatedLocalSsdProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + private int performanceProfileCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object performanceProfile_; + + public enum PerformanceProfileCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + BOOT_DISK_PROFILE(3), + EPHEMERAL_LOCAL_SSD_PROFILE(4), + DEDICATED_LOCAL_SSD_PROFILE(5), + PERFORMANCEPROFILE_NOT_SET(0); + private final int value; + + private PerformanceProfileCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PerformanceProfileCase valueOf(int value) { + return forNumber(value); + } + + public static PerformanceProfileCase forNumber(int value) { + switch (value) { + case 3: + return BOOT_DISK_PROFILE; + case 4: + return EPHEMERAL_LOCAL_SSD_PROFILE; + case 5: + return DEDICATED_LOCAL_SSD_PROFILE; + case 0: + return PERFORMANCEPROFILE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public PerformanceProfileCase getPerformanceProfileCase() { + return PerformanceProfileCase.forNumber(performanceProfileCase_); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_ = false; + + /** + * + * + *
+     * Optional. Enables or disables swap for the node pool.
+     * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. Enables or disables swap for the node pool.
+     * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 2; + private com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + encryptionConfig_; + + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the encryptionConfig field is set. + */ + @java.lang.Override + public boolean hasEncryptionConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The encryptionConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + getEncryptionConfig() { + return encryptionConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; + } + + /** + * + * + *
+     * Optional. If omitted, swap space is encrypted by default.
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; + } + + public static final int BOOT_DISK_PROFILE_FIELD_NUMBER = 3; + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return Whether the bootDiskProfile field is set. + */ + @java.lang.Override + public boolean hasBootDiskProfile() { + return performanceProfileCase_ == 3; + } + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return The bootDiskProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + getBootDiskProfile() { + if (performanceProfileCase_ == 3) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + + /** + * + * + *
+     * Swap on the node's boot disk.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder + getBootDiskProfileOrBuilder() { + if (performanceProfileCase_ == 3) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + + public static final int EPHEMERAL_LOCAL_SSD_PROFILE_FIELD_NUMBER = 4; + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return Whether the ephemeralLocalSsdProfile field is set. + */ + @java.lang.Override + public boolean hasEphemeralLocalSsdProfile() { + return performanceProfileCase_ == 4; + } + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return The ephemeralLocalSsdProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getEphemeralLocalSsdProfile() { + if (performanceProfileCase_ == 4) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + + /** + * + * + *
+     * Swap on the local SSD shared with pod ephemeral storage.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfileOrBuilder + getEphemeralLocalSsdProfileOrBuilder() { + if (performanceProfileCase_ == 4) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + + public static final int DEDICATED_LOCAL_SSD_PROFILE_FIELD_NUMBER = 5; + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return Whether the dedicatedLocalSsdProfile field is set. + */ + @java.lang.Override + public boolean hasDedicatedLocalSsdProfile() { + return performanceProfileCase_ == 5; + } + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return The dedicatedLocalSsdProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDedicatedLocalSsdProfile() { + if (performanceProfileCase_ == 5) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + + /** + * + * + *
+     * Provisions a new, separate local NVMe SSD exclusively for swap.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfileOrBuilder + getDedicatedLocalSsdProfileOrBuilder() { + if (performanceProfileCase_ == 5) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getEncryptionConfig()); + } + if (performanceProfileCase_ == 3) { + output.writeMessage( + 3, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_); + } + if (performanceProfileCase_ == 4) { + output.writeMessage( + 4, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + performanceProfile_); + } + if (performanceProfileCase_ == 5) { + output.writeMessage( + 5, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + performanceProfile_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEncryptionConfig()); + } + if (performanceProfileCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_); + } + if (performanceProfileCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + performanceProfile_); + } + if (performanceProfileCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + performanceProfile_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig other = + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig) obj; + + if (hasEnabled() != other.hasEnabled()) return false; + if (hasEnabled()) { + if (getEnabled() != other.getEnabled()) return false; + } + if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; + if (hasEncryptionConfig()) { + if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + } + if (!getPerformanceProfileCase().equals(other.getPerformanceProfileCase())) return false; + switch (performanceProfileCase_) { + case 3: + if (!getBootDiskProfile().equals(other.getBootDiskProfile())) return false; + break; + case 4: + if (!getEphemeralLocalSsdProfile().equals(other.getEphemeralLocalSsdProfile())) + return false; + break; + case 5: + if (!getDedicatedLocalSsdProfile().equals(other.getDedicatedLocalSsdProfile())) + return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEnabled()) { + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + } + if (hasEncryptionConfig()) { + hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getEncryptionConfig().hashCode(); + } + switch (performanceProfileCase_) { + case 3: + hash = (37 * hash) + BOOT_DISK_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getBootDiskProfile().hashCode(); + break; + case 4: + hash = (37 * hash) + EPHEMERAL_LOCAL_SSD_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getEphemeralLocalSsdProfile().hashCode(); + break; + case 5: + hash = (37 * hash) + DEDICATED_LOCAL_SSD_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getDedicatedLocalSsdProfile().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Configuration for swap memory on a node pool.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.SwapConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.SwapConfig) + com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEncryptionConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enabled_ = false; + encryptionConfig_ = null; + if (encryptionConfigBuilder_ != null) { + encryptionConfigBuilder_.dispose(); + encryptionConfigBuilder_ = null; + } + if (bootDiskProfileBuilder_ != null) { + bootDiskProfileBuilder_.clear(); + } + if (ephemeralLocalSsdProfileBuilder_ != null) { + ephemeralLocalSsdProfileBuilder_.clear(); + } + if (dedicatedLocalSsdProfileBuilder_ != null) { + dedicatedLocalSsdProfileBuilder_.clear(); + } + performanceProfileCase_ = 0; + performanceProfile_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SwapConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig build() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig result = + new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.container.v1beta1.LinuxNodeConfig.SwapConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.encryptionConfig_ = + encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig result) { + result.performanceProfileCase_ = performanceProfileCase_; + result.performanceProfile_ = this.performanceProfile_; + if (performanceProfileCase_ == 3 && bootDiskProfileBuilder_ != null) { + result.performanceProfile_ = bootDiskProfileBuilder_.build(); + } + if (performanceProfileCase_ == 4 && ephemeralLocalSsdProfileBuilder_ != null) { + result.performanceProfile_ = ephemeralLocalSsdProfileBuilder_.build(); + } + if (performanceProfileCase_ == 5 && dedicatedLocalSsdProfileBuilder_ != null) { + result.performanceProfile_ = dedicatedLocalSsdProfileBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.LinuxNodeConfig.SwapConfig) { + return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig.SwapConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig.SwapConfig other) { + if (other == com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance()) + return this; + if (other.hasEnabled()) { + setEnabled(other.getEnabled()); + } + if (other.hasEncryptionConfig()) { + mergeEncryptionConfig(other.getEncryptionConfig()); + } + switch (other.getPerformanceProfileCase()) { + case BOOT_DISK_PROFILE: + { + mergeBootDiskProfile(other.getBootDiskProfile()); + break; + } + case EPHEMERAL_LOCAL_SSD_PROFILE: + { + mergeEphemeralLocalSsdProfile(other.getEphemeralLocalSsdProfile()); + break; + } + case DEDICATED_LOCAL_SSD_PROFILE: + { + mergeDedicatedLocalSsdProfile(other.getDedicatedLocalSsdProfile()); + break; + } + case PERFORMANCEPROFILE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getBootDiskProfileFieldBuilder().getBuilder(), extensionRegistry); + performanceProfileCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getEphemeralLocalSsdProfileFieldBuilder().getBuilder(), extensionRegistry); + performanceProfileCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + getDedicatedLocalSsdProfileFieldBuilder().getBuilder(), extensionRegistry); + performanceProfileCase_ = 5; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int performanceProfileCase_ = 0; + private java.lang.Object performanceProfile_; + + public PerformanceProfileCase getPerformanceProfileCase() { + return PerformanceProfileCase.forNumber(performanceProfileCase_); + } + + public Builder clearPerformanceProfile() { + performanceProfileCase_ = 0; + performanceProfile_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private boolean enabled_; + + /** + * + * + *
+       * Optional. Enables or disables swap for the node pool.
+       * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Optional. Enables or disables swap for the node pool.
+       * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+       * Optional. Enables or disables swap for the node pool.
+       * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Enables or disables swap for the node pool.
+       * 
+ * + * optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + + private com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + encryptionConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the encryptionConfig field is set. + */ + public boolean hasEncryptionConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The encryptionConfig. + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + getEncryptionConfig() { + if (encryptionConfigBuilder_ == null) { + return encryptionConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; + } else { + return encryptionConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setEncryptionConfig( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig value) { + if (encryptionConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + encryptionConfig_ = value; + } else { + encryptionConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setEncryptionConfig( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder + builderForValue) { + if (encryptionConfigBuilder_ == null) { + encryptionConfig_ = builderForValue.build(); + } else { + encryptionConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeEncryptionConfig( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig value) { + if (encryptionConfigBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance()) { + getEncryptionConfigBuilder().mergeFrom(value); + } else { + encryptionConfig_ = value; + } + } else { + encryptionConfigBuilder_.mergeFrom(value); + } + if (encryptionConfig_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearEncryptionConfig() { + bitField0_ = (bitField0_ & ~0x00000002); + encryptionConfig_ = null; + if (encryptionConfigBuilder_ != null) { + encryptionConfigBuilder_.dispose(); + encryptionConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder + getEncryptionConfigBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getEncryptionConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + if (encryptionConfigBuilder_ != null) { + return encryptionConfigBuilder_.getMessageOrBuilder(); + } else { + return encryptionConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig + .getDefaultInstance() + : encryptionConfig_; + } + } + + /** + * + * + *
+       * Optional. If omitted, swap space is encrypted by default.
+       * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig encryption_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfigOrBuilder> + getEncryptionConfigFieldBuilder() { + if (encryptionConfigBuilder_ == null) { + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EncryptionConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfig_ = null; + } + return encryptionConfigBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder> + bootDiskProfileBuilder_; + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return Whether the bootDiskProfile field is set. + */ + @java.lang.Override + public boolean hasBootDiskProfile() { + return performanceProfileCase_ == 3; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + * + * @return The bootDiskProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + getBootDiskProfile() { + if (bootDiskProfileBuilder_ == null) { + if (performanceProfileCase_ == 3) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } else { + if (performanceProfileCase_ == 3) { + return bootDiskProfileBuilder_.getMessage(); + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + public Builder setBootDiskProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile value) { + if (bootDiskProfileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + performanceProfile_ = value; + onChanged(); + } else { + bootDiskProfileBuilder_.setMessage(value); + } + performanceProfileCase_ = 3; + return this; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + public Builder setBootDiskProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder + builderForValue) { + if (bootDiskProfileBuilder_ == null) { + performanceProfile_ = builderForValue.build(); + onChanged(); + } else { + bootDiskProfileBuilder_.setMessage(builderForValue.build()); + } + performanceProfileCase_ = 3; + return this; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + public Builder mergeBootDiskProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile value) { + if (bootDiskProfileBuilder_ == null) { + if (performanceProfileCase_ == 3 + && performanceProfile_ + != com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance()) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.newBuilder( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_) + .mergeFrom(value) + .buildPartial(); + } else { + performanceProfile_ = value; + } + onChanged(); + } else { + if (performanceProfileCase_ == 3) { + bootDiskProfileBuilder_.mergeFrom(value); + } else { + bootDiskProfileBuilder_.setMessage(value); + } + } + performanceProfileCase_ = 3; + return this; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + public Builder clearBootDiskProfile() { + if (bootDiskProfileBuilder_ == null) { + if (performanceProfileCase_ == 3) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + onChanged(); + } + } else { + if (performanceProfileCase_ == 3) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + } + bootDiskProfileBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder + getBootDiskProfileBuilder() { + return getBootDiskProfileFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder + getBootDiskProfileOrBuilder() { + if ((performanceProfileCase_ == 3) && (bootDiskProfileBuilder_ != null)) { + return bootDiskProfileBuilder_.getMessageOrBuilder(); + } else { + if (performanceProfileCase_ == 3) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Swap on the node's boot disk.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile boot_disk_profile = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder> + getBootDiskProfileFieldBuilder() { + if (bootDiskProfileBuilder_ == null) { + if (!(performanceProfileCase_ == 3)) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile + .getDefaultInstance(); + } + bootDiskProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfileOrBuilder>( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.BootDiskProfile) + performanceProfile_, + getParentForChildren(), + isClean()); + performanceProfile_ = null; + } + performanceProfileCase_ = 3; + onChanged(); + return bootDiskProfileBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfileOrBuilder> + ephemeralLocalSsdProfileBuilder_; + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return Whether the ephemeralLocalSsdProfile field is set. + */ + @java.lang.Override + public boolean hasEphemeralLocalSsdProfile() { + return performanceProfileCase_ == 4; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + * + * @return The ephemeralLocalSsdProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + getEphemeralLocalSsdProfile() { + if (ephemeralLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 4) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } else { + if (performanceProfileCase_ == 4) { + return ephemeralLocalSsdProfileBuilder_.getMessage(); + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + public Builder setEphemeralLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile value) { + if (ephemeralLocalSsdProfileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + performanceProfile_ = value; + onChanged(); + } else { + ephemeralLocalSsdProfileBuilder_.setMessage(value); + } + performanceProfileCase_ = 4; + return this; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + public Builder setEphemeralLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile.Builder + builderForValue) { + if (ephemeralLocalSsdProfileBuilder_ == null) { + performanceProfile_ = builderForValue.build(); + onChanged(); + } else { + ephemeralLocalSsdProfileBuilder_.setMessage(builderForValue.build()); + } + performanceProfileCase_ = 4; + return this; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + public Builder mergeEphemeralLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile value) { + if (ephemeralLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 4 + && performanceProfile_ + != com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfile.getDefaultInstance()) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .newBuilder( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfile) + performanceProfile_) + .mergeFrom(value) + .buildPartial(); + } else { + performanceProfile_ = value; + } + onChanged(); + } else { + if (performanceProfileCase_ == 4) { + ephemeralLocalSsdProfileBuilder_.mergeFrom(value); + } else { + ephemeralLocalSsdProfileBuilder_.setMessage(value); + } + } + performanceProfileCase_ = 4; + return this; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + public Builder clearEphemeralLocalSsdProfile() { + if (ephemeralLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 4) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + onChanged(); + } + } else { + if (performanceProfileCase_ == 4) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + } + ephemeralLocalSsdProfileBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder + getEphemeralLocalSsdProfileBuilder() { + return getEphemeralLocalSsdProfileFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfileOrBuilder + getEphemeralLocalSsdProfileOrBuilder() { + if ((performanceProfileCase_ == 4) && (ephemeralLocalSsdProfileBuilder_ != null)) { + return ephemeralLocalSsdProfileBuilder_.getMessageOrBuilder(); + } else { + if (performanceProfileCase_ == 4) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Swap on the local SSD shared with pod ephemeral storage.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfileOrBuilder> + getEphemeralLocalSsdProfileFieldBuilder() { + if (ephemeralLocalSsdProfileBuilder_ == null) { + if (!(performanceProfileCase_ == 4)) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .getDefaultInstance(); + } + ephemeralLocalSsdProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .EphemeralLocalSsdProfileOrBuilder>( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile) + performanceProfile_, + getParentForChildren(), + isClean()); + performanceProfile_ = null; + } + performanceProfileCase_ = 4; + onChanged(); + return ephemeralLocalSsdProfileBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfileOrBuilder> + dedicatedLocalSsdProfileBuilder_; + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return Whether the dedicatedLocalSsdProfile field is set. + */ + @java.lang.Override + public boolean hasDedicatedLocalSsdProfile() { + return performanceProfileCase_ == 5; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + * + * @return The dedicatedLocalSsdProfile. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + getDedicatedLocalSsdProfile() { + if (dedicatedLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 5) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } else { + if (performanceProfileCase_ == 5) { + return dedicatedLocalSsdProfileBuilder_.getMessage(); + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + public Builder setDedicatedLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile value) { + if (dedicatedLocalSsdProfileBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + performanceProfile_ = value; + onChanged(); + } else { + dedicatedLocalSsdProfileBuilder_.setMessage(value); + } + performanceProfileCase_ = 5; + return this; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + public Builder setDedicatedLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile.Builder + builderForValue) { + if (dedicatedLocalSsdProfileBuilder_ == null) { + performanceProfile_ = builderForValue.build(); + onChanged(); + } else { + dedicatedLocalSsdProfileBuilder_.setMessage(builderForValue.build()); + } + performanceProfileCase_ = 5; + return this; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + public Builder mergeDedicatedLocalSsdProfile( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile value) { + if (dedicatedLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 5 + && performanceProfile_ + != com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfile.getDefaultInstance()) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .newBuilder( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfile) + performanceProfile_) + .mergeFrom(value) + .buildPartial(); + } else { + performanceProfile_ = value; + } + onChanged(); + } else { + if (performanceProfileCase_ == 5) { + dedicatedLocalSsdProfileBuilder_.mergeFrom(value); + } else { + dedicatedLocalSsdProfileBuilder_.setMessage(value); + } + } + performanceProfileCase_ = 5; + return this; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + public Builder clearDedicatedLocalSsdProfile() { + if (dedicatedLocalSsdProfileBuilder_ == null) { + if (performanceProfileCase_ == 5) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + onChanged(); + } + } else { + if (performanceProfileCase_ == 5) { + performanceProfileCase_ = 0; + performanceProfile_ = null; + } + dedicatedLocalSsdProfileBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder + getDedicatedLocalSsdProfileBuilder() { + return getDedicatedLocalSsdProfileFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfileOrBuilder + getDedicatedLocalSsdProfileOrBuilder() { + if ((performanceProfileCase_ == 5) && (dedicatedLocalSsdProfileBuilder_ != null)) { + return dedicatedLocalSsdProfileBuilder_.getMessageOrBuilder(); + } else { + if (performanceProfileCase_ == 5) { + return (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfile) + performanceProfile_; + } + return com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + } + + /** + * + * + *
+       * Provisions a new, separate local NVMe SSD exclusively for swap.
+       * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfileOrBuilder> + getDedicatedLocalSsdProfileFieldBuilder() { + if (dedicatedLocalSsdProfileBuilder_ == null) { + if (!(performanceProfileCase_ == 5)) { + performanceProfile_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .getDefaultInstance(); + } + dedicatedLocalSsdProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile + .Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig + .DedicatedLocalSsdProfileOrBuilder>( + (com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile) + performanceProfile_, + getParentForChildren(), + isClean()); + performanceProfile_ = null; + } + performanceProfileCase_ = 5; + onChanged(); + return dedicatedLocalSsdProfileBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.SwapConfig) + private static final com.google.container.v1beta1.LinuxNodeConfig.SwapConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.LinuxNodeConfig.SwapConfig(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SwapConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface NodeKernelModuleLoadingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Set the node module loading policy for nodes in the node pool.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The enum numeric value on the wire for policy. + */ + int getPolicyValue(); + + /** + * + * + *
+     * Set the node module loading policy for nodes in the node pool.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The policy. + */ + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy getPolicy(); + } + + /** + * + * + *
+   * Configuration for kernel module loading on nodes.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading} + */ + public static final class NodeKernelModuleLoading extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) + NodeKernelModuleLoadingOrBuilder { + private static final long serialVersionUID = 0L; + + // Use NodeKernelModuleLoading.newBuilder() to construct. + private NodeKernelModuleLoading(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeKernelModuleLoading() { + policy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeKernelModuleLoading(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.class, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder.class); + } + + /** + * + * + *
+     * Defines the kernel module loading policy for nodes in the nodepool.
+     * 
+ * + * Protobuf enum {@code google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy} + */ + public enum Policy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Default behavior. GKE selects the image based on node type.
+       * For CPU and TPU nodes, the image will not allow loading external
+       * kernel modules.
+       * For GPU nodes, the image will allow loading any module, whether it
+       * is signed or not.
+       * 
+ * + * POLICY_UNSPECIFIED = 0; + */ + POLICY_UNSPECIFIED(0), + /** + * + * + *
+       * Enforced signature verification: Node pools will use a
+       * Container-Optimized OS image configured to allow loading of
+       * *Google-signed* external kernel modules.
+       * Loadpin is enabled but configured to exclude modules, and kernel
+       * module signature checking is enforced.
+       * 
+ * + * ENFORCE_SIGNED_MODULES = 1; + */ + ENFORCE_SIGNED_MODULES(1), + /** + * + * + *
+       * Mirrors existing DEFAULT behavior:
+       * For CPU and TPU nodes, the image will not allow loading external
+       * kernel modules.
+       * For GPU nodes, the image will allow loading any module, whether it
+       * is signed or not.
+       * 
+ * + * DO_NOT_ENFORCE_SIGNED_MODULES = 2; + */ + DO_NOT_ENFORCE_SIGNED_MODULES(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Default behavior. GKE selects the image based on node type.
+       * For CPU and TPU nodes, the image will not allow loading external
+       * kernel modules.
+       * For GPU nodes, the image will allow loading any module, whether it
+       * is signed or not.
+       * 
+ * + * POLICY_UNSPECIFIED = 0; + */ + public static final int POLICY_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+       * Enforced signature verification: Node pools will use a
+       * Container-Optimized OS image configured to allow loading of
+       * *Google-signed* external kernel modules.
+       * Loadpin is enabled but configured to exclude modules, and kernel
+       * module signature checking is enforced.
+       * 
+ * + * ENFORCE_SIGNED_MODULES = 1; + */ + public static final int ENFORCE_SIGNED_MODULES_VALUE = 1; + + /** + * + * + *
+       * Mirrors existing DEFAULT behavior:
+       * For CPU and TPU nodes, the image will not allow loading external
+       * kernel modules.
+       * For GPU nodes, the image will allow loading any module, whether it
+       * is signed or not.
+       * 
+ * + * DO_NOT_ENFORCE_SIGNED_MODULES = 2; + */ + public static final int DO_NOT_ENFORCE_SIGNED_MODULES_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Policy valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Policy forNumber(int value) { + switch (value) { + case 0: + return POLICY_UNSPECIFIED; + case 1: + return ENFORCE_SIGNED_MODULES; + case 2: + return DO_NOT_ENFORCE_SIGNED_MODULES; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Policy findValueByNumber(int number) { + return Policy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Policy[] VALUES = values(); + + public static Policy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Policy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy) + } + + public static final int POLICY_FIELD_NUMBER = 1; + private int policy_ = 0; + + /** + * + * + *
+     * Set the node module loading policy for nodes in the node pool.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The enum numeric value on the wire for policy. + */ + @java.lang.Override + public int getPolicyValue() { + return policy_; + } + + /** + * + * + *
+     * Set the node module loading policy for nodes in the node pool.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The policy. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy getPolicy() { + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy result = + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy.forNumber( + policy_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (policy_ + != com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy + .POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, policy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (policy_ + != com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy + .POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, policy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading)) { + return super.equals(obj); + } + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading other = + (com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) obj; + + if (policy_ != other.policy_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + policy_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Configuration for kernel module loading on nodes.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.class, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder.class); + } + + // Construct using + // com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + policy_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_NodeKernelModuleLoading_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading build() { + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading result = + new com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.policy_ = policy_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) { + return mergeFrom( + (com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading other) { + if (other + == com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + .getDefaultInstance()) return this; + if (other.policy_ != 0) { + setPolicyValue(other.getPolicyValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + policy_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int policy_ = 0; + + /** + * + * + *
+       * Set the node module loading policy for nodes in the node pool.
+       * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The enum numeric value on the wire for policy. + */ + @java.lang.Override + public int getPolicyValue() { + return policy_; + } + + /** + * + * + *
+       * Set the node module loading policy for nodes in the node pool.
+       * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @param value The enum numeric value on the wire for policy to set. + * @return This builder for chaining. + */ + public Builder setPolicyValue(int value) { + policy_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Set the node module loading policy for nodes in the node pool.
+       * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return The policy. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy + getPolicy() { + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy result = + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy.forNumber( + policy_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy + .UNRECOGNIZED + : result; + } + + /** + * + * + *
+       * Set the node module loading policy for nodes in the node pool.
+       * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @param value The policy to set. + * @return This builder for chaining. + */ + public Builder setPolicy( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + policy_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+       * Set the node module loading policy for nodes in the node pool.
+       * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Policy policy = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearPolicy() { + bitField0_ = (bitField0_ & ~0x00000001); + policy_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading) + private static final com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading(); + } + + public static com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeKernelModuleLoading parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int SYSCTLS_FIELD_NUMBER = 1; + + private static final class SysctlsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField sysctls_; + + private com.google.protobuf.MapField internalGetSysctls() { + if (sysctls_ == null) { + return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); + } + return sysctls_; + } + + public int getSysctlsCount() { + return internalGetSysctls().getMap().size(); + } + + /** + * + * + *
+   * The Linux kernel parameters to be applied to the nodes and all pods running
+   * on the nodes.
+   *
+   * The following parameters are supported.
+   *
+   * net.core.busy_poll
+   * net.core.busy_read
+   * net.core.netdev_max_backlog
+   * net.core.rmem_max
+   * net.core.rmem_default
+   * net.core.wmem_default
+   * net.core.wmem_max
+   * net.core.optmem_max
+   * net.core.somaxconn
+   * net.ipv4.tcp_rmem
+   * net.ipv4.tcp_wmem
+   * net.ipv4.tcp_tw_reuse
+   * net.ipv4.tcp_max_orphans
+   * net.netfilter.nf_conntrack_max
+   * net.netfilter.nf_conntrack_buckets
+   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+   * net.netfilter.nf_conntrack_tcp_timeout_established
+   * net.netfilter.nf_conntrack_acct
+   * kernel.shmmni
+   * kernel.shmmax
+   * kernel.shmall
+   * fs.aio-max-nr
+   * fs.file-max
+   * fs.inotify.max_user_instances
+   * fs.inotify.max_user_watches
+   * fs.nr_open
+   * vm.dirty_background_ratio
+   * vm.dirty_expire_centisecs
+   * vm.dirty_ratio
+   * vm.dirty_writeback_centisecs
+   * vm.max_map_count
+   * vm.overcommit_memory
+   * vm.overcommit_ratio
+   * vm.vfs_cache_pressure
+   * vm.swappiness
+   * vm.watermark_scale_factor
+   * vm.min_free_kbytes
+   * 
+ * + * map<string, string> sysctls = 1; + */ + @java.lang.Override + public boolean containsSysctls(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetSysctls().getMap().containsKey(key); + } + + /** Use {@link #getSysctlsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSysctls() { + return getSysctlsMap(); + } + + /** + * + * + *
+   * The Linux kernel parameters to be applied to the nodes and all pods running
+   * on the nodes.
+   *
+   * The following parameters are supported.
+   *
+   * net.core.busy_poll
+   * net.core.busy_read
+   * net.core.netdev_max_backlog
+   * net.core.rmem_max
+   * net.core.rmem_default
+   * net.core.wmem_default
+   * net.core.wmem_max
+   * net.core.optmem_max
+   * net.core.somaxconn
+   * net.ipv4.tcp_rmem
+   * net.ipv4.tcp_wmem
+   * net.ipv4.tcp_tw_reuse
+   * net.ipv4.tcp_max_orphans
+   * net.netfilter.nf_conntrack_max
+   * net.netfilter.nf_conntrack_buckets
+   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+   * net.netfilter.nf_conntrack_tcp_timeout_established
+   * net.netfilter.nf_conntrack_acct
+   * kernel.shmmni
    * kernel.shmmax
    * kernel.shmall
    * fs.aio-max-nr
@@ -1942,6 +8093,136 @@ public int getTransparentHugepageDefragValue() {
         : result;
   }
 
+  public static final int SWAP_CONFIG_FIELD_NUMBER = 12;
+  private com.google.container.v1beta1.LinuxNodeConfig.SwapConfig swapConfig_;
+
+  /**
+   *
+   *
+   * 
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the swapConfig field is set. + */ + @java.lang.Override + public boolean hasSwapConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The swapConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getSwapConfig() { + return swapConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance() + : swapConfig_; + } + + /** + * + * + *
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder getSwapConfigOrBuilder() { + return swapConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance() + : swapConfig_; + } + + public static final int NODE_KERNEL_MODULE_LOADING_FIELD_NUMBER = 13; + private com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + nodeKernelModuleLoading_; + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the nodeKernelModuleLoading field is set. + */ + @java.lang.Override + public boolean hasNodeKernelModuleLoading() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The nodeKernelModuleLoading. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + getNodeKernelModuleLoading() { + return nodeKernelModuleLoading_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.getDefaultInstance() + : nodeKernelModuleLoading_; + } + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder + getNodeKernelModuleLoadingOrBuilder() { + return nodeKernelModuleLoading_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.getDefaultInstance() + : nodeKernelModuleLoading_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1978,6 +8259,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(5, transparentHugepageDefrag_); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(12, getSwapConfig()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(13, getNodeKernelModuleLoading()); + } getUnknownFields().writeTo(output); } @@ -2017,6 +8304,14 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, transparentHugepageDefrag_); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getSwapConfig()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, getNodeKernelModuleLoading()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2041,6 +8336,14 @@ public boolean equals(final java.lang.Object obj) { } if (transparentHugepageEnabled_ != other.transparentHugepageEnabled_) return false; if (transparentHugepageDefrag_ != other.transparentHugepageDefrag_) return false; + if (hasSwapConfig() != other.hasSwapConfig()) return false; + if (hasSwapConfig()) { + if (!getSwapConfig().equals(other.getSwapConfig())) return false; + } + if (hasNodeKernelModuleLoading() != other.hasNodeKernelModuleLoading()) return false; + if (hasNodeKernelModuleLoading()) { + if (!getNodeKernelModuleLoading().equals(other.getNodeKernelModuleLoading())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2066,789 +8369,1326 @@ public int hashCode() { hash = (53 * hash) + transparentHugepageEnabled_; hash = (37 * hash) + TRANSPARENT_HUGEPAGE_DEFRAG_FIELD_NUMBER; hash = (53 * hash) + transparentHugepageDefrag_; + if (hasSwapConfig()) { + hash = (37 * hash) + SWAP_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSwapConfig().hashCode(); + } + if (hasNodeKernelModuleLoading()) { + hash = (37 * hash) + NODE_KERNEL_MODULE_LOADING_FIELD_NUMBER; + hash = (53 * hash) + getNodeKernelModuleLoading().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.container.v1beta1.LinuxNodeConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Parameters that can be configured on Linux nodes.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig) + com.google.container.v1beta1.LinuxNodeConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSysctls(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableSysctls(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.LinuxNodeConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.LinuxNodeConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getHugepagesFieldBuilder(); + getSwapConfigFieldBuilder(); + getNodeKernelModuleLoadingFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableSysctls().clear(); + cgroupMode_ = 0; + hugepages_ = null; + if (hugepagesBuilder_ != null) { + hugepagesBuilder_.dispose(); + hugepagesBuilder_ = null; + } + transparentHugepageEnabled_ = 0; + transparentHugepageDefrag_ = 0; + swapConfig_ = null; + if (swapConfigBuilder_ != null) { + swapConfigBuilder_.dispose(); + swapConfigBuilder_ = null; + } + nodeKernelModuleLoading_ = null; + if (nodeKernelModuleLoadingBuilder_ != null) { + nodeKernelModuleLoadingBuilder_.dispose(); + nodeKernelModuleLoadingBuilder_ = null; + } + return this; + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance(); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig build() { + com.google.container.v1beta1.LinuxNodeConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { + com.google.container.v1beta1.LinuxNodeConfig result = + new com.google.container.v1beta1.LinuxNodeConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private void buildPartial0(com.google.container.v1beta1.LinuxNodeConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sysctls_ = internalGetSysctls(); + result.sysctls_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.cgroupMode_ = cgroupMode_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hugepages_ = hugepagesBuilder_ == null ? hugepages_ : hugepagesBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.transparentHugepageEnabled_ = transparentHugepageEnabled_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.transparentHugepageDefrag_ = transparentHugepageDefrag_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.swapConfig_ = swapConfigBuilder_ == null ? swapConfig_ : swapConfigBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.nodeKernelModuleLoading_ = + nodeKernelModuleLoadingBuilder_ == null + ? nodeKernelModuleLoading_ + : nodeKernelModuleLoadingBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.LinuxNodeConfig) { + return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig other) { + if (other == com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance()) return this; + internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); + bitField0_ |= 0x00000001; + if (other.cgroupMode_ != 0) { + setCgroupModeValue(other.getCgroupModeValue()); + } + if (other.hasHugepages()) { + mergeHugepages(other.getHugepages()); + } + if (other.transparentHugepageEnabled_ != 0) { + setTransparentHugepageEnabledValue(other.getTransparentHugepageEnabledValue()); + } + if (other.transparentHugepageDefrag_ != 0) { + setTransparentHugepageDefragValue(other.getTransparentHugepageDefragValue()); + } + if (other.hasSwapConfig()) { + mergeSwapConfig(other.getSwapConfig()); + } + if (other.hasNodeKernelModuleLoading()) { + mergeNodeKernelModuleLoading(other.getNodeKernelModuleLoading()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } - public static Builder newBuilder(com.google.container.v1beta1.LinuxNodeConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.MapEntry sysctls__ = + input.readMessage( + SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableSysctls() + .getMutableMap() + .put(sysctls__.getKey(), sysctls__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + cgroupMode_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getHugepagesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + transparentHugepageEnabled_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + transparentHugepageDefrag_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 98: + { + input.readMessage(getSwapConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 98 + case 106: + { + input.readMessage( + getNodeKernelModuleLoadingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 106 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } + private int bitField0_; - /** - * - * - *
-   * Parameters that can be configured on Linux nodes.
-   * 
- * - * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig) - com.google.container.v1beta1.LinuxNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; - } + private com.google.protobuf.MapField sysctls_; - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetSysctls(); - default: - throw new RuntimeException("Invalid map field number: " + number); + private com.google.protobuf.MapField internalGetSysctls() { + if (sysctls_ == null) { + return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); } + return sysctls_; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetMutableSysctls(); - default: - throw new RuntimeException("Invalid map field number: " + number); + private com.google.protobuf.MapField + internalGetMutableSysctls() { + if (sysctls_ == null) { + sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); + } + if (!sysctls_.isMutable()) { + sysctls_ = sysctls_.copy(); } + bitField0_ |= 0x00000001; + onChanged(); + return sysctls_; } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LinuxNodeConfig.class, - com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + public int getSysctlsCount() { + return internalGetSysctls().getMap().size(); } - // Construct using com.google.container.v1beta1.LinuxNodeConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ + @java.lang.Override + public boolean containsSysctls(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetSysctls().getMap().containsKey(key); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + /** Use {@link #getSysctlsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSysctls() { + return getSysctlsMap(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getHugepagesFieldBuilder(); - } + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ + @java.lang.Override + public java.util.Map getSysctlsMap() { + return internalGetSysctls().getMap(); } + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableSysctls().clear(); - cgroupMode_ = 0; - hugepages_ = null; - if (hugepagesBuilder_ != null) { - hugepagesBuilder_.dispose(); - hugepagesBuilder_ = null; + public /* nullable */ java.lang.String getSysctlsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); } - transparentHugepageEnabled_ = 0; - transparentHugepageDefrag_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; - } - - @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig getDefaultInstanceForType() { - return com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance(); + java.util.Map map = internalGetSysctls().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; } + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig build() { - com.google.container.v1beta1.LinuxNodeConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + public java.lang.String getSysctlsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); } - return result; + java.util.Map map = internalGetSysctls().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); } - @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { - com.google.container.v1beta1.LinuxNodeConfig result = - new com.google.container.v1beta1.LinuxNodeConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; + public Builder clearSysctls() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSysctls().getMutableMap().clear(); + return this; } - private void buildPartial0(com.google.container.v1beta1.LinuxNodeConfig result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.sysctls_ = internalGetSysctls(); - result.sysctls_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.cgroupMode_ = cgroupMode_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.hugepages_ = hugepagesBuilder_ == null ? hugepages_ : hugepagesBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.transparentHugepageEnabled_ = transparentHugepageEnabled_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.transparentHugepageDefrag_ = transparentHugepageDefrag_; + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ + public Builder removeSysctls(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); } - result.bitField0_ |= to_bitField0_; + internalGetMutableSysctls().getMutableMap().remove(key); + return this; } - @java.lang.Override - public Builder clone() { - return super.clone(); + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableSysctls() { + bitField0_ |= 0x00000001; + return internalGetMutableSysctls().getMutableMap(); } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ + public Builder putSysctls(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableSysctls().getMutableMap().put(key, value); + bitField0_ |= 0x00000001; + return this; } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * + * + *
+     * The Linux kernel parameters to be applied to the nodes and all pods running
+     * on the nodes.
+     *
+     * The following parameters are supported.
+     *
+     * net.core.busy_poll
+     * net.core.busy_read
+     * net.core.netdev_max_backlog
+     * net.core.rmem_max
+     * net.core.rmem_default
+     * net.core.wmem_default
+     * net.core.wmem_max
+     * net.core.optmem_max
+     * net.core.somaxconn
+     * net.ipv4.tcp_rmem
+     * net.ipv4.tcp_wmem
+     * net.ipv4.tcp_tw_reuse
+     * net.ipv4.tcp_max_orphans
+     * net.netfilter.nf_conntrack_max
+     * net.netfilter.nf_conntrack_buckets
+     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
+     * net.netfilter.nf_conntrack_tcp_timeout_established
+     * net.netfilter.nf_conntrack_acct
+     * kernel.shmmni
+     * kernel.shmmax
+     * kernel.shmall
+     * fs.aio-max-nr
+     * fs.file-max
+     * fs.inotify.max_user_instances
+     * fs.inotify.max_user_watches
+     * fs.nr_open
+     * vm.dirty_background_ratio
+     * vm.dirty_expire_centisecs
+     * vm.dirty_ratio
+     * vm.dirty_writeback_centisecs
+     * vm.max_map_count
+     * vm.overcommit_memory
+     * vm.overcommit_ratio
+     * vm.vfs_cache_pressure
+     * vm.swappiness
+     * vm.watermark_scale_factor
+     * vm.min_free_kbytes
+     * 
+ * + * map<string, string> sysctls = 1; + */ + public Builder putAllSysctls(java.util.Map values) { + internalGetMutableSysctls().getMutableMap().putAll(values); + bitField0_ |= 0x00000001; + return this; } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } + private int cgroupMode_ = 0; + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The enum numeric value on the wire for cgroupMode. + */ @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + public int getCgroupModeValue() { + return cgroupMode_; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @param value The enum numeric value on the wire for cgroupMode to set. + * @return This builder for chaining. + */ + public Builder setCgroupModeValue(int value) { + cgroupMode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The cgroupMode. + */ @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.container.v1beta1.LinuxNodeConfig) { - return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig) other); - } else { - super.mergeFrom(other); - return this; - } + public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.forNumber(cgroupMode_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; } - public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig other) { - if (other == com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance()) return this; - internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); - bitField0_ |= 0x00000001; - if (other.cgroupMode_ != 0) { - setCgroupModeValue(other.getCgroupModeValue()); - } - if (other.hasHugepages()) { - mergeHugepages(other.getHugepages()); - } - if (other.transparentHugepageEnabled_ != 0) { - setTransparentHugepageEnabledValue(other.getTransparentHugepageEnabledValue()); - } - if (other.transparentHugepageDefrag_ != 0) { - setTransparentHugepageDefragValue(other.getTransparentHugepageDefragValue()); + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @param value The cgroupMode to set. + * @return This builder for chaining. + */ + public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.CgroupMode value) { + if (value == null) { + throw new NullPointerException(); } - this.mergeUnknownFields(other.getUnknownFields()); + bitField0_ |= 0x00000002; + cgroupMode_ = value.getNumber(); onChanged(); return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.protobuf.MapEntry sysctls__ = - input.readMessage( - SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSysctls() - .getMutableMap() - .put(sysctls__.getKey(), sysctls__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - cgroupMode_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getHugepagesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - transparentHugepageEnabled_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - transparentHugepageDefrag_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return This builder for chaining. + */ + public Builder clearCgroupMode() { + bitField0_ = (bitField0_ & ~0x00000002); + cgroupMode_ = 0; + onChanged(); return this; } - private int bitField0_; + private com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder> + hugepagesBuilder_; - private com.google.protobuf.MapField sysctls_; + /** + * + * + *
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the hugepages field is set. + */ + public boolean hasHugepages() { + return ((bitField0_ & 0x00000004) != 0); + } - private com.google.protobuf.MapField internalGetSysctls() { - if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); + /** + * + * + *
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The hugepages. + */ + public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig getHugepages() { + if (hugepagesBuilder_ == null) { + return hugepages_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.getDefaultInstance() + : hugepages_; + } else { + return hugepagesBuilder_.getMessage(); } - return sysctls_; } - private com.google.protobuf.MapField - internalGetMutableSysctls() { - if (sysctls_ == null) { - sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); - } - if (!sysctls_.isMutable()) { - sysctls_ = sysctls_.copy(); + /** + * + * + *
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setHugepages( + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig value) { + if (hugepagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + hugepages_ = value; + } else { + hugepagesBuilder_.setMessage(value); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000004; onChanged(); - return sysctls_; - } - - public int getSysctlsCount() { - return internalGetSysctls().getMap().size(); + return this; } /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
* - * The following parameters are supported. + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setHugepages( + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder builderForValue) { + if (hugepagesBuilder_ == null) { + hugepages_ = builderForValue.build(); + } else { + hugepagesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** * - * net.core.busy_poll - * net.core.busy_read - * net.core.netdev_max_backlog - * net.core.rmem_max - * net.core.rmem_default - * net.core.wmem_default - * net.core.wmem_max - * net.core.optmem_max - * net.core.somaxconn - * net.ipv4.tcp_rmem - * net.ipv4.tcp_wmem - * net.ipv4.tcp_tw_reuse - * net.ipv4.tcp_max_orphans - * net.netfilter.nf_conntrack_max - * net.netfilter.nf_conntrack_buckets - * net.netfilter.nf_conntrack_tcp_timeout_close_wait - * net.netfilter.nf_conntrack_tcp_timeout_time_wait - * net.netfilter.nf_conntrack_tcp_timeout_established - * net.netfilter.nf_conntrack_acct - * kernel.shmmni - * kernel.shmmax - * kernel.shmall - * fs.aio-max-nr - * fs.file-max - * fs.inotify.max_user_instances - * fs.inotify.max_user_watches - * fs.nr_open - * vm.dirty_background_ratio - * vm.dirty_expire_centisecs - * vm.dirty_ratio - * vm.dirty_writeback_centisecs - * vm.max_map_count - * vm.overcommit_memory - * vm.overcommit_ratio - * vm.vfs_cache_pressure - * vm.swappiness - * vm.watermark_scale_factor - * vm.min_free_kbytes + * + *
+     * Optional. Amounts for 2M and 1G hugepages
      * 
* - * map<string, string> sysctls = 1; + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public boolean containsSysctls(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); + public Builder mergeHugepages( + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig value) { + if (hugepagesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && hugepages_ != null + && hugepages_ + != com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig + .getDefaultInstance()) { + getHugepagesBuilder().mergeFrom(value); + } else { + hugepages_ = value; + } + } else { + hugepagesBuilder_.mergeFrom(value); } - return internalGetSysctls().getMap().containsKey(key); + if (hugepages_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; } - /** Use {@link #getSysctlsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSysctls() { - return getSysctlsMap(); + /** + * + * + *
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearHugepages() { + bitField0_ = (bitField0_ & ~0x00000004); + hugepages_ = null; + if (hugepagesBuilder_ != null) { + hugepagesBuilder_.dispose(); + hugepagesBuilder_ = null; + } + onChanged(); + return this; } /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
+     * Optional. Amounts for 2M and 1G hugepages
+     * 
* - * The following parameters are supported. + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder + getHugepagesBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getHugepagesFieldBuilder().getBuilder(); + } + + /** * - * net.core.busy_poll - * net.core.busy_read - * net.core.netdev_max_backlog - * net.core.rmem_max - * net.core.rmem_default - * net.core.wmem_default - * net.core.wmem_max - * net.core.optmem_max - * net.core.somaxconn - * net.ipv4.tcp_rmem - * net.ipv4.tcp_wmem - * net.ipv4.tcp_tw_reuse - * net.ipv4.tcp_max_orphans - * net.netfilter.nf_conntrack_max - * net.netfilter.nf_conntrack_buckets - * net.netfilter.nf_conntrack_tcp_timeout_close_wait - * net.netfilter.nf_conntrack_tcp_timeout_time_wait - * net.netfilter.nf_conntrack_tcp_timeout_established - * net.netfilter.nf_conntrack_acct - * kernel.shmmni - * kernel.shmmax - * kernel.shmall - * fs.aio-max-nr - * fs.file-max - * fs.inotify.max_user_instances - * fs.inotify.max_user_watches - * fs.nr_open - * vm.dirty_background_ratio - * vm.dirty_expire_centisecs - * vm.dirty_ratio - * vm.dirty_writeback_centisecs - * vm.max_map_count - * vm.overcommit_memory - * vm.overcommit_ratio - * vm.vfs_cache_pressure - * vm.swappiness - * vm.watermark_scale_factor - * vm.min_free_kbytes + * + *
+     * Optional. Amounts for 2M and 1G hugepages
      * 
* - * map<string, string> sysctls = 1; + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public java.util.Map getSysctlsMap() { - return internalGetSysctls().getMap(); + public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder + getHugepagesOrBuilder() { + if (hugepagesBuilder_ != null) { + return hugepagesBuilder_.getMessageOrBuilder(); + } else { + return hugepages_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.getDefaultInstance() + : hugepages_; + } } /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
-     *
-     * The following parameters are supported.
-     *
-     * net.core.busy_poll
-     * net.core.busy_read
-     * net.core.netdev_max_backlog
-     * net.core.rmem_max
-     * net.core.rmem_default
-     * net.core.wmem_default
-     * net.core.wmem_max
-     * net.core.optmem_max
-     * net.core.somaxconn
-     * net.ipv4.tcp_rmem
-     * net.ipv4.tcp_wmem
-     * net.ipv4.tcp_tw_reuse
-     * net.ipv4.tcp_max_orphans
-     * net.netfilter.nf_conntrack_max
-     * net.netfilter.nf_conntrack_buckets
-     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_established
-     * net.netfilter.nf_conntrack_acct
-     * kernel.shmmni
-     * kernel.shmmax
-     * kernel.shmall
-     * fs.aio-max-nr
-     * fs.file-max
-     * fs.inotify.max_user_instances
-     * fs.inotify.max_user_watches
-     * fs.nr_open
-     * vm.dirty_background_ratio
-     * vm.dirty_expire_centisecs
-     * vm.dirty_ratio
-     * vm.dirty_writeback_centisecs
-     * vm.max_map_count
-     * vm.overcommit_memory
-     * vm.overcommit_ratio
-     * vm.vfs_cache_pressure
-     * vm.swappiness
-     * vm.watermark_scale_factor
-     * vm.min_free_kbytes
+     * Optional. Amounts for 2M and 1G hugepages
      * 
* - * map<string, string> sysctls = 1; + * + * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - @java.lang.Override - public /* nullable */ java.lang.String getSysctlsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder> + getHugepagesFieldBuilder() { + if (hugepagesBuilder_ == null) { + hugepagesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder>( + getHugepages(), getParentForChildren(), isClean()); + hugepages_ = null; } - java.util.Map map = internalGetSysctls().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + return hugepagesBuilder_; } + private int transparentHugepageEnabled_ = 0; + /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
-     *
-     * The following parameters are supported.
+     * Optional. Transparent hugepage support for anonymous memory can be entirely
+     * disabled (mostly for debugging purposes) or only enabled inside
+     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
+     * resources) or enabled system wide.
      *
-     * net.core.busy_poll
-     * net.core.busy_read
-     * net.core.netdev_max_backlog
-     * net.core.rmem_max
-     * net.core.rmem_default
-     * net.core.wmem_default
-     * net.core.wmem_max
-     * net.core.optmem_max
-     * net.core.somaxconn
-     * net.ipv4.tcp_rmem
-     * net.ipv4.tcp_wmem
-     * net.ipv4.tcp_tw_reuse
-     * net.ipv4.tcp_max_orphans
-     * net.netfilter.nf_conntrack_max
-     * net.netfilter.nf_conntrack_buckets
-     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_established
-     * net.netfilter.nf_conntrack_acct
-     * kernel.shmmni
-     * kernel.shmmax
-     * kernel.shmall
-     * fs.aio-max-nr
-     * fs.file-max
-     * fs.inotify.max_user_instances
-     * fs.inotify.max_user_watches
-     * fs.nr_open
-     * vm.dirty_background_ratio
-     * vm.dirty_expire_centisecs
-     * vm.dirty_ratio
-     * vm.dirty_writeback_centisecs
-     * vm.max_map_count
-     * vm.overcommit_memory
-     * vm.overcommit_ratio
-     * vm.vfs_cache_pressure
-     * vm.swappiness
-     * vm.watermark_scale_factor
-     * vm.min_free_kbytes
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * map<string, string> sysctls = 1; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for transparentHugepageEnabled. */ @java.lang.Override - public java.lang.String getSysctlsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSysctls().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearSysctls() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableSysctls().getMutableMap().clear(); - return this; + public int getTransparentHugepageEnabledValue() { + return transparentHugepageEnabled_; } /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
-     *
-     * The following parameters are supported.
+     * Optional. Transparent hugepage support for anonymous memory can be entirely
+     * disabled (mostly for debugging purposes) or only enabled inside
+     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
+     * resources) or enabled system wide.
      *
-     * net.core.busy_poll
-     * net.core.busy_read
-     * net.core.netdev_max_backlog
-     * net.core.rmem_max
-     * net.core.rmem_default
-     * net.core.wmem_default
-     * net.core.wmem_max
-     * net.core.optmem_max
-     * net.core.somaxconn
-     * net.ipv4.tcp_rmem
-     * net.ipv4.tcp_wmem
-     * net.ipv4.tcp_tw_reuse
-     * net.ipv4.tcp_max_orphans
-     * net.netfilter.nf_conntrack_max
-     * net.netfilter.nf_conntrack_buckets
-     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_established
-     * net.netfilter.nf_conntrack_acct
-     * kernel.shmmni
-     * kernel.shmmax
-     * kernel.shmall
-     * fs.aio-max-nr
-     * fs.file-max
-     * fs.inotify.max_user_instances
-     * fs.inotify.max_user_watches
-     * fs.nr_open
-     * vm.dirty_background_ratio
-     * vm.dirty_expire_centisecs
-     * vm.dirty_ratio
-     * vm.dirty_writeback_centisecs
-     * vm.max_map_count
-     * vm.overcommit_memory
-     * vm.overcommit_ratio
-     * vm.vfs_cache_pressure
-     * vm.swappiness
-     * vm.watermark_scale_factor
-     * vm.min_free_kbytes
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * map<string, string> sysctls = 1; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for transparentHugepageEnabled to set. + * @return This builder for chaining. */ - public Builder removeSysctls(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSysctls().getMutableMap().remove(key); + public Builder setTransparentHugepageEnabledValue(int value) { + transparentHugepageEnabled_ = value; + bitField0_ |= 0x00000008; + onChanged(); return this; } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableSysctls() { - bitField0_ |= 0x00000001; - return internalGetMutableSysctls().getMutableMap(); + /** + * + * + *
+     * Optional. Transparent hugepage support for anonymous memory can be entirely
+     * disabled (mostly for debugging purposes) or only enabled inside
+     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
+     * resources) or enabled system wide.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
+     * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The transparentHugepageEnabled. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled + getTransparentHugepageEnabled() { + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled result = + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled.forNumber( + transparentHugepageEnabled_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled.UNRECOGNIZED + : result; } /** * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
-     *
-     * The following parameters are supported.
+     * Optional. Transparent hugepage support for anonymous memory can be entirely
+     * disabled (mostly for debugging purposes) or only enabled inside
+     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
+     * resources) or enabled system wide.
      *
-     * net.core.busy_poll
-     * net.core.busy_read
-     * net.core.netdev_max_backlog
-     * net.core.rmem_max
-     * net.core.rmem_default
-     * net.core.wmem_default
-     * net.core.wmem_max
-     * net.core.optmem_max
-     * net.core.somaxconn
-     * net.ipv4.tcp_rmem
-     * net.ipv4.tcp_wmem
-     * net.ipv4.tcp_tw_reuse
-     * net.ipv4.tcp_max_orphans
-     * net.netfilter.nf_conntrack_max
-     * net.netfilter.nf_conntrack_buckets
-     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_established
-     * net.netfilter.nf_conntrack_acct
-     * kernel.shmmni
-     * kernel.shmmax
-     * kernel.shmall
-     * fs.aio-max-nr
-     * fs.file-max
-     * fs.inotify.max_user_instances
-     * fs.inotify.max_user_watches
-     * fs.nr_open
-     * vm.dirty_background_ratio
-     * vm.dirty_expire_centisecs
-     * vm.dirty_ratio
-     * vm.dirty_writeback_centisecs
-     * vm.max_map_count
-     * vm.overcommit_memory
-     * vm.overcommit_ratio
-     * vm.vfs_cache_pressure
-     * vm.swappiness
-     * vm.watermark_scale_factor
-     * vm.min_free_kbytes
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * map<string, string> sysctls = 1; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The transparentHugepageEnabled to set. + * @return This builder for chaining. */ - public Builder putSysctls(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder setTransparentHugepageEnabled( + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled value) { if (value == null) { - throw new NullPointerException("map value"); + throw new NullPointerException(); } - internalGetMutableSysctls().getMutableMap().put(key, value); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000008; + transparentHugepageEnabled_ = value.getNumber(); + onChanged(); return this; } @@ -2856,92 +9696,77 @@ public Builder putSysctls(java.lang.String key, java.lang.String value) { * * *
-     * The Linux kernel parameters to be applied to the nodes and all pods running
-     * on the nodes.
-     *
-     * The following parameters are supported.
+     * Optional. Transparent hugepage support for anonymous memory can be entirely
+     * disabled (mostly for debugging purposes) or only enabled inside
+     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
+     * resources) or enabled system wide.
      *
-     * net.core.busy_poll
-     * net.core.busy_read
-     * net.core.netdev_max_backlog
-     * net.core.rmem_max
-     * net.core.rmem_default
-     * net.core.wmem_default
-     * net.core.wmem_max
-     * net.core.optmem_max
-     * net.core.somaxconn
-     * net.ipv4.tcp_rmem
-     * net.ipv4.tcp_wmem
-     * net.ipv4.tcp_tw_reuse
-     * net.ipv4.tcp_max_orphans
-     * net.netfilter.nf_conntrack_max
-     * net.netfilter.nf_conntrack_buckets
-     * net.netfilter.nf_conntrack_tcp_timeout_close_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_time_wait
-     * net.netfilter.nf_conntrack_tcp_timeout_established
-     * net.netfilter.nf_conntrack_acct
-     * kernel.shmmni
-     * kernel.shmmax
-     * kernel.shmall
-     * fs.aio-max-nr
-     * fs.file-max
-     * fs.inotify.max_user_instances
-     * fs.inotify.max_user_watches
-     * fs.nr_open
-     * vm.dirty_background_ratio
-     * vm.dirty_expire_centisecs
-     * vm.dirty_ratio
-     * vm.dirty_writeback_centisecs
-     * vm.max_map_count
-     * vm.overcommit_memory
-     * vm.overcommit_ratio
-     * vm.vfs_cache_pressure
-     * vm.swappiness
-     * vm.watermark_scale_factor
-     * vm.min_free_kbytes
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * map<string, string> sysctls = 1; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. */ - public Builder putAllSysctls(java.util.Map values) { - internalGetMutableSysctls().getMutableMap().putAll(values); - bitField0_ |= 0x00000001; + public Builder clearTransparentHugepageEnabled() { + bitField0_ = (bitField0_ & ~0x00000008); + transparentHugepageEnabled_ = 0; + onChanged(); return this; } - private int cgroupMode_ = 0; + private int transparentHugepageDefrag_ = 0; /** * * *
-     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * Optional. Defines the transparent hugepage defrag configuration on the
+     * node. VM hugepage allocation can be managed by either limiting
+     * defragmentation for delayed allocation or skipping it entirely for
+     * immediate allocation only.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return The enum numeric value on the wire for cgroupMode. + * @return The enum numeric value on the wire for transparentHugepageDefrag. */ @java.lang.Override - public int getCgroupModeValue() { - return cgroupMode_; + public int getTransparentHugepageDefragValue() { + return transparentHugepageDefrag_; } /** * * *
-     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * Optional. Defines the transparent hugepage defrag configuration on the
+     * node. VM hugepage allocation can be managed by either limiting
+     * defragmentation for delayed allocation or skipping it entirely for
+     * immediate allocation only.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @param value The enum numeric value on the wire for cgroupMode to set. + * @param value The enum numeric value on the wire for transparentHugepageDefrag to set. * @return This builder for chaining. */ - public Builder setCgroupModeValue(int value) { - cgroupMode_ = value; - bitField0_ |= 0x00000002; + public Builder setTransparentHugepageDefragValue(int value) { + transparentHugepageDefrag_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2950,19 +9775,29 @@ public Builder setCgroupModeValue(int value) { * * *
-     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * Optional. Defines the transparent hugepage defrag configuration on the
+     * node. VM hugepage allocation can be managed by either limiting
+     * defragmentation for delayed allocation or skipping it entirely for
+     * immediate allocation only.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return The cgroupMode. + * @return The transparentHugepageDefrag. */ @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.forNumber(cgroupMode_); + public com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag + getTransparentHugepageDefrag() { + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag result = + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag.forNumber( + transparentHugepageDefrag_); return result == null - ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + ? com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag.UNRECOGNIZED : result; } @@ -2970,20 +9805,29 @@ public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { * * *
-     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * Optional. Defines the transparent hugepage defrag configuration on the
+     * node. VM hugepage allocation can be managed by either limiting
+     * defragmentation for delayed allocation or skipping it entirely for
+     * immediate allocation only.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @param value The cgroupMode to set. + * @param value The transparentHugepageDefrag to set. * @return This builder for chaining. */ - public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.CgroupMode value) { + public Builder setTransparentHugepageDefrag( + com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; - cgroupMode_ = value.getNumber(); + bitField0_ |= 0x00000010; + transparentHugepageDefrag_ = value.getNumber(); onChanged(); return this; } @@ -2992,64 +9836,74 @@ public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.Cgroup * * *
-     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * Optional. Defines the transparent hugepage defrag configuration on the
+     * node. VM hugepage allocation can be managed by either limiting
+     * defragmentation for delayed allocation or skipping it entirely for
+     * immediate allocation only.
+     *
+     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
+     * for more details.
      * 
* - * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ - public Builder clearCgroupMode() { - bitField0_ = (bitField0_ & ~0x00000002); - cgroupMode_ = 0; + public Builder clearTransparentHugepageDefrag() { + bitField0_ = (bitField0_ & ~0x00000010); + transparentHugepageDefrag_ = 0; onChanged(); return this; } - private com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages_; + private com.google.container.v1beta1.LinuxNodeConfig.SwapConfig swapConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder> - hugepagesBuilder_; + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder> + swapConfigBuilder_; /** * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the hugepages field is set. + * @return Whether the swapConfig field is set. */ - public boolean hasHugepages() { - return ((bitField0_ & 0x00000004) != 0); + public boolean hasSwapConfig() { + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The hugepages. + * @return The swapConfig. */ - public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig getHugepages() { - if (hugepagesBuilder_ == null) { - return hugepages_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.getDefaultInstance() - : hugepages_; + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getSwapConfig() { + if (swapConfigBuilder_ == null) { + return swapConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance() + : swapConfig_; } else { - return hugepagesBuilder_.getMessage(); + return swapConfigBuilder_.getMessage(); } } @@ -3057,24 +9911,24 @@ public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig getHugepages * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setHugepages( - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig value) { - if (hugepagesBuilder_ == null) { + public Builder setSwapConfig(com.google.container.v1beta1.LinuxNodeConfig.SwapConfig value) { + if (swapConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - hugepages_ = value; + swapConfig_ = value; } else { - hugepagesBuilder_.setMessage(value); + swapConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3083,21 +9937,22 @@ public Builder setHugepages( * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setHugepages( - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder builderForValue) { - if (hugepagesBuilder_ == null) { - hugepages_ = builderForValue.build(); + public Builder setSwapConfig( + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder builderForValue) { + if (swapConfigBuilder_ == null) { + swapConfig_ = builderForValue.build(); } else { - hugepagesBuilder_.setMessage(builderForValue.build()); + swapConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3106,30 +9961,29 @@ public Builder setHugepages( * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder mergeHugepages( - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig value) { - if (hugepagesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && hugepages_ != null - && hugepages_ - != com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig - .getDefaultInstance()) { - getHugepagesBuilder().mergeFrom(value); + public Builder mergeSwapConfig(com.google.container.v1beta1.LinuxNodeConfig.SwapConfig value) { + if (swapConfigBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && swapConfig_ != null + && swapConfig_ + != com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance()) { + getSwapConfigBuilder().mergeFrom(value); } else { - hugepages_ = value; + swapConfig_ = value; } } else { - hugepagesBuilder_.mergeFrom(value); + swapConfigBuilder_.mergeFrom(value); } - if (hugepages_ != null) { - bitField0_ |= 0x00000004; + if (swapConfig_ != null) { + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -3139,19 +9993,20 @@ public Builder mergeHugepages( * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder clearHugepages() { - bitField0_ = (bitField0_ & ~0x00000004); - hugepages_ = null; - if (hugepagesBuilder_ != null) { - hugepagesBuilder_.dispose(); - hugepagesBuilder_ = null; + public Builder clearSwapConfig() { + bitField0_ = (bitField0_ & ~0x00000020); + swapConfig_ = null; + if (swapConfigBuilder_ != null) { + swapConfigBuilder_.dispose(); + swapConfigBuilder_ = null; } onChanged(); return this; @@ -3161,39 +10016,40 @@ public Builder clearHugepages() { * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder - getHugepagesBuilder() { - bitField0_ |= 0x00000004; + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder getSwapConfigBuilder() { + bitField0_ |= 0x00000020; onChanged(); - return getHugepagesFieldBuilder().getBuilder(); + return getSwapConfigFieldBuilder().getBuilder(); } /** * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder - getHugepagesOrBuilder() { - if (hugepagesBuilder_ != null) { - return hugepagesBuilder_.getMessageOrBuilder(); + public com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder + getSwapConfigOrBuilder() { + if (swapConfigBuilder_ != null) { + return swapConfigBuilder_.getMessageOrBuilder(); } else { - return hugepages_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.getDefaultInstance() - : hugepages_; + return swapConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.getDefaultInstance() + : swapConfig_; } } @@ -3201,140 +10057,109 @@ public Builder clearHugepages() { * * *
-     * Optional. Amounts for 2M and 1G hugepages
+     * Optional. Enables and configures swap space on nodes.
+     * If omitted, swap is disabled.
      * 
* * - * optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder> - getHugepagesFieldBuilder() { - if (hugepagesBuilder_ == null) { - hugepagesBuilder_ = + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder> + getSwapConfigFieldBuilder() { + if (swapConfigBuilder_ == null) { + swapConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfig.HugepagesConfigOrBuilder>( - getHugepages(), getParentForChildren(), isClean()); - hugepages_ = null; + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder>( + getSwapConfig(), getParentForChildren(), isClean()); + swapConfig_ = null; } - return hugepagesBuilder_; + return swapConfigBuilder_; } - private int transparentHugepageEnabled_ = 0; - - /** - * - * - *
-     * Optional. Transparent hugepage support for anonymous memory can be entirely
-     * disabled (mostly for debugging purposes) or only enabled inside
-     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
-     * resources) or enabled system wide.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
-     * 
- * - * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for transparentHugepageEnabled. - */ - @java.lang.Override - public int getTransparentHugepageEnabledValue() { - return transparentHugepageEnabled_; - } + private com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + nodeKernelModuleLoading_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder> + nodeKernelModuleLoadingBuilder_; /** * * *
-     * Optional. Transparent hugepage support for anonymous memory can be entirely
-     * disabled (mostly for debugging purposes) or only enabled inside
-     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
-     * resources) or enabled system wide.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * * - * @param value The enum numeric value on the wire for transparentHugepageEnabled to set. - * @return This builder for chaining. + * @return Whether the nodeKernelModuleLoading field is set. */ - public Builder setTransparentHugepageEnabledValue(int value) { - transparentHugepageEnabled_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + public boolean hasNodeKernelModuleLoading() { + return ((bitField0_ & 0x00000040) != 0); } /** * * *
-     * Optional. Transparent hugepage support for anonymous memory can be entirely
-     * disabled (mostly for debugging purposes) or only enabled inside
-     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
-     * resources) or enabled system wide.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The transparentHugepageEnabled. + * @return The nodeKernelModuleLoading. */ - @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled - getTransparentHugepageEnabled() { - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled result = - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled.forNumber( - transparentHugepageEnabled_); - return result == null - ? com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled.UNRECOGNIZED - : result; + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + getNodeKernelModuleLoading() { + if (nodeKernelModuleLoadingBuilder_ == null) { + return nodeKernelModuleLoading_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + .getDefaultInstance() + : nodeKernelModuleLoading_; + } else { + return nodeKernelModuleLoadingBuilder_.getMessage(); + } } /** * * *
-     * Optional. Transparent hugepage support for anonymous memory can be entirely
-     * disabled (mostly for debugging purposes) or only enabled inside
-     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
-     * resources) or enabled system wide.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @param value The transparentHugepageEnabled to set. - * @return This builder for chaining. */ - public Builder setTransparentHugepageEnabled( - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled value) { - if (value == null) { - throw new NullPointerException(); + public Builder setNodeKernelModuleLoading( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading value) { + if (nodeKernelModuleLoadingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeKernelModuleLoading_ = value; + } else { + nodeKernelModuleLoadingBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; - transparentHugepageEnabled_ = value.getNumber(); + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -3343,77 +10168,83 @@ public Builder setTransparentHugepageEnabled( * * *
-     * Optional. Transparent hugepage support for anonymous memory can be entirely
-     * disabled (mostly for debugging purposes) or only enabled inside
-     * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
-     * resources) or enabled system wide.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @return This builder for chaining. */ - public Builder clearTransparentHugepageEnabled() { - bitField0_ = (bitField0_ & ~0x00000008); - transparentHugepageEnabled_ = 0; + public Builder setNodeKernelModuleLoading( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder + builderForValue) { + if (nodeKernelModuleLoadingBuilder_ == null) { + nodeKernelModuleLoading_ = builderForValue.build(); + } else { + nodeKernelModuleLoadingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; onChanged(); return this; } - private int transparentHugepageDefrag_ = 0; - /** * * *
-     * Optional. Defines the transparent hugepage defrag configuration on the
-     * node. VM hugepage allocation can be managed by either limiting
-     * defragmentation for delayed allocation or skipping it entirely for
-     * immediate allocation only.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @return The enum numeric value on the wire for transparentHugepageDefrag. */ - @java.lang.Override - public int getTransparentHugepageDefragValue() { - return transparentHugepageDefrag_; + public Builder mergeNodeKernelModuleLoading( + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading value) { + if (nodeKernelModuleLoadingBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && nodeKernelModuleLoading_ != null + && nodeKernelModuleLoading_ + != com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + .getDefaultInstance()) { + getNodeKernelModuleLoadingBuilder().mergeFrom(value); + } else { + nodeKernelModuleLoading_ = value; + } + } else { + nodeKernelModuleLoadingBuilder_.mergeFrom(value); + } + if (nodeKernelModuleLoading_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; } /** * * *
-     * Optional. Defines the transparent hugepage defrag configuration on the
-     * node. VM hugepage allocation can be managed by either limiting
-     * defragmentation for delayed allocation or skipping it entirely for
-     * immediate allocation only.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @param value The enum numeric value on the wire for transparentHugepageDefrag to set. - * @return This builder for chaining. */ - public Builder setTransparentHugepageDefragValue(int value) { - transparentHugepageDefrag_ = value; - bitField0_ |= 0x00000010; + public Builder clearNodeKernelModuleLoading() { + bitField0_ = (bitField0_ & ~0x00000040); + nodeKernelModuleLoading_ = null; + if (nodeKernelModuleLoadingBuilder_ != null) { + nodeKernelModuleLoadingBuilder_.dispose(); + nodeKernelModuleLoadingBuilder_ = null; + } onChanged(); return this; } @@ -3422,87 +10253,75 @@ public Builder setTransparentHugepageDefragValue(int value) { * * *
-     * Optional. Defines the transparent hugepage defrag configuration on the
-     * node. VM hugepage allocation can be managed by either limiting
-     * defragmentation for delayed allocation or skipping it entirely for
-     * immediate allocation only.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @return The transparentHugepageDefrag. */ - @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag - getTransparentHugepageDefrag() { - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag result = - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag.forNumber( - transparentHugepageDefrag_); - return result == null - ? com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag.UNRECOGNIZED - : result; + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder + getNodeKernelModuleLoadingBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getNodeKernelModuleLoadingFieldBuilder().getBuilder(); } /** * * *
-     * Optional. Defines the transparent hugepage defrag configuration on the
-     * node. VM hugepage allocation can be managed by either limiting
-     * defragmentation for delayed allocation or skipping it entirely for
-     * immediate allocation only.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @param value The transparentHugepageDefrag to set. - * @return This builder for chaining. */ - public Builder setTransparentHugepageDefrag( - com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag value) { - if (value == null) { - throw new NullPointerException(); + public com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder + getNodeKernelModuleLoadingOrBuilder() { + if (nodeKernelModuleLoadingBuilder_ != null) { + return nodeKernelModuleLoadingBuilder_.getMessageOrBuilder(); + } else { + return nodeKernelModuleLoading_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading + .getDefaultInstance() + : nodeKernelModuleLoading_; } - bitField0_ |= 0x00000010; - transparentHugepageDefrag_ = value.getNumber(); - onChanged(); - return this; } /** * * *
-     * Optional. Defines the transparent hugepage defrag configuration on the
-     * node. VM hugepage allocation can be managed by either limiting
-     * defragmentation for delayed allocation or skipping it entirely for
-     * immediate allocation only.
-     *
-     * See https://docs.kernel.org/admin-guide/mm/transhuge.html
-     * for more details.
+     * Optional. Configuration for kernel module loading on nodes.
+     * When enabled, the node pool will be provisioned with a Container-Optimized
+     * OS image that enforces kernel module signature verification.
      * 
* * - * .google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; * - * - * @return This builder for chaining. */ - public Builder clearTransparentHugepageDefrag() { - bitField0_ = (bitField0_ & ~0x00000010); - transparentHugepageDefrag_ = 0; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder> + getNodeKernelModuleLoadingFieldBuilder() { + if (nodeKernelModuleLoadingBuilder_ == null) { + nodeKernelModuleLoadingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading.Builder, + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder>( + getNodeKernelModuleLoading(), getParentForChildren(), isClean()); + nodeKernelModuleLoading_ = null; + } + return nodeKernelModuleLoadingBuilder_; } @java.lang.Override diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java index 7f9125892d9b..31ef4eaea738 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java @@ -451,4 +451,100 @@ java.lang.String getSysctlsOrDefault( */ com.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag getTransparentHugepageDefrag(); + + /** + * + * + *
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the swapConfig field is set. + */ + boolean hasSwapConfig(); + + /** + * + * + *
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The swapConfig. + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfig getSwapConfig(); + + /** + * + * + *
+   * Optional. Enables and configures swap space on nodes.
+   * If omitted, swap is disabled.
+   * 
+ * + * + * optional .google.container.v1beta1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.SwapConfigOrBuilder getSwapConfigOrBuilder(); + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the nodeKernelModuleLoading field is set. + */ + boolean hasNodeKernelModuleLoading(); + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The nodeKernelModuleLoading. + */ + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading getNodeKernelModuleLoading(); + + /** + * + * + *
+   * Optional. Configuration for kernel module loading on nodes.
+   * When enabled, the node pool will be provisioned with a Container-Optimized
+   * OS image that enforces kernel module signature verification.
+   * 
+ * + * + * .google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.container.v1beta1.LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder + getNodeKernelModuleLoadingOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index f91cf87cfb54..45964373c594 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The bytes for zone. */ @java.lang.Override @@ -656,7 +656,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The projectId. */ @java.lang.Deprecated @@ -684,7 +684,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -712,7 +712,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @param value The projectId to set. * @return This builder for chaining. */ @@ -739,7 +739,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return This builder for chaining. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -793,7 +793,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The zone. */ @java.lang.Deprecated @@ -822,7 +822,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The bytes for zone. */ @java.lang.Deprecated @@ -851,7 +851,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @param value The zone to set. * @return This builder for chaining. */ @@ -879,7 +879,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return This builder for chaining. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 83126e9dc626..2f6e2256467e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4477 + * google/container/v1beta1/cluster_service.proto;l=4648 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4483 + * google/container/v1beta1/cluster_service.proto;l=4654 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index 234ae5eb0053..bed115284071 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The bytes for clusterId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @param value The projectId to set. * @return This builder for chaining. */ @@ -823,7 +823,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -877,7 +877,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The zone. */ @java.lang.Deprecated @@ -906,7 +906,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The bytes for zone. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @param value The zone to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return This builder for chaining. */ @java.lang.Deprecated @@ -987,7 +987,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The clusterId. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 6a3866e66ddf..93507dc08bd1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4737 + * google/container/v1beta1/cluster_service.proto;l=4908 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4743 + * google/container/v1beta1/cluster_service.proto;l=4914 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4747 + * google/container/v1beta1/cluster_service.proto;l=4918 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 1d714a1b69d6..9f1a02f2a8d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The bytes for zone. */ @java.lang.Override @@ -656,7 +656,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The projectId. */ @java.lang.Deprecated @@ -684,7 +684,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -712,7 +712,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @param value The projectId to set. * @return This builder for chaining. */ @@ -739,7 +739,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return This builder for chaining. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -793,7 +793,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The zone. */ @java.lang.Deprecated @@ -822,7 +822,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The bytes for zone. */ @java.lang.Deprecated @@ -851,7 +851,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @param value The zone to set. * @return This builder for chaining. */ @@ -879,7 +879,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return This builder for chaining. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index d262ade930bf..c65dce726da1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4529 + * google/container/v1beta1/cluster_service.proto;l=4700 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4706 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfig.java index de5f4c715172..1ef457f4dda2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfig.java @@ -90,13 +90,22 @@ public boolean getEnabled() { *
    * If set to true, the Lustre CSI driver will install Lustre kernel modules
    * using port 6988.
+   * This serves as a workaround for a port conflict with the
+   * gke-metadata-server. This field is required ONLY under the following
+   * conditions:
+   * 1. The GKE node version is older than 1.33.2-gke.4655000.
+   * 2. You're connecting to a Lustre instance that has the
+   * 'gke-support-enabled' flag.
    * 
* - * bool enable_legacy_lustre_port = 3; + * bool enable_legacy_lustre_port = 3 [deprecated = true]; * + * @deprecated google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2236 * @return The enableLegacyLustrePort. */ @java.lang.Override + @java.lang.Deprecated public boolean getEnableLegacyLustrePort() { return enableLegacyLustrePort_; } @@ -528,13 +537,22 @@ public Builder clearEnabled() { *
      * If set to true, the Lustre CSI driver will install Lustre kernel modules
      * using port 6988.
+     * This serves as a workaround for a port conflict with the
+     * gke-metadata-server. This field is required ONLY under the following
+     * conditions:
+     * 1. The GKE node version is older than 1.33.2-gke.4655000.
+     * 2. You're connecting to a Lustre instance that has the
+     * 'gke-support-enabled' flag.
      * 
* - * bool enable_legacy_lustre_port = 3; + * bool enable_legacy_lustre_port = 3 [deprecated = true]; * + * @deprecated google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2236 * @return The enableLegacyLustrePort. */ @java.lang.Override + @java.lang.Deprecated public boolean getEnableLegacyLustrePort() { return enableLegacyLustrePort_; } @@ -545,13 +563,22 @@ public boolean getEnableLegacyLustrePort() { *
      * If set to true, the Lustre CSI driver will install Lustre kernel modules
      * using port 6988.
+     * This serves as a workaround for a port conflict with the
+     * gke-metadata-server. This field is required ONLY under the following
+     * conditions:
+     * 1. The GKE node version is older than 1.33.2-gke.4655000.
+     * 2. You're connecting to a Lustre instance that has the
+     * 'gke-support-enabled' flag.
      * 
* - * bool enable_legacy_lustre_port = 3; + * bool enable_legacy_lustre_port = 3 [deprecated = true]; * + * @deprecated google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2236 * @param value The enableLegacyLustrePort to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setEnableLegacyLustrePort(boolean value) { enableLegacyLustrePort_ = value; @@ -566,12 +593,21 @@ public Builder setEnableLegacyLustrePort(boolean value) { *
      * If set to true, the Lustre CSI driver will install Lustre kernel modules
      * using port 6988.
+     * This serves as a workaround for a port conflict with the
+     * gke-metadata-server. This field is required ONLY under the following
+     * conditions:
+     * 1. The GKE node version is older than 1.33.2-gke.4655000.
+     * 2. You're connecting to a Lustre instance that has the
+     * 'gke-support-enabled' flag.
      * 
* - * bool enable_legacy_lustre_port = 3; + * bool enable_legacy_lustre_port = 3 [deprecated = true]; * + * @deprecated google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2236 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearEnableLegacyLustrePort() { bitField0_ = (bitField0_ & ~0x00000002); enableLegacyLustrePort_ = false; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfigOrBuilder.java index dda6377e648b..5c06c0bc253e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LustreCsiDriverConfigOrBuilder.java @@ -43,11 +43,20 @@ public interface LustreCsiDriverConfigOrBuilder *
    * If set to true, the Lustre CSI driver will install Lustre kernel modules
    * using port 6988.
+   * This serves as a workaround for a port conflict with the
+   * gke-metadata-server. This field is required ONLY under the following
+   * conditions:
+   * 1. The GKE node version is older than 1.33.2-gke.4655000.
+   * 2. You're connecting to a Lustre instance that has the
+   * 'gke-support-enabled' flag.
    * 
* - * bool enable_legacy_lustre_port = 3; + * bool enable_legacy_lustre_port = 3 [deprecated = true]; * + * @deprecated google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2236 * @return The enableLegacyLustrePort. */ + @java.lang.Deprecated boolean getEnableLegacyLustrePort(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java index 142463071c33..9af6375b0b62 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java @@ -41,6 +41,7 @@ private MaintenanceExclusionOptions(com.google.protobuf.GeneratedMessageV3.Build private MaintenanceExclusionOptions() { scope_ = 0; + endTimeBehavior_ = 0; } @java.lang.Override @@ -235,6 +236,150 @@ private Scope(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.MaintenanceExclusionOptions.Scope) } + /** + * + * + *
+   * EndTimeBehavior specifies the behavior of the exclusion end time.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior} + */ + public enum EndTimeBehavior implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed
+     * end time.
+     * 
+ * + * END_TIME_BEHAVIOR_UNSPECIFIED = 0; + */ + END_TIME_BEHAVIOR_UNSPECIFIED(0), + /** + * + * + *
+     * UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end
+     * of the support of the cluster's current version.
+     * 
+ * + * UNTIL_END_OF_SUPPORT = 1; + */ + UNTIL_END_OF_SUPPORT(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed
+     * end time.
+     * 
+ * + * END_TIME_BEHAVIOR_UNSPECIFIED = 0; + */ + public static final int END_TIME_BEHAVIOR_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end
+     * of the support of the cluster's current version.
+     * 
+ * + * UNTIL_END_OF_SUPPORT = 1; + */ + public static final int UNTIL_END_OF_SUPPORT_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EndTimeBehavior valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EndTimeBehavior forNumber(int value) { + switch (value) { + case 0: + return END_TIME_BEHAVIOR_UNSPECIFIED; + case 1: + return UNTIL_END_OF_SUPPORT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EndTimeBehavior findValueByNumber(int number) { + return EndTimeBehavior.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.MaintenanceExclusionOptions.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final EndTimeBehavior[] VALUES = values(); + + public static EndTimeBehavior valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EndTimeBehavior(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior) + } + public static final int SCOPE_FIELD_NUMBER = 1; private int scope_ = 0; @@ -276,6 +421,51 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() : result; } + public static final int END_TIME_BEHAVIOR_FIELD_NUMBER = 2; + private int endTimeBehavior_ = 0; + + /** + * + * + *
+   * EndTimeBehavior specifies the behavior of the exclusion end time.
+   * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The enum numeric value on the wire for endTimeBehavior. + */ + @java.lang.Override + public int getEndTimeBehaviorValue() { + return endTimeBehavior_; + } + + /** + * + * + *
+   * EndTimeBehavior specifies the behavior of the exclusion end time.
+   * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The endTimeBehavior. + */ + @java.lang.Override + public com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior + getEndTimeBehavior() { + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior result = + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior.forNumber( + endTimeBehavior_); + return result == null + ? com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -294,6 +484,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { output.writeEnum(1, scope_); } + if (endTimeBehavior_ + != com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior + .END_TIME_BEHAVIOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, endTimeBehavior_); + } getUnknownFields().writeTo(output); } @@ -307,6 +503,12 @@ public int getSerializedSize() { != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } + if (endTimeBehavior_ + != com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior + .END_TIME_BEHAVIOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, endTimeBehavior_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -324,6 +526,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.container.v1beta1.MaintenanceExclusionOptions) obj; if (scope_ != other.scope_) return false; + if (endTimeBehavior_ != other.endTimeBehavior_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,6 +540,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; + hash = (37 * hash) + END_TIME_BEHAVIOR_FIELD_NUMBER; + hash = (53 * hash) + endTimeBehavior_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -479,6 +684,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; scope_ = 0; + endTimeBehavior_ = 0; return this; } @@ -518,6 +724,9 @@ private void buildPartial0(com.google.container.v1beta1.MaintenanceExclusionOpti if (((from_bitField0_ & 0x00000001) != 0)) { result.scope_ = scope_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endTimeBehavior_ = endTimeBehavior_; + } } @java.lang.Override @@ -569,6 +778,9 @@ public Builder mergeFrom(com.google.container.v1beta1.MaintenanceExclusionOption if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } + if (other.endTimeBehavior_ != 0) { + setEndTimeBehaviorValue(other.getEndTimeBehaviorValue()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -601,6 +813,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 8 + case 16: + { + endTimeBehavior_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -722,6 +940,116 @@ public Builder clearScope() { return this; } + private int endTimeBehavior_ = 0; + + /** + * + * + *
+     * EndTimeBehavior specifies the behavior of the exclusion end time.
+     * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The enum numeric value on the wire for endTimeBehavior. + */ + @java.lang.Override + public int getEndTimeBehaviorValue() { + return endTimeBehavior_; + } + + /** + * + * + *
+     * EndTimeBehavior specifies the behavior of the exclusion end time.
+     * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @param value The enum numeric value on the wire for endTimeBehavior to set. + * @return This builder for chaining. + */ + public Builder setEndTimeBehaviorValue(int value) { + endTimeBehavior_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * EndTimeBehavior specifies the behavior of the exclusion end time.
+     * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The endTimeBehavior. + */ + @java.lang.Override + public com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior + getEndTimeBehavior() { + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior result = + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior.forNumber( + endTimeBehavior_); + return result == null + ? com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * EndTimeBehavior specifies the behavior of the exclusion end time.
+     * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @param value The endTimeBehavior to set. + * @return This builder for chaining. + */ + public Builder setEndTimeBehavior( + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + endTimeBehavior_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * EndTimeBehavior specifies the behavior of the exclusion end time.
+     * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearEndTimeBehavior() { + bitField0_ = (bitField0_ & ~0x00000002); + endTimeBehavior_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java index 5702dc5786ca..fde15f0d4dee 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java @@ -51,4 +51,34 @@ public interface MaintenanceExclusionOptionsOrBuilder * @return The scope. */ com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope(); + + /** + * + * + *
+   * EndTimeBehavior specifies the behavior of the exclusion end time.
+   * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The enum numeric value on the wire for endTimeBehavior. + */ + int getEndTimeBehaviorValue(); + + /** + * + * + *
+   * EndTimeBehavior specifies the behavior of the exclusion end time.
+   * 
+ * + * + * .google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2; + * + * + * @return The endTimeBehavior. + */ + com.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior getEndTimeBehavior(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index 2b59d4ef4a7f..4abfff7193f6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The username. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The bytes for username. */ @java.lang.Override @@ -167,7 +167,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The password. */ @java.lang.Override @@ -202,7 +202,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The bytes for password. */ @java.lang.Override @@ -952,7 +952,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The username. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The bytes for username. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @param value The username to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1114,7 +1114,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The password. */ @java.lang.Deprecated @@ -1148,7 +1148,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The bytes for password. */ @java.lang.Deprecated @@ -1182,7 +1182,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @param value The password to set. * @return This builder for chaining. */ @@ -1215,7 +1215,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index ce305bb6fb50..7de12443cf30 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -41,7 +41,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The username. */ @java.lang.Deprecated @@ -64,7 +64,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1886 + * google/container/v1beta1/cluster_service.proto;l=2014 * @return The bytes for username. */ @java.lang.Deprecated @@ -88,7 +88,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The password. */ @java.lang.Deprecated @@ -112,7 +112,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1897 + * google/container/v1beta1/cluster_service.proto;l=2025 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfig.java new file mode 100644 index 000000000000..93db56074766 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfig.java @@ -0,0 +1,802 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +/** + * + * + *
+ * NetworkTierConfig contains network tier information.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.NetworkTierConfig} + */ +public final class NetworkTierConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkTierConfig) + NetworkTierConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use NetworkTierConfig.newBuilder() to construct. + private NetworkTierConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkTierConfig() { + networkTier_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkTierConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkTierConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkTierConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NetworkTierConfig.class, + com.google.container.v1beta1.NetworkTierConfig.Builder.class); + } + + /** + * + * + *
+   * Network tier configuration.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.NetworkTierConfig.NetworkTier} + */ + public enum NetworkTier implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * By default, use project-level configuration. When unspecified, the
+     * behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this
+     * implies no action (no-op).
+     * 
+ * + * NETWORK_TIER_UNSPECIFIED = 0; + */ + NETWORK_TIER_UNSPECIFIED(0), + /** + * + * + *
+     * Default network tier. Use project-level configuration. User can specify
+     * this value, meaning they want to keep the same behaviour as before
+     * cluster level network tier configuration is introduced. This field
+     * ensures backward compatibility for the network tier of cluster resources,
+     * such as node pools and load balancers, for their external IP addresses.
+     * 
+ * + * NETWORK_TIER_DEFAULT = 1; + */ + NETWORK_TIER_DEFAULT(1), + /** + * + * + *
+     * Premium network tier.
+     * 
+ * + * NETWORK_TIER_PREMIUM = 2; + */ + NETWORK_TIER_PREMIUM(2), + /** + * + * + *
+     * Standard network tier.
+     * 
+ * + * NETWORK_TIER_STANDARD = 3; + */ + NETWORK_TIER_STANDARD(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * By default, use project-level configuration. When unspecified, the
+     * behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this
+     * implies no action (no-op).
+     * 
+ * + * NETWORK_TIER_UNSPECIFIED = 0; + */ + public static final int NETWORK_TIER_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Default network tier. Use project-level configuration. User can specify
+     * this value, meaning they want to keep the same behaviour as before
+     * cluster level network tier configuration is introduced. This field
+     * ensures backward compatibility for the network tier of cluster resources,
+     * such as node pools and load balancers, for their external IP addresses.
+     * 
+ * + * NETWORK_TIER_DEFAULT = 1; + */ + public static final int NETWORK_TIER_DEFAULT_VALUE = 1; + + /** + * + * + *
+     * Premium network tier.
+     * 
+ * + * NETWORK_TIER_PREMIUM = 2; + */ + public static final int NETWORK_TIER_PREMIUM_VALUE = 2; + + /** + * + * + *
+     * Standard network tier.
+     * 
+ * + * NETWORK_TIER_STANDARD = 3; + */ + public static final int NETWORK_TIER_STANDARD_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NetworkTier valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetworkTier forNumber(int value) { + switch (value) { + case 0: + return NETWORK_TIER_UNSPECIFIED; + case 1: + return NETWORK_TIER_DEFAULT; + case 2: + return NETWORK_TIER_PREMIUM; + case 3: + return NETWORK_TIER_STANDARD; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetworkTier findValueByNumber(int number) { + return NetworkTier.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.NetworkTierConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final NetworkTier[] VALUES = values(); + + public static NetworkTier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private NetworkTier(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NetworkTierConfig.NetworkTier) + } + + public static final int NETWORK_TIER_FIELD_NUMBER = 1; + private int networkTier_ = 0; + + /** + * + * + *
+   * Network tier configuration.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The enum numeric value on the wire for networkTier. + */ + @java.lang.Override + public int getNetworkTierValue() { + return networkTier_; + } + + /** + * + * + *
+   * Network tier configuration.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The networkTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig.NetworkTier getNetworkTier() { + com.google.container.v1beta1.NetworkTierConfig.NetworkTier result = + com.google.container.v1beta1.NetworkTierConfig.NetworkTier.forNumber(networkTier_); + return result == null + ? com.google.container.v1beta1.NetworkTierConfig.NetworkTier.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (networkTier_ + != com.google.container.v1beta1.NetworkTierConfig.NetworkTier.NETWORK_TIER_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, networkTier_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (networkTier_ + != com.google.container.v1beta1.NetworkTierConfig.NetworkTier.NETWORK_TIER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, networkTier_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.NetworkTierConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.NetworkTierConfig other = + (com.google.container.v1beta1.NetworkTierConfig) obj; + + if (networkTier_ != other.networkTier_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NETWORK_TIER_FIELD_NUMBER; + hash = (53 * hash) + networkTier_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NetworkTierConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.container.v1beta1.NetworkTierConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * NetworkTierConfig contains network tier information.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.NetworkTierConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkTierConfig) + com.google.container.v1beta1.NetworkTierConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkTierConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkTierConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NetworkTierConfig.class, + com.google.container.v1beta1.NetworkTierConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.NetworkTierConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + networkTier_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkTierConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig build() { + com.google.container.v1beta1.NetworkTierConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig buildPartial() { + com.google.container.v1beta1.NetworkTierConfig result = + new com.google.container.v1beta1.NetworkTierConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.container.v1beta1.NetworkTierConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.networkTier_ = networkTier_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.NetworkTierConfig) { + return mergeFrom((com.google.container.v1beta1.NetworkTierConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.NetworkTierConfig other) { + if (other == com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance()) return this; + if (other.networkTier_ != 0) { + setNetworkTierValue(other.getNetworkTierValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + networkTier_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int networkTier_ = 0; + + /** + * + * + *
+     * Network tier configuration.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The enum numeric value on the wire for networkTier. + */ + @java.lang.Override + public int getNetworkTierValue() { + return networkTier_; + } + + /** + * + * + *
+     * Network tier configuration.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @param value The enum numeric value on the wire for networkTier to set. + * @return This builder for chaining. + */ + public Builder setNetworkTierValue(int value) { + networkTier_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Network tier configuration.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The networkTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig.NetworkTier getNetworkTier() { + com.google.container.v1beta1.NetworkTierConfig.NetworkTier result = + com.google.container.v1beta1.NetworkTierConfig.NetworkTier.forNumber(networkTier_); + return result == null + ? com.google.container.v1beta1.NetworkTierConfig.NetworkTier.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Network tier configuration.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @param value The networkTier to set. + * @return This builder for chaining. + */ + public Builder setNetworkTier( + com.google.container.v1beta1.NetworkTierConfig.NetworkTier value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + networkTier_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Network tier configuration.
+     * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return This builder for chaining. + */ + public Builder clearNetworkTier() { + bitField0_ = (bitField0_ & ~0x00000001); + networkTier_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkTierConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkTierConfig) + private static final com.google.container.v1beta1.NetworkTierConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkTierConfig(); + } + + public static com.google.container.v1beta1.NetworkTierConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTierConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfigOrBuilder.java new file mode 100644 index 000000000000..6e9d996b7183 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTierConfigOrBuilder.java @@ -0,0 +1,52 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +public interface NetworkTierConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkTierConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Network tier configuration.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The enum numeric value on the wire for networkTier. + */ + int getNetworkTierValue(); + + /** + * + * + *
+   * Network tier configuration.
+   * 
+ * + * .google.container.v1beta1.NetworkTierConfig.NetworkTier network_tier = 1; + * + * @return The networkTier. + */ + com.google.container.v1beta1.NetworkTierConfig.NetworkTier getNetworkTier(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java index 44b86c351a39..bdfdf59808df 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java @@ -362,7 +362,7 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. *
* * string cpu_cfs_quota_period = 3; @@ -391,7 +391,7 @@ public java.lang.String getCpuCfsQuotaPeriod() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. *
* * string cpu_cfs_quota_period = 3; @@ -2992,7 +2992,7 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; @@ -3020,7 +3020,7 @@ public java.lang.String getCpuCfsQuotaPeriod() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; @@ -3048,7 +3048,7 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; @@ -3075,7 +3075,7 @@ public Builder setCpuCfsQuotaPeriod(java.lang.String value) { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; @@ -3098,7 +3098,7 @@ public Builder clearCpuCfsQuotaPeriod() { * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java index 67afaeafe2fa..e311542352f6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java @@ -240,7 +240,7 @@ public interface NodeKubeletConfigOrBuilder * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; @@ -258,7 +258,7 @@ public interface NodeKubeletConfigOrBuilder * The string must be a sequence of decimal numbers, each with optional * fraction and a unit suffix, such as "300ms". * Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - * The value must be a positive duration. + * The value must be a positive duration between 1ms and 1 second, inclusive. * * * string cpu_cfs_quota_period = 3; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java index a25ab23252bb..787707d57108 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java @@ -45,6 +45,7 @@ private NodeNetworkConfig() { additionalNodeNetworkConfigs_ = java.util.Collections.emptyList(); additionalPodNetworkConfigs_ = java.util.Collections.emptyList(); subnetwork_ = ""; + acceleratorNetworkProfile_ = ""; } @java.lang.Override @@ -1864,6 +1865,132 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } + public static final int NETWORK_TIER_CONFIG_FIELD_NUMBER = 20; + private com.google.container.v1beta1.NetworkTierConfig networkTierConfig_; + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the networkTierConfig field is set. + */ + @java.lang.Override + public boolean hasNetworkTierConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The networkTierConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig() { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder() { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + + public static final int ACCELERATOR_NETWORK_PROFILE_FIELD_NUMBER = 21; + + @SuppressWarnings("serial") + private volatile java.lang.Object acceleratorNetworkProfile_ = ""; + + /** + * + * + *
+   * Immutable. The accelerator network profile for the node pool. For now the
+   * only valid value is "auto". If specified, the network configuration of the
+   * nodes in this node pool will be managed by this profile for the supported
+   * machine types, zone, etc.
+   * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The acceleratorNetworkProfile. + */ + @java.lang.Override + public java.lang.String getAcceleratorNetworkProfile() { + java.lang.Object ref = acceleratorNetworkProfile_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + acceleratorNetworkProfile_ = s; + return s; + } + } + + /** + * + * + *
+   * Immutable. The accelerator network profile for the node pool. For now the
+   * only valid value is "auto". If specified, the network configuration of the
+   * nodes in this node pool will be managed by this profile for the supported
+   * machine types, zone, etc.
+   * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for acceleratorNetworkProfile. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAcceleratorNetworkProfileBytes() { + java.lang.Object ref = acceleratorNetworkProfile_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + acceleratorNetworkProfile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1908,6 +2035,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, subnetwork_); } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(20, getNetworkTierConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorNetworkProfile_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 21, acceleratorNetworkProfile_); + } getUnknownFields().writeTo(output); } @@ -1955,6 +2088,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, subnetwork_); } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getNetworkTierConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorNetworkProfile_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(21, acceleratorNetworkProfile_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1994,6 +2134,11 @@ public boolean equals(final java.lang.Object obj) { if (java.lang.Double.doubleToLongBits(getPodIpv4RangeUtilization()) != java.lang.Double.doubleToLongBits(other.getPodIpv4RangeUtilization())) return false; if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (hasNetworkTierConfig() != other.hasNetworkTierConfig()) return false; + if (hasNetworkTierConfig()) { + if (!getNetworkTierConfig().equals(other.getNetworkTierConfig())) return false; + } + if (!getAcceleratorNetworkProfile().equals(other.getAcceleratorNetworkProfile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2038,6 +2183,12 @@ public int hashCode() { java.lang.Double.doubleToLongBits(getPodIpv4RangeUtilization())); hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER; hash = (53 * hash) + getSubnetwork().hashCode(); + if (hasNetworkTierConfig()) { + hash = (37 * hash) + NETWORK_TIER_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNetworkTierConfig().hashCode(); + } + hash = (37 * hash) + ACCELERATOR_NETWORK_PROFILE_FIELD_NUMBER; + hash = (53 * hash) + getAcceleratorNetworkProfile().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2183,6 +2334,7 @@ private void maybeForceBuilderInitialization() { getPodCidrOverprovisionConfigFieldBuilder(); getAdditionalNodeNetworkConfigsFieldBuilder(); getAdditionalPodNetworkConfigsFieldBuilder(); + getNetworkTierConfigFieldBuilder(); } } @@ -2220,6 +2372,12 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000080); podIpv4RangeUtilization_ = 0D; subnetwork_ = ""; + networkTierConfig_ = null; + if (networkTierConfigBuilder_ != null) { + networkTierConfigBuilder_.dispose(); + networkTierConfigBuilder_ = null; + } + acceleratorNetworkProfile_ = ""; return this; } @@ -2314,6 +2472,16 @@ private void buildPartial0(com.google.container.v1beta1.NodeNetworkConfig result if (((from_bitField0_ & 0x00000200) != 0)) { result.subnetwork_ = subnetwork_; } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.networkTierConfig_ = + networkTierConfigBuilder_ == null + ? networkTierConfig_ + : networkTierConfigBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.acceleratorNetworkProfile_ = acceleratorNetworkProfile_; + } result.bitField0_ |= to_bitField0_; } @@ -2447,6 +2615,14 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeNetworkConfig other) { bitField0_ |= 0x00000200; onChanged(); } + if (other.hasNetworkTierConfig()) { + mergeNetworkTierConfig(other.getNetworkTierConfig()); + } + if (!other.getAcceleratorNetworkProfile().isEmpty()) { + acceleratorNetworkProfile_ = other.acceleratorNetworkProfile_; + bitField0_ |= 0x00000800; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2551,6 +2727,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000200; break; } // case 154 + case 162: + { + input.readMessage( + getNetworkTierConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 162 + case 170: + { + acceleratorNetworkProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 170 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4688,6 +4877,369 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.container.v1beta1.NetworkTierConfig networkTierConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + networkTierConfigBuilder_; + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the networkTierConfig field is set. + */ + public boolean hasNetworkTierConfig() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The networkTierConfig. + */ + public com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig() { + if (networkTierConfigBuilder_ == null) { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } else { + return networkTierConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNetworkTierConfig(com.google.container.v1beta1.NetworkTierConfig value) { + if (networkTierConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkTierConfig_ = value; + } else { + networkTierConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNetworkTierConfig( + com.google.container.v1beta1.NetworkTierConfig.Builder builderForValue) { + if (networkTierConfigBuilder_ == null) { + networkTierConfig_ = builderForValue.build(); + } else { + networkTierConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeNetworkTierConfig(com.google.container.v1beta1.NetworkTierConfig value) { + if (networkTierConfigBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && networkTierConfig_ != null + && networkTierConfig_ + != com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance()) { + getNetworkTierConfigBuilder().mergeFrom(value); + } else { + networkTierConfig_ = value; + } + } else { + networkTierConfigBuilder_.mergeFrom(value); + } + if (networkTierConfig_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearNetworkTierConfig() { + bitField0_ = (bitField0_ & ~0x00000400); + networkTierConfig_ = null; + if (networkTierConfigBuilder_ != null) { + networkTierConfigBuilder_.dispose(); + networkTierConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1beta1.NetworkTierConfig.Builder getNetworkTierConfigBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getNetworkTierConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder() { + if (networkTierConfigBuilder_ != null) { + return networkTierConfigBuilder_.getMessageOrBuilder(); + } else { + return networkTierConfig_ == null + ? com.google.container.v1beta1.NetworkTierConfig.getDefaultInstance() + : networkTierConfig_; + } + } + + /** + * + * + *
+     * Output only. The network tier configuration for the node pool inherits from
+     * the cluster-level configuration and remains immutable throughout the node
+     * pool's lifecycle, including during upgrades.
+     * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder> + getNetworkTierConfigFieldBuilder() { + if (networkTierConfigBuilder_ == null) { + networkTierConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTierConfig, + com.google.container.v1beta1.NetworkTierConfig.Builder, + com.google.container.v1beta1.NetworkTierConfigOrBuilder>( + getNetworkTierConfig(), getParentForChildren(), isClean()); + networkTierConfig_ = null; + } + return networkTierConfigBuilder_; + } + + private java.lang.Object acceleratorNetworkProfile_ = ""; + + /** + * + * + *
+     * Immutable. The accelerator network profile for the node pool. For now the
+     * only valid value is "auto". If specified, the network configuration of the
+     * nodes in this node pool will be managed by this profile for the supported
+     * machine types, zone, etc.
+     * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The acceleratorNetworkProfile. + */ + public java.lang.String getAcceleratorNetworkProfile() { + java.lang.Object ref = acceleratorNetworkProfile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + acceleratorNetworkProfile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Immutable. The accelerator network profile for the node pool. For now the
+     * only valid value is "auto". If specified, the network configuration of the
+     * nodes in this node pool will be managed by this profile for the supported
+     * machine types, zone, etc.
+     * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for acceleratorNetworkProfile. + */ + public com.google.protobuf.ByteString getAcceleratorNetworkProfileBytes() { + java.lang.Object ref = acceleratorNetworkProfile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + acceleratorNetworkProfile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Immutable. The accelerator network profile for the node pool. For now the
+     * only valid value is "auto". If specified, the network configuration of the
+     * nodes in this node pool will be managed by this profile for the supported
+     * machine types, zone, etc.
+     * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The acceleratorNetworkProfile to set. + * @return This builder for chaining. + */ + public Builder setAcceleratorNetworkProfile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + acceleratorNetworkProfile_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + /** + * + * + *
+     * Immutable. The accelerator network profile for the node pool. For now the
+     * only valid value is "auto". If specified, the network configuration of the
+     * nodes in this node pool will be managed by this profile for the supported
+     * machine types, zone, etc.
+     * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearAcceleratorNetworkProfile() { + acceleratorNetworkProfile_ = getDefaultInstance().getAcceleratorNetworkProfile(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + + /** + * + * + *
+     * Immutable. The accelerator network profile for the node pool. For now the
+     * only valid value is "auto". If specified, the network configuration of the
+     * nodes in this node pool will be managed by this profile for the supported
+     * machine types, zone, etc.
+     * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for acceleratorNetworkProfile to set. + * @return This builder for chaining. + */ + public Builder setAcceleratorNetworkProfileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acceleratorNetworkProfile_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java index 9b40b6791e7c..6631cc7f927c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java @@ -488,4 +488,87 @@ com.google.container.v1beta1.AdditionalNodeNetworkConfig getAdditionalNodeNetwor * @return The bytes for subnetwork. */ com.google.protobuf.ByteString getSubnetworkBytes(); + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the networkTierConfig field is set. + */ + boolean hasNetworkTierConfig(); + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The networkTierConfig. + */ + com.google.container.v1beta1.NetworkTierConfig getNetworkTierConfig(); + + /** + * + * + *
+   * Output only. The network tier configuration for the node pool inherits from
+   * the cluster-level configuration and remains immutable throughout the node
+   * pool's lifecycle, including during upgrades.
+   * 
+ * + * + * .google.container.v1beta1.NetworkTierConfig network_tier_config = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.container.v1beta1.NetworkTierConfigOrBuilder getNetworkTierConfigOrBuilder(); + + /** + * + * + *
+   * Immutable. The accelerator network profile for the node pool. For now the
+   * only valid value is "auto". If specified, the network configuration of the
+   * nodes in this node pool will be managed by this profile for the supported
+   * machine types, zone, etc.
+   * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The acceleratorNetworkProfile. + */ + java.lang.String getAcceleratorNetworkProfile(); + + /** + * + * + *
+   * Immutable. The accelerator network profile for the node pool. For now the
+   * only valid value is "auto". If specified, the network configuration of the
+   * nodes in this node pool will be managed by this profile for the supported
+   * machine types, zone, etc.
+   * 
+ * + * string accelerator_network_profile = 21 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for acceleratorNetworkProfile. + */ + com.google.protobuf.ByteString getAcceleratorNetworkProfileBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 5c4f723e9ad1..8264bfb5d25d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -6935,7 +6935,7 @@ public com.google.container.v1beta1.NodePool.Status getStatus() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The statusMessage. */ @java.lang.Override @@ -6966,7 +6966,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The bytes for statusMessage. */ @java.lang.Override @@ -10015,7 +10015,7 @@ public Builder clearStatus() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The statusMessage. */ @java.lang.Deprecated @@ -10045,7 +10045,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -10075,7 +10075,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -10104,7 +10104,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return This builder for chaining. */ @java.lang.Deprecated @@ -10129,7 +10129,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 6d9723187953..180b93e3c3de 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -408,7 +408,7 @@ public interface NodePoolOrBuilder * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The statusMessage. */ @java.lang.Deprecated @@ -428,7 +428,7 @@ public interface NodePoolOrBuilder * * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5063 + * google/container/v1beta1/cluster_service.proto;l=5240 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 339051072ac9..f90b59ef5df8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The zone. */ @java.lang.Override @@ -1048,7 +1048,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The bytes for zone. */ @java.lang.Override @@ -1218,7 +1218,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Override @@ -1248,7 +1248,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2798,7 +2798,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The zone. */ @java.lang.Deprecated @@ -2827,7 +2827,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2856,7 +2856,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @param value The zone to set. * @return This builder for chaining. */ @@ -2884,7 +2884,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2908,7 +2908,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3260,7 +3260,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Deprecated @@ -3289,7 +3289,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -3318,7 +3318,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3346,7 +3346,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3370,7 +3370,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 8383262c288a..49cca89b577c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -63,7 +63,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The zone. */ @java.lang.Deprecated @@ -82,7 +82,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3876 + * google/container/v1beta1/cluster_service.proto;l=4039 * @return The bytes for zone. */ @java.lang.Deprecated @@ -187,7 +187,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Deprecated @@ -206,7 +206,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3890 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java index 7e1f9e990384..15d21bcb2ba2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_nodes is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2133 + * See google/container/v1beta1/cluster_service.proto;l=2268 * @return The enablePrivateNodes. */ @java.lang.Override @@ -114,7 +114,7 @@ public boolean getEnablePrivateNodes() { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2275 * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The privateEndpoint. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getPrivateEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The bytes for privateEndpoint. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The publicEndpoint. */ @java.lang.Override @@ -307,7 +307,7 @@ public java.lang.String getPublicEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The bytes for publicEndpoint. */ @java.lang.Override @@ -397,7 +397,7 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -422,7 +422,7 @@ public boolean hasMasterGlobalAccessConfig() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return The masterGlobalAccessConfig. */ @java.lang.Override @@ -478,7 +478,7 @@ public boolean hasMasterGlobalAccessConfig() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The privateEndpointSubnetwork. */ @java.lang.Override @@ -510,7 +510,7 @@ public java.lang.String getPrivateEndpointSubnetwork() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override @@ -1078,7 +1078,7 @@ public Builder mergeFrom( * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_nodes is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2133 + * See google/container/v1beta1/cluster_service.proto;l=2268 * @return The enablePrivateNodes. */ @java.lang.Override @@ -1103,7 +1103,7 @@ public boolean getEnablePrivateNodes() { * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_nodes is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2133 + * See google/container/v1beta1/cluster_service.proto;l=2268 * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setEnablePrivateNodes(boolean value) { * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_nodes is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2133 + * See google/container/v1beta1/cluster_service.proto;l=2268 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1159,7 +1159,7 @@ public Builder clearEnablePrivateNodes() { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2275 * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -1182,7 +1182,7 @@ public boolean getEnablePrivateEndpoint() { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2275 * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -1209,7 +1209,7 @@ public Builder setEnablePrivateEndpoint(boolean value) { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2275 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1364,7 +1364,7 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The privateEndpoint. */ @java.lang.Deprecated @@ -1396,7 +1396,7 @@ public java.lang.String getPrivateEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The bytes for privateEndpoint. */ @java.lang.Deprecated @@ -1428,7 +1428,7 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @param value The privateEndpoint to set. * @return This builder for chaining. */ @@ -1459,7 +1459,7 @@ public Builder setPrivateEndpoint(java.lang.String value) { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1486,7 +1486,7 @@ public Builder clearPrivateEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ @@ -1520,7 +1520,7 @@ public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The publicEndpoint. */ @java.lang.Deprecated @@ -1552,7 +1552,7 @@ public java.lang.String getPublicEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The bytes for publicEndpoint. */ @java.lang.Deprecated @@ -1584,7 +1584,7 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @param value The publicEndpoint to set. * @return This builder for chaining. */ @@ -1615,7 +1615,7 @@ public Builder setPublicEndpoint(java.lang.String value) { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1642,7 +1642,7 @@ public Builder clearPublicEndpoint() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ @@ -1793,7 +1793,7 @@ public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Deprecated @@ -1817,7 +1817,7 @@ public boolean hasMasterGlobalAccessConfig() { * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return The masterGlobalAccessConfig. */ @java.lang.Deprecated @@ -2058,7 +2058,7 @@ public Builder clearMasterGlobalAccessConfig() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -2089,7 +2089,7 @@ public java.lang.String getPrivateEndpointSubnetwork() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -2120,7 +2120,7 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ @@ -2150,7 +2150,7 @@ public Builder setPrivateEndpointSubnetwork(java.lang.String value) { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2176,7 +2176,7 @@ public Builder clearPrivateEndpointSubnetwork() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java index 4809ea09ee38..e1bab4c930ca 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java @@ -40,7 +40,7 @@ public interface PrivateClusterConfigOrBuilder * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_nodes is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2133 + * See google/container/v1beta1/cluster_service.proto;l=2268 * @return The enablePrivateNodes. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface PrivateClusterConfigOrBuilder * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.enable_private_endpoint is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2275 * @return The enablePrivateEndpoint. */ @java.lang.Deprecated @@ -114,7 +114,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The privateEndpoint. */ @java.lang.Deprecated @@ -136,7 +136,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2288 * @return The bytes for privateEndpoint. */ @java.lang.Deprecated @@ -158,7 +158,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The publicEndpoint. */ @java.lang.Deprecated @@ -180,7 +180,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2161 + * google/container/v1beta1/cluster_service.proto;l=2296 * @return The bytes for publicEndpoint. */ @java.lang.Deprecated @@ -228,7 +228,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Deprecated @@ -250,7 +250,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1beta1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2307 * @return The masterGlobalAccessConfig. */ @java.lang.Deprecated @@ -290,7 +290,7 @@ public interface PrivateClusterConfigOrBuilder * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -311,7 +311,7 @@ public interface PrivateClusterConfigOrBuilder * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1beta1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2316 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfig.java new file mode 100644 index 000000000000..967846c87bd3 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfig.java @@ -0,0 +1,868 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +/** + * + * + *
+ * PrivilegedAdmissionConfig stores the list of authorized allowlist
+ * paths for the cluster.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.PrivilegedAdmissionConfig} + */ +public final class PrivilegedAdmissionConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.PrivilegedAdmissionConfig) + PrivilegedAdmissionConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PrivilegedAdmissionConfig.newBuilder() to construct. + private PrivilegedAdmissionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PrivilegedAdmissionConfig() { + allowlistPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PrivilegedAdmissionConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.PrivilegedAdmissionConfig.class, + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder.class); + } + + public static final int ALLOWLIST_PATHS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList allowlistPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @return A list containing the allowlistPaths. + */ + public com.google.protobuf.ProtocolStringList getAllowlistPathsList() { + return allowlistPaths_; + } + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @return The count of allowlistPaths. + */ + public int getAllowlistPathsCount() { + return allowlistPaths_.size(); + } + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the element to return. + * @return The allowlistPaths at the given index. + */ + public java.lang.String getAllowlistPaths(int index) { + return allowlistPaths_.get(index); + } + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the value to return. + * @return The bytes of the allowlistPaths at the given index. + */ + public com.google.protobuf.ByteString getAllowlistPathsBytes(int index) { + return allowlistPaths_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < allowlistPaths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowlistPaths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < allowlistPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(allowlistPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getAllowlistPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.PrivilegedAdmissionConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.PrivilegedAdmissionConfig other = + (com.google.container.v1beta1.PrivilegedAdmissionConfig) obj; + + if (!getAllowlistPathsList().equals(other.getAllowlistPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getAllowlistPathsCount() > 0) { + hash = (37 * hash) + ALLOWLIST_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getAllowlistPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.PrivilegedAdmissionConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PrivilegedAdmissionConfig stores the list of authorized allowlist
+   * paths for the cluster.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.PrivilegedAdmissionConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PrivilegedAdmissionConfig) + com.google.container.v1beta1.PrivilegedAdmissionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.PrivilegedAdmissionConfig.class, + com.google.container.v1beta1.PrivilegedAdmissionConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.PrivilegedAdmissionConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + allowlistPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivilegedAdmissionConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfig build() { + com.google.container.v1beta1.PrivilegedAdmissionConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfig buildPartial() { + com.google.container.v1beta1.PrivilegedAdmissionConfig result = + new com.google.container.v1beta1.PrivilegedAdmissionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.container.v1beta1.PrivilegedAdmissionConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + allowlistPaths_.makeImmutable(); + result.allowlistPaths_ = allowlistPaths_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.PrivilegedAdmissionConfig) { + return mergeFrom((com.google.container.v1beta1.PrivilegedAdmissionConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.PrivilegedAdmissionConfig other) { + if (other == com.google.container.v1beta1.PrivilegedAdmissionConfig.getDefaultInstance()) + return this; + if (!other.allowlistPaths_.isEmpty()) { + if (allowlistPaths_.isEmpty()) { + allowlistPaths_ = other.allowlistPaths_; + bitField0_ |= 0x00000001; + } else { + ensureAllowlistPathsIsMutable(); + allowlistPaths_.addAll(other.allowlistPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowlistPathsIsMutable(); + allowlistPaths_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList allowlistPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureAllowlistPathsIsMutable() { + if (!allowlistPaths_.isModifiable()) { + allowlistPaths_ = new com.google.protobuf.LazyStringArrayList(allowlistPaths_); + } + bitField0_ |= 0x00000001; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @return A list containing the allowlistPaths. + */ + public com.google.protobuf.ProtocolStringList getAllowlistPathsList() { + allowlistPaths_.makeImmutable(); + return allowlistPaths_; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @return The count of allowlistPaths. + */ + public int getAllowlistPathsCount() { + return allowlistPaths_.size(); + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the element to return. + * @return The allowlistPaths at the given index. + */ + public java.lang.String getAllowlistPaths(int index) { + return allowlistPaths_.get(index); + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the value to return. + * @return The bytes of the allowlistPaths at the given index. + */ + public com.google.protobuf.ByteString getAllowlistPathsBytes(int index) { + return allowlistPaths_.getByteString(index); + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index to set the value at. + * @param value The allowlistPaths to set. + * @return This builder for chaining. + */ + public Builder setAllowlistPaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowlistPathsIsMutable(); + allowlistPaths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param value The allowlistPaths to add. + * @return This builder for chaining. + */ + public Builder addAllowlistPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowlistPathsIsMutable(); + allowlistPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param values The allowlistPaths to add. + * @return This builder for chaining. + */ + public Builder addAllAllowlistPaths(java.lang.Iterable values) { + ensureAllowlistPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowlistPaths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @return This builder for chaining. + */ + public Builder clearAllowlistPaths() { + allowlistPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * The customer allowlist Cloud Storage paths for the cluster. These paths are
+     * used with the `--autopilot-privileged-admission` flag to authorize
+     * privileged workloads in Autopilot clusters.
+     *
+     * Paths can be GKE-owned, in the format
+     * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+     * the format `gs://<bucket_name>/<allowlist_path>`.
+     *
+     * Wildcards (`*`) are supported to authorize all allowlists under specific
+     * paths or directories. Example: `gs://my-bucket/*` will authorize all
+     * allowlists under the `my-bucket` bucket.
+     * 
+ * + * repeated string allowlist_paths = 1; + * + * @param value The bytes of the allowlistPaths to add. + * @return This builder for chaining. + */ + public Builder addAllowlistPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAllowlistPathsIsMutable(); + allowlistPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PrivilegedAdmissionConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivilegedAdmissionConfig) + private static final com.google.container.v1beta1.PrivilegedAdmissionConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.PrivilegedAdmissionConfig(); + } + + public static com.google.container.v1beta1.PrivilegedAdmissionConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivilegedAdmissionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.PrivilegedAdmissionConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfigOrBuilder.java new file mode 100644 index 000000000000..23ce110a1b40 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivilegedAdmissionConfigOrBuilder.java @@ -0,0 +1,120 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +public interface PrivilegedAdmissionConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivilegedAdmissionConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @return A list containing the allowlistPaths. + */ + java.util.List getAllowlistPathsList(); + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @return The count of allowlistPaths. + */ + int getAllowlistPathsCount(); + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the element to return. + * @return The allowlistPaths at the given index. + */ + java.lang.String getAllowlistPaths(int index); + + /** + * + * + *
+   * The customer allowlist Cloud Storage paths for the cluster. These paths are
+   * used with the `--autopilot-privileged-admission` flag to authorize
+   * privileged workloads in Autopilot clusters.
+   *
+   * Paths can be GKE-owned, in the format
+   * `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in
+   * the format `gs://<bucket_name>/<allowlist_path>`.
+   *
+   * Wildcards (`*`) are supported to authorize all allowlists under specific
+   * paths or directories. Example: `gs://my-bucket/*` will authorize all
+   * allowlists under the `my-bucket` bucket.
+   * 
+ * + * repeated string allowlist_paths = 1; + * + * @param index The index of the value to return. + * @return The bytes of the allowlistPaths at the given index. + */ + com.google.protobuf.ByteString getAllowlistPathsBytes(int index); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 8061a5ea8b0d..ffefe620d0cd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The zone. */ @java.lang.Override @@ -182,7 +182,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The bytes for zone. */ @java.lang.Override @@ -215,7 +215,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The clusterId. */ @java.lang.Override @@ -243,7 +243,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The bytes for clusterId. */ @java.lang.Override @@ -276,7 +276,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5346 + * See google/container/v1beta1/cluster_service.proto;l=5537 * @return The nodePoolId. */ @java.lang.Override @@ -304,7 +304,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5346 + * See google/container/v1beta1/cluster_service.proto;l=5537 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -876,7 +876,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The projectId. */ @java.lang.Deprecated @@ -904,7 +904,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @param value The projectId to set. * @return This builder for chaining. */ @@ -959,7 +959,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return This builder for chaining. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1013,7 +1013,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The zone. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1071,7 +1071,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @param value The zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1152,7 +1152,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The clusterId. */ @java.lang.Deprecated @@ -1179,7 +1179,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1206,7 +1206,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1232,7 +1232,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1254,7 +1254,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1283,7 +1283,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5537 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5537 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1337,7 +1337,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5537 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1363,7 +1363,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5537 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1385,7 +1385,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5537 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index bd8fc7962626..e00e66e07f81 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5332 + * See google/container/v1beta1/cluster_service.proto;l=5523 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5338 + * google/container/v1beta1/cluster_service.proto;l=5529 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5342 + * See google/container/v1beta1/cluster_service.proto;l=5533 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5346 + * See google/container/v1beta1/cluster_service.proto;l=5537 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5346 + * See google/container/v1beta1/cluster_service.proto;l=5537 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index b30bef008fdd..145806e23c61 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -216,7 +216,7 @@ private Type(int value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The sandboxType. */ @java.lang.Override @@ -243,7 +243,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The bytes for sandboxType. */ @java.lang.Override @@ -673,7 +673,7 @@ public Builder mergeFrom( * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The sandboxType. */ @java.lang.Deprecated @@ -699,7 +699,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The bytes for sandboxType. */ @java.lang.Deprecated @@ -725,7 +725,7 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @param value The sandboxType to set. * @return This builder for chaining. */ @@ -750,7 +750,7 @@ public Builder setSandboxType(java.lang.String value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return This builder for chaining. */ @java.lang.Deprecated @@ -771,7 +771,7 @@ public Builder clearSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 417beb3b9f96..abb21d2a2c33 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The sandboxType. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1554 + * google/container/v1beta1/cluster_service.proto;l=1672 * @return The bytes for sandboxType. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfig.java new file mode 100644 index 000000000000..29e7db23d8cb --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfig.java @@ -0,0 +1,1858 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +/** + * + * + *
+ * Configuration for sync Secret Manager secrets as k8s secrets.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.SecretSyncConfig} + */ +public final class SecretSyncConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.SecretSyncConfig) + SecretSyncConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SecretSyncConfig.newBuilder() to construct. + private SecretSyncConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecretSyncConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecretSyncConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecretSyncConfig.class, + com.google.container.v1beta1.SecretSyncConfig.Builder.class); + } + + public interface SyncRotationConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Whether the rotation is enabled.
+     * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + boolean hasEnabled(); + + /** + * + * + *
+     * Whether the rotation is enabled.
+     * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return Whether the rotationInterval field is set. + */ + boolean hasRotationInterval(); + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return The rotationInterval. + */ + com.google.protobuf.Duration getRotationInterval(); + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + com.google.protobuf.DurationOrBuilder getRotationIntervalOrBuilder(); + } + + /** + * + * + *
+   * SyncRotationConfig is config for secret manager auto rotation.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.SecretSyncConfig.SyncRotationConfig} + */ + public static final class SyncRotationConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) + SyncRotationConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SyncRotationConfig.newBuilder() to construct. + private SyncRotationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SyncRotationConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SyncRotationConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.class, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder.class); + } + + private int bitField0_; + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_ = false; + + /** + * + * + *
+     * Whether the rotation is enabled.
+     * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Whether the rotation is enabled.
+     * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int ROTATION_INTERVAL_FIELD_NUMBER = 2; + private com.google.protobuf.Duration rotationInterval_; + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return Whether the rotationInterval field is set. + */ + @java.lang.Override + public boolean hasRotationInterval() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return The rotationInterval. + */ + @java.lang.Override + public com.google.protobuf.Duration getRotationInterval() { + return rotationInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : rotationInterval_; + } + + /** + * + * + *
+     * The interval between two consecutive rotations. Default rotation interval
+     * is 2 minutes.
+     * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getRotationIntervalOrBuilder() { + return rotationInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : rotationInterval_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getRotationInterval()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRotationInterval()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig other = + (com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) obj; + + if (hasEnabled() != other.hasEnabled()) return false; + if (hasEnabled()) { + if (getEnabled() != other.getEnabled()) return false; + } + if (hasRotationInterval() != other.hasRotationInterval()) return false; + if (hasRotationInterval()) { + if (!getRotationInterval().equals(other.getRotationInterval())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEnabled()) { + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + } + if (hasRotationInterval()) { + hash = (37 * hash) + ROTATION_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getRotationInterval().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * SyncRotationConfig is config for secret manager auto rotation.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.SecretSyncConfig.SyncRotationConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.class, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder.class); + } + + // Construct using + // com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRotationIntervalFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enabled_ = false; + rotationInterval_ = null; + if (rotationIntervalBuilder_ != null) { + rotationIntervalBuilder_.dispose(); + rotationIntervalBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_SyncRotationConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig build() { + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig buildPartial() { + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig result = + new com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.rotationInterval_ = + rotationIntervalBuilder_ == null + ? rotationInterval_ + : rotationIntervalBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) { + return mergeFrom( + (com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig other) { + if (other + == com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + .getDefaultInstance()) return this; + if (other.hasEnabled()) { + setEnabled(other.getEnabled()); + } + if (other.hasRotationInterval()) { + mergeRotationInterval(other.getRotationInterval()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage( + getRotationIntervalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean enabled_; + + /** + * + * + *
+       * Whether the rotation is enabled.
+       * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Whether the rotation is enabled.
+       * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+       * Whether the rotation is enabled.
+       * 
+ * + * optional bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Whether the rotation is enabled.
+       * 
+ * + * optional bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.Duration rotationInterval_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + rotationIntervalBuilder_; + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return Whether the rotationInterval field is set. + */ + public boolean hasRotationInterval() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + * + * @return The rotationInterval. + */ + public com.google.protobuf.Duration getRotationInterval() { + if (rotationIntervalBuilder_ == null) { + return rotationInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : rotationInterval_; + } else { + return rotationIntervalBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public Builder setRotationInterval(com.google.protobuf.Duration value) { + if (rotationIntervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rotationInterval_ = value; + } else { + rotationIntervalBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public Builder setRotationInterval(com.google.protobuf.Duration.Builder builderForValue) { + if (rotationIntervalBuilder_ == null) { + rotationInterval_ = builderForValue.build(); + } else { + rotationIntervalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public Builder mergeRotationInterval(com.google.protobuf.Duration value) { + if (rotationIntervalBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && rotationInterval_ != null + && rotationInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { + getRotationIntervalBuilder().mergeFrom(value); + } else { + rotationInterval_ = value; + } + } else { + rotationIntervalBuilder_.mergeFrom(value); + } + if (rotationInterval_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public Builder clearRotationInterval() { + bitField0_ = (bitField0_ & ~0x00000002); + rotationInterval_ = null; + if (rotationIntervalBuilder_ != null) { + rotationIntervalBuilder_.dispose(); + rotationIntervalBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public com.google.protobuf.Duration.Builder getRotationIntervalBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getRotationIntervalFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + public com.google.protobuf.DurationOrBuilder getRotationIntervalOrBuilder() { + if (rotationIntervalBuilder_ != null) { + return rotationIntervalBuilder_.getMessageOrBuilder(); + } else { + return rotationInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : rotationInterval_; + } + } + + /** + * + * + *
+       * The interval between two consecutive rotations. Default rotation interval
+       * is 2 minutes.
+       * 
+ * + * optional .google.protobuf.Duration rotation_interval = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getRotationIntervalFieldBuilder() { + if (rotationIntervalBuilder_ == null) { + rotationIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRotationInterval(), getParentForChildren(), isClean()); + rotationInterval_ = null; + } + return rotationIntervalBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.SecretSyncConfig.SyncRotationConfig) + private static final com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig(); + } + + public static com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SyncRotationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_ = false; + + /** + * + * + *
+   * Enable/Disable Secret Sync Config.
+   * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Enable/Disable Secret Sync Config.
+   * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int ROTATION_CONFIG_FIELD_NUMBER = 2; + private com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotationConfig_; + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return Whether the rotationConfig field is set. + */ + @java.lang.Override + public boolean hasRotationConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return The rotationConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig getRotationConfig() { + return rotationConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.getDefaultInstance() + : rotationConfig_; + } + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder + getRotationConfigOrBuilder() { + return rotationConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.getDefaultInstance() + : rotationConfig_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getRotationConfig()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRotationConfig()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.SecretSyncConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.SecretSyncConfig other = + (com.google.container.v1beta1.SecretSyncConfig) obj; + + if (hasEnabled() != other.hasEnabled()) return false; + if (hasEnabled()) { + if (getEnabled() != other.getEnabled()) return false; + } + if (hasRotationConfig() != other.hasRotationConfig()) return false; + if (hasRotationConfig()) { + if (!getRotationConfig().equals(other.getRotationConfig())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEnabled()) { + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + } + if (hasRotationConfig()) { + hash = (37 * hash) + ROTATION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getRotationConfig().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecretSyncConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.container.v1beta1.SecretSyncConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for sync Secret Manager secrets as k8s secrets.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.SecretSyncConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SecretSyncConfig) + com.google.container.v1beta1.SecretSyncConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecretSyncConfig.class, + com.google.container.v1beta1.SecretSyncConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.SecretSyncConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRotationConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enabled_ = false; + rotationConfig_ = null; + if (rotationConfigBuilder_ != null) { + rotationConfigBuilder_.dispose(); + rotationConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecretSyncConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig build() { + com.google.container.v1beta1.SecretSyncConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig buildPartial() { + com.google.container.v1beta1.SecretSyncConfig result = + new com.google.container.v1beta1.SecretSyncConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.container.v1beta1.SecretSyncConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.rotationConfig_ = + rotationConfigBuilder_ == null ? rotationConfig_ : rotationConfigBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.SecretSyncConfig) { + return mergeFrom((com.google.container.v1beta1.SecretSyncConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.SecretSyncConfig other) { + if (other == com.google.container.v1beta1.SecretSyncConfig.getDefaultInstance()) return this; + if (other.hasEnabled()) { + setEnabled(other.getEnabled()); + } + if (other.hasRotationConfig()) { + mergeRotationConfig(other.getRotationConfig()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getRotationConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean enabled_; + + /** + * + * + *
+     * Enable/Disable Secret Sync Config.
+     * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + @java.lang.Override + public boolean hasEnabled() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Enable/Disable Secret Sync Config.
+     * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+     * Enable/Disable Secret Sync Config.
+     * 
+ * + * optional bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Enable/Disable Secret Sync Config.
+     * 
+ * + * optional bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + + private com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotationConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder> + rotationConfigBuilder_; + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return Whether the rotationConfig field is set. + */ + public boolean hasRotationConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return The rotationConfig. + */ + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig getRotationConfig() { + if (rotationConfigBuilder_ == null) { + return rotationConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.getDefaultInstance() + : rotationConfig_; + } else { + return rotationConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public Builder setRotationConfig( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig value) { + if (rotationConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rotationConfig_ = value; + } else { + rotationConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public Builder setRotationConfig( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder builderForValue) { + if (rotationConfigBuilder_ == null) { + rotationConfig_ = builderForValue.build(); + } else { + rotationConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public Builder mergeRotationConfig( + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig value) { + if (rotationConfigBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && rotationConfig_ != null + && rotationConfig_ + != com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig + .getDefaultInstance()) { + getRotationConfigBuilder().mergeFrom(value); + } else { + rotationConfig_ = value; + } + } else { + rotationConfigBuilder_.mergeFrom(value); + } + if (rotationConfig_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public Builder clearRotationConfig() { + bitField0_ = (bitField0_ & ~0x00000002); + rotationConfig_ = null; + if (rotationConfigBuilder_ != null) { + rotationConfigBuilder_.dispose(); + rotationConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder + getRotationConfigBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getRotationConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + public com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder + getRotationConfigOrBuilder() { + if (rotationConfigBuilder_ != null) { + return rotationConfigBuilder_.getMessageOrBuilder(); + } else { + return rotationConfig_ == null + ? com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.getDefaultInstance() + : rotationConfig_; + } + } + + /** + * + * + *
+     * Rotation config for secret manager.
+     * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder> + getRotationConfigFieldBuilder() { + if (rotationConfigBuilder_ == null) { + rotationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig.Builder, + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder>( + getRotationConfig(), getParentForChildren(), isClean()); + rotationConfig_ = null; + } + return rotationConfigBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SecretSyncConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.SecretSyncConfig) + private static final com.google.container.v1beta1.SecretSyncConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.SecretSyncConfig(); + } + + public static com.google.container.v1beta1.SecretSyncConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecretSyncConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.SecretSyncConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfigOrBuilder.java new file mode 100644 index 000000000000..79f22a6975a7 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecretSyncConfigOrBuilder.java @@ -0,0 +1,96 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.container.v1beta1; + +public interface SecretSyncConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SecretSyncConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable/Disable Secret Sync Config.
+   * 
+ * + * optional bool enabled = 1; + * + * @return Whether the enabled field is set. + */ + boolean hasEnabled(); + + /** + * + * + *
+   * Enable/Disable Secret Sync Config.
+   * 
+ * + * optional bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return Whether the rotationConfig field is set. + */ + boolean hasRotationConfig(); + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + * + * @return The rotationConfig. + */ + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfig getRotationConfig(); + + /** + * + * + *
+   * Rotation config for secret manager.
+   * 
+ * + * + * optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2; + * + */ + com.google.container.v1beta1.SecretSyncConfig.SyncRotationConfigOrBuilder + getRotationConfigOrBuilder(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index dcaedc059601..9ee7fb354409 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The bytes for clusterId. */ @java.lang.Override @@ -847,7 +847,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The projectId. */ @java.lang.Deprecated @@ -875,7 +875,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @param value The projectId to set. * @return This builder for chaining. */ @@ -930,7 +930,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return This builder for chaining. */ @java.lang.Deprecated @@ -953,7 +953,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -984,7 +984,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @param value The zone to set. * @return This builder for chaining. */ @@ -1070,7 +1070,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1094,7 +1094,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1123,7 +1123,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1177,7 +1177,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1203,7 +1203,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1225,7 +1225,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index 74469a441bf1..1cd49b769f1e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4318 + * google/container/v1beta1/cluster_service.proto;l=4489 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4324 + * google/container/v1beta1/cluster_service.proto;l=4495 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4328 + * google/container/v1beta1/cluster_service.proto;l=4499 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index b445904898ab..4a1a4ec7098f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -99,7 +99,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The projectId. */ @java.lang.Override @@ -128,7 +128,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The bytes for projectId. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The zone. */ @java.lang.Override @@ -193,7 +193,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The bytes for zone. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The clusterId. */ @java.lang.Override @@ -254,7 +254,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The bytes for clusterId. */ @java.lang.Override @@ -1014,7 +1014,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The projectId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1120,7 +1120,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1151,7 +1151,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The zone. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1209,7 +1209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @param value The zone to set. * @return This builder for chaining. */ @@ -1237,7 +1237,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1261,7 +1261,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1290,7 +1290,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The clusterId. */ @java.lang.Deprecated @@ -1317,7 +1317,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1344,7 +1344,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1370,7 +1370,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1392,7 +1392,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index 5ceb563c1e28..3575a62a5b5c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5555 + * google/container/v1beta1/cluster_service.proto;l=5746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5561 + * google/container/v1beta1/cluster_service.proto;l=5752 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5565 + * google/container/v1beta1/cluster_service.proto;l=5756 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index b37a53f06775..b0af1e05023e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The bytes for clusterId. */ @java.lang.Override @@ -783,7 +783,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The projectId. */ @java.lang.Deprecated @@ -811,7 +811,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -839,7 +839,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @param value The projectId to set. * @return This builder for chaining. */ @@ -866,7 +866,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return This builder for chaining. */ @java.lang.Deprecated @@ -889,7 +889,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -920,7 +920,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The zone. */ @java.lang.Deprecated @@ -949,7 +949,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The bytes for zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @param value The zone to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1059,7 +1059,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The clusterId. */ @java.lang.Deprecated @@ -1086,7 +1086,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1113,7 +1113,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1139,7 +1139,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1161,7 +1161,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 0053aec1d3ba..61e6a0c75917 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5590 + * google/container/v1beta1/cluster_service.proto;l=5781 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5596 + * google/container/v1beta1/cluster_service.proto;l=5787 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5600 + * google/container/v1beta1/cluster_service.proto;l=5791 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index 4409c73bd279..5ed6d844336b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The bytes for clusterId. */ @java.lang.Override @@ -871,7 +871,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The projectId. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @param value The projectId to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return This builder for chaining. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The zone. */ @java.lang.Deprecated @@ -1037,7 +1037,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1066,7 +1066,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @param value The zone to set. * @return This builder for chaining. */ @@ -1094,7 +1094,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1147,7 +1147,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The clusterId. */ @java.lang.Deprecated @@ -1174,7 +1174,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1201,7 +1201,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1227,7 +1227,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1249,7 +1249,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index 558e338abb08..989a9409e173 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4344 + * google/container/v1beta1/cluster_service.proto;l=4515 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4350 + * google/container/v1beta1/cluster_service.proto;l=4521 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4354 + * google/container/v1beta1/cluster_service.proto;l=4525 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index b01ac1b27aec..a1c6e6faffab 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The bytes for clusterId. */ @java.lang.Override @@ -839,7 +839,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The projectId. */ @java.lang.Deprecated @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @param value The projectId to set. * @return This builder for chaining. */ @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return This builder for chaining. */ @java.lang.Deprecated @@ -945,7 +945,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -976,7 +976,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The zone. */ @java.lang.Deprecated @@ -1005,7 +1005,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @param value The zone to set. * @return This builder for chaining. */ @@ -1062,7 +1062,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1086,7 +1086,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1115,7 +1115,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The clusterId. */ @java.lang.Deprecated @@ -1142,7 +1142,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1169,7 +1169,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1195,7 +1195,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1217,7 +1217,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index 04137749ad59..f4860a067319 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * google/container/v1beta1/cluster_service.proto;l=4419 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4254 + * google/container/v1beta1/cluster_service.proto;l=4425 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4258 + * google/container/v1beta1/cluster_service.proto;l=4429 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index e39ddd372a66..839e4ab14787 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -276,7 +276,7 @@ private Action(int value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The projectId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The bytes for projectId. */ @java.lang.Override @@ -340,7 +340,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The zone. */ @java.lang.Override @@ -370,7 +370,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The bytes for zone. */ @java.lang.Override @@ -403,7 +403,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The clusterId. */ @java.lang.Override @@ -431,7 +431,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The bytes for clusterId. */ @java.lang.Override @@ -1095,7 +1095,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The projectId. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1178,7 +1178,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1201,7 +1201,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1232,7 +1232,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The zone. */ @java.lang.Deprecated @@ -1261,7 +1261,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1290,7 +1290,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @param value The zone to set. * @return This builder for chaining. */ @@ -1318,7 +1318,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1342,7 +1342,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1371,7 +1371,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The clusterId. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1425,7 +1425,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1451,7 +1451,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1473,7 +1473,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index bb0057a53da8..9c6a956fa840 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4427 + * google/container/v1beta1/cluster_service.proto;l=4598 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4433 + * google/container/v1beta1/cluster_service.proto;l=4604 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4437 + * google/container/v1beta1/cluster_service.proto;l=4608 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 4db4d617b981..d3152b242a44 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4283 + * google/container/v1beta1/cluster_service.proto;l=4454 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4283 + * google/container/v1beta1/cluster_service.proto;l=4454 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4293 + * google/container/v1beta1/cluster_service.proto;l=4464 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4293 + * google/container/v1beta1/cluster_service.proto;l=4464 * @return The bytes for clusterId. */ @java.lang.Override @@ -839,7 +839,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4283 + * See google/container/v1beta1/cluster_service.proto;l=4454 * @return The projectId. */ @java.lang.Deprecated @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4283 + * See google/container/v1beta1/cluster_service.proto;l=4454 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4283 + * See google/container/v1beta1/cluster_service.proto;l=4454 * @param value The projectId to set. * @return This builder for chaining. */ @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4283 + * See google/container/v1beta1/cluster_service.proto;l=4454 * @return This builder for chaining. */ @java.lang.Deprecated @@ -945,7 +945,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4283 + * See google/container/v1beta1/cluster_service.proto;l=4454 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -976,7 +976,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The zone. */ @java.lang.Deprecated @@ -1005,7 +1005,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @param value The zone to set. * @return This builder for chaining. */ @@ -1062,7 +1062,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1086,7 +1086,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1115,7 +1115,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4293 + * See google/container/v1beta1/cluster_service.proto;l=4464 * @return The clusterId. */ @java.lang.Deprecated @@ -1142,7 +1142,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4293 + * See google/container/v1beta1/cluster_service.proto;l=4464 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1169,7 +1169,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4293 + * See google/container/v1beta1/cluster_service.proto;l=4464 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1195,7 +1195,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4293 + * See google/container/v1beta1/cluster_service.proto;l=4464 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1217,7 +1217,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4293 + * See google/container/v1beta1/cluster_service.proto;l=4464 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index 40f73a91a605..897cef6fc4e5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4283 + * google/container/v1beta1/cluster_service.proto;l=4454 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4283 + * google/container/v1beta1/cluster_service.proto;l=4454 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4289 + * google/container/v1beta1/cluster_service.proto;l=4460 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4293 + * google/container/v1beta1/cluster_service.proto;l=4464 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4293 + * google/container/v1beta1/cluster_service.proto;l=4464 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 75226efe547c..b9544fd404d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The bytes for clusterId. */ @java.lang.Override @@ -844,7 +844,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -900,7 +900,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @param value The projectId to set. * @return This builder for chaining. */ @@ -927,7 +927,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return This builder for chaining. */ @java.lang.Deprecated @@ -950,7 +950,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -981,7 +981,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The zone. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @param value The zone to set. * @return This builder for chaining. */ @@ -1067,7 +1067,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1091,7 +1091,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1120,7 +1120,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1174,7 +1174,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1200,7 +1200,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index aef6591aaf9b..8103ace66336 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5816 + * google/container/v1beta1/cluster_service.proto;l=6007 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5822 + * google/container/v1beta1/cluster_service.proto;l=6013 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5826 + * google/container/v1beta1/cluster_service.proto;l=6017 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index 43d6ae937545..007346683fe3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4232 + * See google/container/v1beta1/cluster_service.proto;l=4403 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4232 + * See google/container/v1beta1/cluster_service.proto;l=4403 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -933,7 +933,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The projectId. */ @java.lang.Deprecated @@ -961,7 +961,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -989,7 +989,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1070,7 +1070,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The zone. */ @java.lang.Deprecated @@ -1099,7 +1099,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1128,7 +1128,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @param value The zone to set. * @return This builder for chaining. */ @@ -1156,7 +1156,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1209,7 +1209,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The clusterId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1263,7 +1263,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1289,7 +1289,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1311,7 +1311,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1340,7 +1340,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4403 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1367,7 +1367,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4403 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1394,7 +1394,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4403 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1420,7 +1420,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4403 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1442,7 +1442,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4403 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index 02fa33164755..c639bc902ec5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4218 + * See google/container/v1beta1/cluster_service.proto;l=4389 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4224 + * google/container/v1beta1/cluster_service.proto;l=4395 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4228 + * See google/container/v1beta1/cluster_service.proto;l=4399 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4232 + * See google/container/v1beta1/cluster_service.proto;l=4403 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4232 + * See google/container/v1beta1/cluster_service.proto;l=4403 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index ae839e283d48..4f17d486d28f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5261 + * google/container/v1beta1/cluster_service.proto;l=5452 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5261 + * google/container/v1beta1/cluster_service.proto;l=5452 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The bytes for zone. */ @java.lang.Override @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5271 + * google/container/v1beta1/cluster_service.proto;l=5462 * @return The clusterId. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5271 + * google/container/v1beta1/cluster_service.proto;l=5462 * @return The bytes for clusterId. */ @java.lang.Override @@ -275,7 +275,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The nodePoolId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -934,7 +934,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5261 + * See google/container/v1beta1/cluster_service.proto;l=5452 * @return The projectId. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5261 + * See google/container/v1beta1/cluster_service.proto;l=5452 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5261 + * See google/container/v1beta1/cluster_service.proto;l=5452 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1017,7 +1017,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5261 + * See google/container/v1beta1/cluster_service.proto;l=5452 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1040,7 +1040,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5261 + * See google/container/v1beta1/cluster_service.proto;l=5452 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The zone. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @param value The zone to set. * @return This builder for chaining. */ @@ -1157,7 +1157,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1181,7 +1181,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5271 + * See google/container/v1beta1/cluster_service.proto;l=5462 * @return The clusterId. */ @java.lang.Deprecated @@ -1237,7 +1237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5271 + * See google/container/v1beta1/cluster_service.proto;l=5462 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1264,7 +1264,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5271 + * See google/container/v1beta1/cluster_service.proto;l=5462 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1290,7 +1290,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5271 + * See google/container/v1beta1/cluster_service.proto;l=5462 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1312,7 +1312,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5271 + * See google/container/v1beta1/cluster_service.proto;l=5462 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1341,7 +1341,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1368,7 +1368,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1395,7 +1395,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1421,7 +1421,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1443,7 +1443,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index 1f32c1a3142b..71fb7b1c3bfd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5261 + * google/container/v1beta1/cluster_service.proto;l=5452 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5261 + * google/container/v1beta1/cluster_service.proto;l=5452 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5267 + * google/container/v1beta1/cluster_service.proto;l=5458 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5271 + * google/container/v1beta1/cluster_service.proto;l=5462 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5271 + * google/container/v1beta1/cluster_service.proto;l=5462 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5275 + * See google/container/v1beta1/cluster_service.proto;l=5466 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index dae146ffee32..d28f78a909ad 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The nodePoolId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -869,7 +869,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The projectId. */ @java.lang.Deprecated @@ -897,7 +897,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @param value The projectId to set. * @return This builder for chaining. */ @@ -952,7 +952,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return This builder for chaining. */ @java.lang.Deprecated @@ -975,7 +975,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The zone. */ @java.lang.Deprecated @@ -1035,7 +1035,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @param value The zone to set. * @return This builder for chaining. */ @@ -1092,7 +1092,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1116,7 +1116,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1145,7 +1145,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The clusterId. */ @java.lang.Deprecated @@ -1172,7 +1172,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1225,7 +1225,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1247,7 +1247,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1276,7 +1276,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1303,7 +1303,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1330,7 +1330,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1356,7 +1356,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1378,7 +1378,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 4f375c780c16..2c9a9c6cd515 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5291 + * google/container/v1beta1/cluster_service.proto;l=5482 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5297 + * google/container/v1beta1/cluster_service.proto;l=5488 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5301 + * google/container/v1beta1/cluster_service.proto;l=5492 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5305 + * google/container/v1beta1/cluster_service.proto;l=5496 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index 6015e9be10e7..e29d887fd255 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The bytes for clusterId. */ @java.lang.Override @@ -783,7 +783,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The projectId. */ @java.lang.Deprecated @@ -811,7 +811,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -839,7 +839,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @param value The projectId to set. * @return This builder for chaining. */ @@ -866,7 +866,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return This builder for chaining. */ @java.lang.Deprecated @@ -889,7 +889,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -920,7 +920,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The zone. */ @java.lang.Deprecated @@ -949,7 +949,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The bytes for zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @param value The zone to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1059,7 +1059,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The clusterId. */ @java.lang.Deprecated @@ -1086,7 +1086,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1113,7 +1113,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1139,7 +1139,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1161,7 +1161,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 5980c83acd65..d6938affc95c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5616 + * google/container/v1beta1/cluster_service.proto;l=5807 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5622 + * google/container/v1beta1/cluster_service.proto;l=5813 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5626 + * google/container/v1beta1/cluster_service.proto;l=5817 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 73970d45c75b..06ab58e2c9aa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -387,7 +387,7 @@ private Code(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -407,7 +407,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The code. */ @java.lang.Override @@ -907,7 +907,7 @@ public Builder mergeFrom( * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -927,7 +927,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setCodeValue(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The code. */ @java.lang.Override @@ -974,7 +974,7 @@ public com.google.container.v1beta1.StatusCondition.Code getCode() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @param value The code to set. * @return This builder for chaining. */ @@ -1000,7 +1000,7 @@ public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index 187c2df55575..4059f933bb71 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -35,7 +35,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5949 + * google/container/v1beta1/cluster_service.proto;l=6140 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index 41c89a01fefc..7b954558523a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for clusterId. */ @java.lang.Override @@ -843,7 +843,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The projectId. */ @java.lang.Deprecated @@ -871,7 +871,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @param value The projectId to set. * @return This builder for chaining. */ @@ -926,7 +926,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return This builder for chaining. */ @java.lang.Deprecated @@ -949,7 +949,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -980,7 +980,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The zone. */ @java.lang.Deprecated @@ -1009,7 +1009,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1038,7 +1038,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @param value The zone to set. * @return This builder for chaining. */ @@ -1066,7 +1066,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1090,7 +1090,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1119,7 +1119,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The clusterId. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1173,7 +1173,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1199,7 +1199,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1221,7 +1221,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index e50c4e5c7604..a4fe54aaff93 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4033 + * google/container/v1beta1/cluster_service.proto;l=4196 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4039 + * google/container/v1beta1/cluster_service.proto;l=4202 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4043 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 42a000ee5e09..41c993fdb7fe 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The bytes for clusterId. */ @java.lang.Override @@ -836,7 +836,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The projectId. */ @java.lang.Deprecated @@ -864,7 +864,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @param value The projectId to set. * @return This builder for chaining. */ @@ -919,7 +919,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return This builder for chaining. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -973,7 +973,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @param value The zone to set. * @return This builder for chaining. */ @@ -1059,7 +1059,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1083,7 +1083,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1112,7 +1112,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The clusterId. */ @java.lang.Deprecated @@ -1139,7 +1139,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1192,7 +1192,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1214,7 +1214,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index 117d0b13c1b6..6707c93516b5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4375 + * google/container/v1beta1/cluster_service.proto;l=4546 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4381 + * google/container/v1beta1/cluster_service.proto;l=4552 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4385 + * google/container/v1beta1/cluster_service.proto;l=4556 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index d4e5cfeeff01..6b53728802cf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -94,7 +94,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The projectId. */ @java.lang.Override @@ -123,7 +123,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The bytes for projectId. */ @java.lang.Override @@ -158,7 +158,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The zone. */ @java.lang.Override @@ -188,7 +188,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The bytes for zone. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The clusterId. */ @java.lang.Override @@ -249,7 +249,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The bytes for clusterId. */ @java.lang.Override @@ -282,7 +282,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The nodePoolId. */ @java.lang.Override @@ -310,7 +310,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -472,6 +472,14 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -491,6 +499,14 @@ public com.google.protobuf.ProtocolStringList getLocationsList() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -510,6 +526,14 @@ public int getLocationsCount() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -530,6 +554,14 @@ public java.lang.String getLocations(int index) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -3569,7 +3601,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The projectId. */ @java.lang.Deprecated @@ -3597,7 +3629,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -3625,7 +3657,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @param value The projectId to set. * @return This builder for chaining. */ @@ -3652,7 +3684,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3675,7 +3707,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -3706,7 +3738,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The zone. */ @java.lang.Deprecated @@ -3735,7 +3767,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The bytes for zone. */ @java.lang.Deprecated @@ -3764,7 +3796,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @param value The zone to set. * @return This builder for chaining. */ @@ -3792,7 +3824,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3816,7 +3848,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3845,7 +3877,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The clusterId. */ @java.lang.Deprecated @@ -3872,7 +3904,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -3899,7 +3931,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -3925,7 +3957,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3947,7 +3979,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -3976,7 +4008,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The nodePoolId. */ @java.lang.Deprecated @@ -4003,7 +4035,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -4030,7 +4062,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -4056,7 +4088,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4078,7 +4110,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -4395,6 +4427,14 @@ private void ensureLocationsIsMutable() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4415,6 +4455,14 @@ public com.google.protobuf.ProtocolStringList getLocationsList() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4434,6 +4482,14 @@ public int getLocationsCount() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4454,6 +4510,14 @@ public java.lang.String getLocations(int index) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4474,6 +4538,14 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4502,6 +4574,14 @@ public Builder setLocations(int index, java.lang.String value) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4529,6 +4609,14 @@ public Builder addLocations(java.lang.String value) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4553,6 +4641,14 @@ public Builder addAllLocations(java.lang.Iterable values) { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -4576,6 +4672,14 @@ public Builder clearLocations() { * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index d49a06dc2e2a..f28775b65f56 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4058 + * google/container/v1beta1/cluster_service.proto;l=4221 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4064 + * google/container/v1beta1/cluster_service.proto;l=4227 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4068 + * google/container/v1beta1/cluster_service.proto;l=4231 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4072 + * google/container/v1beta1/cluster_service.proto;l=4235 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -251,6 +251,14 @@ public interface UpdateNodePoolRequestOrBuilder * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -268,6 +276,14 @@ public interface UpdateNodePoolRequestOrBuilder * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -285,6 +301,14 @@ public interface UpdateNodePoolRequestOrBuilder * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; @@ -303,6 +327,14 @@ public interface UpdateNodePoolRequestOrBuilder * in which the node pool's nodes should be located. Changing the locations * for a node pool will result in nodes being either created or removed from * the node pool, depending on whether locations are being added or removed. + * + * Warning: It is recommended to update node pool locations in a standalone + * API call. Do not combine a location update with changes to other fields + * (such as `tags`, `labels`, `taints`, etc.) in the same request. + * Otherwise, the API performs a structural modification where changes to + * other fields will only apply to newly created nodes and will not be + * applied to existing nodes in the node pool. To ensure all nodes are updated + * consistently, use a separate API call for location changes. * * * repeated string locations = 13; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java index ca01e53ac1d5..2d3e9a14d7b3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java @@ -45,6 +45,8 @@ private UpgradeEvent() { operation_ = ""; currentVersion_ = ""; targetVersion_ = ""; + currentEmulatedVersion_ = ""; + targetEmulatedVersion_ = ""; resource_ = ""; } @@ -319,6 +321,112 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { } } + public static final int CURRENT_EMULATED_VERSION_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object currentEmulatedVersion_ = ""; + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 7; + * + * @return The currentEmulatedVersion. + */ + @java.lang.Override + public java.lang.String getCurrentEmulatedVersion() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + currentEmulatedVersion_ = s; + return s; + } + } + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 7; + * + * @return The bytes for currentEmulatedVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCurrentEmulatedVersionBytes() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + currentEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGET_EMULATED_VERSION_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetEmulatedVersion_ = ""; + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 8; + * + * @return The targetEmulatedVersion. + */ + @java.lang.Override + public java.lang.String getTargetEmulatedVersion() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetEmulatedVersion_ = s; + return s; + } + } + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 8; + * + * @return The bytes for targetEmulatedVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetEmulatedVersionBytes() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int RESOURCE_FIELD_NUMBER = 6; @SuppressWarnings("serial") @@ -408,6 +516,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, resource_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentEmulatedVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, currentEmulatedVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetEmulatedVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, targetEmulatedVersion_); + } getUnknownFields().writeTo(output); } @@ -437,6 +551,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, resource_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentEmulatedVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, currentEmulatedVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetEmulatedVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, targetEmulatedVersion_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -461,6 +581,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (!getCurrentEmulatedVersion().equals(other.getCurrentEmulatedVersion())) return false; + if (!getTargetEmulatedVersion().equals(other.getTargetEmulatedVersion())) return false; if (!getResource().equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -485,6 +607,10 @@ public int hashCode() { hash = (53 * hash) + getCurrentVersion().hashCode(); hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetVersion().hashCode(); + hash = (37 * hash) + CURRENT_EMULATED_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getCurrentEmulatedVersion().hashCode(); + hash = (37 * hash) + TARGET_EMULATED_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getTargetEmulatedVersion().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -646,6 +772,8 @@ public Builder clear() { } currentVersion_ = ""; targetVersion_ = ""; + currentEmulatedVersion_ = ""; + targetEmulatedVersion_ = ""; resource_ = ""; return this; } @@ -704,6 +832,12 @@ private void buildPartial0(com.google.container.v1beta1.UpgradeEvent result) { result.targetVersion_ = targetVersion_; } if (((from_bitField0_ & 0x00000020) != 0)) { + result.currentEmulatedVersion_ = currentEmulatedVersion_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.targetEmulatedVersion_ = targetEmulatedVersion_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { result.resource_ = resource_; } result.bitField0_ |= to_bitField0_; @@ -775,9 +909,19 @@ public Builder mergeFrom(com.google.container.v1beta1.UpgradeEvent other) { bitField0_ |= 0x00000010; onChanged(); } + if (!other.getCurrentEmulatedVersion().isEmpty()) { + currentEmulatedVersion_ = other.currentEmulatedVersion_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getTargetEmulatedVersion().isEmpty()) { + targetEmulatedVersion_ = other.targetEmulatedVersion_; + bitField0_ |= 0x00000040; + onChanged(); + } if (!other.getResource().isEmpty()) { resource_ = other.resource_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -840,9 +984,21 @@ public Builder mergeFrom( case 50: { resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; break; } // case 50 + case 58: + { + currentEmulatedVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + targetEmulatedVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1486,6 +1642,228 @@ public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object currentEmulatedVersion_ = ""; + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 7; + * + * @return The currentEmulatedVersion. + */ + public java.lang.String getCurrentEmulatedVersion() { + java.lang.Object ref = currentEmulatedVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + currentEmulatedVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 7; + * + * @return The bytes for currentEmulatedVersion. + */ + public com.google.protobuf.ByteString getCurrentEmulatedVersionBytes() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + currentEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 7; + * + * @param value The currentEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setCurrentEmulatedVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + currentEmulatedVersion_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 7; + * + * @return This builder for chaining. + */ + public Builder clearCurrentEmulatedVersion() { + currentEmulatedVersion_ = getDefaultInstance().getCurrentEmulatedVersion(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 7; + * + * @param value The bytes for currentEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setCurrentEmulatedVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentEmulatedVersion_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object targetEmulatedVersion_ = ""; + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 8; + * + * @return The targetEmulatedVersion. + */ + public java.lang.String getTargetEmulatedVersion() { + java.lang.Object ref = targetEmulatedVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetEmulatedVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 8; + * + * @return The bytes for targetEmulatedVersion. + */ + public com.google.protobuf.ByteString getTargetEmulatedVersionBytes() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 8; + * + * @param value The targetEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetEmulatedVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetEmulatedVersion_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 8; + * + * @return This builder for chaining. + */ + public Builder clearTargetEmulatedVersion() { + targetEmulatedVersion_ = getDefaultInstance().getTargetEmulatedVersion(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 8; + * + * @param value The bytes for targetEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetEmulatedVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetEmulatedVersion_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + private java.lang.Object resource_ = ""; /** @@ -1554,7 +1932,7 @@ public Builder setResource(java.lang.String value) { throw new NullPointerException(); } resource_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1573,7 +1951,7 @@ public Builder setResource(java.lang.String value) { */ public Builder clearResource() { resource_ = getDefaultInstance().getResource(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -1597,7 +1975,7 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); resource_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java index 3f299076b012..cc813f4259da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java @@ -165,6 +165,58 @@ public interface UpgradeEventOrBuilder */ com.google.protobuf.ByteString getTargetVersionBytes(); + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 7; + * + * @return The currentEmulatedVersion. + */ + java.lang.String getCurrentEmulatedVersion(); + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 7; + * + * @return The bytes for currentEmulatedVersion. + */ + com.google.protobuf.ByteString getCurrentEmulatedVersionBytes(); + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 8; + * + * @return The targetEmulatedVersion. + */ + java.lang.String getTargetEmulatedVersion(); + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 8; + * + * @return The bytes for targetEmulatedVersion. + */ + com.google.protobuf.ByteString getTargetEmulatedVersionBytes(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEvent.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEvent.java index 67493f34b951..09f2ca563c2b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEvent.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEvent.java @@ -45,6 +45,8 @@ private UpgradeInfoEvent() { operation_ = ""; currentVersion_ = ""; targetVersion_ = ""; + currentEmulatedVersion_ = ""; + targetEmulatedVersion_ = ""; resource_ = ""; state_ = 0; description_ = ""; @@ -760,6 +762,112 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { } } + public static final int CURRENT_EMULATED_VERSION_FIELD_NUMBER = 15; + + @SuppressWarnings("serial") + private volatile java.lang.Object currentEmulatedVersion_ = ""; + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 15; + * + * @return The currentEmulatedVersion. + */ + @java.lang.Override + public java.lang.String getCurrentEmulatedVersion() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + currentEmulatedVersion_ = s; + return s; + } + } + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 15; + * + * @return The bytes for currentEmulatedVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCurrentEmulatedVersionBytes() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + currentEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGET_EMULATED_VERSION_FIELD_NUMBER = 16; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetEmulatedVersion_ = ""; + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 16; + * + * @return The targetEmulatedVersion. + */ + @java.lang.Override + public java.lang.String getTargetEmulatedVersion() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetEmulatedVersion_ = s; + return s; + } + } + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 16; + * + * @return The bytes for targetEmulatedVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetEmulatedVersionBytes() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int RESOURCE_FIELD_NUMBER = 7; @SuppressWarnings("serial") @@ -1111,6 +1219,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(12, eventType_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentEmulatedVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, currentEmulatedVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetEmulatedVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, targetEmulatedVersion_); + } getUnknownFields().writeTo(output); } @@ -1163,6 +1277,12 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, eventType_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentEmulatedVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, currentEmulatedVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetEmulatedVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, targetEmulatedVersion_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1191,6 +1311,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (!getCurrentEmulatedVersion().equals(other.getCurrentEmulatedVersion())) return false; + if (!getTargetEmulatedVersion().equals(other.getTargetEmulatedVersion())) return false; if (!getResource().equals(other.getResource())) return false; if (state_ != other.state_) return false; if (hasStandardSupportEndTime() != other.hasStandardSupportEndTime()) return false; @@ -1230,6 +1352,10 @@ public int hashCode() { hash = (53 * hash) + getCurrentVersion().hashCode(); hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetVersion().hashCode(); + hash = (37 * hash) + CURRENT_EMULATED_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getCurrentEmulatedVersion().hashCode(); + hash = (37 * hash) + TARGET_EMULATED_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getTargetEmulatedVersion().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); hash = (37 * hash) + STATE_FIELD_NUMBER; @@ -1413,6 +1539,8 @@ public Builder clear() { } currentVersion_ = ""; targetVersion_ = ""; + currentEmulatedVersion_ = ""; + targetEmulatedVersion_ = ""; resource_ = ""; state_ = 0; standardSupportEndTime_ = null; @@ -1485,29 +1613,35 @@ private void buildPartial0(com.google.container.v1beta1.UpgradeInfoEvent result) result.targetVersion_ = targetVersion_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.resource_ = resource_; + result.currentEmulatedVersion_ = currentEmulatedVersion_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.state_ = state_; + result.targetEmulatedVersion_ = targetEmulatedVersion_; } if (((from_bitField0_ & 0x00000100) != 0)) { + result.resource_ = resource_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { result.standardSupportEndTime_ = standardSupportEndTimeBuilder_ == null ? standardSupportEndTime_ : standardSupportEndTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000200) != 0)) { + if (((from_bitField0_ & 0x00000800) != 0)) { result.extendedSupportEndTime_ = extendedSupportEndTimeBuilder_ == null ? extendedSupportEndTime_ : extendedSupportEndTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { result.description_ = description_; } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00002000) != 0)) { result.eventType_ = eventType_; } result.bitField0_ |= to_bitField0_; @@ -1582,9 +1716,19 @@ public Builder mergeFrom(com.google.container.v1beta1.UpgradeInfoEvent other) { bitField0_ |= 0x00000020; onChanged(); } + if (!other.getCurrentEmulatedVersion().isEmpty()) { + currentEmulatedVersion_ = other.currentEmulatedVersion_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getTargetEmulatedVersion().isEmpty()) { + targetEmulatedVersion_ = other.targetEmulatedVersion_; + bitField0_ |= 0x00000080; + onChanged(); + } if (!other.getResource().isEmpty()) { resource_ = other.resource_; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); } if (other.state_ != 0) { @@ -1598,7 +1742,7 @@ public Builder mergeFrom(com.google.container.v1beta1.UpgradeInfoEvent other) { } if (!other.getDescription().isEmpty()) { description_ = other.description_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; onChanged(); } if (other.eventType_ != 0) { @@ -1669,41 +1813,53 @@ public Builder mergeFrom( case 58: { resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; break; } // case 58 case 64: { state_ = input.readEnum(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; break; } // case 64 case 74: { input.readMessage( getStandardSupportEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; break; } // case 74 case 82: { input.readMessage( getExtendedSupportEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; break; } // case 82 case 90: { description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; break; } // case 90 case 96: { eventType_ = input.readEnum(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; break; } // case 96 + case 122: + { + currentEmulatedVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 122 + case 130: + { + targetEmulatedVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 130 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2533,6 +2689,228 @@ public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object currentEmulatedVersion_ = ""; + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 15; + * + * @return The currentEmulatedVersion. + */ + public java.lang.String getCurrentEmulatedVersion() { + java.lang.Object ref = currentEmulatedVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + currentEmulatedVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 15; + * + * @return The bytes for currentEmulatedVersion. + */ + public com.google.protobuf.ByteString getCurrentEmulatedVersionBytes() { + java.lang.Object ref = currentEmulatedVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + currentEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 15; + * + * @param value The currentEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setCurrentEmulatedVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + currentEmulatedVersion_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 15; + * + * @return This builder for chaining. + */ + public Builder clearCurrentEmulatedVersion() { + currentEmulatedVersion_ = getDefaultInstance().getCurrentEmulatedVersion(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
+     * The current emulated version before the upgrade.
+     * 
+ * + * string current_emulated_version = 15; + * + * @param value The bytes for currentEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setCurrentEmulatedVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentEmulatedVersion_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object targetEmulatedVersion_ = ""; + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 16; + * + * @return The targetEmulatedVersion. + */ + public java.lang.String getTargetEmulatedVersion() { + java.lang.Object ref = targetEmulatedVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetEmulatedVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 16; + * + * @return The bytes for targetEmulatedVersion. + */ + public com.google.protobuf.ByteString getTargetEmulatedVersionBytes() { + java.lang.Object ref = targetEmulatedVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetEmulatedVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 16; + * + * @param value The targetEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetEmulatedVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetEmulatedVersion_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 16; + * + * @return This builder for chaining. + */ + public Builder clearTargetEmulatedVersion() { + targetEmulatedVersion_ = getDefaultInstance().getTargetEmulatedVersion(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + + /** + * + * + *
+     * The target emulated version for the upgrade.
+     * 
+ * + * string target_emulated_version = 16; + * + * @param value The bytes for targetEmulatedVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetEmulatedVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetEmulatedVersion_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + private java.lang.Object resource_ = ""; /** @@ -2601,7 +2979,7 @@ public Builder setResource(java.lang.String value) { throw new NullPointerException(); } resource_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2620,7 +2998,7 @@ public Builder setResource(java.lang.String value) { */ public Builder clearResource() { resource_ = getDefaultInstance().getResource(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -2644,7 +3022,7 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); resource_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2685,7 +3063,7 @@ public int getStateValue() { */ public Builder setStateValue(int value) { state_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2730,7 +3108,7 @@ public Builder setState(com.google.container.v1beta1.UpgradeInfoEvent.State valu if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; state_ = value.getNumber(); onChanged(); return this; @@ -2750,7 +3128,7 @@ public Builder setState(com.google.container.v1beta1.UpgradeInfoEvent.State valu * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); state_ = 0; onChanged(); return this; @@ -2775,7 +3153,7 @@ public Builder clearState() { * @return Whether the standardSupportEndTime field is set. */ public boolean hasStandardSupportEndTime() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** @@ -2817,7 +3195,7 @@ public Builder setStandardSupportEndTime(com.google.protobuf.Timestamp value) { } else { standardSupportEndTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -2838,7 +3216,7 @@ public Builder setStandardSupportEndTime( } else { standardSupportEndTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -2854,7 +3232,7 @@ public Builder setStandardSupportEndTime( */ public Builder mergeStandardSupportEndTime(com.google.protobuf.Timestamp value) { if (standardSupportEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000400) != 0) && standardSupportEndTime_ != null && standardSupportEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStandardSupportEndTimeBuilder().mergeFrom(value); @@ -2865,7 +3243,7 @@ public Builder mergeStandardSupportEndTime(com.google.protobuf.Timestamp value) standardSupportEndTimeBuilder_.mergeFrom(value); } if (standardSupportEndTime_ != null) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); } return this; @@ -2881,7 +3259,7 @@ public Builder mergeStandardSupportEndTime(com.google.protobuf.Timestamp value) * optional .google.protobuf.Timestamp standard_support_end_time = 9; */ public Builder clearStandardSupportEndTime() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); standardSupportEndTime_ = null; if (standardSupportEndTimeBuilder_ != null) { standardSupportEndTimeBuilder_.dispose(); @@ -2901,7 +3279,7 @@ public Builder clearStandardSupportEndTime() { * optional .google.protobuf.Timestamp standard_support_end_time = 9; */ public com.google.protobuf.Timestamp.Builder getStandardSupportEndTimeBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return getStandardSupportEndTimeFieldBuilder().getBuilder(); } @@ -2970,7 +3348,7 @@ public com.google.protobuf.TimestampOrBuilder getStandardSupportEndTimeOrBuilder * @return Whether the extendedSupportEndTime field is set. */ public boolean hasExtendedSupportEndTime() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -3012,7 +3390,7 @@ public Builder setExtendedSupportEndTime(com.google.protobuf.Timestamp value) { } else { extendedSupportEndTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3033,7 +3411,7 @@ public Builder setExtendedSupportEndTime( } else { extendedSupportEndTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3049,7 +3427,7 @@ public Builder setExtendedSupportEndTime( */ public Builder mergeExtendedSupportEndTime(com.google.protobuf.Timestamp value) { if (extendedSupportEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) + if (((bitField0_ & 0x00000800) != 0) && extendedSupportEndTime_ != null && extendedSupportEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExtendedSupportEndTimeBuilder().mergeFrom(value); @@ -3060,7 +3438,7 @@ public Builder mergeExtendedSupportEndTime(com.google.protobuf.Timestamp value) extendedSupportEndTimeBuilder_.mergeFrom(value); } if (extendedSupportEndTime_ != null) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -3076,7 +3454,7 @@ public Builder mergeExtendedSupportEndTime(com.google.protobuf.Timestamp value) * optional .google.protobuf.Timestamp extended_support_end_time = 10; */ public Builder clearExtendedSupportEndTime() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); extendedSupportEndTime_ = null; if (extendedSupportEndTimeBuilder_ != null) { extendedSupportEndTimeBuilder_.dispose(); @@ -3096,7 +3474,7 @@ public Builder clearExtendedSupportEndTime() { * optional .google.protobuf.Timestamp extended_support_end_time = 10; */ public com.google.protobuf.Timestamp.Builder getExtendedSupportEndTimeBuilder() { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return getExtendedSupportEndTimeFieldBuilder().getBuilder(); } @@ -3211,7 +3589,7 @@ public Builder setDescription(java.lang.String value) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3229,7 +3607,7 @@ public Builder setDescription(java.lang.String value) { */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -3252,7 +3630,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3289,7 +3667,7 @@ public int getEventTypeValue() { */ public Builder setEventTypeValue(int value) { eventType_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3330,7 +3708,7 @@ public Builder setEventType(com.google.container.v1beta1.UpgradeInfoEvent.EventT if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; eventType_ = value.getNumber(); onChanged(); return this; @@ -3348,7 +3726,7 @@ public Builder setEventType(com.google.container.v1beta1.UpgradeInfoEvent.EventT * @return This builder for chaining. */ public Builder clearEventType() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00002000); eventType_ = 0; onChanged(); return this; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEventOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEventOrBuilder.java index a1075f2a95b5..da9157e84de5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeInfoEventOrBuilder.java @@ -202,6 +202,58 @@ public interface UpgradeInfoEventOrBuilder */ com.google.protobuf.ByteString getTargetVersionBytes(); + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 15; + * + * @return The currentEmulatedVersion. + */ + java.lang.String getCurrentEmulatedVersion(); + + /** + * + * + *
+   * The current emulated version before the upgrade.
+   * 
+ * + * string current_emulated_version = 15; + * + * @return The bytes for currentEmulatedVersion. + */ + com.google.protobuf.ByteString getCurrentEmulatedVersionBytes(); + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 16; + * + * @return The targetEmulatedVersion. + */ + java.lang.String getTargetEmulatedVersion(); + + /** + * + * + *
+   * The target emulated version for the upgrade.
+   * 
+ * + * string target_emulated_version = 16; + * + * @return The bytes for targetEmulatedVersion. + */ + com.google.protobuf.ByteString getTargetEmulatedVersionBytes(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java index a433bc33bce3..a29de3a0ca7e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java @@ -23,7 +23,9 @@ * * *
- * Configuration for direct-path (via ALTS) with workload identity.
+ * Configuration for direct-path (via ALTS) with workload identity. This
+ * feature is not officially supported for external customers in Kubernetes
+ * Engine when using Workload Identity.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} @@ -296,7 +298,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Configuration for direct-path (via ALTS) with workload identity.
+   * Configuration for direct-path (via ALTS) with workload identity. This
+   * feature is not officially supported for external customers in Kubernetes
+   * Engine when using Workload Identity.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 6bca86d943c2..b937bcc881ed 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -23,8 +23,7 @@ * * *
- * Configuration for the use of Kubernetes Service Accounts in GCP IAM
- * policies.
+ * Configuration for the use of Kubernetes Service Accounts in IAM policies.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig} @@ -82,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The identityNamespace. */ @java.lang.Override @@ -109,7 +108,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -414,8 +413,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Configuration for the use of Kubernetes Service Accounts in GCP IAM
-   * policies.
+   * Configuration for the use of Kubernetes Service Accounts in IAM policies.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig} @@ -636,7 +634,7 @@ public Builder mergeFrom( * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The identityNamespace. */ @java.lang.Deprecated @@ -662,7 +660,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -688,7 +686,7 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -713,7 +711,7 @@ public Builder setIdentityNamespace(java.lang.String value) { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return This builder for chaining. */ @java.lang.Deprecated @@ -734,7 +732,7 @@ public Builder clearIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 065ebd5517c8..aaa6d47d5c37 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The identityNamespace. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=6253 + * See google/container/v1beta1/cluster_service.proto;l=6443 * @return The bytes for identityNamespace. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index 590a8f1d1ed1..d121b26703de 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -459,7 +459,7 @@ private Mode(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -481,7 +481,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The nodeMetadata. */ @java.lang.Override @@ -920,7 +920,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -942,7 +942,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setNodeMetadataValue(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The nodeMetadata. */ @java.lang.Override @@ -993,7 +993,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeM * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @param value The nodeMetadata to set. * @return This builder for chaining. */ @@ -1022,7 +1022,7 @@ public Builder setNodeMetadata( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index dc1c476ea174..fd115befa168 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -37,7 +37,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Deprecated @@ -56,7 +56,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=5804 + * google/container/v1beta1/cluster_service.proto;l=5995 * @return The nodeMetadata. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index 7fbfde7a733d..2de2098d254d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -48,6 +48,8 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" }; +// LINT: LEGACY_NAMES + // Google Kubernetes Engine Cluster Manager v1beta1 service ClusterManager { option (google.api.default_host) = "container.googleapis.com"; @@ -591,7 +593,7 @@ message LinuxNodeConfig { // It means that an application will wake kswapd in the background to // reclaim pages and wake kcompactd to compact memory so that THP is - // available in the near future. It’s the responsibility of khugepaged to + // available in the near future. It's the responsibility of khugepaged to // then install the THP pages later. TRANSPARENT_HUGEPAGE_DEFRAG_DEFER = 2; @@ -612,6 +614,99 @@ message LinuxNodeConfig { TRANSPARENT_HUGEPAGE_DEFRAG_NEVER = 5; } + // Configuration for swap memory on a node pool. + message SwapConfig { + // Defines encryption settings for the swap space. + message EncryptionConfig { + // Optional. If true, swap space will not be encrypted. + // Defaults to false (encrypted). + optional bool disabled = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Swap on the node's boot disk. + message BootDiskProfile { + // Optional. Specifies the size of the swap space. If omitted, GKE + // determines an optimal size based on node memory. + oneof swap_size { + // Specifies the size of the swap space in gibibytes (GiB). + int64 swap_size_gib = 1; + + // Specifies the size of the swap space as a percentage of the boot disk + // size. + int32 swap_size_percent = 2; + } + } + + // Swap on the local SSD shared with pod ephemeral storage. + message EphemeralLocalSsdProfile { + // Specifies the size of the swap space to be provisioned. + oneof swap_size { + // Specifies the size of the swap space in gibibytes (GiB). + int64 swap_size_gib = 1; + + // Specifies the size of the swap space as a percentage of the ephemeral + // local SSD capacity. + int32 swap_size_percent = 2; + } + } + + // Provisions a new, separate local NVMe SSD exclusively for swap. + message DedicatedLocalSsdProfile { + // The number of physical local NVMe SSD disks to attach. + int64 disk_count = 1; + } + + // Optional. Enables or disables swap for the node pool. + optional bool enabled = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If omitted, swap space is encrypted by default. + optional EncryptionConfig encryption_config = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Defines the backing storage for the swap space. + // If omitted, defaults to the 'boot_disk_profile'. + oneof performance_profile { + // Swap on the node's boot disk. + BootDiskProfile boot_disk_profile = 3; + + // Swap on the local SSD shared with pod ephemeral storage. + EphemeralLocalSsdProfile ephemeral_local_ssd_profile = 4; + + // Provisions a new, separate local NVMe SSD exclusively for swap. + DedicatedLocalSsdProfile dedicated_local_ssd_profile = 5; + } + } + + // Configuration for kernel module loading on nodes. + message NodeKernelModuleLoading { + // Defines the kernel module loading policy for nodes in the nodepool. + enum Policy { + // Default behavior. GKE selects the image based on node type. + // For CPU and TPU nodes, the image will not allow loading external + // kernel modules. + // For GPU nodes, the image will allow loading any module, whether it + // is signed or not. + POLICY_UNSPECIFIED = 0; + + // Enforced signature verification: Node pools will use a + // Container-Optimized OS image configured to allow loading of + // *Google-signed* external kernel modules. + // Loadpin is enabled but configured to exclude modules, and kernel + // module signature checking is enforced. + ENFORCE_SIGNED_MODULES = 1; + + // Mirrors existing DEFAULT behavior: + // For CPU and TPU nodes, the image will not allow loading external + // kernel modules. + // For GPU nodes, the image will allow loading any module, whether it + // is signed or not. + DO_NOT_ENFORCE_SIGNED_MODULES = 2; + } + + // Set the node module loading policy for nodes in the node pool. + Policy policy = 1; + } + // The Linux kernel parameters to be applied to the nodes and all pods running // on the nodes. // @@ -683,6 +778,16 @@ message LinuxNodeConfig { // for more details. TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Enables and configures swap space on nodes. + // If omitted, swap is disabled. + optional SwapConfig swap_config = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for kernel module loading on nodes. + // When enabled, the node pool will be provisioned with a Container-Optimized + // OS image that enforces kernel module signature verification. + NodeKernelModuleLoading node_kernel_module_loading = 13 + [(google.api.field_behavior) = OPTIONAL]; } // Parameters that can be configured on Windows nodes. @@ -746,7 +851,7 @@ message NodeKubeletConfig { // The string must be a sequence of decimal numbers, each with optional // fraction and a unit suffix, such as "300ms". // Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - // The value must be a positive duration. + // The value must be a positive duration between 1ms and 1 second, inclusive. string cpu_cfs_quota_period = 3; // Set the Pod PID limits. See @@ -1496,6 +1601,19 @@ message NodeNetworkConfig { // the node pool is picked based on the IP utilization during node pool // creation and is immutable. string subnetwork = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The network tier configuration for the node pool inherits from + // the cluster-level configuration and remains immutable throughout the node + // pool's lifecycle, including during upgrades. + NetworkTierConfig network_tier_config = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The accelerator network profile for the node pool. For now the + // only valid value is "auto". If specified, the network configuration of the + // nodes in this node pool will be managed by this profile for the supported + // machine types, zone, etc. + string accelerator_network_profile = 21 + [(google.api.field_behavior) = IMMUTABLE]; } // AdditionalNodeNetworkConfig is the configuration for additional node networks @@ -1737,7 +1855,7 @@ message ContainerdConfig { // Certificate access config. The following are supported: // - GCPSecretManagerCertificateConfig oneof certificate_config { - // Google Secret Manager (GCP) certificate configuration. + // Secret Manager certificate configuration. GCPSecretManagerCertificateConfig gcp_secret_manager_certificate_config = 2; } @@ -1751,9 +1869,19 @@ message ContainerdConfig { certificate_authority_domain_config = 2; } + // Defines writable cgroups configuration. + message WritableCgroups { + // Optional. Whether writable cgroups is enabled. + bool enabled = 1 [(google.api.field_behavior) = OPTIONAL]; + } + // PrivateRegistryAccessConfig is used to configure access configuration // for private container registries. PrivateRegistryAccessConfig private_registry_access_config = 1; + + // Optional. WritableCgroups defines writable cgroups configuration for the + // node pool. + WritableCgroups writable_cgroups = 2 [(google.api.field_behavior) = OPTIONAL]; } // HostMaintenancePolicy contains the maintenance policy for the hosts on which @@ -1960,7 +2088,8 @@ message AddonsConfig { DnsCacheConfig dns_cache_config = 8; // Configuration for the ConfigConnector add-on, a Kubernetes - // extension to manage hosted GCP services through the Kubernetes API + // extension to manage hosted Google Cloud services through the Kubernetes + // API. ConfigConnectorConfig config_connector_config = 10; // Configuration for the Compute Engine Persistent Disk CSI driver. @@ -1970,7 +2099,7 @@ message AddonsConfig { // applications. KalmConfig kalm_config = 12 [deprecated = true]; - // Configuration for the GCP Filestore CSI driver. + // Configuration for the Filestore CSI driver. GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; // Configuration for the Backup for GKE agent addon. @@ -2066,9 +2195,9 @@ message GcePersistentDiskCsiDriverConfig { bool enabled = 1; } -// Configuration for the GCP Filestore CSI driver. +// Configuration for the Filestore CSI driver. message GcpFilestoreCsiDriverConfig { - // Whether the GCP Filestore CSI driver is enabled for this cluster. + // Whether the Filestore CSI driver is enabled for this cluster. bool enabled = 1; } @@ -2099,7 +2228,13 @@ message LustreCsiDriverConfig { // If set to true, the Lustre CSI driver will install Lustre kernel modules // using port 6988. - bool enable_legacy_lustre_port = 3; + // This serves as a workaround for a port conflict with the + // gke-metadata-server. This field is required ONLY under the following + // conditions: + // 1. The GKE node version is older than 1.33.2-gke.4655000. + // 2. You're connecting to a Lustre instance that has the + // 'gke-support-enabled' flag. + bool enable_legacy_lustre_port = 3 [deprecated = true]; } // Configuration options for the Ray Operator add-on. @@ -2494,6 +2629,11 @@ message IPAllocationPolicy { // Optional. AutoIpamConfig contains all information related to Auto IPAM AutoIpamConfig auto_ipam_config = 30 [(google.api.field_behavior) = OPTIONAL]; + + // Cluster-level network tier configuration is used to determine the default + // network tier for external IP addresses on cluster resources, such as node + // pools and load balancers. + NetworkTierConfig network_tier_config = 31; } // Configuration for Binary Authorization. @@ -2822,8 +2962,7 @@ message Cluster { // REGULAR channel with its default version. ReleaseChannel release_channel = 41; - // Configuration for the use of Kubernetes Service Accounts in GCP IAM - // policies. + // Configuration for the use of Kubernetes Service Accounts in IAM policies. WorkloadIdentityConfig workload_identity_config = 43; // Configuration for issuance of mTLS keys and certificates to Kubernetes @@ -2834,7 +2973,9 @@ message Cluster { // pods. MeshCertificates mesh_certificates = 67; - // Configuration for direct-path (via ALTS) with workload identity. + // Configuration for direct-path (via ALTS) with workload identity. This + // feature is not officially supported for external customers in Kubernetes + // Engine when using Workload Identity. WorkloadALTSConfig workload_alts_config = 53; // Configuration for the fine-grained cost management feature. @@ -3014,7 +3155,10 @@ message Cluster { ControlPlaneEndpointsConfig control_plane_endpoints_config = 146; // GKE Enterprise Configuration. - EnterpriseConfig enterprise_config = 149; + // + // Deprecated: GKE Enterprise features are now available without an Enterprise + // tier. + EnterpriseConfig enterprise_config = 149 [deprecated = true]; // Secret CSI driver configuration. SecretManagerConfig secret_manager_config = 150; @@ -3041,6 +3185,9 @@ message Cluster { // Configuration for limiting anonymous access to all endpoints except the // health checks. AnonymousAuthenticationConfig anonymous_authentication_config = 164; + + // Configuration for sync Secret Manager secrets as k8s secrets. + SecretSyncConfig secret_sync_config = 166; } // RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings @@ -3484,7 +3631,9 @@ message ClusterUpdate { // pods. MeshCertificates desired_mesh_certificates = 67; - // Configuration for direct-path (via ALTS) with workload identity. + // Configuration for direct-path (via ALTS) with workload identity. This + // feature is not officially supported for external customers in Kubernetes + // Engine when using Workload Identity. WorkloadALTSConfig desired_workload_alts_config = 62; // Configuration for Shielded Nodes. @@ -3642,7 +3791,10 @@ message ClusterUpdate { DesiredAdditionalIPRangesConfig desired_additional_ip_ranges_config = 145; // The desired enterprise configuration for the cluster. - DesiredEnterpriseConfig desired_enterprise_config = 147; + // + // Deprecated: GKE Enterprise features are now available without an Enterprise + // tier. + DesiredEnterpriseConfig desired_enterprise_config = 147 [deprecated = true]; // AutoIpamConfig contains all information related to Auto IPAM AutoIpamConfig desired_auto_ipam_config = 148; @@ -3665,6 +3817,9 @@ message ClusterUpdate { // Configuration for GKE auto upgrade. GkeAutoUpgradeConfig gke_auto_upgrade_config = 154; + + // The desired network tier configuration for the cluster. + NetworkTierConfig desired_network_tier_config = 155; } // AdditionalPodRangesConfig is the configuration for additional pod secondary @@ -3703,7 +3858,10 @@ message DesiredAdditionalIPRangesConfig { } // AutoIpamConfig contains all information related to Auto IPAM -message AutoIpamConfig {} +message AutoIpamConfig { + // The flag that enables Auto IPAM on this cluster + optional bool enabled = 1; +} // RangeInfo contains the range name and the range utilization by this cluster. message RangeInfo { @@ -3715,7 +3873,12 @@ message RangeInfo { } // DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. +// +// Deprecated: GKE Enterprise features are now available without an Enterprise +// tier. message DesiredEnterpriseConfig { + option deprecated = true; + // desired_tier specifies the desired tier of the cluster. EnterpriseConfig.ClusterTier desired_tier = 1; } @@ -4095,6 +4258,14 @@ message UpdateNodePoolRequest { // in which the node pool's nodes should be located. Changing the locations // for a node pool will result in nodes being either created or removed from // the node pool, depending on whether locations are being added or removed. + // + // Warning: It is recommended to update node pool locations in a standalone + // API call. Do not combine a location update with changes to other fields + // (such as `tags`, `labels`, `taints`, etc.) in the same request. + // Otherwise, the API performs a structural modification where changes to + // other fields will only apply to newly created nodes and will not be + // applied to existing nodes in the node pool. To ensure all nodes are updated + // consistently, use a separate API call for location changes. repeated string locations = 13; // The desired workload metadata config for the node pool. @@ -4797,9 +4968,15 @@ message BlueGreenSettings { optional google.protobuf.Duration batch_soak_duration = 3; } - // Autoscaled rollout policy uses cluster autoscaler during - // blue-green upgrades to scale both the green and blue pools. - message AutoscaledRolloutPolicy {} + // Autoscaled rollout policy utilizes the cluster autoscaler during + // blue-green upgrade to scale both the blue and green pools. + message AutoscaledRolloutPolicy { + // Optional. Time to wait after cordoning the blue pool before draining the + // nodes. Defaults to 3 days. The value can be set between 0 and 7 days, + // inclusive. + google.protobuf.Duration wait_for_drain_duration = 1 + [(google.api.field_behavior) = OPTIONAL]; + } // The rollout policy controls the general rollout progress of blue-green. oneof rollout_policy { @@ -5197,9 +5374,23 @@ message MaintenanceExclusionOptions { NO_MINOR_OR_NODE_UPGRADES = 2; } + // EndTimeBehavior specifies the behavior of the exclusion end time. + enum EndTimeBehavior { + // END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed + // end time. + END_TIME_BEHAVIOR_UNSPECIFIED = 0; + + // UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end + // of the support of the cluster's current version. + UNTIL_END_OF_SUPPORT = 1; + } + // Scope specifies the upgrade scope which upgrades are blocked by the // exclusion. Scope scope = 1; + + // EndTimeBehavior specifies the behavior of the exclusion end time. + EndTimeBehavior end_time_behavior = 2; } // Represents an arbitrary window of time that recurs. @@ -6247,8 +6438,7 @@ message MaxPodsConstraint { int64 max_pods_per_node = 1; } -// Configuration for the use of Kubernetes Service Accounts in GCP IAM -// policies. +// Configuration for the use of Kubernetes Service Accounts in IAM policies. message WorkloadIdentityConfig { // IAM Identity Namespace to attach all Kubernetes Service Accounts to. string identity_namespace = 1 [deprecated = true]; @@ -6260,7 +6450,9 @@ message WorkloadIdentityConfig { string identity_provider = 3; } -// Configuration for direct-path (via ALTS) with workload identity. +// Configuration for direct-path (via ALTS) with workload identity. This +// feature is not officially supported for external customers in Kubernetes +// Engine when using Workload Identity. message WorkloadALTSConfig { // enable_alts controls whether the alts handshaker should be enabled or not // for direct-path. @@ -6670,6 +6862,27 @@ message Autopilot { // Output only. ConversionStatus shows conversion status. AutopilotConversionStatus conversion_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // PrivilegedAdmissionConfig is the configuration related to privileged + // admission control. + PrivilegedAdmissionConfig privileged_admission_config = 4; +} + +// PrivilegedAdmissionConfig stores the list of authorized allowlist +// paths for the cluster. +message PrivilegedAdmissionConfig { + // The customer allowlist Cloud Storage paths for the cluster. These paths are + // used with the `--autopilot-privileged-admission` flag to authorize + // privileged workloads in Autopilot clusters. + // + // Paths can be GKE-owned, in the format + // `gke:////`, or customer-owned, in + // the format `gs:///`. + // + // Wildcards (`*`) are supported to authorize all allowlists under specific + // paths or directories. Example: `gs://my-bucket/*` will authorize all + // allowlists under the `my-bucket` bucket. + repeated string allowlist_paths = 1; } // WorkloadPolicyConfig is the configuration related to GCW workload policy @@ -6789,6 +7002,12 @@ message UpgradeEvent { // The target version for the upgrade. string target_version = 5; + // The current emulated version before the upgrade. + string current_emulated_version = 7; + + // The target emulated version for the upgrade. + string target_emulated_version = 8; + // Optional relative path to the resource. For example in node pool upgrades, // the relative path of the node pool. string resource = 6; @@ -6851,6 +7070,12 @@ message UpgradeInfoEvent { // The target version for the upgrade. string target_version = 6; + // The current emulated version before the upgrade. + string current_emulated_version = 15; + + // The target emulated version for the upgrade. + string target_emulated_version = 16; + // Optional relative path to the resource. For example in node pool upgrades, // the relative path of the node pool. string resource = 7; @@ -7176,6 +7401,16 @@ message PodAutoscaling { // Fleet is the fleet configuration for the cluster. message Fleet { + // MembershipType describes if the membership supports all features or only + // lightweight compatible ones. + enum MembershipType { + // The MembershipType is not set. + MEMBERSHIP_TYPE_UNSPECIFIED = 0; + + // The membership supports only lightweight compatible features. + LIGHTWEIGHT = 1; + } + // The Fleet host project(project ID or project number) where this cluster // will be registered to. This field cannot be changed after the cluster has // been registered. @@ -7189,6 +7424,9 @@ message Fleet { // Output only. Whether the cluster has been registered through the fleet // API. bool pre_registered = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The type of the cluster's fleet membership. + MembershipType membership_type = 4; } // Possible values for IP stack type @@ -7215,8 +7453,15 @@ message ControlPlaneEndpointsConfig { string endpoint = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Controls whether user traffic is allowed over this endpoint. Note that - // GCP-managed services may still use the endpoint even if this is false. + // Google-managed services may still use the endpoint + // even if this is false. optional bool allow_external_traffic = 3; + + // Controls whether the k8s token auth is allowed via DNS. + optional bool enable_k8s_tokens_via_dns = 5; + + // Controls whether the k8s certs auth is allowed via DNS. + optional bool enable_k8s_certs_via_dns = 6; } // IP endpoints configuration. @@ -7282,9 +7527,19 @@ message ResourceManagerTags { } // EnterpriseConfig is the cluster enterprise configuration. +// +// Deprecated: GKE Enterprise features are now available without an Enterprise +// tier. message EnterpriseConfig { + option deprecated = true; + // Premium tiers for GKE Cluster. + // + // Deprecated: GKE Enterprise features are now available without an Enterprise + // tier. enum ClusterTier { + option deprecated = true; + // CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set. CLUSTER_TIER_UNSPECIFIED = 0; @@ -7602,3 +7857,49 @@ message GkeAutoUpgradeConfig { // selected. PatchMode patch_mode = 1; } + +// NetworkTierConfig contains network tier information. +message NetworkTierConfig { + // Network tier configuration. + enum NetworkTier { + // By default, use project-level configuration. When unspecified, the + // behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this + // implies no action (no-op). + NETWORK_TIER_UNSPECIFIED = 0; + + // Default network tier. Use project-level configuration. User can specify + // this value, meaning they want to keep the same behaviour as before + // cluster level network tier configuration is introduced. This field + // ensures backward compatibility for the network tier of cluster resources, + // such as node pools and load balancers, for their external IP addresses. + NETWORK_TIER_DEFAULT = 1; + + // Premium network tier. + NETWORK_TIER_PREMIUM = 2; + + // Standard network tier. + NETWORK_TIER_STANDARD = 3; + } + + // Network tier configuration. + NetworkTier network_tier = 1; +} + +// Configuration for sync Secret Manager secrets as k8s secrets. +message SecretSyncConfig { + // SyncRotationConfig is config for secret manager auto rotation. + message SyncRotationConfig { + // Whether the rotation is enabled. + optional bool enabled = 1; + + // The interval between two consecutive rotations. Default rotation interval + // is 2 minutes. + optional google.protobuf.Duration rotation_interval = 2; + } + + // Enable/Disable Secret Sync Config. + optional bool enabled = 1; + + // Rotation config for secret manager. + optional SyncRotationConfig rotation_config = 2; +} diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md index 2c2b944505b9..97d0b7951df3 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-containeranalysis - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-containeranalysis:2.77.0' +implementation 'com.google.cloud:google-cloud-containeranalysis:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-containeranalysis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md index c47e3da7b225..0a0c694cc878 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contentwarehouse - 0.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contentwarehouse:0.72.0' +implementation 'com.google.cloud:google-cloud-contentwarehouse:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.73.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contentwarehouse.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.73.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md index 38bbd99f9ea7..c202bb38ad6d 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-data-fusion - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:1.76.0' +implementation 'com.google.cloud:google-cloud-data-fusion:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-data-fusion.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index 019004dc2eb3..abe872575cf2 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datacatalog - 1.82.0 + 1.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datacatalog:1.82.0' +implementation 'com.google.cloud:google-cloud-datacatalog:1.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.83.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataflow/README.md b/java-dataflow/README.md index 97a65e60451b..5c187f887173 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataflow - 0.80.0 + 0.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataflow:0.80.0' +implementation 'com.google.cloud:google-cloud-dataflow:0.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.81.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataform/README.md b/java-dataform/README.md index 2a03237cca6d..b252f52c634f 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataform - 0.75.0 + 0.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataform:0.75.0' +implementation 'com.google.cloud:google-cloud-dataform:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.76.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md index eb9929a275cd..b120086716a4 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalabeling - 0.196.0 + 0.197.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalabeling:0.196.0' +implementation 'com.google.cloud:google-cloud-datalabeling:0.197.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.196.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.197.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalabeling.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.196.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.197.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalineage/README.md b/java-datalineage/README.md index ce5353b2ba35..34adbbd863b4 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalineage - 0.68.0 + 0.69.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalineage:0.68.0' +implementation 'com.google.cloud:google-cloud-datalineage:0.69.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.68.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.69.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalineage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.68.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.69.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataplex/README.md b/java-dataplex/README.md index 46ab5853c8e8..7f1a64948835 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataplex - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataplex:1.74.0' +implementation 'com.google.cloud:google-cloud-dataplex:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataplex.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index cfa843db612d..b2eb0bcbf44e 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc-metastore - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.77.0' +implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc-metastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc/README.md b/java-dataproc/README.md index f9c7811d4053..daea08bcb929 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc - 4.73.0 + 4.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc:4.73.0' +implementation 'com.google.cloud:google-cloud-dataproc:4.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datastream/README.md b/java-datastream/README.md index 8489a4b63b59..db44a914865b 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datastream - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastream:1.75.0' +implementation 'com.google.cloud:google-cloud-datastream:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-deploy/README.md b/java-deploy/README.md index 783a66053eb7..cb4492069f5e 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-deploy - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-deploy:1.74.0' +implementation 'com.google.cloud:google-cloud-deploy:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-developerconnect/README.md b/java-developerconnect/README.md index 1bc2f3acb654..aa29be641e42 100644 --- a/java-developerconnect/README.md +++ b/java-developerconnect/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-developerconnect - 0.33.0 + 0.34.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-developerconnect:0.33.0' +implementation 'com.google.cloud:google-cloud-developerconnect:0.34.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.34.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developerconnect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.34.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-devicestreaming/README.md b/java-devicestreaming/README.md index 7b850c4bdfef..4b0047084129 100644 --- a/java-devicestreaming/README.md +++ b/java-devicestreaming/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-devicestreaming - 0.16.0 + 0.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-devicestreaming:0.16.0' +implementation 'com.google.cloud:google-cloud-devicestreaming:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.17.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-devicestreaming.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index 20ac02e3294c..084ed31be984 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow-cx - 0.87.0 + 0.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.87.0' +implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.88.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow-cx.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index ca4793a1d88c..b05a4971387e 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow - 4.82.0 + 4.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow:4.82.0' +implementation 'com.google.cloud:google-cloud-dialogflow:4.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.83.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-discoveryengine/README.md b/java-discoveryengine/README.md index e50e337a1975..90b8af56a34e 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-discoveryengine - 0.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-discoveryengine:0.72.0' +implementation 'com.google.cloud:google-cloud-discoveryengine:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.73.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-discoveryengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.73.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 46db19f4a533..2be86e5f1301 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-distributedcloudedge - 0.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.73.0' +implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-distributedcloudedge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dlp/README.md b/java-dlp/README.md index 47d9ba597c92..308a4150d200 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dlp - 3.80.0 + 3.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dlp:3.80.0' +implementation 'com.google.cloud:google-cloud-dlp:3.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.81.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dlp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dms/README.md b/java-dms/README.md index 1db714fa0bff..b676c0678cd7 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dms - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dms:2.75.0' +implementation 'com.google.cloud:google-cloud-dms:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-document-ai/README.md b/java-document-ai/README.md index 238515789930..a742bd76ba08 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 2.80.0 + 2.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.80.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.81.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-domains/README.md b/java-domains/README.md index 5e86305d38de..e009d83a8d4e 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-domains - 1.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-domains:1.73.0' +implementation 'com.google.cloud:google-cloud-domains:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-domains.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-edgenetwork/README.md b/java-edgenetwork/README.md index e4a679f62f1e..7ae8b315be55 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-edgenetwork - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-edgenetwork:0.44.0' +implementation 'com.google.cloud:google-cloud-edgenetwork:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.45.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-edgenetwork.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index c5d87af30328..ebc773a93dd8 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-enterpriseknowledgegraph - 0.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.72.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.73.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-enterpriseknowledgegraph.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.73.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-errorreporting/README.md b/java-errorreporting/README.md index ca2294f9807a..e1865cc9ac98 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-errorreporting - 0.197.0-beta + 0.198.0-beta ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-errorreporting:0.197.0-beta' +implementation 'com.google.cloud:google-cloud-errorreporting:0.198.0-beta' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.197.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.198.0-beta" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-errorreporting.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.197.0-beta +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.198.0-beta [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md index cbaaca7552c9..3b3f0e86b2bc 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-essential-contacts - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-essential-contacts:2.76.0' +implementation 'com.google.cloud:google-cloud-essential-contacts:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-essential-contacts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index 28890ade9c75..779150193bd3 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc-publishing - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.76.0' +implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.77.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc-publishing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc/README.md b/java-eventarc/README.md index b3fafbff2f2b..1d2cbb74d89e 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc:1.76.0' +implementation 'com.google.cloud:google-cloud-eventarc:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-filestore/README.md b/java-filestore/README.md index 4e42e4677fe3..974dc75c2288 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-filestore - 1.77.0 + 1.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-filestore:1.77.0' +implementation 'com.google.cloud:google-cloud-filestore:1.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-filestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-financialservices/README.md b/java-financialservices/README.md index 158786ee6ea3..4079680e0983 100644 --- a/java-financialservices/README.md +++ b/java-financialservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-financialservices - 0.17.0 + 0.18.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-financialservices:0.17.0' +implementation 'com.google.cloud:google-cloud-financialservices:0.18.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.17.0" +libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.18.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-financialservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.18.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-functions/README.md b/java-functions/README.md index 1ac19a5e78b7..fbed818a3857 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-functions - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-functions:2.78.0' +implementation 'com.google.cloud:google-cloud-functions:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-functions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gdchardwaremanagement/README.md b/java-gdchardwaremanagement/README.md index 48b0c0ae4fa5..30ad2e20e1ec 100644 --- a/java-gdchardwaremanagement/README.md +++ b/java-gdchardwaremanagement/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gdchardwaremanagement - 0.31.0 + 0.32.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.31.0' +implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.32.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.31.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.32.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gdchardwaremanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.31.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.32.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-geminidataanalytics/README.md b/java-geminidataanalytics/README.md index 2b2815e749f2..7a259569f0d9 100644 --- a/java-geminidataanalytics/README.md +++ b/java-geminidataanalytics/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-geminidataanalytics - 0.4.0 + 0.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.4.0' +implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.5.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-geminidataanalytics.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index 481b2c224d59..153fd7f3d54d 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-backup - 0.75.0 + 0.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-backup:0.75.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.76.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-backup.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index 7e0aed07deab..ef74426c062c 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-connect-gateway - 0.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.77.0' +implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-connect-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 24aaebfd89db..2f30e431b362 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-multi-cloud - 0.75.0 + 0.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.75.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.76.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gkehub/README.md b/java-gkehub/README.md index f0298f04049a..1569519660df 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkehub - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkehub:1.76.0' +implementation 'com.google.cloud:google-cloud-gkehub:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gkehub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-grafeas/README.md b/java-grafeas/README.md index 0363d0f9001c..1cea639716d1 100644 --- a/java-grafeas/README.md +++ b/java-grafeas/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: io.grafeas grafeas - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'io.grafeas:grafeas:2.77.0' +implementation 'io.grafeas:grafeas:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "io.grafeas" % "grafeas" % "2.77.0" +libraryDependencies += "io.grafeas" % "grafeas" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/io.grafeas/grafeas.svg -[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gsuite-addons/README.md b/java-gsuite-addons/README.md index 5be4ea2feeb0..d443950b8c76 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gsuite-addons - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.76.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gsuite-addons.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam-admin/README.md b/java-iam-admin/README.md index c066b7485a12..a418c9f52833 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-admin - 3.71.0 + 3.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-admin:3.71.0' +implementation 'com.google.cloud:google-iam-admin:3.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.71.0" +libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.72.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.72.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam/README.md b/java-iam/README.md index d00aaba5e2ce..96287c5456e0 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-policy - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-policy:1.74.0' +implementation 'com.google.cloud:google-iam-policy:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-policy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iamcredentials/README.md b/java-iamcredentials/README.md index cc5943c6a913..cded328854d7 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iamcredentials - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iamcredentials:2.76.0' +implementation 'com.google.cloud:google-cloud-iamcredentials:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iamcredentials.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iap/README.md b/java-iap/README.md index 4c646121ebd4..5d5c6ed80d44 100644 --- a/java-iap/README.md +++ b/java-iap/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iap - 0.32.0 + 0.33.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iap:0.32.0' +implementation 'com.google.cloud:google-cloud-iap:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.33.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iap.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-ids/README.md b/java-ids/README.md index 36220fa722f5..f71504401a23 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ids - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ids:1.75.0' +implementation 'com.google.cloud:google-cloud-ids:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ids.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-infra-manager/README.md b/java-infra-manager/README.md index 941bc6f71515..cc2392728820 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-infra-manager - 0.53.0 + 0.54.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-infra-manager:0.53.0' +implementation 'com.google.cloud:google-cloud-infra-manager:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.54.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-infra-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.54.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iot/README.md b/java-iot/README.md index 22d3fe41270c..af5bedcf1f03 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iot - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iot:2.76.0' +implementation 'com.google.cloud:google-cloud-iot:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iot.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-java-shopping-merchant-issue-resolution/README.md b/java-java-shopping-merchant-issue-resolution/README.md index f0c144089cc1..2a3b3075b009 100644 --- a/java-java-shopping-merchant-issue-resolution/README.md +++ b/java-java-shopping-merchant-issue-resolution/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-issue-resolution - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-issue-resolution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-java-shopping-merchant-order-tracking/README.md b/java-java-shopping-merchant-order-tracking/README.md index 1dd1ecea4878..204e44363bd6 100644 --- a/java-java-shopping-merchant-order-tracking/README.md +++ b/java-java-shopping-merchant-order-tracking/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-order-tracking - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-order-tracking.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kms/README.md b/java-kms/README.md index 0e484e27a7b2..ca7975355ded 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 2.79.0 + 2.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.79.0' +implementation 'com.google.cloud:google-cloud-kms:2.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.80.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kmsinventory/README.md b/java-kmsinventory/README.md index c655360590c8..3360c1f32683 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kmsinventory - 0.65.0 + 0.66.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kmsinventory:0.65.0' +implementation 'com.google.cloud:google-cloud-kmsinventory:0.66.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.65.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.66.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kmsinventory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.65.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.66.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-language/README.md b/java-language/README.md index 1e93b75d465c..9c79f9237bb5 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-language - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-language:2.77.0' +implementation 'com.google.cloud:google-cloud-language:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.78.0" ``` ## Authentication @@ -226,7 +226,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-language.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-licensemanager/README.md b/java-licensemanager/README.md index db9e48ee68a0..ef35a5ef8d8a 100644 --- a/java-licensemanager/README.md +++ b/java-licensemanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-licensemanager - 0.9.0 + 0.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-licensemanager:0.9.0' +implementation 'com.google.cloud:google-cloud-licensemanager:0.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.10.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-licensemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-life-sciences/README.md b/java-life-sciences/README.md index 964ae567333e..172947c43df7 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-life-sciences - 0.78.0 + 0.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-life-sciences:0.78.0' +implementation 'com.google.cloud:google-cloud-life-sciences:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.79.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-life-sciences.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-locationfinder/README.md b/java-locationfinder/README.md index f805da17a572..cde6cd4a0142 100644 --- a/java-locationfinder/README.md +++ b/java-locationfinder/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-locationfinder - 0.1.0 + 0.2.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-locationfinder:0.1.0' +implementation 'com.google.cloud:google-cloud-locationfinder:0.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.2.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-locationfinder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.1.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.2.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-lustre/README.md b/java-lustre/README.md index 6e9d3034bc34..d7b09724df86 100644 --- a/java-lustre/README.md +++ b/java-lustre/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-lustre - 0.16.0 + 0.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-lustre:0.16.0' +implementation 'com.google.cloud:google-cloud-lustre:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.17.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-lustre.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maintenance/README.md b/java-maintenance/README.md index bdc6be0ff951..73e96ccd4f3a 100644 --- a/java-maintenance/README.md +++ b/java-maintenance/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-maintenance - 0.10.0 + 0.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-maintenance:0.10.0' +implementation 'com.google.cloud:google-cloud-maintenance:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.11.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-maintenance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.10.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.11.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-managed-identities/README.md b/java-managed-identities/README.md index 3f67d7fa1b31..aa301031240c 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managed-identities - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managed-identities:1.74.0' +implementation 'com.google.cloud:google-cloud-managed-identities:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managed-identities.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-managedkafka/README.md b/java-managedkafka/README.md index 228c1460f208..57e3f834aba4 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managedkafka - 0.32.0 + 0.33.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managedkafka:0.32.0' +implementation 'com.google.cloud:google-cloud-managedkafka:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.33.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managedkafka.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-addressvalidation/README.md b/java-maps-addressvalidation/README.md index 1ab0aa3f60a0..05622620e75f 100644 --- a/java-maps-addressvalidation/README.md +++ b/java-maps-addressvalidation/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-addressvalidation - 0.70.0 + 0.71.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-addressvalidation:0.70.0' +implementation 'com.google.maps:google-maps-addressvalidation:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.70.0" +libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.71.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-addressvalidation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.71.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-area-insights/README.md b/java-maps-area-insights/README.md index 84b6bc2e50ff..fd6608ad8c55 100644 --- a/java-maps-area-insights/README.md +++ b/java-maps-area-insights/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-area-insights - 0.27.0 + 0.28.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-area-insights:0.27.0' +implementation 'com.google.maps:google-maps-area-insights:0.28.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.27.0" +libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.28.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-area-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.27.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.28.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-fleetengine-delivery/README.md b/java-maps-fleetengine-delivery/README.md index 10735b9e68d3..f61138c68203 100644 --- a/java-maps-fleetengine-delivery/README.md +++ b/java-maps-fleetengine-delivery/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-fleetengine-delivery - 0.23.0 + 0.24.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine-delivery:0.23.0' +implementation 'com.google.maps:google-maps-fleetengine-delivery:0.24.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.23.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.24.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine-delivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.24.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-fleetengine/README.md b/java-maps-fleetengine/README.md index 2e5b23178de2..db6b6ae47259 100644 --- a/java-maps-fleetengine/README.md +++ b/java-maps-fleetengine/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-fleetengine - 0.23.0 + 0.24.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine:0.23.0' +implementation 'com.google.maps:google-maps-fleetengine:0.24.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.23.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.24.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.24.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-mapsplatformdatasets/README.md b/java-maps-mapsplatformdatasets/README.md index 6cf793b550ab..fddafd557c5a 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-mapsplatformdatasets - 0.65.0 + 0.66.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.65.0' +implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.66.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.65.0" +libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.66.0" ``` ## Authentication @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapsplatformdatasets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.65.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.66.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-places/README.md b/java-maps-places/README.md index f2d7ea94a5f0..114521f50d84 100644 --- a/java-maps-places/README.md +++ b/java-maps-places/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-places - 0.47.0 + 0.48.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-places:0.47.0' +implementation 'com.google.maps:google-maps-places:0.48.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-places" % "0.47.0" +libraryDependencies += "com.google.maps" % "google-maps-places" % "0.48.0" ``` ## Authentication @@ -204,7 +204,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-places.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-routeoptimization/README.md b/java-maps-routeoptimization/README.md index d601e31c1cbd..84037d0bc48b 100644 --- a/java-maps-routeoptimization/README.md +++ b/java-maps-routeoptimization/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-routeoptimization - 0.34.0 + 0.35.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routeoptimization:0.34.0' +implementation 'com.google.maps:google-maps-routeoptimization:0.35.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.34.0" +libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.35.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routeoptimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.35.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationClient.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationClient.java index dfac789f9877..d09d2671625b 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationClient.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationClient.java @@ -121,6 +121,42 @@ * * * + * + *

OptimizeToursLongRunning + *

This is a variant of the [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours] method designed for optimizations with large timeout values. It should be preferred over the `OptimizeTours` method for optimizations that take longer than a few minutes. + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name of the format `<parent>/operations/<operation_id>` and can be used to track progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type is [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata]. The [response][google.longrunning.Operation.response] field type is [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse], if successful. + *

Experimental: See https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for more details. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • optimizeToursLongRunningAsync(OptimizeToursRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • optimizeToursLongRunningOperationCallable() + *

  • optimizeToursLongRunningCallable() + *

+ * + * + * + *

OptimizeToursUri + *

This is a variant of the [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning] method designed for optimizations with large timeout values and large input/output sizes. + *

The client specifies the URI of the `OptimizeToursRequest` stored in Google Cloud Storage and the server writes the `OptimizeToursResponse` to a client-specified Google Cloud Storage URI. + *

This method should be preferred over the `OptimizeTours` method for optimizations that take longer than a few minutes and input/output sizes that are larger than 8MB, though it can be used for shorter and smaller optimizations as well. + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name of the format `<parent>/operations/<operation_id>` and can be used to track progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type is [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata]. The [response][google.longrunning.Operation.response] field type is [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse], if successful. + *

Experimental: See https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for more details. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • optimizeToursUriAsync(OptimizeToursUriRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • optimizeToursUriOperationCallable() + *

  • optimizeToursUriCallable() + *

+ * + * * * *

See the individual methods for example code. @@ -502,6 +538,344 @@ public final UnaryCallable batchOptimizeTo return stub.batchOptimizeToursCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours] method + * designed for optimizations with large timeout values. It should be preferred over the + * `OptimizeTours` method for optimizations that take longer than a few minutes. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse], if successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursRequest request =
+   *       OptimizeToursRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setTimeout(Duration.newBuilder().build())
+   *           .setModel(ShipmentModel.newBuilder().build())
+   *           .addAllInjectedFirstSolutionRoutes(new ArrayList())
+   *           .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build())
+   *           .addAllRefreshDetailsRoutes(new ArrayList())
+   *           .setInterpretInjectedSolutionsUsingLabels(true)
+   *           .setConsiderRoadTraffic(true)
+   *           .setPopulatePolylines(true)
+   *           .setPopulateTransitionPolylines(true)
+   *           .setAllowLargeDeadlineDespiteInterruptionRisk(true)
+   *           .setUseGeodesicDistances(true)
+   *           .setGeodesicMetersPerSecond(-2129658905)
+   *           .setMaxValidationErrors(-1367418922)
+   *           .setLabel("label102727412")
+   *           .build();
+   *   OptimizeToursResponse response =
+   *       routeOptimizationClient.optimizeToursLongRunningAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture + optimizeToursLongRunningAsync(OptimizeToursRequest request) { + return optimizeToursLongRunningOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours] method + * designed for optimizations with large timeout values. It should be preferred over the + * `OptimizeTours` method for optimizations that take longer than a few minutes. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse], if successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursRequest request =
+   *       OptimizeToursRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setTimeout(Duration.newBuilder().build())
+   *           .setModel(ShipmentModel.newBuilder().build())
+   *           .addAllInjectedFirstSolutionRoutes(new ArrayList())
+   *           .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build())
+   *           .addAllRefreshDetailsRoutes(new ArrayList())
+   *           .setInterpretInjectedSolutionsUsingLabels(true)
+   *           .setConsiderRoadTraffic(true)
+   *           .setPopulatePolylines(true)
+   *           .setPopulateTransitionPolylines(true)
+   *           .setAllowLargeDeadlineDespiteInterruptionRisk(true)
+   *           .setUseGeodesicDistances(true)
+   *           .setGeodesicMetersPerSecond(-2129658905)
+   *           .setMaxValidationErrors(-1367418922)
+   *           .setLabel("label102727412")
+   *           .build();
+   *   OperationFuture future =
+   *       routeOptimizationClient.optimizeToursLongRunningOperationCallable().futureCall(request);
+   *   // Do something.
+   *   OptimizeToursResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable() { + return stub.optimizeToursLongRunningOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours] method + * designed for optimizations with large timeout values. It should be preferred over the + * `OptimizeTours` method for optimizations that take longer than a few minutes. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse], if successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursRequest request =
+   *       OptimizeToursRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setTimeout(Duration.newBuilder().build())
+   *           .setModel(ShipmentModel.newBuilder().build())
+   *           .addAllInjectedFirstSolutionRoutes(new ArrayList())
+   *           .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build())
+   *           .addAllRefreshDetailsRoutes(new ArrayList())
+   *           .setInterpretInjectedSolutionsUsingLabels(true)
+   *           .setConsiderRoadTraffic(true)
+   *           .setPopulatePolylines(true)
+   *           .setPopulateTransitionPolylines(true)
+   *           .setAllowLargeDeadlineDespiteInterruptionRisk(true)
+   *           .setUseGeodesicDistances(true)
+   *           .setGeodesicMetersPerSecond(-2129658905)
+   *           .setMaxValidationErrors(-1367418922)
+   *           .setLabel("label102727412")
+   *           .build();
+   *   ApiFuture future =
+   *       routeOptimizationClient.optimizeToursLongRunningCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable optimizeToursLongRunningCallable() { + return stub.optimizeToursLongRunningCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning] + * method designed for optimizations with large timeout values and large input/output sizes. + * + *

The client specifies the URI of the `OptimizeToursRequest` stored in Google Cloud Storage + * and the server writes the `OptimizeToursResponse` to a client-specified Google Cloud Storage + * URI. + * + *

This method should be preferred over the `OptimizeTours` method for optimizations that take + * longer than a few minutes and input/output sizes that are larger than 8MB, though it can be + * used for shorter and smaller optimizations as well. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse], if + * successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursUriRequest request =
+   *       OptimizeToursUriRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setInput(Uri.newBuilder().build())
+   *           .setOutput(Uri.newBuilder().build())
+   *           .build();
+   *   OptimizeToursUriResponse response =
+   *       routeOptimizationClient.optimizeToursUriAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture + optimizeToursUriAsync(OptimizeToursUriRequest request) { + return optimizeToursUriOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning] + * method designed for optimizations with large timeout values and large input/output sizes. + * + *

The client specifies the URI of the `OptimizeToursRequest` stored in Google Cloud Storage + * and the server writes the `OptimizeToursResponse` to a client-specified Google Cloud Storage + * URI. + * + *

This method should be preferred over the `OptimizeTours` method for optimizations that take + * longer than a few minutes and input/output sizes that are larger than 8MB, though it can be + * used for shorter and smaller optimizations as well. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse], if + * successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursUriRequest request =
+   *       OptimizeToursUriRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setInput(Uri.newBuilder().build())
+   *           .setOutput(Uri.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       routeOptimizationClient.optimizeToursUriOperationCallable().futureCall(request);
+   *   // Do something.
+   *   OptimizeToursUriResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable() { + return stub.optimizeToursUriOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This is a variant of the + * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning] + * method designed for optimizations with large timeout values and large input/output sizes. + * + *

The client specifies the URI of the `OptimizeToursRequest` stored in Google Cloud Storage + * and the server writes the `OptimizeToursResponse` to a client-specified Google Cloud Storage + * URI. + * + *

This method should be preferred over the `OptimizeTours` method for optimizations that take + * longer than a few minutes and input/output sizes that are larger than 8MB, though it can be + * used for shorter and smaller optimizations as well. + * + *

The returned [long-running operation][google.longrunning.Operation] (LRO) will have a name + * of the format `<parent>/operations/<operation_id>` and can be used to track + * progress of the computation. The [metadata][google.longrunning.Operation.metadata] field type + * is + * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata]. + * The [response][google.longrunning.Operation.response] field type is + * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse], if + * successful. + * + *

Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request for + * more details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) {
+   *   OptimizeToursUriRequest request =
+   *       OptimizeToursUriRequest.newBuilder()
+   *           .setParent("parent-995424086")
+   *           .setInput(Uri.newBuilder().build())
+   *           .setOutput(Uri.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       routeOptimizationClient.optimizeToursUriCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable optimizeToursUriCallable() { + return stub.optimizeToursUriCallable(); + } + @Override public final void close() { stub.close(); diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationSettings.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationSettings.java index e786ee6c8bca..43259f3a2f6d 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationSettings.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationSettings.java @@ -132,6 +132,31 @@ public UnaryCallSettings batchOptimizeTour .batchOptimizeToursOperationSettings(); } + /** Returns the object with the settings used for calls to optimizeToursLongRunning. */ + public UnaryCallSettings optimizeToursLongRunningSettings() { + return ((RouteOptimizationStubSettings) getStubSettings()).optimizeToursLongRunningSettings(); + } + + /** Returns the object with the settings used for calls to optimizeToursLongRunning. */ + public OperationCallSettings< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings() { + return ((RouteOptimizationStubSettings) getStubSettings()) + .optimizeToursLongRunningOperationSettings(); + } + + /** Returns the object with the settings used for calls to optimizeToursUri. */ + public UnaryCallSettings optimizeToursUriSettings() { + return ((RouteOptimizationStubSettings) getStubSettings()).optimizeToursUriSettings(); + } + + /** Returns the object with the settings used for calls to optimizeToursUri. */ + public OperationCallSettings< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings() { + return ((RouteOptimizationStubSettings) getStubSettings()).optimizeToursUriOperationSettings(); + } + public static final RouteOptimizationSettings create(RouteOptimizationStubSettings stub) throws IOException { return new RouteOptimizationSettings.Builder(stub.toBuilder()).build(); @@ -263,6 +288,32 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().batchOptimizeToursOperationSettings(); } + /** Returns the builder for the settings used for calls to optimizeToursLongRunning. */ + public UnaryCallSettings.Builder + optimizeToursLongRunningSettings() { + return getStubSettingsBuilder().optimizeToursLongRunningSettings(); + } + + /** Returns the builder for the settings used for calls to optimizeToursLongRunning. */ + public OperationCallSettings.Builder< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings() { + return getStubSettingsBuilder().optimizeToursLongRunningOperationSettings(); + } + + /** Returns the builder for the settings used for calls to optimizeToursUri. */ + public UnaryCallSettings.Builder + optimizeToursUriSettings() { + return getStubSettingsBuilder().optimizeToursUriSettings(); + } + + /** Returns the builder for the settings used for calls to optimizeToursUri. */ + public OperationCallSettings.Builder< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings() { + return getStubSettingsBuilder().optimizeToursUriOperationSettings(); + } + @Override public RouteOptimizationSettings build() throws IOException { return new RouteOptimizationSettings(this); diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/gapic_metadata.json b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/gapic_metadata.json index b2f778ef7650..3dbed558cf0f 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/gapic_metadata.json +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/gapic_metadata.json @@ -15,6 +15,12 @@ }, "OptimizeTours": { "methods": ["optimizeTours", "optimizeToursCallable"] + }, + "OptimizeToursLongRunning": { + "methods": ["optimizeToursLongRunningAsync", "optimizeToursLongRunningOperationCallable", "optimizeToursLongRunningCallable"] + }, + "OptimizeToursUri": { + "methods": ["optimizeToursUriAsync", "optimizeToursUriOperationCallable", "optimizeToursUriCallable"] } } } diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/GrpcRouteOptimizationStub.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/GrpcRouteOptimizationStub.java index e88e3f09005e..74fd7ce94d93 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/GrpcRouteOptimizationStub.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/GrpcRouteOptimizationStub.java @@ -29,8 +29,12 @@ import com.google.maps.routeoptimization.v1.BatchOptimizeToursMetadata; import com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest; import com.google.maps.routeoptimization.v1.BatchOptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata; import com.google.maps.routeoptimization.v1.OptimizeToursRequest; import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; @@ -69,11 +73,43 @@ public class GrpcRouteOptimizationStub extends RouteOptimizationStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor + optimizeToursLongRunningMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.maps.routeoptimization.v1.RouteOptimization/OptimizeToursLongRunning") + .setRequestMarshaller( + ProtoUtils.marshaller(OptimizeToursRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + optimizeToursUriMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.maps.routeoptimization.v1.RouteOptimization/OptimizeToursUri") + .setRequestMarshaller( + ProtoUtils.marshaller(OptimizeToursUriRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private final UnaryCallable optimizeToursCallable; private final UnaryCallable batchOptimizeToursCallable; private final OperationCallable< BatchOptimizeToursRequest, BatchOptimizeToursResponse, BatchOptimizeToursMetadata> batchOptimizeToursOperationCallable; + private final UnaryCallable optimizeToursLongRunningCallable; + private final OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable; + private final UnaryCallable optimizeToursUriCallable; + private final OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -139,6 +175,26 @@ protected GrpcRouteOptimizationStub( return builder.build(); }) .build(); + GrpcCallSettings optimizeToursLongRunningTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(optimizeToursLongRunningMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings optimizeToursUriTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(optimizeToursUriMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); this.optimizeToursCallable = callableFactory.createUnaryCallable( @@ -154,6 +210,26 @@ protected GrpcRouteOptimizationStub( settings.batchOptimizeToursOperationSettings(), clientContext, operationsStub); + this.optimizeToursLongRunningCallable = + callableFactory.createUnaryCallable( + optimizeToursLongRunningTransportSettings, + settings.optimizeToursLongRunningSettings(), + clientContext); + this.optimizeToursLongRunningOperationCallable = + callableFactory.createOperationCallable( + optimizeToursLongRunningTransportSettings, + settings.optimizeToursLongRunningOperationSettings(), + clientContext, + operationsStub); + this.optimizeToursUriCallable = + callableFactory.createUnaryCallable( + optimizeToursUriTransportSettings, settings.optimizeToursUriSettings(), clientContext); + this.optimizeToursUriOperationCallable = + callableFactory.createOperationCallable( + optimizeToursUriTransportSettings, + settings.optimizeToursUriOperationSettings(), + clientContext, + operationsStub); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -180,6 +256,30 @@ public UnaryCallable batchOptimizeToursCal return batchOptimizeToursOperationCallable; } + @Override + public UnaryCallable optimizeToursLongRunningCallable() { + return optimizeToursLongRunningCallable; + } + + @Override + public OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable() { + return optimizeToursLongRunningOperationCallable; + } + + @Override + public UnaryCallable optimizeToursUriCallable() { + return optimizeToursUriCallable; + } + + @Override + public OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable() { + return optimizeToursUriOperationCallable; + } + @Override public final void close() { try { diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/HttpJsonRouteOptimizationStub.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/HttpJsonRouteOptimizationStub.java index d112c7082c2d..c5251f617b83 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/HttpJsonRouteOptimizationStub.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/HttpJsonRouteOptimizationStub.java @@ -37,8 +37,12 @@ import com.google.maps.routeoptimization.v1.BatchOptimizeToursMetadata; import com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest; import com.google.maps.routeoptimization.v1.BatchOptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata; import com.google.maps.routeoptimization.v1.OptimizeToursRequest; import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; import com.google.protobuf.TypeRegistry; import java.io.IOException; import java.util.ArrayList; @@ -59,7 +63,11 @@ public class HttpJsonRouteOptimizationStub extends RouteOptimizationStub { private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder() .add(BatchOptimizeToursResponse.getDescriptor()) + .add(OptimizeToursUriMetadata.getDescriptor()) .add(BatchOptimizeToursMetadata.getDescriptor()) + .add(OptimizeToursResponse.getDescriptor()) + .add(OptimizeToursUriResponse.getDescriptor()) + .add(OptimizeToursLongRunningMetadata.getDescriptor()) .build(); private static final ApiMethodDescriptor @@ -142,11 +150,103 @@ public class HttpJsonRouteOptimizationStub extends RouteOptimizationStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + optimizeToursLongRunningMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.maps.routeoptimization.v1.RouteOptimization/OptimizeToursLongRunning") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}:optimizeToursLongRunning", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setAdditionalPaths("/v1/{parent=projects/*}:optimizeToursLongRunning") + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (OptimizeToursRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + optimizeToursUriMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.maps.routeoptimization.v1.RouteOptimization/OptimizeToursUri") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}:OptimizeToursUri", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setAdditionalPaths("/v1/{parent=projects/*}:OptimizeToursUri") + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (OptimizeToursUriRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private final UnaryCallable optimizeToursCallable; private final UnaryCallable batchOptimizeToursCallable; private final OperationCallable< BatchOptimizeToursRequest, BatchOptimizeToursResponse, BatchOptimizeToursMetadata> batchOptimizeToursOperationCallable; + private final UnaryCallable optimizeToursLongRunningCallable; + private final OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable; + private final UnaryCallable optimizeToursUriCallable; + private final OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable; private final BackgroundResource backgroundResources; private final HttpJsonOperationsStub httpJsonOperationsStub; @@ -226,6 +326,29 @@ protected HttpJsonRouteOptimizationStub( return builder.build(); }) .build(); + HttpJsonCallSettings + optimizeToursLongRunningTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(optimizeToursLongRunningMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings optimizeToursUriTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(optimizeToursUriMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); this.optimizeToursCallable = callableFactory.createUnaryCallable( @@ -241,6 +364,26 @@ protected HttpJsonRouteOptimizationStub( settings.batchOptimizeToursOperationSettings(), clientContext, httpJsonOperationsStub); + this.optimizeToursLongRunningCallable = + callableFactory.createUnaryCallable( + optimizeToursLongRunningTransportSettings, + settings.optimizeToursLongRunningSettings(), + clientContext); + this.optimizeToursLongRunningOperationCallable = + callableFactory.createOperationCallable( + optimizeToursLongRunningTransportSettings, + settings.optimizeToursLongRunningOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.optimizeToursUriCallable = + callableFactory.createUnaryCallable( + optimizeToursUriTransportSettings, settings.optimizeToursUriSettings(), clientContext); + this.optimizeToursUriOperationCallable = + callableFactory.createOperationCallable( + optimizeToursUriTransportSettings, + settings.optimizeToursUriOperationSettings(), + clientContext, + httpJsonOperationsStub); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -251,6 +394,8 @@ public static List getMethodDescriptors() { List methodDescriptors = new ArrayList<>(); methodDescriptors.add(optimizeToursMethodDescriptor); methodDescriptors.add(batchOptimizeToursMethodDescriptor); + methodDescriptors.add(optimizeToursLongRunningMethodDescriptor); + methodDescriptors.add(optimizeToursUriMethodDescriptor); return methodDescriptors; } @@ -275,6 +420,30 @@ public UnaryCallable batchOptimizeToursCal return batchOptimizeToursOperationCallable; } + @Override + public UnaryCallable optimizeToursLongRunningCallable() { + return optimizeToursLongRunningCallable; + } + + @Override + public OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable() { + return optimizeToursLongRunningOperationCallable; + } + + @Override + public UnaryCallable optimizeToursUriCallable() { + return optimizeToursUriCallable; + } + + @Override + public OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable() { + return optimizeToursUriOperationCallable; + } + @Override public final void close() { try { diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStub.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStub.java index ac689a9cb271..e1d444ee1262 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStub.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStub.java @@ -24,8 +24,12 @@ import com.google.maps.routeoptimization.v1.BatchOptimizeToursMetadata; import com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest; import com.google.maps.routeoptimization.v1.BatchOptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata; import com.google.maps.routeoptimization.v1.OptimizeToursRequest; import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. @@ -60,6 +64,27 @@ public UnaryCallable batchOptimizeToursCal throw new UnsupportedOperationException("Not implemented: batchOptimizeToursCallable()"); } + public OperationCallable< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: optimizeToursLongRunningOperationCallable()"); + } + + public UnaryCallable optimizeToursLongRunningCallable() { + throw new UnsupportedOperationException("Not implemented: optimizeToursLongRunningCallable()"); + } + + public OperationCallable< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationCallable() { + throw new UnsupportedOperationException("Not implemented: optimizeToursUriOperationCallable()"); + } + + public UnaryCallable optimizeToursUriCallable() { + throw new UnsupportedOperationException("Not implemented: optimizeToursUriCallable()"); + } + @Override public abstract void close(); } diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStubSettings.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStubSettings.java index 2c4c70873784..7601647e5c6e 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStubSettings.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/RouteOptimizationStubSettings.java @@ -47,8 +47,12 @@ import com.google.maps.routeoptimization.v1.BatchOptimizeToursMetadata; import com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest; import com.google.maps.routeoptimization.v1.BatchOptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata; import com.google.maps.routeoptimization.v1.OptimizeToursRequest; import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; import java.io.IOException; import java.time.Duration; import java.util.List; @@ -144,6 +148,14 @@ public class RouteOptimizationStubSettings extends StubSettings batchOptimizeToursOperationSettings; + private final UnaryCallSettings optimizeToursLongRunningSettings; + private final OperationCallSettings< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings; + private final UnaryCallSettings optimizeToursUriSettings; + private final OperationCallSettings< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings; /** Returns the object with the settings used for calls to optimizeTours. */ public UnaryCallSettings optimizeToursSettings() { @@ -162,6 +174,30 @@ public UnaryCallSettings batchOptimizeTour return batchOptimizeToursOperationSettings; } + /** Returns the object with the settings used for calls to optimizeToursLongRunning. */ + public UnaryCallSettings optimizeToursLongRunningSettings() { + return optimizeToursLongRunningSettings; + } + + /** Returns the object with the settings used for calls to optimizeToursLongRunning. */ + public OperationCallSettings< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings() { + return optimizeToursLongRunningOperationSettings; + } + + /** Returns the object with the settings used for calls to optimizeToursUri. */ + public UnaryCallSettings optimizeToursUriSettings() { + return optimizeToursUriSettings; + } + + /** Returns the object with the settings used for calls to optimizeToursUri. */ + public OperationCallSettings< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings() { + return optimizeToursUriOperationSettings; + } + public RouteOptimizationStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -277,6 +313,11 @@ protected RouteOptimizationStubSettings(Builder settingsBuilder) throws IOExcept batchOptimizeToursSettings = settingsBuilder.batchOptimizeToursSettings().build(); batchOptimizeToursOperationSettings = settingsBuilder.batchOptimizeToursOperationSettings().build(); + optimizeToursLongRunningSettings = settingsBuilder.optimizeToursLongRunningSettings().build(); + optimizeToursLongRunningOperationSettings = + settingsBuilder.optimizeToursLongRunningOperationSettings().build(); + optimizeToursUriSettings = settingsBuilder.optimizeToursUriSettings().build(); + optimizeToursUriOperationSettings = settingsBuilder.optimizeToursUriOperationSettings().build(); } /** Builder for RouteOptimizationStubSettings. */ @@ -289,6 +330,16 @@ public static class Builder extends StubSettings.Builder batchOptimizeToursOperationSettings; + private final UnaryCallSettings.Builder + optimizeToursLongRunningSettings; + private final OperationCallSettings.Builder< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings; + private final UnaryCallSettings.Builder + optimizeToursUriSettings; + private final OperationCallSettings.Builder< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -333,10 +384,17 @@ protected Builder(ClientContext clientContext) { optimizeToursSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); batchOptimizeToursSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); batchOptimizeToursOperationSettings = OperationCallSettings.newBuilder(); + optimizeToursLongRunningSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + optimizeToursLongRunningOperationSettings = OperationCallSettings.newBuilder(); + optimizeToursUriSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + optimizeToursUriOperationSettings = OperationCallSettings.newBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( - optimizeToursSettings, batchOptimizeToursSettings); + optimizeToursSettings, + batchOptimizeToursSettings, + optimizeToursLongRunningSettings, + optimizeToursUriSettings); initDefaults(this); } @@ -347,10 +405,18 @@ protected Builder(RouteOptimizationStubSettings settings) { batchOptimizeToursSettings = settings.batchOptimizeToursSettings.toBuilder(); batchOptimizeToursOperationSettings = settings.batchOptimizeToursOperationSettings.toBuilder(); + optimizeToursLongRunningSettings = settings.optimizeToursLongRunningSettings.toBuilder(); + optimizeToursLongRunningOperationSettings = + settings.optimizeToursLongRunningOperationSettings.toBuilder(); + optimizeToursUriSettings = settings.optimizeToursUriSettings.toBuilder(); + optimizeToursUriOperationSettings = settings.optimizeToursUriOperationSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( - optimizeToursSettings, batchOptimizeToursSettings); + optimizeToursSettings, + batchOptimizeToursSettings, + optimizeToursLongRunningSettings, + optimizeToursUriSettings); } private static Builder createDefault() { @@ -388,6 +454,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .optimizeToursLongRunningSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .optimizeToursUriSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .batchOptimizeToursOperationSettings() .setInitialCallSettings( @@ -414,6 +490,55 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeoutDuration(Duration.ofMillis(300000L)) .build())); + builder + .optimizeToursLongRunningOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(OptimizeToursResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + OptimizeToursLongRunningMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelayDuration(Duration.ofMillis(45000L)) + .setInitialRpcTimeoutDuration(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ZERO) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build())); + + builder + .optimizeToursUriOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(OptimizeToursUriResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OptimizeToursUriMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelayDuration(Duration.ofMillis(45000L)) + .setInitialRpcTimeoutDuration(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ZERO) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -451,6 +576,32 @@ public Builder applyToAllUnaryMethods( return batchOptimizeToursOperationSettings; } + /** Returns the builder for the settings used for calls to optimizeToursLongRunning. */ + public UnaryCallSettings.Builder + optimizeToursLongRunningSettings() { + return optimizeToursLongRunningSettings; + } + + /** Returns the builder for the settings used for calls to optimizeToursLongRunning. */ + public OperationCallSettings.Builder< + OptimizeToursRequest, OptimizeToursResponse, OptimizeToursLongRunningMetadata> + optimizeToursLongRunningOperationSettings() { + return optimizeToursLongRunningOperationSettings; + } + + /** Returns the builder for the settings used for calls to optimizeToursUri. */ + public UnaryCallSettings.Builder + optimizeToursUriSettings() { + return optimizeToursUriSettings; + } + + /** Returns the builder for the settings used for calls to optimizeToursUri. */ + public OperationCallSettings.Builder< + OptimizeToursUriRequest, OptimizeToursUriResponse, OptimizeToursUriMetadata> + optimizeToursUriOperationSettings() { + return optimizeToursUriOperationSettings; + } + @Override public RouteOptimizationStubSettings build() throws IOException { return new RouteOptimizationStubSettings(this); diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/resources/META-INF/native-image/com.google.maps.routeoptimization.v1/reflect-config.json b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/resources/META-INF/native-image/com.google.maps.routeoptimization.v1/reflect-config.json index ea2386bbc833..70851bdae04f 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/resources/META-INF/native-image/com.google.maps.routeoptimization.v1/reflect-config.json +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/resources/META-INF/native-image/com.google.maps.routeoptimization.v1/reflect-config.json @@ -863,6 +863,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.OptimizeToursRequest", "queryAllDeclaredConstructors": true, @@ -935,6 +953,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.OptimizeToursUriResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.OptimizeToursValidationError", "queryAllDeclaredConstructors": true, @@ -1115,6 +1187,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.ShipmentModel$Objective", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.ShipmentModel$Objective$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.ShipmentModel$Objective$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.ShipmentModel$PrecedenceRule", "queryAllDeclaredConstructors": true, @@ -1376,6 +1475,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.Uri", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.Uri$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.Vehicle", "queryAllDeclaredConstructors": true, @@ -1448,6 +1565,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.Vehicle$LoadLimit$LoadCost", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.Vehicle$LoadLimit$LoadCost$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.Vehicle$TravelMode", "queryAllDeclaredConstructors": true, @@ -1466,6 +1601,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.maps.routeoptimization.v1.VehicleFullness", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.maps.routeoptimization.v1.VehicleFullness$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.maps.routeoptimization.v1.Waypoint", "queryAllDeclaredConstructors": true, diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/MockRouteOptimizationImpl.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/MockRouteOptimizationImpl.java index ca2812321243..ad3638082ccb 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/MockRouteOptimizationImpl.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/MockRouteOptimizationImpl.java @@ -100,4 +100,47 @@ public void batchOptimizeTours( Exception.class.getName()))); } } + + @Override + public void optimizeToursLongRunning( + OptimizeToursRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method OptimizeToursLongRunning, expected %s" + + " or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void optimizeToursUri( + OptimizeToursUriRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method OptimizeToursUri, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientHttpJsonTest.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientHttpJsonTest.java index b8eceec70ba9..a63221f606ae 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientHttpJsonTest.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientHttpJsonTest.java @@ -84,6 +84,7 @@ public void optimizeToursTest() throws Exception { .setRequestLabel("requestLabel1285152165") .addAllSkippedShipments(new ArrayList()) .addAllValidationErrors(new ArrayList()) + .setProcessedRequest(OptimizeToursRequest.newBuilder().build()) .setMetrics(OptimizeToursResponse.Metrics.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -211,4 +212,149 @@ public void batchOptimizeToursExceptionTest() throws Exception { } catch (ExecutionException e) { } } + + @Test + public void optimizeToursLongRunningTest() throws Exception { + OptimizeToursResponse expectedResponse = + OptimizeToursResponse.newBuilder() + .addAllRoutes(new ArrayList()) + .setRequestLabel("requestLabel1285152165") + .addAllSkippedShipments(new ArrayList()) + .addAllValidationErrors(new ArrayList()) + .setProcessedRequest(OptimizeToursRequest.newBuilder().build()) + .setMetrics(OptimizeToursResponse.Metrics.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("optimizeToursLongRunningTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("projects/project-5833/locations/location-5833") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + + OptimizeToursResponse actualResponse = client.optimizeToursLongRunningAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void optimizeToursLongRunningExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("projects/project-5833/locations/location-5833") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + client.optimizeToursLongRunningAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void optimizeToursUriTest() throws Exception { + OptimizeToursUriResponse expectedResponse = + OptimizeToursUriResponse.newBuilder().setOutput(Uri.newBuilder().build()).build(); + Operation resultOperation = + Operation.newBuilder() + .setName("optimizeToursUriTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("projects/project-5833/locations/location-5833") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + + OptimizeToursUriResponse actualResponse = client.optimizeToursUriAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void optimizeToursUriExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("projects/project-5833/locations/location-5833") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + client.optimizeToursUriAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } } diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientTest.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientTest.java index d61902d9c088..bac40ca51443 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientTest.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/test/java/com/google/maps/routeoptimization/v1/RouteOptimizationClientTest.java @@ -89,6 +89,7 @@ public void optimizeToursTest() throws Exception { .setRequestLabel("requestLabel1285152165") .addAllSkippedShipments(new ArrayList()) .addAllValidationErrors(new ArrayList()) + .setProcessedRequest(OptimizeToursRequest.newBuilder().build()) .setMetrics(OptimizeToursResponse.Metrics.newBuilder().build()) .build(); mockRouteOptimization.addResponse(expectedResponse); @@ -234,4 +235,171 @@ public void batchOptimizeToursExceptionTest() throws Exception { Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); } } + + @Test + public void optimizeToursLongRunningTest() throws Exception { + OptimizeToursResponse expectedResponse = + OptimizeToursResponse.newBuilder() + .addAllRoutes(new ArrayList()) + .setRequestLabel("requestLabel1285152165") + .addAllSkippedShipments(new ArrayList()) + .addAllValidationErrors(new ArrayList()) + .setProcessedRequest(OptimizeToursRequest.newBuilder().build()) + .setMetrics(OptimizeToursResponse.Metrics.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("optimizeToursLongRunningTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockRouteOptimization.addResponse(resultOperation); + + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("parent-995424086") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + + OptimizeToursResponse actualResponse = client.optimizeToursLongRunningAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockRouteOptimization.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + OptimizeToursRequest actualRequest = ((OptimizeToursRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getTimeout(), actualRequest.getTimeout()); + Assert.assertEquals(request.getModel(), actualRequest.getModel()); + Assert.assertEquals(request.getSolvingMode(), actualRequest.getSolvingMode()); + Assert.assertEquals(request.getSearchMode(), actualRequest.getSearchMode()); + Assert.assertEquals( + request.getInjectedFirstSolutionRoutesList(), + actualRequest.getInjectedFirstSolutionRoutesList()); + Assert.assertEquals( + request.getInjectedSolutionConstraint(), actualRequest.getInjectedSolutionConstraint()); + Assert.assertEquals( + request.getRefreshDetailsRoutesList(), actualRequest.getRefreshDetailsRoutesList()); + Assert.assertEquals( + request.getInterpretInjectedSolutionsUsingLabels(), + actualRequest.getInterpretInjectedSolutionsUsingLabels()); + Assert.assertEquals(request.getConsiderRoadTraffic(), actualRequest.getConsiderRoadTraffic()); + Assert.assertEquals(request.getPopulatePolylines(), actualRequest.getPopulatePolylines()); + Assert.assertEquals( + request.getPopulateTransitionPolylines(), actualRequest.getPopulateTransitionPolylines()); + Assert.assertEquals( + request.getAllowLargeDeadlineDespiteInterruptionRisk(), + actualRequest.getAllowLargeDeadlineDespiteInterruptionRisk()); + Assert.assertEquals(request.getUseGeodesicDistances(), actualRequest.getUseGeodesicDistances()); + Assert.assertEquals( + request.getGeodesicMetersPerSecond(), actualRequest.getGeodesicMetersPerSecond(), 0.0001); + Assert.assertEquals(request.getMaxValidationErrors(), actualRequest.getMaxValidationErrors()); + Assert.assertEquals(request.getLabel(), actualRequest.getLabel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void optimizeToursLongRunningExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockRouteOptimization.addException(exception); + + try { + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("parent-995424086") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + client.optimizeToursLongRunningAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void optimizeToursUriTest() throws Exception { + OptimizeToursUriResponse expectedResponse = + OptimizeToursUriResponse.newBuilder().setOutput(Uri.newBuilder().build()).build(); + Operation resultOperation = + Operation.newBuilder() + .setName("optimizeToursUriTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockRouteOptimization.addResponse(resultOperation); + + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("parent-995424086") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + + OptimizeToursUriResponse actualResponse = client.optimizeToursUriAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockRouteOptimization.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + OptimizeToursUriRequest actualRequest = ((OptimizeToursUriRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getInput(), actualRequest.getInput()); + Assert.assertEquals(request.getOutput(), actualRequest.getOutput()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void optimizeToursUriExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockRouteOptimization.addException(exception); + + try { + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("parent-995424086") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + client.optimizeToursUriAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } } diff --git a/java-maps-routeoptimization/grpc-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationGrpc.java b/java-maps-routeoptimization/grpc-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationGrpc.java index 602d8ffbc5cb..17810b1989cf 100644 --- a/java-maps-routeoptimization/grpc-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationGrpc.java +++ b/java-maps-routeoptimization/grpc-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationGrpc.java @@ -144,6 +144,103 @@ private RouteOptimizationGrpc() {} return getBatchOptimizeToursMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.longrunning.Operation> + getOptimizeToursLongRunningMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "OptimizeToursLongRunning", + requestType = com.google.maps.routeoptimization.v1.OptimizeToursRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.longrunning.Operation> + getOptimizeToursLongRunningMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.longrunning.Operation> + getOptimizeToursLongRunningMethod; + if ((getOptimizeToursLongRunningMethod = + RouteOptimizationGrpc.getOptimizeToursLongRunningMethod) + == null) { + synchronized (RouteOptimizationGrpc.class) { + if ((getOptimizeToursLongRunningMethod = + RouteOptimizationGrpc.getOptimizeToursLongRunningMethod) + == null) { + RouteOptimizationGrpc.getOptimizeToursLongRunningMethod = + getOptimizeToursLongRunningMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "OptimizeToursLongRunning")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routeoptimization.v1.OptimizeToursRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new RouteOptimizationMethodDescriptorSupplier("OptimizeToursLongRunning")) + .build(); + } + } + } + return getOptimizeToursLongRunningMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest, + com.google.longrunning.Operation> + getOptimizeToursUriMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "OptimizeToursUri", + requestType = com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest, + com.google.longrunning.Operation> + getOptimizeToursUriMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest, + com.google.longrunning.Operation> + getOptimizeToursUriMethod; + if ((getOptimizeToursUriMethod = RouteOptimizationGrpc.getOptimizeToursUriMethod) == null) { + synchronized (RouteOptimizationGrpc.class) { + if ((getOptimizeToursUriMethod = RouteOptimizationGrpc.getOptimizeToursUriMethod) == null) { + RouteOptimizationGrpc.getOptimizeToursUriMethod = + getOptimizeToursUriMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OptimizeToursUri")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new RouteOptimizationMethodDescriptorSupplier("OptimizeToursUri")) + .build(); + } + } + } + return getOptimizeToursUriMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static RouteOptimizationStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -277,6 +374,73 @@ default void batchOptimizeTours( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getBatchOptimizeToursMethod(), responseObserver); } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]
+     * method designed for
+     * optimizations with large timeout values. It should be preferred over the
+     * `OptimizeTours` method for optimizations that take longer than
+     * a few minutes.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + default void optimizeToursLongRunning( + com.google.maps.routeoptimization.v1.OptimizeToursRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getOptimizeToursLongRunningMethod(), responseObserver); + } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]
+     * method designed for optimizations with large timeout values and large
+     * input/output sizes.
+     * The client specifies the URI of the `OptimizeToursRequest` stored
+     * in Google Cloud Storage and the server writes the `OptimizeToursResponse`
+     * to a client-specified Google Cloud Storage URI.
+     * This method should be preferred over the `OptimizeTours` method for
+     * optimizations that take longer than a few minutes and input/output sizes
+     * that are larger than 8MB, though it can be used for shorter and smaller
+     * optimizations as well.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + default void optimizeToursUri( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getOptimizeToursUriMethod(), responseObserver); + } } /** @@ -402,6 +566,77 @@ public void batchOptimizeTours( request, responseObserver); } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]
+     * method designed for
+     * optimizations with large timeout values. It should be preferred over the
+     * `OptimizeTours` method for optimizations that take longer than
+     * a few minutes.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public void optimizeToursLongRunning( + com.google.maps.routeoptimization.v1.OptimizeToursRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getOptimizeToursLongRunningMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]
+     * method designed for optimizations with large timeout values and large
+     * input/output sizes.
+     * The client specifies the URI of the `OptimizeToursRequest` stored
+     * in Google Cloud Storage and the server writes the `OptimizeToursResponse`
+     * to a client-specified Google Cloud Storage URI.
+     * This method should be preferred over the `OptimizeTours` method for
+     * optimizations that take longer than a few minutes and input/output sizes
+     * that are larger than 8MB, though it can be used for shorter and smaller
+     * optimizations as well.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public void optimizeToursUri( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getOptimizeToursUriMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -491,6 +726,71 @@ public com.google.longrunning.Operation batchOptimizeTours( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchOptimizeToursMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]
+     * method designed for
+     * optimizations with large timeout values. It should be preferred over the
+     * `OptimizeTours` method for optimizations that take longer than
+     * a few minutes.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.longrunning.Operation optimizeToursLongRunning( + com.google.maps.routeoptimization.v1.OptimizeToursRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getOptimizeToursLongRunningMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]
+     * method designed for optimizations with large timeout values and large
+     * input/output sizes.
+     * The client specifies the URI of the `OptimizeToursRequest` stored
+     * in Google Cloud Storage and the server writes the `OptimizeToursResponse`
+     * to a client-specified Google Cloud Storage URI.
+     * This method should be preferred over the `OptimizeTours` method for
+     * optimizations that take longer than a few minutes and input/output sizes
+     * that are larger than 8MB, though it can be used for shorter and smaller
+     * optimizations as well.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.longrunning.Operation optimizeToursUri( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getOptimizeToursUriMethod(), getCallOptions(), request); + } } /** @@ -580,6 +880,71 @@ public com.google.longrunning.Operation batchOptimizeTours( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchOptimizeToursMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]
+     * method designed for
+     * optimizations with large timeout values. It should be preferred over the
+     * `OptimizeTours` method for optimizations that take longer than
+     * a few minutes.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.longrunning.Operation optimizeToursLongRunning( + com.google.maps.routeoptimization.v1.OptimizeToursRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getOptimizeToursLongRunningMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]
+     * method designed for optimizations with large timeout values and large
+     * input/output sizes.
+     * The client specifies the URI of the `OptimizeToursRequest` stored
+     * in Google Cloud Storage and the server writes the `OptimizeToursResponse`
+     * to a client-specified Google Cloud Storage URI.
+     * This method should be preferred over the `OptimizeTours` method for
+     * optimizations that take longer than a few minutes and input/output sizes
+     * that are larger than 8MB, though it can be used for shorter and smaller
+     * optimizations as well.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.longrunning.Operation optimizeToursUri( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getOptimizeToursUriMethod(), getCallOptions(), request); + } } /** @@ -669,10 +1034,78 @@ protected RouteOptimizationFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchOptimizeToursMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]
+     * method designed for
+     * optimizations with large timeout values. It should be preferred over the
+     * `OptimizeTours` method for optimizations that take longer than
+     * a few minutes.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + optimizeToursLongRunning( + com.google.maps.routeoptimization.v1.OptimizeToursRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getOptimizeToursLongRunningMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * This is a variant of the
+     * [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]
+     * method designed for optimizations with large timeout values and large
+     * input/output sizes.
+     * The client specifies the URI of the `OptimizeToursRequest` stored
+     * in Google Cloud Storage and the server writes the `OptimizeToursResponse`
+     * to a client-specified Google Cloud Storage URI.
+     * This method should be preferred over the `OptimizeTours` method for
+     * optimizations that take longer than a few minutes and input/output sizes
+     * that are larger than 8MB, though it can be used for shorter and smaller
+     * optimizations as well.
+     * The returned [long-running operation][google.longrunning.Operation] (LRO)
+     * will have a name of the format
+     * `<parent>/operations/<operation_id>` and can be used to track
+     * progress of the computation. The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].
+     * The [response][google.longrunning.Operation.response] field type is
+     * [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],
+     * if successful.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request
+     * for more details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + optimizeToursUri(com.google.maps.routeoptimization.v1.OptimizeToursUriRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getOptimizeToursUriMethod(), getCallOptions()), request); + } } private static final int METHODID_OPTIMIZE_TOURS = 0; private static final int METHODID_BATCH_OPTIMIZE_TOURS = 1; + private static final int METHODID_OPTIMIZE_TOURS_LONG_RUNNING = 2; + private static final int METHODID_OPTIMIZE_TOURS_URI = 3; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -703,6 +1136,16 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_OPTIMIZE_TOURS_LONG_RUNNING: + serviceImpl.optimizeToursLongRunning( + (com.google.maps.routeoptimization.v1.OptimizeToursRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_OPTIMIZE_TOURS_URI: + serviceImpl.optimizeToursUri( + (com.google.maps.routeoptimization.v1.OptimizeToursUriRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -734,6 +1177,19 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.maps.routeoptimization.v1.BatchOptimizeToursRequest, com.google.longrunning.Operation>(service, METHODID_BATCH_OPTIMIZE_TOURS))) + .addMethod( + getOptimizeToursLongRunningMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.longrunning.Operation>( + service, METHODID_OPTIMIZE_TOURS_LONG_RUNNING))) + .addMethod( + getOptimizeToursUriMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest, + com.google.longrunning.Operation>(service, METHODID_OPTIMIZE_TOURS_URI))) .build(); } @@ -787,6 +1243,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .setSchemaDescriptor(new RouteOptimizationFileDescriptorSupplier()) .addMethod(getOptimizeToursMethod()) .addMethod(getBatchOptimizeToursMethod()) + .addMethod(getOptimizeToursLongRunningMethod()) + .addMethod(getOptimizeToursUriMethod()) .build(); } } diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetrics.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetrics.java index 20960d45ece6..9f72d4b62cb8 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetrics.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetrics.java @@ -102,6 +102,88 @@ public int getPerformedShipmentCount() { return performedShipmentCount_; } + public static final int PERFORMED_MANDATORY_SHIPMENT_COUNT_FIELD_NUMBER = 12; + private int performedMandatoryShipmentCount_ = 0; + + /** + * + * + *
+   * Number of mandatory shipments performed.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return Whether the performedMandatoryShipmentCount field is set. + */ + @java.lang.Override + public boolean hasPerformedMandatoryShipmentCount() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Number of mandatory shipments performed.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return The performedMandatoryShipmentCount. + */ + @java.lang.Override + public int getPerformedMandatoryShipmentCount() { + return performedMandatoryShipmentCount_; + } + + public static final int PERFORMED_SHIPMENT_PENALTY_COST_SUM_FIELD_NUMBER = 13; + private double performedShipmentPenaltyCostSum_ = 0D; + + /** + * + * + *
+   * The sum of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+   * of the performed shipments.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return Whether the performedShipmentPenaltyCostSum field is set. + */ + @java.lang.Override + public boolean hasPerformedShipmentPenaltyCostSum() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * The sum of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+   * of the performed shipments.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return The performedShipmentPenaltyCostSum. + */ + @java.lang.Override + public double getPerformedShipmentPenaltyCostSum() { + return performedShipmentPenaltyCostSum_; + } + public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; @@ -118,7 +200,7 @@ public int getPerformedShipmentCount() { */ @java.lang.Override public boolean hasTravelDuration() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** @@ -171,7 +253,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { */ @java.lang.Override public boolean hasWaitDuration() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -224,7 +306,7 @@ public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder() { */ @java.lang.Override public boolean hasDelayDuration() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** @@ -277,7 +359,7 @@ public com.google.protobuf.DurationOrBuilder getDelayDurationOrBuilder() { */ @java.lang.Override public boolean hasBreakDuration() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -330,7 +412,7 @@ public com.google.protobuf.DurationOrBuilder getBreakDurationOrBuilder() { */ @java.lang.Override public boolean hasVisitDuration() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -389,7 +471,7 @@ public com.google.protobuf.DurationOrBuilder getVisitDurationOrBuilder() { */ @java.lang.Override public boolean hasTotalDuration() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -626,22 +708,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (performedShipmentCount_ != 0) { output.writeInt32(1, performedShipmentCount_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(2, getTravelDuration()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(3, getWaitDuration()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(4, getDelayDuration()); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(5, getBreakDuration()); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(6, getVisitDuration()); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(7, getTotalDuration()); } if (java.lang.Double.doubleToRawLongBits(travelDistanceMeters_) != 0) { @@ -649,6 +731,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMaxLoads(), MaxLoadsDefaultEntryHolder.defaultEntry, 9); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(12, performedMandatoryShipmentCount_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(13, performedShipmentPenaltyCostSum_); + } getUnknownFields().writeTo(output); } @@ -661,22 +749,22 @@ public int getSerializedSize() { if (performedShipmentCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, performedShipmentCount_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWaitDuration()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDelayDuration()); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getBreakDuration()); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getVisitDuration()); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTotalDuration()); } if (java.lang.Double.doubleToRawLongBits(travelDistanceMeters_) != 0) { @@ -695,6 +783,16 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, maxLoads__); } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 12, performedMandatoryShipmentCount_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 13, performedShipmentPenaltyCostSum_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -712,6 +810,19 @@ public boolean equals(final java.lang.Object obj) { (com.google.maps.routeoptimization.v1.AggregatedMetrics) obj; if (getPerformedShipmentCount() != other.getPerformedShipmentCount()) return false; + if (hasPerformedMandatoryShipmentCount() != other.hasPerformedMandatoryShipmentCount()) + return false; + if (hasPerformedMandatoryShipmentCount()) { + if (getPerformedMandatoryShipmentCount() != other.getPerformedMandatoryShipmentCount()) + return false; + } + if (hasPerformedShipmentPenaltyCostSum() != other.hasPerformedShipmentPenaltyCostSum()) + return false; + if (hasPerformedShipmentPenaltyCostSum()) { + if (java.lang.Double.doubleToLongBits(getPerformedShipmentPenaltyCostSum()) + != java.lang.Double.doubleToLongBits(other.getPerformedShipmentPenaltyCostSum())) + return false; + } if (hasTravelDuration() != other.hasTravelDuration()) return false; if (hasTravelDuration()) { if (!getTravelDuration().equals(other.getTravelDuration())) return false; @@ -752,6 +863,17 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PERFORMED_SHIPMENT_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPerformedShipmentCount(); + if (hasPerformedMandatoryShipmentCount()) { + hash = (37 * hash) + PERFORMED_MANDATORY_SHIPMENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPerformedMandatoryShipmentCount(); + } + if (hasPerformedShipmentPenaltyCostSum()) { + hash = (37 * hash) + PERFORMED_SHIPMENT_PENALTY_COST_SUM_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPerformedShipmentPenaltyCostSum())); + } if (hasTravelDuration()) { hash = (37 * hash) + TRAVEL_DURATION_FIELD_NUMBER; hash = (53 * hash) + getTravelDuration().hashCode(); @@ -970,6 +1092,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; performedShipmentCount_ = 0; + performedMandatoryShipmentCount_ = 0; + performedShipmentPenaltyCostSum_ = 0D; travelDuration_ = null; if (travelDurationBuilder_ != null) { travelDurationBuilder_.dispose(); @@ -1043,39 +1167,47 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.AggregatedMetric } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.travelDuration_ = - travelDurationBuilder_ == null ? travelDuration_ : travelDurationBuilder_.build(); + result.performedMandatoryShipmentCount_ = performedMandatoryShipmentCount_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.waitDuration_ = - waitDurationBuilder_ == null ? waitDuration_ : waitDurationBuilder_.build(); + result.performedShipmentPenaltyCostSum_ = performedShipmentPenaltyCostSum_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.delayDuration_ = - delayDurationBuilder_ == null ? delayDuration_ : delayDurationBuilder_.build(); + result.travelDuration_ = + travelDurationBuilder_ == null ? travelDuration_ : travelDurationBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.breakDuration_ = - breakDurationBuilder_ == null ? breakDuration_ : breakDurationBuilder_.build(); + result.waitDuration_ = + waitDurationBuilder_ == null ? waitDuration_ : waitDurationBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.visitDuration_ = - visitDurationBuilder_ == null ? visitDuration_ : visitDurationBuilder_.build(); + result.delayDuration_ = + delayDurationBuilder_ == null ? delayDuration_ : delayDurationBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.totalDuration_ = - totalDurationBuilder_ == null ? totalDuration_ : totalDurationBuilder_.build(); + result.breakDuration_ = + breakDurationBuilder_ == null ? breakDuration_ : breakDurationBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.travelDistanceMeters_ = travelDistanceMeters_; + result.visitDuration_ = + visitDurationBuilder_ == null ? visitDuration_ : visitDurationBuilder_.build(); + to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { + result.totalDuration_ = + totalDurationBuilder_ == null ? totalDuration_ : totalDurationBuilder_.build(); + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.travelDistanceMeters_ = travelDistanceMeters_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { result.maxLoads_ = internalGetMaxLoads().build(MaxLoadsDefaultEntryHolder.defaultEntry); } result.bitField0_ |= to_bitField0_; @@ -1130,6 +1262,12 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.AggregatedMetrics if (other.getPerformedShipmentCount() != 0) { setPerformedShipmentCount(other.getPerformedShipmentCount()); } + if (other.hasPerformedMandatoryShipmentCount()) { + setPerformedMandatoryShipmentCount(other.getPerformedMandatoryShipmentCount()); + } + if (other.hasPerformedShipmentPenaltyCostSum()) { + setPerformedShipmentPenaltyCostSum(other.getPerformedShipmentPenaltyCostSum()); + } if (other.hasTravelDuration()) { mergeTravelDuration(other.getTravelDuration()); } @@ -1152,7 +1290,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.AggregatedMetrics setTravelDistanceMeters(other.getTravelDistanceMeters()); } internalGetMutableMaxLoads().mergeFrom(other.internalGetMaxLoads()); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1188,43 +1326,43 @@ public Builder mergeFrom( case 18: { input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; break; } // case 18 case 26: { input.readMessage(getWaitDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; break; } // case 26 case 34: { input.readMessage(getDelayDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; break; } // case 34 case 42: { input.readMessage(getBreakDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; break; } // case 42 case 50: { input.readMessage(getVisitDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; break; } // case 50 case 58: { input.readMessage(getTotalDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; break; } // case 58 case 65: { travelDistanceMeters_ = input.readDouble(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; break; } // case 65 case 74: @@ -1239,9 +1377,21 @@ public Builder mergeFrom( internalGetMutableMaxLoads() .ensureBuilderMap() .put(maxLoads__.getKey(), maxLoads__.getValue()); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; break; } // case 74 + case 96: + { + performedMandatoryShipmentCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 96 + case 105: + { + performedShipmentPenaltyCostSum_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 105 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1320,6 +1470,174 @@ public Builder clearPerformedShipmentCount() { return this; } + private int performedMandatoryShipmentCount_; + + /** + * + * + *
+     * Number of mandatory shipments performed.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return Whether the performedMandatoryShipmentCount field is set. + */ + @java.lang.Override + public boolean hasPerformedMandatoryShipmentCount() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Number of mandatory shipments performed.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return The performedMandatoryShipmentCount. + */ + @java.lang.Override + public int getPerformedMandatoryShipmentCount() { + return performedMandatoryShipmentCount_; + } + + /** + * + * + *
+     * Number of mandatory shipments performed.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @param value The performedMandatoryShipmentCount to set. + * @return This builder for chaining. + */ + public Builder setPerformedMandatoryShipmentCount(int value) { + + performedMandatoryShipmentCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Number of mandatory shipments performed.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return This builder for chaining. + */ + public Builder clearPerformedMandatoryShipmentCount() { + bitField0_ = (bitField0_ & ~0x00000002); + performedMandatoryShipmentCount_ = 0; + onChanged(); + return this; + } + + private double performedShipmentPenaltyCostSum_; + + /** + * + * + *
+     * The sum of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+     * of the performed shipments.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return Whether the performedShipmentPenaltyCostSum field is set. + */ + @java.lang.Override + public boolean hasPerformedShipmentPenaltyCostSum() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * The sum of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+     * of the performed shipments.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return The performedShipmentPenaltyCostSum. + */ + @java.lang.Override + public double getPerformedShipmentPenaltyCostSum() { + return performedShipmentPenaltyCostSum_; + } + + /** + * + * + *
+     * The sum of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+     * of the performed shipments.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @param value The performedShipmentPenaltyCostSum to set. + * @return This builder for chaining. + */ + public Builder setPerformedShipmentPenaltyCostSum(double value) { + + performedShipmentPenaltyCostSum_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The sum of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+     * of the performed shipments.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return This builder for chaining. + */ + public Builder clearPerformedShipmentPenaltyCostSum() { + bitField0_ = (bitField0_ & ~0x00000004); + performedShipmentPenaltyCostSum_ = 0D; + onChanged(); + return this; + } + private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, @@ -1339,7 +1657,7 @@ public Builder clearPerformedShipmentCount() { * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -1381,7 +1699,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { } else { travelDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1401,7 +1719,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor } else { travelDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1417,7 +1735,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) + if (((bitField0_ & 0x00000008) != 0) && travelDuration_ != null && travelDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getTravelDurationBuilder().mergeFrom(value); @@ -1428,7 +1746,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { travelDurationBuilder_.mergeFrom(value); } if (travelDuration_ != null) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); } return this; @@ -1444,7 +1762,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration travel_duration = 2; */ public Builder clearTravelDuration() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000008); travelDuration_ = null; if (travelDurationBuilder_ != null) { travelDurationBuilder_.dispose(); @@ -1464,7 +1782,7 @@ public Builder clearTravelDuration() { * .google.protobuf.Duration travel_duration = 2; */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } @@ -1533,7 +1851,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { * @return Whether the waitDuration field is set. */ public boolean hasWaitDuration() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** @@ -1575,7 +1893,7 @@ public Builder setWaitDuration(com.google.protobuf.Duration value) { } else { waitDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1595,7 +1913,7 @@ public Builder setWaitDuration(com.google.protobuf.Duration.Builder builderForVa } else { waitDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1611,7 +1929,7 @@ public Builder setWaitDuration(com.google.protobuf.Duration.Builder builderForVa */ public Builder mergeWaitDuration(com.google.protobuf.Duration value) { if (waitDurationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000010) != 0) && waitDuration_ != null && waitDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getWaitDurationBuilder().mergeFrom(value); @@ -1622,7 +1940,7 @@ public Builder mergeWaitDuration(com.google.protobuf.Duration value) { waitDurationBuilder_.mergeFrom(value); } if (waitDuration_ != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); } return this; @@ -1638,7 +1956,7 @@ public Builder mergeWaitDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration wait_duration = 3; */ public Builder clearWaitDuration() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); waitDuration_ = null; if (waitDurationBuilder_ != null) { waitDurationBuilder_.dispose(); @@ -1658,7 +1976,7 @@ public Builder clearWaitDuration() { * .google.protobuf.Duration wait_duration = 3; */ public com.google.protobuf.Duration.Builder getWaitDurationBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return getWaitDurationFieldBuilder().getBuilder(); } @@ -1727,7 +2045,7 @@ public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder() { * @return Whether the delayDuration field is set. */ public boolean hasDelayDuration() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -1769,7 +2087,7 @@ public Builder setDelayDuration(com.google.protobuf.Duration value) { } else { delayDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1789,7 +2107,7 @@ public Builder setDelayDuration(com.google.protobuf.Duration.Builder builderForV } else { delayDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1805,7 +2123,7 @@ public Builder setDelayDuration(com.google.protobuf.Duration.Builder builderForV */ public Builder mergeDelayDuration(com.google.protobuf.Duration value) { if (delayDurationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000020) != 0) && delayDuration_ != null && delayDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDelayDurationBuilder().mergeFrom(value); @@ -1816,7 +2134,7 @@ public Builder mergeDelayDuration(com.google.protobuf.Duration value) { delayDurationBuilder_.mergeFrom(value); } if (delayDuration_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -1832,7 +2150,7 @@ public Builder mergeDelayDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration delay_duration = 4; */ public Builder clearDelayDuration() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); delayDuration_ = null; if (delayDurationBuilder_ != null) { delayDurationBuilder_.dispose(); @@ -1852,7 +2170,7 @@ public Builder clearDelayDuration() { * .google.protobuf.Duration delay_duration = 4; */ public com.google.protobuf.Duration.Builder getDelayDurationBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return getDelayDurationFieldBuilder().getBuilder(); } @@ -1921,7 +2239,7 @@ public com.google.protobuf.DurationOrBuilder getDelayDurationOrBuilder() { * @return Whether the breakDuration field is set. */ public boolean hasBreakDuration() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -1963,7 +2281,7 @@ public Builder setBreakDuration(com.google.protobuf.Duration value) { } else { breakDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1983,7 +2301,7 @@ public Builder setBreakDuration(com.google.protobuf.Duration.Builder builderForV } else { breakDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1999,7 +2317,7 @@ public Builder setBreakDuration(com.google.protobuf.Duration.Builder builderForV */ public Builder mergeBreakDuration(com.google.protobuf.Duration value) { if (breakDurationBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000040) != 0) && breakDuration_ != null && breakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getBreakDurationBuilder().mergeFrom(value); @@ -2010,7 +2328,7 @@ public Builder mergeBreakDuration(com.google.protobuf.Duration value) { breakDurationBuilder_.mergeFrom(value); } if (breakDuration_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -2026,7 +2344,7 @@ public Builder mergeBreakDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration break_duration = 5; */ public Builder clearBreakDuration() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); breakDuration_ = null; if (breakDurationBuilder_ != null) { breakDurationBuilder_.dispose(); @@ -2046,7 +2364,7 @@ public Builder clearBreakDuration() { * .google.protobuf.Duration break_duration = 5; */ public com.google.protobuf.Duration.Builder getBreakDurationBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return getBreakDurationFieldBuilder().getBuilder(); } @@ -2115,7 +2433,7 @@ public com.google.protobuf.DurationOrBuilder getBreakDurationOrBuilder() { * @return Whether the visitDuration field is set. */ public boolean hasVisitDuration() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -2157,7 +2475,7 @@ public Builder setVisitDuration(com.google.protobuf.Duration value) { } else { visitDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2177,7 +2495,7 @@ public Builder setVisitDuration(com.google.protobuf.Duration.Builder builderForV } else { visitDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2193,7 +2511,7 @@ public Builder setVisitDuration(com.google.protobuf.Duration.Builder builderForV */ public Builder mergeVisitDuration(com.google.protobuf.Duration value) { if (visitDurationBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) + if (((bitField0_ & 0x00000080) != 0) && visitDuration_ != null && visitDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getVisitDurationBuilder().mergeFrom(value); @@ -2204,7 +2522,7 @@ public Builder mergeVisitDuration(com.google.protobuf.Duration value) { visitDurationBuilder_.mergeFrom(value); } if (visitDuration_ != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); } return this; @@ -2220,7 +2538,7 @@ public Builder mergeVisitDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration visit_duration = 6; */ public Builder clearVisitDuration() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); visitDuration_ = null; if (visitDurationBuilder_ != null) { visitDurationBuilder_.dispose(); @@ -2240,7 +2558,7 @@ public Builder clearVisitDuration() { * .google.protobuf.Duration visit_duration = 6; */ public com.google.protobuf.Duration.Builder getVisitDurationBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return getVisitDurationFieldBuilder().getBuilder(); } @@ -2315,7 +2633,7 @@ public com.google.protobuf.DurationOrBuilder getVisitDurationOrBuilder() { * @return Whether the totalDuration field is set. */ public boolean hasTotalDuration() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -2369,7 +2687,7 @@ public Builder setTotalDuration(com.google.protobuf.Duration value) { } else { totalDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2395,7 +2713,7 @@ public Builder setTotalDuration(com.google.protobuf.Duration.Builder builderForV } else { totalDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2417,7 +2735,7 @@ public Builder setTotalDuration(com.google.protobuf.Duration.Builder builderForV */ public Builder mergeTotalDuration(com.google.protobuf.Duration value) { if (totalDurationBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) + if (((bitField0_ & 0x00000100) != 0) && totalDuration_ != null && totalDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getTotalDurationBuilder().mergeFrom(value); @@ -2428,7 +2746,7 @@ public Builder mergeTotalDuration(com.google.protobuf.Duration value) { totalDurationBuilder_.mergeFrom(value); } if (totalDuration_ != null) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); } return this; @@ -2450,7 +2768,7 @@ public Builder mergeTotalDuration(com.google.protobuf.Duration value) { * .google.protobuf.Duration total_duration = 7; */ public Builder clearTotalDuration() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); totalDuration_ = null; if (totalDurationBuilder_ != null) { totalDurationBuilder_.dispose(); @@ -2476,7 +2794,7 @@ public Builder clearTotalDuration() { * .google.protobuf.Duration total_duration = 7; */ public com.google.protobuf.Duration.Builder getTotalDurationBuilder() { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return getTotalDurationFieldBuilder().getBuilder(); } @@ -2571,7 +2889,7 @@ public double getTravelDistanceMeters() { public Builder setTravelDistanceMeters(double value) { travelDistanceMeters_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2588,7 +2906,7 @@ public Builder setTravelDistanceMeters(double value) { * @return This builder for chaining. */ public Builder clearTravelDistanceMeters() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); travelDistanceMeters_ = 0D; onChanged(); return this; @@ -2648,7 +2966,7 @@ public com.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad build( if (maxLoads_ == null) { maxLoads_ = new com.google.protobuf.MapFieldBuilder<>(maxLoadsConverter); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return maxLoads_; } @@ -2778,7 +3096,7 @@ public com.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad getMaxLoad } public Builder clearMaxLoads() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); internalGetMutableMaxLoads().clear(); return this; } @@ -2812,7 +3130,7 @@ public Builder removeMaxLoads(java.lang.String key) { public java.util.Map< java.lang.String, com.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad> getMutableMaxLoads() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; return internalGetMutableMaxLoads().ensureMessageMap(); } @@ -2842,7 +3160,7 @@ public Builder putMaxLoads( throw new NullPointerException("map value"); } internalGetMutableMaxLoads().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; return this; } @@ -2874,7 +3192,7 @@ public Builder putAllMaxLoads( } } internalGetMutableMaxLoads().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; return this; } diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetricsOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetricsOrBuilder.java index 0817e140d04e..4749648c397d 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetricsOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/AggregatedMetricsOrBuilder.java @@ -38,6 +38,70 @@ public interface AggregatedMetricsOrBuilder */ int getPerformedShipmentCount(); + /** + * + * + *
+   * Number of mandatory shipments performed.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return Whether the performedMandatoryShipmentCount field is set. + */ + boolean hasPerformedMandatoryShipmentCount(); + + /** + * + * + *
+   * Number of mandatory shipments performed.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional int32 performed_mandatory_shipment_count = 12; + * + * @return The performedMandatoryShipmentCount. + */ + int getPerformedMandatoryShipmentCount(); + + /** + * + * + *
+   * The sum of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+   * of the performed shipments.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return Whether the performedShipmentPenaltyCostSum field is set. + */ + boolean hasPerformedShipmentPenaltyCostSum(); + + /** + * + * + *
+   * The sum of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]
+   * of the performed shipments.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double performed_shipment_penalty_cost_sum = 13; + * + * @return The performedShipmentPenaltyCostSum. + */ + double getPerformedShipmentPenaltyCostSum(); + /** * * diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadata.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadata.java new file mode 100644 index 000000000000..1b4143d7a5a6 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadata.java @@ -0,0 +1,446 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * Operation metadata for `OptimizeToursLongRunning` calls.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata} + */ +public final class OptimizeToursLongRunningMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) + OptimizeToursLongRunningMetadataOrBuilder { + private static final long serialVersionUID = 0L; + + // Use OptimizeToursLongRunningMetadata.newBuilder() to construct. + private OptimizeToursLongRunningMetadata( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OptimizeToursLongRunningMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OptimizeToursLongRunningMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata.class, + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata other = + (com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Operation metadata for `OptimizeToursLongRunning` calls.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata.class, + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata.Builder.class); + } + + // Construct using + // com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata build() { + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata buildPartial() { + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata result = + new com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) { + return mergeFrom( + (com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata other) { + if (other + == com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + .getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) + private static final com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata(); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeToursLongRunningMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadataOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadataOrBuilder.java new file mode 100644 index 000000000000..35145e474eec --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursLongRunningMetadataOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface OptimizeToursLongRunningMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursRequest.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursRequest.java index d2314d99376b..db56a82733b2 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursRequest.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursRequest.java @@ -131,6 +131,24 @@ public enum SolvingMode implements com.google.protobuf.ProtocolMessageEnum { * DETECT_SOME_INFEASIBLE_SHIPMENTS = 2; */ DETECT_SOME_INFEASIBLE_SHIPMENTS(2), + /** + * + * + *
+     * This mode only works if `ShipmentModel.objectives` is not empty. The
+     * request is not solved. It is only validated and filled with costs
+     * corresponding to the given objectives. Also see the documentation of
+     * `ShipmentModel.objectives`. The resulting request is returned as
+     * `OptimizeToursResponse.processed_request`.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * TRANSFORM_AND_RETURN_REQUEST = 3; + */ + TRANSFORM_AND_RETURN_REQUEST(3), UNRECOGNIZED(-1), ; @@ -184,6 +202,25 @@ public enum SolvingMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DETECT_SOME_INFEASIBLE_SHIPMENTS_VALUE = 2; + /** + * + * + *
+     * This mode only works if `ShipmentModel.objectives` is not empty. The
+     * request is not solved. It is only validated and filled with costs
+     * corresponding to the given objectives. Also see the documentation of
+     * `ShipmentModel.objectives`. The resulting request is returned as
+     * `OptimizeToursResponse.processed_request`.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * TRANSFORM_AND_RETURN_REQUEST = 3; + */ + public static final int TRANSFORM_AND_RETURN_REQUEST_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -214,6 +251,8 @@ public static SolvingMode forNumber(int value) { return VALIDATE_ONLY; case 2: return DETECT_SOME_INFEASIBLE_SHIPMENTS; + case 3: + return TRANSFORM_AND_RETURN_REQUEST; default: return null; } diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponse.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponse.java index e0bb37f848da..de4a3b5faa2a 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponse.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponse.java @@ -2830,6 +2830,78 @@ public com.google.maps.routeoptimization.v1.OptimizeToursValidationError getVali return validationErrors_.get(index); } + public static final int PROCESSED_REQUEST_FIELD_NUMBER = 21; + private com.google.maps.routeoptimization.v1.OptimizeToursRequest processedRequest_; + + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return Whether the processedRequest field is set. + */ + @java.lang.Override + public boolean hasProcessedRequest() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return The processedRequest. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursRequest getProcessedRequest() { + return processedRequest_ == null + ? com.google.maps.routeoptimization.v1.OptimizeToursRequest.getDefaultInstance() + : processedRequest_; + } + + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder + getProcessedRequestOrBuilder() { + return processedRequest_ == null + ? com.google.maps.routeoptimization.v1.OptimizeToursRequest.getDefaultInstance() + : processedRequest_; + } + public static final int METRICS_FIELD_NUMBER = 6; private com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics metrics_; @@ -2846,7 +2918,7 @@ public com.google.maps.routeoptimization.v1.OptimizeToursValidationError getVali */ @java.lang.Override public boolean hasMetrics() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** @@ -2910,9 +2982,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < validationErrors_.size(); i++) { output.writeMessage(5, validationErrors_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getMetrics()); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(21, getProcessedRequest()); + } getUnknownFields().writeTo(output); } @@ -2934,9 +3009,12 @@ public int getSerializedSize() { for (int i = 0; i < validationErrors_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, validationErrors_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetrics()); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getProcessedRequest()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2957,6 +3035,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRequestLabel().equals(other.getRequestLabel())) return false; if (!getSkippedShipmentsList().equals(other.getSkippedShipmentsList())) return false; if (!getValidationErrorsList().equals(other.getValidationErrorsList())) return false; + if (hasProcessedRequest() != other.hasProcessedRequest()) return false; + if (hasProcessedRequest()) { + if (!getProcessedRequest().equals(other.getProcessedRequest())) return false; + } if (hasMetrics() != other.hasMetrics()) return false; if (hasMetrics()) { if (!getMetrics().equals(other.getMetrics())) return false; @@ -2986,6 +3068,10 @@ public int hashCode() { hash = (37 * hash) + VALIDATION_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getValidationErrorsList().hashCode(); } + if (hasProcessedRequest()) { + hash = (37 * hash) + PROCESSED_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getProcessedRequest().hashCode(); + } if (hasMetrics()) { hash = (37 * hash) + METRICS_FIELD_NUMBER; hash = (53 * hash) + getMetrics().hashCode(); @@ -3137,6 +3223,7 @@ private void maybeForceBuilderInitialization() { getRoutesFieldBuilder(); getSkippedShipmentsFieldBuilder(); getValidationErrorsFieldBuilder(); + getProcessedRequestFieldBuilder(); getMetricsFieldBuilder(); } } @@ -3167,6 +3254,11 @@ public Builder clear() { validationErrorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); + processedRequest_ = null; + if (processedRequestBuilder_ != null) { + processedRequestBuilder_.dispose(); + processedRequestBuilder_ = null; + } metrics_ = null; if (metricsBuilder_ != null) { metricsBuilder_.dispose(); @@ -3245,9 +3337,14 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.OptimizeToursRes } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.metrics_ = metricsBuilder_ == null ? metrics_ : metricsBuilder_.build(); + result.processedRequest_ = + processedRequestBuilder_ == null ? processedRequest_ : processedRequestBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.metrics_ = metricsBuilder_ == null ? metrics_ : metricsBuilder_.build(); + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -3383,6 +3480,9 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.OptimizeToursRespo } } } + if (other.hasProcessedRequest()) { + mergeProcessedRequest(other.getProcessedRequest()); + } if (other.hasMetrics()) { mergeMetrics(other.getMetrics()); } @@ -3463,9 +3563,16 @@ public Builder mergeFrom( case 50: { input.readMessage(getMetricsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 50 + case 170: + { + input.readMessage( + getProcessedRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 170 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4892,6 +4999,260 @@ public Builder removeValidationErrors(int index) { return validationErrorsBuilder_; } + private com.google.maps.routeoptimization.v1.OptimizeToursRequest processedRequest_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.maps.routeoptimization.v1.OptimizeToursRequest.Builder, + com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder> + processedRequestBuilder_; + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return Whether the processedRequest field is set. + */ + public boolean hasProcessedRequest() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return The processedRequest. + */ + public com.google.maps.routeoptimization.v1.OptimizeToursRequest getProcessedRequest() { + if (processedRequestBuilder_ == null) { + return processedRequest_ == null + ? com.google.maps.routeoptimization.v1.OptimizeToursRequest.getDefaultInstance() + : processedRequest_; + } else { + return processedRequestBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public Builder setProcessedRequest( + com.google.maps.routeoptimization.v1.OptimizeToursRequest value) { + if (processedRequestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + processedRequest_ = value; + } else { + processedRequestBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public Builder setProcessedRequest( + com.google.maps.routeoptimization.v1.OptimizeToursRequest.Builder builderForValue) { + if (processedRequestBuilder_ == null) { + processedRequest_ = builderForValue.build(); + } else { + processedRequestBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public Builder mergeProcessedRequest( + com.google.maps.routeoptimization.v1.OptimizeToursRequest value) { + if (processedRequestBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && processedRequest_ != null + && processedRequest_ + != com.google.maps.routeoptimization.v1.OptimizeToursRequest.getDefaultInstance()) { + getProcessedRequestBuilder().mergeFrom(value); + } else { + processedRequest_ = value; + } + } else { + processedRequestBuilder_.mergeFrom(value); + } + if (processedRequest_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public Builder clearProcessedRequest() { + bitField0_ = (bitField0_ & ~0x00000010); + processedRequest_ = null; + if (processedRequestBuilder_ != null) { + processedRequestBuilder_.dispose(); + processedRequestBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public com.google.maps.routeoptimization.v1.OptimizeToursRequest.Builder + getProcessedRequestBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getProcessedRequestFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + public com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder + getProcessedRequestOrBuilder() { + if (processedRequestBuilder_ != null) { + return processedRequestBuilder_.getMessageOrBuilder(); + } else { + return processedRequest_ == null + ? com.google.maps.routeoptimization.v1.OptimizeToursRequest.getDefaultInstance() + : processedRequest_; + } + } + + /** + * + * + *
+     * In some cases we modify the incoming request before solving it, i.e. adding
+     * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+     * modified request is returned here.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.maps.routeoptimization.v1.OptimizeToursRequest.Builder, + com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder> + getProcessedRequestFieldBuilder() { + if (processedRequestBuilder_ == null) { + processedRequestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.OptimizeToursRequest, + com.google.maps.routeoptimization.v1.OptimizeToursRequest.Builder, + com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder>( + getProcessedRequest(), getParentForChildren(), isClean()); + processedRequest_ = null; + } + return processedRequestBuilder_; + } + private com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics metrics_; private com.google.protobuf.SingleFieldBuilderV3< com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics, @@ -4911,7 +5272,7 @@ public Builder removeValidationErrors(int index) { * @return Whether the metrics field is set. */ public boolean hasMetrics() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -4955,7 +5316,7 @@ public Builder setMetrics( } else { metricsBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -4977,7 +5338,7 @@ public Builder setMetrics( } else { metricsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -4994,7 +5355,7 @@ public Builder setMetrics( public Builder mergeMetrics( com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics value) { if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000020) != 0) && metrics_ != null && metrics_ != com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics @@ -5007,7 +5368,7 @@ public Builder mergeMetrics( metricsBuilder_.mergeFrom(value); } if (metrics_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -5023,7 +5384,7 @@ public Builder mergeMetrics( * .google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics metrics = 6; */ public Builder clearMetrics() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); metrics_ = null; if (metricsBuilder_ != null) { metricsBuilder_.dispose(); @@ -5044,7 +5405,7 @@ public Builder clearMetrics() { */ public com.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics.Builder getMetricsBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return getMetricsFieldBuilder().getBuilder(); } diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponseOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponseOrBuilder.java index ad44689afc9c..4b684e187e22 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponseOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursResponseOrBuilder.java @@ -261,6 +261,61 @@ com.google.maps.routeoptimization.v1.SkippedShipmentOrBuilder getSkippedShipment com.google.maps.routeoptimization.v1.OptimizeToursValidationErrorOrBuilder getValidationErrorsOrBuilder(int index); + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return Whether the processedRequest field is set. + */ + boolean hasProcessedRequest(); + + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + * + * @return The processedRequest. + */ + com.google.maps.routeoptimization.v1.OptimizeToursRequest getProcessedRequest(); + + /** + * + * + *
+   * In some cases we modify the incoming request before solving it, i.e. adding
+   * costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the
+   * modified request is returned here.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * .google.maps.routeoptimization.v1.OptimizeToursRequest processed_request = 21; + */ + com.google.maps.routeoptimization.v1.OptimizeToursRequestOrBuilder getProcessedRequestOrBuilder(); + /** * * diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadata.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadata.java new file mode 100644 index 000000000000..5e356a3f4890 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadata.java @@ -0,0 +1,438 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * Operation metadata for `OptimizeToursUri` calls.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriMetadata} + */ +public final class OptimizeToursUriMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.OptimizeToursUriMetadata) + OptimizeToursUriMetadataOrBuilder { + private static final long serialVersionUID = 0L; + + // Use OptimizeToursUriMetadata.newBuilder() to construct. + private OptimizeToursUriMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OptimizeToursUriMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OptimizeToursUriMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata other = + (com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Operation metadata for `OptimizeToursUri` calls.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.OptimizeToursUriMetadata) + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata build() { + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata buildPartial() { + com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata result = + new com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata) { + return mergeFrom((com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata other) { + if (other + == com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.OptimizeToursUriMetadata) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.OptimizeToursUriMetadata) + private static final com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata(); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeToursUriMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadataOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadataOrBuilder.java new file mode 100644 index 000000000000..24769afa01cb --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriMetadataOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface OptimizeToursUriMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.OptimizeToursUriMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequest.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequest.java new file mode 100644 index 000000000000..88416c30a0cf --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequest.java @@ -0,0 +1,1320 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * A request used by the `OptimizeToursUri` method.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriRequest} + */ +public final class OptimizeToursUriRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.OptimizeToursUriRequest) + OptimizeToursUriRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use OptimizeToursUriRequest.newBuilder() to construct. + private OptimizeToursUriRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OptimizeToursUriRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OptimizeToursUriRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. Target project or location to make a call.
+   *
+   * Format:
+   * * `projects/{project-id}`
+   * * `projects/{project-id}/locations/{location-id}`
+   *
+   * If no location is specified, a region will be chosen automatically.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Target project or location to make a call.
+   *
+   * Format:
+   * * `projects/{project-id}`
+   * * `projects/{project-id}/locations/{location-id}`
+   *
+   * If no location is specified, a region will be chosen automatically.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INPUT_FIELD_NUMBER = 2; + private com.google.maps.routeoptimization.v1.Uri input_; + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the input field is set. + */ + @java.lang.Override + public boolean hasInput() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The input. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri getInput() { + return input_ == null ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() : input_; + } + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.UriOrBuilder getInputOrBuilder() { + return input_ == null ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() : input_; + } + + public static final int OUTPUT_FIELD_NUMBER = 3; + private com.google.maps.routeoptimization.v1.Uri output_; + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the output field is set. + */ + @java.lang.Override + public boolean hasOutput() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The output. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri getOutput() { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder() { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getInput()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOutput()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInput()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutput()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriRequest)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest other = + (com.google.maps.routeoptimization.v1.OptimizeToursUriRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasInput() != other.hasInput()) return false; + if (hasInput()) { + if (!getInput().equals(other.getInput())) return false; + } + if (hasOutput() != other.hasOutput()) return false; + if (hasOutput()) { + if (!getOutput().equals(other.getOutput())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasInput()) { + hash = (37 * hash) + INPUT_FIELD_NUMBER; + hash = (53 * hash) + getInput().hashCode(); + } + if (hasOutput()) { + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A request used by the `OptimizeToursUri` method.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.OptimizeToursUriRequest) + com.google.maps.routeoptimization.v1.OptimizeToursUriRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getInputFieldBuilder(); + getOutputFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + input_ = null; + if (inputBuilder_ != null) { + inputBuilder_.dispose(); + inputBuilder_ = null; + } + output_ = null; + if (outputBuilder_ != null) { + outputBuilder_.dispose(); + outputBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriRequest + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriRequest build() { + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriRequest buildPartial() { + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest result = + new com.google.maps.routeoptimization.v1.OptimizeToursUriRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.maps.routeoptimization.v1.OptimizeToursUriRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.input_ = inputBuilder_ == null ? input_ : inputBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.output_ = outputBuilder_ == null ? output_ : outputBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriRequest) { + return mergeFrom((com.google.maps.routeoptimization.v1.OptimizeToursUriRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.OptimizeToursUriRequest other) { + if (other + == com.google.maps.routeoptimization.v1.OptimizeToursUriRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasInput()) { + mergeInput(other.getInput()); + } + if (other.hasOutput()) { + mergeOutput(other.getOutput()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getInputFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getOutputFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. Target project or location to make a call.
+     *
+     * Format:
+     * * `projects/{project-id}`
+     * * `projects/{project-id}/locations/{location-id}`
+     *
+     * If no location is specified, a region will be chosen automatically.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Target project or location to make a call.
+     *
+     * Format:
+     * * `projects/{project-id}`
+     * * `projects/{project-id}/locations/{location-id}`
+     *
+     * If no location is specified, a region will be chosen automatically.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Target project or location to make a call.
+     *
+     * Format:
+     * * `projects/{project-id}`
+     * * `projects/{project-id}/locations/{location-id}`
+     *
+     * If no location is specified, a region will be chosen automatically.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Target project or location to make a call.
+     *
+     * Format:
+     * * `projects/{project-id}`
+     * * `projects/{project-id}/locations/{location-id}`
+     *
+     * If no location is specified, a region will be chosen automatically.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Target project or location to make a call.
+     *
+     * Format:
+     * * `projects/{project-id}`
+     * * `projects/{project-id}/locations/{location-id}`
+     *
+     * If no location is specified, a region will be chosen automatically.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.maps.routeoptimization.v1.Uri input_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + inputBuilder_; + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the input field is set. + */ + public boolean hasInput() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The input. + */ + public com.google.maps.routeoptimization.v1.Uri getInput() { + if (inputBuilder_ == null) { + return input_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : input_; + } else { + return inputBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInput(com.google.maps.routeoptimization.v1.Uri value) { + if (inputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + input_ = value; + } else { + inputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInput(com.google.maps.routeoptimization.v1.Uri.Builder builderForValue) { + if (inputBuilder_ == null) { + input_ = builderForValue.build(); + } else { + inputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeInput(com.google.maps.routeoptimization.v1.Uri value) { + if (inputBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && input_ != null + && input_ != com.google.maps.routeoptimization.v1.Uri.getDefaultInstance()) { + getInputBuilder().mergeFrom(value); + } else { + input_ = value; + } + } else { + inputBuilder_.mergeFrom(value); + } + if (input_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearInput() { + bitField0_ = (bitField0_ & ~0x00000002); + input_ = null; + if (inputBuilder_ != null) { + inputBuilder_.dispose(); + inputBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.maps.routeoptimization.v1.Uri.Builder getInputBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getInputFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.maps.routeoptimization.v1.UriOrBuilder getInputOrBuilder() { + if (inputBuilder_ != null) { + return inputBuilder_.getMessageOrBuilder(); + } else { + return input_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : input_; + } + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object containing the
+     * `OptimizeToursRequest`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + getInputFieldBuilder() { + if (inputBuilder_ == null) { + inputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder>( + getInput(), getParentForChildren(), isClean()); + input_ = null; + } + return inputBuilder_; + } + + private com.google.maps.routeoptimization.v1.Uri output_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + outputBuilder_; + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the output field is set. + */ + public boolean hasOutput() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The output. + */ + public com.google.maps.routeoptimization.v1.Uri getOutput() { + if (outputBuilder_ == null) { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } else { + return outputBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setOutput(com.google.maps.routeoptimization.v1.Uri value) { + if (outputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + output_ = value; + } else { + outputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setOutput(com.google.maps.routeoptimization.v1.Uri.Builder builderForValue) { + if (outputBuilder_ == null) { + output_ = builderForValue.build(); + } else { + outputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeOutput(com.google.maps.routeoptimization.v1.Uri value) { + if (outputBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && output_ != null + && output_ != com.google.maps.routeoptimization.v1.Uri.getDefaultInstance()) { + getOutputBuilder().mergeFrom(value); + } else { + output_ = value; + } + } else { + outputBuilder_.mergeFrom(value); + } + if (output_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearOutput() { + bitField0_ = (bitField0_ & ~0x00000004); + output_ = null; + if (outputBuilder_ != null) { + outputBuilder_.dispose(); + outputBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.maps.routeoptimization.v1.Uri.Builder getOutputBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getOutputFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder() { + if (outputBuilder_ != null) { + return outputBuilder_.getMessageOrBuilder(); + } else { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + } + + /** + * + * + *
+     * Required. The URI of the Cloud Storage object that will contain the
+     * `OptimizeToursResponse`.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + getOutputFieldBuilder() { + if (outputBuilder_ == null) { + outputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder>( + getOutput(), getParentForChildren(), isClean()); + output_ = null; + } + return outputBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.OptimizeToursUriRequest) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.OptimizeToursUriRequest) + private static final com.google.maps.routeoptimization.v1.OptimizeToursUriRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.OptimizeToursUriRequest(); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeToursUriRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequestOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequestOrBuilder.java new file mode 100644 index 000000000000..45d0e368152c --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriRequestOrBuilder.java @@ -0,0 +1,156 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface OptimizeToursUriRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.OptimizeToursUriRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Target project or location to make a call.
+   *
+   * Format:
+   * * `projects/{project-id}`
+   * * `projects/{project-id}/locations/{location-id}`
+   *
+   * If no location is specified, a region will be chosen automatically.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. Target project or location to make a call.
+   *
+   * Format:
+   * * `projects/{project-id}`
+   * * `projects/{project-id}/locations/{location-id}`
+   *
+   * If no location is specified, a region will be chosen automatically.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the input field is set. + */ + boolean hasInput(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The input. + */ + com.google.maps.routeoptimization.v1.Uri getInput(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object containing the
+   * `OptimizeToursRequest`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri input = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.maps.routeoptimization.v1.UriOrBuilder getInputOrBuilder(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the output field is set. + */ + boolean hasOutput(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The output. + */ + com.google.maps.routeoptimization.v1.Uri getOutput(); + + /** + * + * + *
+   * Required. The URI of the Cloud Storage object that will contain the
+   * `OptimizeToursResponse`.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder(); +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponse.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponse.java new file mode 100644 index 000000000000..aef65122f82c --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponse.java @@ -0,0 +1,848 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * A response returned by the `OptimizeToursUri` method.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriResponse} + */ +public final class OptimizeToursUriResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.OptimizeToursUriResponse) + OptimizeToursUriResponseOrBuilder { + private static final long serialVersionUID = 0L; + + // Use OptimizeToursUriResponse.newBuilder() to construct. + private OptimizeToursUriResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OptimizeToursUriResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OptimizeToursUriResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.Builder.class); + } + + private int bitField0_; + public static final int OUTPUT_FIELD_NUMBER = 1; + private com.google.maps.routeoptimization.v1.Uri output_; + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the output field is set. + */ + @java.lang.Override + public boolean hasOutput() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The output. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri getOutput() { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder() { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getOutput()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutput()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriResponse)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse other = + (com.google.maps.routeoptimization.v1.OptimizeToursUriResponse) obj; + + if (hasOutput() != other.hasOutput()) return false; + if (hasOutput()) { + if (!getOutput().equals(other.getOutput())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOutput()) { + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A response returned by the `OptimizeToursUri` method.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.OptimizeToursUriResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.OptimizeToursUriResponse) + com.google.maps.routeoptimization.v1.OptimizeToursUriResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.class, + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getOutputFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + output_ = null; + if (outputBuilder_ != null) { + outputBuilder_.dispose(); + outputBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriResponse + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriResponse build() { + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriResponse buildPartial() { + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse result = + new com.google.maps.routeoptimization.v1.OptimizeToursUriResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.maps.routeoptimization.v1.OptimizeToursUriResponse result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.output_ = outputBuilder_ == null ? output_ : outputBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.OptimizeToursUriResponse) { + return mergeFrom((com.google.maps.routeoptimization.v1.OptimizeToursUriResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.OptimizeToursUriResponse other) { + if (other + == com.google.maps.routeoptimization.v1.OptimizeToursUriResponse.getDefaultInstance()) + return this; + if (other.hasOutput()) { + mergeOutput(other.getOutput()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getOutputFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.maps.routeoptimization.v1.Uri output_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + outputBuilder_; + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the output field is set. + */ + public boolean hasOutput() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The output. + */ + public com.google.maps.routeoptimization.v1.Uri getOutput() { + if (outputBuilder_ == null) { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } else { + return outputBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setOutput(com.google.maps.routeoptimization.v1.Uri value) { + if (outputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + output_ = value; + } else { + outputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setOutput(com.google.maps.routeoptimization.v1.Uri.Builder builderForValue) { + if (outputBuilder_ == null) { + output_ = builderForValue.build(); + } else { + outputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeOutput(com.google.maps.routeoptimization.v1.Uri value) { + if (outputBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && output_ != null + && output_ != com.google.maps.routeoptimization.v1.Uri.getDefaultInstance()) { + getOutputBuilder().mergeFrom(value); + } else { + output_ = value; + } + } else { + outputBuilder_.mergeFrom(value); + } + if (output_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearOutput() { + bitField0_ = (bitField0_ & ~0x00000001); + output_ = null; + if (outputBuilder_ != null) { + outputBuilder_.dispose(); + outputBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.maps.routeoptimization.v1.Uri.Builder getOutputBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getOutputFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder() { + if (outputBuilder_ != null) { + return outputBuilder_.getMessageOrBuilder(); + } else { + return output_ == null + ? com.google.maps.routeoptimization.v1.Uri.getDefaultInstance() + : output_; + } + } + + /** + * + * + *
+     * Optional. The URI of the Cloud Storage object containing the
+     * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+     * was encoded as JSON, the extension of the object name will be
+     * `.json`. If the object was encoded as textproto, the extension of the
+     * object name will be `.txtpb`.
+     *
+     * The `crc32_checksum` of the resource can be used to verify the contents of
+     * the resource have not been modified.
+     * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder> + getOutputFieldBuilder() { + if (outputBuilder_ == null) { + outputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Uri, + com.google.maps.routeoptimization.v1.Uri.Builder, + com.google.maps.routeoptimization.v1.UriOrBuilder>( + getOutput(), getParentForChildren(), isClean()); + output_ = null; + } + return outputBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.OptimizeToursUriResponse) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.OptimizeToursUriResponse) + private static final com.google.maps.routeoptimization.v1.OptimizeToursUriResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.OptimizeToursUriResponse(); + } + + public static com.google.maps.routeoptimization.v1.OptimizeToursUriResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeToursUriResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.OptimizeToursUriResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponseOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponseOrBuilder.java new file mode 100644 index 000000000000..cafeedf97934 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/OptimizeToursUriResponseOrBuilder.java @@ -0,0 +1,90 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface OptimizeToursUriResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.OptimizeToursUriResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the output field is set. + */ + boolean hasOutput(); + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The output. + */ + com.google.maps.routeoptimization.v1.Uri getOutput(); + + /** + * + * + *
+   * Optional. The URI of the Cloud Storage object containing the
+   * `OptimizeToursResponse` encoded as either JSON or textproto. If the object
+   * was encoded as JSON, the extension of the object name will be
+   * `.json`. If the object was encoded as textproto, the extension of the
+   * object name will be `.txtpb`.
+   *
+   * The `crc32_checksum` of the resource can be used to verify the contents of
+   * the resource have not been modified.
+   * 
+ * + * + * .google.maps.routeoptimization.v1.Uri output = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.maps.routeoptimization.v1.UriOrBuilder getOutputOrBuilder(); +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationServiceProto.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationServiceProto.java index 64341a42a4a2..bdca77161a4d 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationServiceProto.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/RouteOptimizationServiceProto.java @@ -28,6 +28,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_Uri_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_Uri_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_OptimizeToursUriMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_maps_routeoptimization_v1_BatchOptimizeToursRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -44,6 +60,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_maps_routeoptimization_v1_BatchOptimizeToursMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_maps_routeoptimization_v1_BatchOptimizeToursMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_OptimizeToursLongRunningMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_maps_routeoptimization_v1_OptimizeToursRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -64,6 +84,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_maps_routeoptimization_v1_ShipmentModel_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_maps_routeoptimization_v1_ShipmentModel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -120,6 +144,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_Interval_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_Interval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_maps_routeoptimization_v1_Vehicle_DurationLimit_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -216,6 +244,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_maps_routeoptimization_v1_AggregatedMetrics_MaxLoadsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_maps_routeoptimization_v1_AggregatedMetrics_MaxLoadsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routeoptimization_v1_VehicleFullness_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routeoptimization_v1_VehicleFullness_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_maps_routeoptimization_v1_InjectedSolutionConstraint_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -267,32 +299,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tions.proto\032\027google/api/client.proto\032\037go" + "ogle/api/field_behavior.proto\032#google/lo" + "ngrunning/operations.proto\032\036google/proto" - + "buf/duration.proto\032\037google/protobuf/time" - + "stamp.proto\032\030google/type/latlng.proto\"\340\002\n" + + "buf/duration.proto\032\037google/protobuf/timestamp.proto\032\030google/type/latlng.proto\"\022\n" + + "\003Uri\022\013\n" + + "\003uri\030\001 \001(\t\"\245\001\n" + + "\027OptimizeToursUriRequest\022\023\n" + + "\006parent\030\001 \001(\tB\003\340A\002\0229\n" + + "\005input\030\002 \001(" + + "\0132%.google.maps.routeoptimization.v1.UriB\003\340A\002\022:\n" + + "\006output\030\003 \001(\0132%.google.maps.routeoptimization.v1.UriB\003\340A\002\"V\n" + + "\030OptimizeToursUriResponse\022:\n" + + "\006output\030\001" + + " \001(\0132%.google.maps.routeoptimization.v1.UriB\003\340A\001\"\032\n" + + "\030OptimizeToursUriMetadata\"\340\002\n" + "\031BatchOptimizeToursRequest\022\023\n" + "\006parent\030\001 \001(\tB\003\340A\002\022h\n\r" - + "model_configs\030\002 \003(\0132L.google" - + ".maps.routeoptimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\003\340A\002\032\303\001\n" + + "model_configs\030\002 \003(\0132L.google.maps.routeoptim" + + "ization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\003\340A\002\032\303\001\n" + "\020AsyncModelConfig\022\031\n" + "\014display_name\030\001 \001(\tB\003\340A\001\022H\n" + "\014input_config\030\002" + " \001(\0132-.google.maps.routeoptimization.v1.InputConfigB\003\340A\002\022J\n\r" - + "output_config\030\003" - + " \001(\0132..google.maps.routeoptimization.v1.OutputConfigB\003\340A\002\"\034\n" + + "output_config\030\003 " + + "\001(\0132..google.maps.routeoptimization.v1.OutputConfigB\003\340A\002\"\034\n" + "\032BatchOptimizeToursResponse\"\034\n" - + "\032BatchOptimizeToursMetadata\"\220\t\n" + + "\032BatchOptimizeToursMetadata\"\"\n" + + " OptimizeToursLongRunningMetadata\"\262\t\n" + "\024OptimizeToursRequest\022\023\n" + "\006parent\030\001 \001(\tB\003\340A\002\022*\n" + "\007timeout\030\002 \001(\0132\031.google.protobuf.Duration\022>\n" + "\005model\030\003 \001(\0132/.google.maps.routeoptimization.v1.ShipmentModel\022X\n" - + "\014solving_mode\030\004 \001(\0162B.google.ma" - + "ps.routeoptimization.v1.OptimizeToursRequest.SolvingMode\022V\n" - + "\013search_mode\030\006 \001(\0162A." - + "google.maps.routeoptimization.v1.OptimizeToursRequest.SearchMode\022W\n" + + "\014solving_mode\030\004" + + " \001(\0162B.google.maps.routeoptimization.v1.OptimizeToursRequest.SolvingMode\022V\n" + + "\013search_mode\030\006 \001(\0162A.google.maps.routeopt" + + "imization.v1.OptimizeToursRequest.SearchMode\022W\n" + "\036injected_first_solution_routes\030\007" + " \003(\0132/.google.maps.routeoptimization.v1.ShipmentRoute\022b\n" - + "\034injected_solution_constraint\030\010 \001(\0132<.google" - + ".maps.routeoptimization.v1.InjectedSolutionConstraint\022O\n" + + "\034injected_solution_constraint\030\010" + + " \001(\0132<.google.maps.routeoptimization.v1.InjectedSolutionConstraint\022O\n" + "\026refresh_details_routes\030\t" + " \003(\0132/.google.maps.routeoptimization.v1.ShipmentRoute\0221\n" + ")interpret_injected_solutions_using_labels\030\n" @@ -305,65 +348,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026use_geodesic_distances\030\017 \001(\010\022\'\n" + "\032geodesic_meters_per_second\030\020 \001(\001H\000\210\001\001\022\"\n" + "\025max_validation_errors\030\005 \001(\005H\001\210\001\001\022\r\n" - + "\005label\030\021 \001(\t\"Y\n" + + "\005label\030\021 \001(\t\"{\n" + "\013SolvingMode\022\021\n\r" - + "DEFAULT_SOLVE\020\000\022\021\n\r" + + "DEFAULT_SOLVE\020\000\022\021\n" + + "\r" + "VALIDATE_ONLY\020\001\022$\n" - + " DETECT_SOME_INFEASIBLE_SHIPMENTS\020\002\"Z\n\n" + + " DETECT_SOME_INFEASIBLE_SHIPMENTS\020\002\022 \n" + + "\034TRANSFORM_AND_RETURN_REQUEST\020\003\"Z\n\n" + "SearchMode\022\033\n" + "\027SEARCH_MODE_UNSPECIFIED\020\000\022\017\n" + "\013RETURN_FAST\020\001\022\036\n" + "\032CONSUME_ALL_AVAILABLE_TIME\020\002B\035\n" + "\033_geodesic_meters_per_secondB\030\n" - + "\026_max_validation_errors\"\256\006\n" + + "\026_max_validation_errors\"\201\007\n" + "\025OptimizeToursResponse\022?\n" - + "\006routes\030\001" - + " \003(\0132/.google.maps.routeoptimization.v1.ShipmentRoute\022\025\n\r" + + "\006routes\030\001 \003(\0132" + + "/.google.maps.routeoptimization.v1.ShipmentRoute\022\025\n\r" + "request_label\030\003 \001(\t\022L\n" + "\021skipped_shipments\030\004" + " \003(\01321.google.maps.routeoptimization.v1.SkippedShipment\022Y\n" - + "\021validation_errors\030\005 \003" - + "(\0132>.google.maps.routeoptimization.v1.OptimizeToursValidationError\022P\n" - + "\007metrics\030\006 " - + "\001(\0132?.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics\032\301\003\n" + + "\021validation_errors\030\005 \003(\0132>.google.maps.routeopti" + + "mization.v1.OptimizeToursValidationError\022Q\n" + + "\021processed_request\030\025 \001(\01326.google.map" + + "s.routeoptimization.v1.OptimizeToursRequest\022P\n" + + "\007metrics\030\006 \001(\0132?.google.maps.route" + + "optimization.v1.OptimizeToursResponse.Metrics\032\301\003\n" + "\007Metrics\022U\n" - + "\030aggregated_route_metrics\030\001 \001(\01323.goo" - + "gle.maps.routeoptimization.v1.AggregatedMetrics\022(\n" + + "\030aggregated_route_metrics\030\001" + + " \001(\01323.google.maps.routeoptimization.v1.AggregatedMetrics\022(\n" + " skipped_mandatory_shipment_count\030\002 \001(\005\022\032\n" + "\022used_vehicle_count\030\003 \001(\005\022?\n" + "\033earliest_vehicle_start_time\030\004" + " \001(\0132\032.google.protobuf.Timestamp\022;\n" + "\027latest_vehicle_end_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022Y\n" + "\005costs\030\n" - + " \003(\0132J.google.maps.routeop" - + "timization.v1.OptimizeToursResponse.Metrics.CostsEntry\022\022\n\n" + + " \003(\0132J.go" + + "ogle.maps.routeoptimization.v1.OptimizeToursResponse.Metrics.CostsEntry\022\022\n\n" + "total_cost\030\006 \001(\001\032,\n\n" + "CostsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\001:\0028\001\"\273\n\n\r" + + "\003key\030\001 \001(\t\022\r" + + "\n" + + "\005value\030\002 \001(\001:\0028\001\"\374\014\n\r" + "ShipmentModel\022=\n" + "\tshipments\030\001 \003(\0132*.google.maps.routeoptimization.v1.Shipment\022;\n" - + "\010vehicles\030\002 \003(\0132).google.maps.routeoptimization.v1.Vehicle\022 \n" + + "\010vehicles\030\002 \003(\0132).google.maps.routeoptimization.v1.Vehicle\022M\n\n" + + "objectives\030\021" + + " \003(\01329.google.maps.routeoptimization.v1.ShipmentModel.Objective\022 \n" + "\023max_active_vehicles\030\004 \001(\005H\000\210\001\001\0225\n" + "\021global_start_time\030\005 \001(\0132\032.google.protobuf.Timestamp\0223\n" + "\017global_end_time\030\006 \001(\0132\032.google.protobuf.Timestamp\022%\n" + "\035global_duration_cost_per_hour\030\007 \001(\001\022j\n" - + "\032duration_distance_matrices\030\010 \003(\0132" - + "F.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix\022)\n" + + "\032duration_distance_matrices\030\010 \003(\0132F.google.maps.routeoptim" + + "ization.v1.ShipmentModel.DurationDistanceMatrix\022)\n" + "!duration_distance_matrix_src_tags\030\t \003(\t\022)\n" + "!duration_distance_matrix_dst_tags\030\n" + " \003(\t\022U\n" - + "\025transition_attributes\030\013 \003(\01326.google.ma" - + "ps.routeoptimization.v1.TransitionAttributes\022f\n" - + "\037shipment_type_incompatibilities\030\014" - + " \003(\0132=.google.maps.routeoptimization.v1.ShipmentTypeIncompatibility\022]\n" + + "\025transition_attributes\030\013" + + " \003(\01326.google.maps.routeoptimization.v1.TransitionAttributes\022f\n" + + "\037shipment_type_incompatibilities\030\014 \003(\0132=.google.maps.rout" + + "eoptimization.v1.ShipmentTypeIncompatibility\022]\n" + "\032shipment_type_requirements\030\r" + " \003(\01329.google.maps.routeoptimization.v1.ShipmentTypeRequirement\022X\n" - + "\020precedence_rules\030\016 \003(\0132>.google.m" - + "aps.routeoptimization.v1.ShipmentModel.PrecedenceRule\032\322\001\n" + + "\020precedence_rules\030\016" + + " \003(\0132>.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule\032\357\001\n" + + "\tObjective\022Q\n" + + "\004type\030\001 \001(\0162>.google.maps.routeopt" + + "imization.v1.ShipmentModel.Objective.TypeH\000\210\001\001\022\023\n" + + "\006weight\030\002 \001(\001H\001\210\001\001\"f\n" + + "\004Type\022\013\n" + + "\007DEFAULT\020\000\022\020\n" + + "\014MIN_DISTANCE\020\n" + + "\022\024\n" + + "\020MIN_WORKING_TIME\020\013\022\023\n" + + "\017MIN_TRAVEL_TIME\020\014\022\024\n" + + "\020MIN_NUM_VEHICLES\020\r" + + "B\007\n" + + "\005_typeB\t\n" + + "\007_weight\032\322\001\n" + "\026DurationDistanceMatrix\022X\n" - + "\004rows\030\001 \003(\0132J.google.maps.routeoptimi" - + "zation.v1.ShipmentModel.DurationDistanceMatrix.Row\022\031\n" + + "\004rows\030\001 \003(\0132J.googl" + + "e.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row\022\031\n" + "\021vehicle_start_tag\030\002 \001(\t\032C\n" + "\003Row\022,\n" + "\tdurations\030\001 \003(\0132\031.google.protobuf.Duration\022\016\n" @@ -376,15 +440,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017offset_duration\030\005 \001(\0132\031.google.protobuf.DurationB\016\n" + "\014_first_indexB\017\n\r" + "_second_indexB\026\n" - + "\024_max_active_vehicles\"\260\013\n" + + "\024_max_active_vehicles\"\336\013\n" + "\010Shipment\022\024\n" + "\014display_name\030\020 \001(\t\022H\n" - + "\007pickups\030\001 \003(\01327.goo" - + "gle.maps.routeoptimization.v1.Shipment.VisitRequest\022K\n\n" - + "deliveries\030\002 \003(\01327.google" - + ".maps.routeoptimization.v1.Shipment.VisitRequest\022Q\n" - + "\014load_demands\030\016 \003(\0132;.google." - + "maps.routeoptimization.v1.Shipment.LoadDemandsEntry\022\031\n" + + "\007pickups\030\001" + + " \003(\01327.google.maps.routeoptimization.v1.Shipment.VisitRequest\022K\n\n" + + "deliveries\030\002" + + " \003(\01327.google.maps.routeoptimization.v1.Shipment.VisitRequest\022Q\n" + + "\014load_demands\030\016" + + " \003(\0132;.google.maps.routeoptimization.v1.Shipment.LoadDemandsEntry\022\031\n" + "\014penalty_cost\030\004 \001(\001H\000\210\001\001\022\037\n" + "\027allowed_vehicle_indices\030\005 \003(\005\022\031\n" + "\021costs_per_vehicle\030\006 \003(\001\022!\n" @@ -397,40 +461,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "shipment_type\030\013 \001(\t\022\r\n" + "\005label\030\014 \001(\t\022\016\n" + "\006ignore\030\r" - + " \001(\010\032\362\004\n" + + " \001(\010\032\240\005\n" + "\014VisitRequest\022-\n" + "\020arrival_location\030\001 \001(\0132\023.google.type.LatLng\022D\n" - + "\020arrival_waypoint\030\002 \001(\0132*.go" - + "ogle.maps.routeoptimization.v1.Waypoint\022/\n" + + "\020arrival_waypoint\030\002" + + " \001(\0132*.google.maps.routeoptimization.v1.Waypoint\022/\n" + "\022departure_location\030\003 \001(\0132\023.google.type.LatLng\022F\n" - + "\022departure_waypoint\030\004 \001(\0132*.g" - + "oogle.maps.routeoptimization.v1.Waypoint\022\014\n" + + "\022departure_waypoint\030\004" + + " \001(\0132*.google.maps.routeoptimization.v1.Waypoint\022\014\n" + "\004tags\030\005 \003(\t\022B\n" - + "\014time_windows\030\006 \003(\0132,.g" - + "oogle.maps.routeoptimization.v1.TimeWindow\022+\n" + + "\014time_windows\030\006" + + " \003(\0132,.google.maps.routeoptimization.v1.TimeWindow\022+\n" + "\010duration\030\007 \001(\0132\031.google.protobuf.Duration\022\014\n" + "\004cost\030\010 \001(\001\022^\n" - + "\014load_demands\030\014 " - + "\003(\0132H.google.maps.routeoptimization.v1.Shipment.VisitRequest.LoadDemandsEntry\022\023\n" + + "\014load_demands\030\014 \003(\0132H.google.maps.rout" + + "eoptimization.v1.Shipment.VisitRequest.LoadDemandsEntry\022\023\n" + "\013visit_types\030\n" + " \003(\t\022\r\n" - + "\005label\030\013 \001(\t\032c\n" + + "\005label\030\013 \001(\t\022\032\n\r" + + "avoid_u_turns\030\r" + + " \001(\010H\000\210\001\001\032c\n" + "\020LoadDemandsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002 \001(" - + "\0132/.google.maps.routeoptimization.v1.Shipment.Load:\0028\001\032\026\n" + + "\005value\030\002" + + " \001(\0132/.google.maps.routeoptimization.v1.Shipment.Load:\0028\001B\020\n" + + "\016_avoid_u_turns\032\026\n" + "\004Load\022\016\n" + "\006amount\030\002 \001(\003\032c\n" + "\020LoadDemandsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002" - + " \001(\0132/.google.maps.routeoptimization.v1.Shipment.Load:\0028\001B\017\n\r" + + "\005value\030\002 \001(\0132/.google." + + "maps.routeoptimization.v1.Shipment.Load:\0028\001B\017\n\r" + "_penalty_costB+\n" + ")_pickup_to_delivery_relative_detour_limit\"\246\002\n" + "\033ShipmentTypeIncompatibility\022\r\n" + "\005types\030\001 \003(\t\022o\n" - + "\024incompatibility_mode\030\002 \001(\0162Q.google.maps.routeoptimization.v1.Shipme" - + "ntTypeIncompatibility.IncompatibilityMode\"\206\001\n" + + "\024incompatibility_mode\030\002 \001(\0162Q.google.maps.rou" + + "teoptimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode\"\206\001\n" + "\023IncompatibilityMode\022$\n" + " INCOMPATIBILITY_MODE_UNSPECIFIED\020\000\022!\n" + "\035NOT_PERFORMED_BY_SAME_VEHICLE\020\001\022&\n" @@ -438,8 +505,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027ShipmentTypeRequirement\022+\n" + "#required_shipment_type_alternatives\030\001 \003(\t\022 \n" + "\030dependent_shipment_types\030\002 \003(\t\022c\n" - + "\020requirement_mode\030\003 \001(\0162I.google" - + ".maps.routeoptimization.v1.ShipmentTypeRequirement.RequirementMode\"\234\001\n" + + "\020requirement_mode\030\003 \001(\0162I.google.maps.routeoptim" + + "ization.v1.ShipmentTypeRequirement.RequirementMode\"\234\001\n" + "\017RequirementMode\022 \n" + "\034REQUIREMENT_MODE_UNSPECIFIED\020\000\022\035\n" + "\031PERFORMED_BY_SAME_VEHICLE\020\001\022\"\n" @@ -449,13 +516,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013avoid_tolls\030\002 \001(\010\022\026\n" + "\016avoid_highways\030\003 \001(\010\022\025\n\r" + "avoid_ferries\030\004 \001(\010\022\031\n" - + "\014avoid_indoor\030\005 \001(\010B\003\340A\001\"\321\023\n" + + "\014avoid_indoor\030\005 \001(\010B\003\340A\001\"\236\027\n" + "\007Vehicle\022\024\n" + "\014display_name\030 \001(\t\022I\n" - + "\013travel_mode\030\001 \001(\01624.goog" - + "le.maps.routeoptimization.v1.Vehicle.TravelMode\022I\n" - + "\017route_modifiers\030\002 \001(\01320.googl" - + "e.maps.routeoptimization.v1.RouteModifiers\022+\n" + + "\013travel_mode\030\001" + + " \001(\01624.google.maps.routeoptimization.v1.Vehicle.TravelMode\022I\n" + + "\017route_modifiers\030\002" + + " \001(\01320.google.maps.routeoptimization.v1.RouteModifiers\022+\n" + "\016start_location\030\003 \001(\0132\023.google.type.LatLng\022B\n" + "\016start_waypoint\030\004" + " \001(\0132*.google.maps.routeoptimization.v1.Waypoint\022)\n" @@ -464,45 +531,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132*.google.maps.routeoptimization.v1.Waypoint\022\022\n\n" + "start_tags\030\007 \003(\t\022\020\n" + "\010end_tags\030\010 \003(\t\022H\n" - + "\022start_time_windows\030\t" - + " \003(\0132,.google.maps.routeoptimization.v1.TimeWindow\022F\n" + + "\022start_time_windows\030\t \003(\0132,.goo" + + "gle.maps.routeoptimization.v1.TimeWindow\022F\n" + "\020end_time_windows\030\n" + " \003(\0132,.google.maps.routeoptimization.v1.TimeWindow\022%\n" + "\030travel_duration_multiple\030\013 \001(\001H\000\210\001\001\022S\n" - + "\020unloading_policy\030\014 \001(\01629.goog" - + "le.maps.routeoptimization.v1.Vehicle.UnloadingPolicy\022N\n" - + "\013load_limits\030\036 \003(\01329.goog" - + "le.maps.routeoptimization.v1.Vehicle.LoadLimitsEntry\022\025\n\r" + + "\020unloading_policy\030\014" + + " \001(\01629.google.maps.routeoptimization.v1.Vehicle.UnloadingPolicy\022N\n" + + "\013load_limits\030\036" + + " \003(\01329.google.maps.routeoptimization.v1.Vehicle.LoadLimitsEntry\022\025\n\r" + "cost_per_hour\030\020 \001(\001\022\036\n" + "\026cost_per_traveled_hour\030\021 \001(\001\022\032\n" + "\022cost_per_kilometer\030\022 \001(\001\022\022\n\n" + "fixed_cost\030\023 \001(\001\022\036\n" + "\026used_if_route_is_empty\030\024 \001(\010\022U\n" - + "\024route_duration_limit\030\025" - + " \001(\01327.google.maps.routeoptimization.v1.Vehicle.DurationLimit\022V\n" - + "\025travel_duration_limit\030\026 \001(\01327.google.maps." - + "routeoptimization.v1.Vehicle.DurationLimit\022M\n" - + "\024route_distance_limit\030\027 \001(\0132/.googl" - + "e.maps.routeoptimization.v1.DistanceLimit\022z\n" - + "#extra_visit_duration_for_visit_type\030\030" - + " \003(\0132M.google.maps.routeoptimization.v" - + "1.Vehicle.ExtraVisitDurationForVisitTypeEntry\022?\n\n" + + "\024route_duration_limit\030\025 \001(" + + "\01327.google.maps.routeoptimization.v1.Vehicle.DurationLimit\022V\n" + + "\025travel_duration_limit\030\026" + + " \001(\01327.google.maps.routeoptimization.v1.Vehicle.DurationLimit\022M\n" + + "\024route_distance_limit\030\027" + + " \001(\0132/.google.maps.routeoptimization.v1.DistanceLimit\022z\n" + + "#extra_visit_duration_for_visit_type\030\030 \003(\0132M.google." + + "maps.routeoptimization.v1.Vehicle.ExtraVisitDurationForVisitTypeEntry\022?\n\n" + "break_rule\030\031 \001(\0132+.google.maps.routeoptimization.v1.BreakRule\022\r\n" + "\005label\030\033 \001(\t\022\016\n" - + "\006ignore\030\034 \001(\010\032\323\002\n" + + "\006ignore\030\034 \001(\010\032\240\006\n" + "\tLoadLimit\022\025\n" + "\010max_load\030\001 \001(\003H\000\210\001\001\022\025\n\r" + "soft_max_load\030\002 \001(\003\022$\n" + "\034cost_per_unit_above_soft_max\030\003 \001(\001\022Y\n" - + "\023start_load_interval\030\004 \001(\0132<.google.ma" - + "ps.routeoptimization.v1.Vehicle.LoadLimit.Interval\022W\n" - + "\021end_load_interval\030\005 \001(\0132<." - + "google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\0321\n" + + "\023start_load_interval\030\004" + + " \001(\0132<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\022W\n" + + "\021end_load_interval\030\005 \001(\0132<.google.maps.rout" + + "eoptimization.v1.Vehicle.LoadLimit.Interval\022]\n" + + "\022cost_per_kilometer\030\006 \001(\0132<.google" + + ".maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\001\210\001\001\022a\n" + + "\026cost_per_traveled_hour\030\007" + + " \001(\0132<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\002\210\001\001\0321\n" + "\010Interval\022\013\n" + "\003min\030\001 \001(\003\022\020\n" + "\003max\030\002 \001(\003H\000\210\001\001B\006\n" - + "\004_maxB\013\n" - + "\t_max_load\032\360\002\n\r" + + "\004_max\032\326\001\n" + + "\010LoadCost\022\033\n" + + "\016load_threshold\030\001 \001(\003H\000\210\001\001\022*\n" + + "\035cost_per_unit_below_threshold\030\002 \001(\001H\001\210\001\001\022*\n" + + "\035cost_per_unit_above_threshold\030\003 \001(\001H\002\210\001\001B\021\n" + + "\017_load_thresholdB \n" + + "\036_cost_per_unit_below_thresholdB \n" + + "\036_cost_per_unit_above_thresholdB\013\n" + + "\t_max_loadB\025\n" + + "\023_cost_per_kilometerB\031\n" + + "\027_cost_per_traveled_hour\032\360\002\n\r" + "DurationLimit\022/\n" + "\014max_duration\030\001 \001(\0132\031.google.protobuf.Duration\0224\n" + "\021soft_max_duration\030\002 \001(\0132\031.google.protobuf.Duration\022)\n" @@ -514,8 +593,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "._cost_per_square_hour_after_quadratic_soft_max\032f\n" + "\017LoadLimitsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.google.maps.rout" - + "eoptimization.v1.Vehicle.LoadLimit:\0028\001\032`\n" + + "\005value\030\002 \001(\01323.google.maps" + + ".routeoptimization.v1.Vehicle.LoadLimit:\0028\001\032`\n" + "#ExtraVisitDurationForVisitTypeEntry\022\013\n" + "\003key\030\001 \001(\t\022(\n" + "\005value\030\002 \001(\0132\031.google.protobuf.Duration:\0028\001\"C\n\n" @@ -555,13 +634,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022cost_per_kilometer\030\006 \001(\001\022G\n" + "\016distance_limit\030\007" + " \001(\0132/.google.maps.routeoptimization.v1.DistanceLimit\022(\n" - + "\005delay\030\010 \001(\0132\031.google.protobuf.Duration\"\212\001\n" + + "\005delay\030\010 \001(\0132\031.google.protobuf.Duration\"\244\001\n" + "\010Waypoint\022>\n" + "\010location\030\001" + " \001(\0132*.google.maps.routeoptimization.v1.LocationH\000\022\022\n" + "\010place_id\030\002 \001(\tH\000\022\031\n" - + "\014side_of_road\030\003 \001(\010B\003\340A\001B\017\n" - + "\r" + + "\014side_of_road\030\003 \001(\010B\003\340A\001\022\030\n" + + "\020vehicle_stopover\030\004 \001(\010B\017\n\r" + "location_type\"R\n" + "\010Location\022$\n" + "\007lat_lng\030\001 \001(\0132\023.google.type.LatLng\022\024\n" @@ -570,8 +649,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tBreakRule\022P\n" + "\016break_requests\030\001" + " \003(\01328.google.maps.routeoptimization.v1.BreakRule.BreakRequest\022^\n" - + "\025frequency_constraints\030\002 \003(\0132?.google.maps." - + "routeoptimization.v1.BreakRule.FrequencyConstraint\032\276\001\n" + + "\025frequency_constraints\030\002 \003(\0132?.google.maps.routeopti" + + "mization.v1.BreakRule.FrequencyConstraint\032\276\001\n" + "\014BreakRequest\022<\n" + "\023earliest_start_time\030\001" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022:\n" @@ -583,40 +662,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022min_break_duration\030\001" + " \001(\0132\031.google.protobuf.DurationB\003\340A\002\022@\n" + "\030max_inter_break_duration\030\002" - + " \001(\0132\031.google.protobuf.DurationB\003\340A\002\"\200\020\n\r" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\002\"\241\021\n\r" + "ShipmentRoute\022\025\n\r" + "vehicle_index\030\001 \001(\005\022\025\n\r" + "vehicle_label\030\002 \001(\t\0226\n" + "\022vehicle_start_time\030\005 \001(\0132\032.google.protobuf.Timestamp\0224\n" + "\020vehicle_end_time\030\006 \001(\0132\032.google.protobuf.Timestamp\022E\n" - + "\006visits\030\007 \003(\01325.google.maps.ro" - + "uteoptimization.v1.ShipmentRoute.Visit\022O\n" - + "\013transitions\030\010 \003(\0132:.google.maps.routeo" - + "ptimization.v1.ShipmentRoute.Transition\022#\n" + + "\006visits\030\007" + + " \003(\01325.google.maps.routeoptimization.v1.ShipmentRoute.Visit\022O\n" + + "\013transitions\030\010" + + " \003(\0132:.google.maps.routeoptimization.v1.ShipmentRoute.Transition\022#\n" + "\033has_traffic_infeasibilities\030\t \001(\010\022W\n" + "\016route_polyline\030\n" + " \001(\0132?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\022E\n" + "\006breaks\030\013" + " \003(\01325.google.maps.routeoptimization.v1.ShipmentRoute.Break\022D\n" + "\007metrics\030\014" - + " \001(\01323.google.maps.routeoptimization.v1.AggregatedMetrics\022T\n" - + "\013route_costs\030\021" - + " \003(\0132?.google.maps.routeoptimization.v1.ShipmentRoute.RouteCostsEntry\022\030\n" - + "\020route_total_cost\030\022 \001(\001\032\232\003\n" + + " \001(\01323.google.maps.routeoptimization.v1.AggregatedMetrics\022K\n" + + "\020vehicle_fullness\030\024 " + + "\001(\01321.google.maps.routeoptimization.v1.VehicleFullness\022T\n" + + "\013route_costs\030\021 \003(\0132?.go" + + "ogle.maps.routeoptimization.v1.ShipmentRoute.RouteCostsEntry\022\030\n" + + "\020route_total_cost\030\022 \001(\001\032\356\003\n" + "\005Visit\022\026\n" + "\016shipment_index\030\001 \001(\005\022\021\n" + "\tis_pickup\030\002 \001(\010\022\033\n" + "\023visit_request_index\030\003 \001(\005\022.\n\n" + "start_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022\\\n" - + "\014load_demands\030\013 \003(\0132F.google.maps.routeoptimizati" - + "on.v1.ShipmentRoute.Visit.LoadDemandsEntry\022)\n" + + "\014load_demands\030\013 \003(\0132F" + + ".google.maps.routeoptimization.v1.ShipmentRoute.Visit.LoadDemandsEntry\022)\n" + "\006detour\030\006 \001(\0132\031.google.protobuf.Duration\022\026\n" + "\016shipment_label\030\007 \001(\t\022\023\n" - + "\013visit_label\030\010 \001(\t\032c\n" + + "\013visit_label\030\010 \001(\t\022-\n" + + " injected_solution_location_token\030\r" + + " \001(\005H\000\210\001\001\032c\n" + "\020LoadDemandsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" + "\005value\030\002" - + " \001(\0132/.google.maps.routeoptimization.v1.Shipment.Load:\0028\001\032\307\005\n\n" + + " \001(\0132/.google.maps.routeoptimization.v1.Shipment.Load:\0028\001B#\n" + + "!_injected_solution_location_token\032\307\005\n\n" + "Transition\0222\n" + "\017travel_duration\030\001 \001(\0132\031.google.protobuf.Duration\022\036\n" + "\026travel_distance_meters\030\002 \001(\001\022 \n" @@ -626,15 +710,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "wait_duration\030\006 \001(\0132\031.google.protobuf.Duration\0221\n" + "\016total_duration\030\007 \001(\0132\031.google.protobuf.Duration\022.\n\n" + "start_time\030\010 \001(\0132\032.google.protobuf.Timestamp\022W\n" - + "\016route_polyline\030\t \001(\0132" - + "?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\022\030\n" + + "\016route_polyline\030\t \001(\0132?.google" + + ".maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\022\030\n" + "\013route_token\030\014 \001(\tB\003\340A\003\022c\n\r" - + "vehicle_loads\030\013 \003(\0132L.goog" - + "le.maps.routeoptimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\032p\n" + + "vehicle_loads\030\013 \003(\0132L.google.maps." + + "routeoptimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\032p\n" + "\021VehicleLoadsEntry\022\013\n" + "\003key\030\001 \001(\t\022J\n" - + "\005value\030\002 \001(\013" - + "2;.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad:\0028\001\032\035\n" + + "\005value\030\002 \001(\0132;.googl" + + "e.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad:\0028\001\032\035\n" + "\013VehicleLoad\022\016\n" + "\006amount\030\001 \001(\003\032!\n" + "\017EncodedPolyline\022\016\n" @@ -644,17 +728,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010duration\030\002 \001(\0132\031.google.protobuf.Duration\0321\n" + "\017RouteCostsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\001:\0028\001\"\206\005\n" + + "\005value\030\002 \001(\001:\0028\001\"\317\007\n" + "\017SkippedShipment\022\r\n" + "\005index\030\001 \001(\005\022\r\n" - + "\005label\030\002 \001(\t\022I\n" - + "\007reasons\030\003 \003(\01328.google" - + ".maps.routeoptimization.v1.SkippedShipment.Reason\032\211\004\n" + + "\005label\030\002 \001(\t\022\031\n" + + "\014penalty_cost\030\006 \001(\001H\000\210\001\001\0221\n" + + "$estimated_incompatible_vehicle_ratio\030\005 \001(\001H\001\210\001\001\022I\n" + + "\007reasons\030\003 \003(\01328.google.maps.rout" + + "eoptimization.v1.SkippedShipment.Reason\032\312\005\n" + "\006Reason\022K\n" - + "\004code\030\001 \001(\0162=.goo" - + "gle.maps.routeoptimization.v1.SkippedShipment.Reason.Code\022\"\n" - + "\025example_vehicle_index\030\002 \001(\005H\000\210\001\001\022&\n" - + "\036example_exceeded_capacity_type\030\003 \001(\t\"\313\002\n" + + "\004code\030\001 \001(\0162=.google.maps.r" + + "outeoptimization.v1.SkippedShipment.Reason.Code\022\"\n" + + "\025example_vehicle_index\030\002 \001(\005H\000\210\001\001\022\037\n" + + "\027example_vehicle_indices\030\005 \003(\005\022&\n" + + "\036example_exceeded_capacity_type\030\003 \001(\t\"\353\003\n" + "\004Code\022\024\n" + "\020CODE_UNSPECIFIED\020\000\022\016\n\n" + "NO_VEHICLE\020\001\022#\n" @@ -663,10 +750,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT\020\004\022<\n" + "8CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT\020\005\0223\n" + "/CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS\020\006\022\027\n" - + "\023VEHICLE_NOT_ALLOWED\020\007B\030\n" - + "\026_example_vehicle_index\"\313\004\n" + + "\023VEHICLE_NOT_ALLOWED\020\007\022\023\n" + + "\017VEHICLE_IGNORED\020\010\022\024\n" + + "\020SHIPMENT_IGNORED\020\t\022+\n" + + "\'SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT\020\n" + + "\022/\n" + + "+VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED\020\013\022\025\n" + + "\021ZERO_PENALTY_COST\020\r" + + "B\030\n" + + "\026_example_vehicle_indexB\017\n\r" + + "_penalty_costB\'\n" + + "%_estimated_incompatible_vehicle_ratio\"\375\005\n" + "\021AggregatedMetrics\022 \n" - + "\030performed_shipment_count\030\001 \001(\005\0222\n" + + "\030performed_shipment_count\030\001 \001(\005\022/\n" + + "\"performed_mandatory_shipment_count\030\014 \001(\005H\000\210\001\001\0220\n" + + "#performed_shipment_penalty_cost_sum\030\r" + + " \001(\001H\001\210\001\001\0222\n" + "\017travel_duration\030\002 \001(\0132\031.google.protobuf.Duration\0220\n\r" + "wait_duration\030\003 \001(\0132\031.google.protobuf.Duration\0221\n" + "\016delay_duration\030\004 \001(\0132\031.google.protobuf.Duration\0221\n" @@ -674,25 +773,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016visit_duration\030\006 \001(\0132\031.google.protobuf.Duration\0221\n" + "\016total_duration\030\007 \001(\0132\031.google.protobuf.Duration\022\036\n" + "\026travel_distance_meters\030\010 \001(\001\022T\n" - + "\tmax_loads\030\t \003(\0132A.google.maps" - + ".routeoptimization.v1.AggregatedMetrics.MaxLoadsEntry\032l\n\r" + + "\tmax_loads\030\t" + + " \003(\0132A.google.maps.routeoptimization.v1.AggregatedMetrics.MaxLoadsEntry\032l\n\r" + "MaxLoadsEntry\022\013\n" + "\003key\030\001 \001(\t\022J\n" - + "\005value\030\002 \001(\0132;.google.maps.routeop" - + "timization.v1.ShipmentRoute.VehicleLoad:\0028\001\"\263\006\n" + + "\005value\030\002 \001(\0132;" + + ".google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad:\0028\001B%\n" + + "#_performed_mandatory_shipment_countB&\n" + + "$_performed_shipment_penalty_cost_sum\"\223\002\n" + + "\017VehicleFullness\022\031\n" + + "\014max_fullness\030\001 \001(\001H\000\210\001\001\022\025\n" + + "\010distance\030\002 \001(\001H\001\210\001\001\022\034\n" + + "\017travel_duration\030\003 \001(\001H\002\210\001\001\022\034\n" + + "\017active_duration\030\004 \001(\001H\003\210\001\001\022\025\n" + + "\010max_load\030\005 \001(\001H\004\210\001\001\022\030\n" + + "\013active_span\030\006 \001(\001H\005\210\001\001B\017\n\r" + + "_max_fullnessB\013\n" + + "\t_distanceB\022\n" + + "\020_trav", + "el_durationB\022\n" + + "\020_active_durationB\013\n" + + "\t_max_loadB\016\n" + + "\014_active_span\"\263\006\n" + "\032InjectedSolutionConstraint\022?\n" + "\006routes\030\001 \003(\0132/.google.maps.routeoptimization.v1.ShipmentRoute\022L\n" + "\021skipped_shipments\030\002" + " \003(\01321.google.maps.routeoptimization.v1.SkippedShipment\022q\n" - + "\026constraint_relaxations\030\003 \003(\0132Q.google.maps.routeoptimizatio" - + "n.v1.InjectedSolutionConstraint.ConstraintRelaxation\032\222\004\n" + + "\026constraint_relaxations\030\003 \003(\0132Q.google.maps" + + ".routeoptimization.v1.InjectedSolutionConstraint.ConstraintRelaxation\032\222\004\n" + "\024ConstraintRelaxation\022q\n" - + "\013relaxations\030\001 \003(\0132\\.google.maps.routeop" - + "timization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation\022\027\n" + + "\013relaxations\030\001 \003(\0132\\.google.maps.routeoptimization.v1.InjectedS" + + "olutionConstraint.ConstraintRelaxation.Relaxation\022\027\n" + "\017vehicle_indices\030\002 \003(\005\032\355\002\n\n" + "Relaxation\022q\n" - + "\005level\030\001 \001(\0162b.google.maps.routeoptimization." - + "v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level\0222\n" + + "\005level\030\001 \001(\0162b.google.maps.routeoptimization.v1.InjectedSolutionCons" + + "traint.ConstraintRelaxation.Relaxation.Level\0222\n" + "\016threshold_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022\035\n" + "\025threshold_visit_count\030\003 \001(\005\"\230\001\n" + "\005Level\022\025\n" @@ -703,27 +818,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034OptimizeToursValidationError\022\014\n" + "\004code\030\001 \001(\005\022\024\n" + "\014display_name\030\002 \001(\t\022]\n" - + "\006fields\030\003 \003(\0132M.google." - + "maps.routeoptimization.v1.OptimizeToursValidationError.FieldReference\022\025\n\r" + + "\006fields\030\003 \003(\0132M.google.maps.routeoptimization." + + "v1.OptimizeToursValidationError.FieldReference\022\025\n\r" + "error_message\030\004 \001(\t\022\030\n" + "\020offending_values\030\005 \001(\t\032\260\001\n" + "\016FieldReference\022\014\n" + "\004name\030\001 \001(\t\022\017\n" + "\005index\030\002 \001(\005H\000\022\r\n" + "\003key\030\004 \001(\tH\000\022`\n" - + "\tsub_field\030\003 \001(\0132M.google.maps.routeoptimization.v1.Op" - + "timizeToursValidationError.FieldReferenceB\016\n" + + "\tsub_field\030\003 \001(\0132M.google.maps.routeo" + + "ptimization.v1.OptimizeToursValidationError.FieldReferenceB\016\n" + "\014index_or_key\"\242\001\n" + "\013InputConfig\022A\n\n" + "gcs_source\030\001 \001(\0132+.google.maps.routeoptimization.v1.GcsSourceH\000\022F\n" - + "\013data_format\030\002 \001(" - + "\0162,.google.maps.routeoptimization.v1.DataFormatB\003\340A\002B\010\n" + + "\013data_format\030\002" + + " \001(\0162,.google.maps.routeoptimization.v1.DataFormatB\003\340A\002B\010\n" + "\006source\"\262\001\n" + "\014OutputConfig\022K\n" - + "\017gcs_destination\030\001" - + " \001(\01320.google.maps.routeoptimization.v1.GcsDestinationH\000\022F\n" - + "\013data_format\030\002" - + " \001(\0162,.google.maps.routeoptimization.v1.DataFormatB\003\340A\002B\r\n" + + "\017gcs_destination\030\001 \001(" + + "\01320.google.maps.routeoptimization.v1.GcsDestinationH\000\022F\n" + + "\013data_format\030\002 \001(\0162,.goo" + + "gle.maps.routeoptimization.v1.DataFormatB\003\340A\002B\r\n" + "\013destination\"\035\n" + "\tGcsSource\022\020\n" + "\003uri\030\001 \001(\tB\003\340A\002\"\"\n" @@ -732,29 +847,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "DataFormat\022\033\n" + "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n" + "\004JSON\020\001\022\016\n\n" - + "PROTO_TEXT\020\0022\371\004\n" + + "PROTO_TEXT\020\0022\301\t\n" + "\021RouteOptimization\022\352\001\n\r" - + "OptimizeTours\0226.google.maps.routeoptimization.v1.OptimizeToursRequest\0327.go" - + "ogle.maps.routeoptimization.v1.OptimizeT" - + "oursResponse\"h\202\323\344\223\002b\"1/v1/{parent=projec" - + "ts/*/locations/*}:optimizeTours:\001*Z*\"%/v" - + "1/{parent=projects/*}:optimizeTours:\001*\022\240\002\n" - + "\022BatchOptimizeTours\022;.google.maps.rout" - + "eoptimization.v1.BatchOptimizeToursRequest\032\035.google.longrunning.Operation\"\255\001\312A8\n" - + "\032BatchOptimizeToursResponse\022\032BatchOptimi" - + "zeToursMetadata\202\323\344\223\002l\"6/v1/{parent=proje" - + "cts/*/locations/*}:batchOptimizeTours:\001*", - "Z/\"*/v1/{parent=projects/*}:batchOptimiz" - + "eTours:\001*\032T\312A routeoptimization.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\215\002\n$com.google.maps.rout" - + "eoptimization.v1B\035RouteOptimizationServi" - + "ceProtoP\001ZXcloud.google.com/go/maps/rout" - + "eoptimization/apiv1/routeoptimizationpb;" - + "routeoptimizationpb\252\002 Google.Maps.RouteO" - + "ptimization.V1\312\002 Google\\Maps\\RouteOptimi" - + "zation\\V1\352\002#Google::Maps::RouteOptimizat" - + "ion::V1b\006proto3" + + "OptimizeTours\0226.google.maps.routeoptimization.v1.Optimize" + + "ToursRequest\0327.google.maps.routeoptimiza" + + "tion.v1.OptimizeToursResponse\"h\202\323\344\223\002b\"1/" + + "v1/{parent=projects/*/locations/*}:optim" + + "izeTours:\001*Z*\"%/v1/{parent=projects/*}:optimizeTours:\001*\022\240\002\n" + + "\022BatchOptimizeTours\022;.google.maps.routeoptimization.v1.BatchO" + + "ptimizeToursRequest\032\035.google.longrunning.Operation\"\255\001\312A8\n" + + "\032BatchOptimizeToursResp" + + "onse\022\032BatchOptimizeToursMetadata\202\323\344\223\002l\"6" + + "/v1/{parent=projects/*/locations/*}:batc" + + "hOptimizeTours:\001*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\001*\022\256\002\n" + + "\030OptimizeToursLongRunning\0226.google.maps.routeoptim" + + "ization.v1.OptimizeToursRequest\032\035.google.longrunning.Operation\"\272\001\312A9\n" + + "\025OptimizeToursResponse\022 OptimizeToursLongRunningMet" + + "adata\202\323\344\223\002x\" + * Specifies whether U-turns should be avoided in driving routes at this + * location. + * U-turn avoidance is best effort and complete avoidance is not guaranteed. + * This is an experimental feature and behavior is subject to change. + * + * Experimental: See + * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request + * for more details. + * + * + * optional bool avoid_u_turns = 13; + * + * @return Whether the avoidUTurns field is set. + */ + boolean hasAvoidUTurns(); + + /** + * + * + *
+     * Specifies whether U-turns should be avoided in driving routes at this
+     * location.
+     * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+     * This is an experimental feature and behavior is subject to change.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return The avoidUTurns. + */ + boolean getAvoidUTurns(); } /** @@ -1606,6 +1646,55 @@ public com.google.protobuf.ByteString getLabelBytes() { } } + public static final int AVOID_U_TURNS_FIELD_NUMBER = 13; + private boolean avoidUTurns_ = false; + + /** + * + * + *
+     * Specifies whether U-turns should be avoided in driving routes at this
+     * location.
+     * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+     * This is an experimental feature and behavior is subject to change.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return Whether the avoidUTurns field is set. + */ + @java.lang.Override + public boolean hasAvoidUTurns() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * Specifies whether U-turns should be avoided in driving routes at this
+     * location.
+     * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+     * This is an experimental feature and behavior is subject to change.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return The avoidUTurns. + */ + @java.lang.Override + public boolean getAvoidUTurns() { + return avoidUTurns_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1652,6 +1741,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLoadDemands(), LoadDemandsDefaultEntryHolder.defaultEntry, 12); + if (((bitField0_ & 0x00000020) != 0)) { + output.writeBool(13, avoidUTurns_); + } getUnknownFields().writeTo(output); } @@ -1713,6 +1805,9 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, loadDemands__); } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, avoidUTurns_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1756,6 +1851,10 @@ public boolean equals(final java.lang.Object obj) { if (!internalGetLoadDemands().equals(other.internalGetLoadDemands())) return false; if (!getVisitTypesList().equals(other.getVisitTypesList())) return false; if (!getLabel().equals(other.getLabel())) return false; + if (hasAvoidUTurns() != other.hasAvoidUTurns()) return false; + if (hasAvoidUTurns()) { + if (getAvoidUTurns() != other.getAvoidUTurns()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1809,6 +1908,10 @@ public int hashCode() { } hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabel().hashCode(); + if (hasAvoidUTurns()) { + hash = (37 * hash) + AVOID_U_TURNS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidUTurns()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2028,6 +2131,7 @@ public Builder clear() { internalGetMutableLoadDemands().clear(); visitTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); label_ = ""; + avoidUTurns_ = false; return this; } @@ -2127,6 +2231,10 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000400) != 0)) { result.label_ = label_; } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.avoidUTurns_ = avoidUTurns_; + to_bitField0_ |= 0x00000020; + } result.bitField0_ |= to_bitField0_; } @@ -2251,6 +2359,9 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.Shipment.VisitRequ bitField0_ |= 0x00000400; onChanged(); } + if (other.hasAvoidUTurns()) { + setAvoidUTurns(other.getAvoidUTurns()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2365,6 +2476,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000100; break; } // case 98 + case 104: + { + avoidUTurns_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 104 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4986,6 +5103,106 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) { return this; } + private boolean avoidUTurns_; + + /** + * + * + *
+       * Specifies whether U-turns should be avoided in driving routes at this
+       * location.
+       * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+       * This is an experimental feature and behavior is subject to change.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return Whether the avoidUTurns field is set. + */ + @java.lang.Override + public boolean hasAvoidUTurns() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
+       * Specifies whether U-turns should be avoided in driving routes at this
+       * location.
+       * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+       * This is an experimental feature and behavior is subject to change.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return The avoidUTurns. + */ + @java.lang.Override + public boolean getAvoidUTurns() { + return avoidUTurns_; + } + + /** + * + * + *
+       * Specifies whether U-turns should be avoided in driving routes at this
+       * location.
+       * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+       * This is an experimental feature and behavior is subject to change.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional bool avoid_u_turns = 13; + * + * @param value The avoidUTurns to set. + * @return This builder for chaining. + */ + public Builder setAvoidUTurns(boolean value) { + + avoidUTurns_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + /** + * + * + *
+       * Specifies whether U-turns should be avoided in driving routes at this
+       * location.
+       * U-turn avoidance is best effort and complete avoidance is not guaranteed.
+       * This is an experimental feature and behavior is subject to change.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional bool avoid_u_turns = 13; + * + * @return This builder for chaining. + */ + public Builder clearAvoidUTurns() { + bitField0_ = (bitField0_ & ~0x00000800); + avoidUTurns_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModel.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModel.java index 1ecba3abf60c..fe3d40784849 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModel.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModel.java @@ -48,6 +48,7 @@ private ShipmentModel(com.google.protobuf.GeneratedMessageV3.Builder builder) private ShipmentModel() { shipments_ = java.util.Collections.emptyList(); vehicles_ = java.util.Collections.emptyList(); + objectives_ = java.util.Collections.emptyList(); durationDistanceMatrices_ = java.util.Collections.emptyList(); durationDistanceMatrixSrcTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); durationDistanceMatrixDstTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -78,413 +79,1517 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.maps.routeoptimization.v1.ShipmentModel.Builder.class); } - public interface DurationDistanceMatrixOrBuilder + public interface ObjectiveOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix) + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.ShipmentModel.Objective) com.google.protobuf.MessageOrBuilder { /** * * *
-     * Specifies the rows of the duration and distance matrix. It must have as
-     * many elements as
-     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * The type of the objective.
      * 
* - * - * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; * - */ - java.util.List - getRowsList(); - - /** - * - * - *
-     * Specifies the rows of the duration and distance matrix. It must have as
-     * many elements as
-     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
-     * 
* - * - * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; - * + * @return Whether the type field is set. */ - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row getRows( - int index); + boolean hasType(); /** * * *
-     * Specifies the rows of the duration and distance matrix. It must have as
-     * many elements as
-     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * The type of the objective.
      * 
* - * - * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; * - */ - int getRowsCount(); - - /** - * - * - *
-     * Specifies the rows of the duration and distance matrix. It must have as
-     * many elements as
-     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
-     * 
* - * - * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; - * + * @return The enum numeric value on the wire for type. */ - java.util.List< - ? extends - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix - .RowOrBuilder> - getRowsOrBuilderList(); + int getTypeValue(); /** * * *
-     * Specifies the rows of the duration and distance matrix. It must have as
-     * many elements as
-     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * The type of the objective.
      * 
* - * - * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; * + * + * @return The type. */ - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.RowOrBuilder - getRowsOrBuilder(int index); + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type getType(); /** * * *
-     * Tag defining to which vehicles this duration and distance matrix applies.
-     * If empty, this applies to all vehicles, and there can only be a single
-     * matrix.
-     *
-     * Each vehicle start must match exactly one matrix, i.e. exactly one of
-     * their `start_tags` field must match the `vehicle_start_tag` of a matrix
-     * (and of that matrix only).
-     *
-     * All matrices must have a different `vehicle_start_tag`.
+     * How much this objective should count relatively to the others. This can
+     * be any non-negative number, weights do not have to sum to 1. Weights
+     * default to 1.0.
      * 
* - * string vehicle_start_tag = 2; + * optional double weight = 2; * - * @return The vehicleStartTag. + * @return Whether the weight field is set. */ - java.lang.String getVehicleStartTag(); + boolean hasWeight(); /** * * *
-     * Tag defining to which vehicles this duration and distance matrix applies.
-     * If empty, this applies to all vehicles, and there can only be a single
-     * matrix.
-     *
-     * Each vehicle start must match exactly one matrix, i.e. exactly one of
-     * their `start_tags` field must match the `vehicle_start_tag` of a matrix
-     * (and of that matrix only).
-     *
-     * All matrices must have a different `vehicle_start_tag`.
+     * How much this objective should count relatively to the others. This can
+     * be any non-negative number, weights do not have to sum to 1. Weights
+     * default to 1.0.
      * 
* - * string vehicle_start_tag = 2; + * optional double weight = 2; * - * @return The bytes for vehicleStartTag. + * @return The weight. */ - com.google.protobuf.ByteString getVehicleStartTagBytes(); + double getWeight(); } /** * * *
-   * Specifies a duration and distance matrix from visit and vehicle start
-   * locations to visit and vehicle end locations.
+   * Objectives replace the cost model completely, and are therefore
+   * incompatible with pre-existing costs. Each objective maps to a number of
+   * pre-defined costs for, e.g., vehicles, shipments or transition attributes.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
    * 
* - * Protobuf type {@code google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix} + * Protobuf type {@code google.maps.routeoptimization.v1.ShipmentModel.Objective} */ - public static final class DurationDistanceMatrix extends com.google.protobuf.GeneratedMessageV3 + public static final class Objective extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix) - DurationDistanceMatrixOrBuilder { + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.ShipmentModel.Objective) + ObjectiveOrBuilder { private static final long serialVersionUID = 0L; - // Use DurationDistanceMatrix.newBuilder() to construct. - private DurationDistanceMatrix(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Objective.newBuilder() to construct. + private Objective(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DurationDistanceMatrix() { - rows_ = java.util.Collections.emptyList(); - vehicleStartTag_ = ""; + private Objective() { + type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DurationDistanceMatrix(); + return new Objective(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_descriptor; + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_fieldAccessorTable + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.class, - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Builder - .class); + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.class, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder.class); } - public interface RowOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row) - com.google.protobuf.MessageOrBuilder { - + /** + * + * + *
+     * The objective type that will be mapped to a set of costs.
+     * 
+ * + * Protobuf enum {@code google.maps.routeoptimization.v1.ShipmentModel.Objective.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * A default set of costs will be used, to ensure a reasonable solution.
+       * Note: this objective can be used on its own, but will also always be
+       * added with weight 1.0, as a baseline, to the objectives specified by
+       * the user, if it's not already present.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * DEFAULT = 0; */ - java.util.List getDurationsList(); - + DEFAULT(0), /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * "MIN" objectives.
+       * Minimize the total distance traveled.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_DISTANCE = 10; */ - com.google.protobuf.Duration getDurations(int index); - + MIN_DISTANCE(10), /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * Minimize the total working time, summed over all vehicles.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_WORKING_TIME = 11; */ - int getDurationsCount(); - + MIN_WORKING_TIME(11), /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * Same as above but focusing on travel time only.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_TRAVEL_TIME = 12; */ - java.util.List getDurationsOrBuilderList(); - + MIN_TRAVEL_TIME(12), /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * Minimize the number of vehicles used.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_NUM_VEHICLES = 13; */ - com.google.protobuf.DurationOrBuilder getDurationsOrBuilder(int index); + MIN_NUM_VEHICLES(13), + UNRECOGNIZED(-1), + ; /** * * *
-       * Distance values for a given row. If no costs or constraints refer to
-       * distances in the model, this can be left empty; otherwise it must have
-       * as many elements as `durations`.
+       * A default set of costs will be used, to ensure a reasonable solution.
+       * Note: this objective can be used on its own, but will also always be
+       * added with weight 1.0, as a baseline, to the objectives specified by
+       * the user, if it's not already present.
        * 
* - * repeated double meters = 2; - * - * @return A list containing the meters. + * DEFAULT = 0; */ - java.util.List getMetersList(); + public static final int DEFAULT_VALUE = 0; /** * * *
-       * Distance values for a given row. If no costs or constraints refer to
-       * distances in the model, this can be left empty; otherwise it must have
-       * as many elements as `durations`.
+       * "MIN" objectives.
+       * Minimize the total distance traveled.
        * 
* - * repeated double meters = 2; - * - * @return The count of meters. + * MIN_DISTANCE = 10; */ - int getMetersCount(); + public static final int MIN_DISTANCE_VALUE = 10; /** * * *
-       * Distance values for a given row. If no costs or constraints refer to
-       * distances in the model, this can be left empty; otherwise it must have
-       * as many elements as `durations`.
+       * Minimize the total working time, summed over all vehicles.
        * 
* - * repeated double meters = 2; - * - * @param index The index of the element to return. - * @return The meters at the given index. + * MIN_WORKING_TIME = 11; */ - double getMeters(int index); - } - - /** - * - * - *
-     * Specifies a row of the duration and distance matrix.
-     * 
- * - * Protobuf type {@code - * google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row} - */ - public static final class Row extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row) - RowOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Row.newBuilder() to construct. - private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Row() { - durations_ = java.util.Collections.emptyList(); - meters_ = emptyDoubleList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Row(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_Row_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_Row_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row.class, - com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row - .Builder.class); - } - - public static final int DURATIONS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List durations_; + public static final int MIN_WORKING_TIME_VALUE = 11; /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * Same as above but focusing on travel time only.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_TRAVEL_TIME = 12; */ - @java.lang.Override - public java.util.List getDurationsList() { - return durations_; - } + public static final int MIN_TRAVEL_TIME_VALUE = 12; /** * * *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * Minimize the number of vehicles used.
        * 
* - * repeated .google.protobuf.Duration durations = 1; + * MIN_NUM_VEHICLES = 13; */ - @java.lang.Override - public java.util.List - getDurationsOrBuilderList() { - return durations_; + public static final int MIN_NUM_VEHICLES_VALUE = 13; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; } /** - * - * - *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
-       * 
- * - * repeated .google.protobuf.Duration durations = 1; + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. */ - @java.lang.Override - public int getDurationsCount() { - return durations_.size(); + @java.lang.Deprecated + public static Type valueOf(int value) { + return forNumber(value); } /** - * - * - *
-       * Duration values for a given row. It must have as many elements as
-       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
-       * 
- * - * repeated .google.protobuf.Duration durations = 1; + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. */ - @java.lang.Override - public com.google.protobuf.Duration getDurations(int index) { - return durations_.get(index); + public static Type forNumber(int value) { + switch (value) { + case 0: + return DEFAULT; + case 10: + return MIN_DISTANCE; + case 11: + return MIN_WORKING_TIME; + case 12: + return MIN_TRAVEL_TIME; + case 13: + return MIN_NUM_VEHICLES; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); } - /** - * - * + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.ShipmentModel.Objective.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Type[] VALUES = values(); + + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.maps.routeoptimization.v1.ShipmentModel.Objective.Type) + } + + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + private int type_ = 0; + + /** + * + * + *
+     * The type of the objective.
+     * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * The type of the objective.
+     * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + + /** + * + * + *
+     * The type of the objective.
+     * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return The type. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type getType() { + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type result = + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type.forNumber(type_); + return result == null + ? com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type.UNRECOGNIZED + : result; + } + + public static final int WEIGHT_FIELD_NUMBER = 2; + private double weight_ = 0D; + + /** + * + * + *
+     * How much this objective should count relatively to the others. This can
+     * be any non-negative number, weights do not have to sum to 1. Weights
+     * default to 1.0.
+     * 
+ * + * optional double weight = 2; + * + * @return Whether the weight field is set. + */ + @java.lang.Override + public boolean hasWeight() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * How much this objective should count relatively to the others. This can
+     * be any non-negative number, weights do not have to sum to 1. Weights
+     * default to 1.0.
+     * 
+ * + * optional double weight = 2; + * + * @return The weight. + */ + @java.lang.Override + public double getWeight() { + return weight_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, type_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(2, weight_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, weight_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.ShipmentModel.Objective)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.ShipmentModel.Objective other = + (com.google.maps.routeoptimization.v1.ShipmentModel.Objective) obj; + + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (type_ != other.type_) return false; + } + if (hasWeight() != other.hasWeight()) return false; + if (hasWeight()) { + if (java.lang.Double.doubleToLongBits(getWeight()) + != java.lang.Double.doubleToLongBits(other.getWeight())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasWeight()) { + hash = (37 * hash) + WEIGHT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getWeight())); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Objectives replace the cost model completely, and are therefore
+     * incompatible with pre-existing costs. Each objective maps to a number of
+     * pre-defined costs for, e.g., vehicles, shipments or transition attributes.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
+     * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.ShipmentModel.Objective} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.ShipmentModel.Objective) + com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.class, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.ShipmentModel.Objective.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = 0; + weight_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_Objective_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.ShipmentModel.Objective.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective build() { + com.google.maps.routeoptimization.v1.ShipmentModel.Objective result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective buildPartial() { + com.google.maps.routeoptimization.v1.ShipmentModel.Objective result = + new com.google.maps.routeoptimization.v1.ShipmentModel.Objective(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.weight_ = weight_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.ShipmentModel.Objective) { + return mergeFrom((com.google.maps.routeoptimization.v1.ShipmentModel.Objective) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel.Objective other) { + if (other + == com.google.maps.routeoptimization.v1.ShipmentModel.Objective.getDefaultInstance()) + return this; + if (other.hasType()) { + setType(other.getType()); + } + if (other.hasWeight()) { + setWeight(other.getWeight()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 17: + { + weight_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int type_ = 0; + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return The type. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type getType() { + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type result = + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type.forNumber(type_); + return result == null + ? com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type.UNRECOGNIZED + : result; + } + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+       * The type of the objective.
+       * 
+ * + * optional .google.maps.routeoptimization.v1.ShipmentModel.Objective.Type type = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private double weight_; + + /** + * + * + *
+       * How much this objective should count relatively to the others. This can
+       * be any non-negative number, weights do not have to sum to 1. Weights
+       * default to 1.0.
+       * 
+ * + * optional double weight = 2; + * + * @return Whether the weight field is set. + */ + @java.lang.Override + public boolean hasWeight() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * How much this objective should count relatively to the others. This can
+       * be any non-negative number, weights do not have to sum to 1. Weights
+       * default to 1.0.
+       * 
+ * + * optional double weight = 2; + * + * @return The weight. + */ + @java.lang.Override + public double getWeight() { + return weight_; + } + + /** + * + * + *
+       * How much this objective should count relatively to the others. This can
+       * be any non-negative number, weights do not have to sum to 1. Weights
+       * default to 1.0.
+       * 
+ * + * optional double weight = 2; + * + * @param value The weight to set. + * @return This builder for chaining. + */ + public Builder setWeight(double value) { + + weight_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * How much this objective should count relatively to the others. This can
+       * be any non-negative number, weights do not have to sum to 1. Weights
+       * default to 1.0.
+       * 
+ * + * optional double weight = 2; + * + * @return This builder for chaining. + */ + public Builder clearWeight() { + bitField0_ = (bitField0_ & ~0x00000002); + weight_ = 0D; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.ShipmentModel.Objective) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.ShipmentModel.Objective) + private static final com.google.maps.routeoptimization.v1.ShipmentModel.Objective + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.ShipmentModel.Objective(); + } + + public static com.google.maps.routeoptimization.v1.ShipmentModel.Objective + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Objective parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface DurationDistanceMatrixOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Specifies the rows of the duration and distance matrix. It must have as
+     * many elements as
+     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * 
+ * + * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * + */ + java.util.List + getRowsList(); + + /** + * + * + *
+     * Specifies the rows of the duration and distance matrix. It must have as
+     * many elements as
+     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * 
+ * + * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * + */ + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row getRows( + int index); + + /** + * + * + *
+     * Specifies the rows of the duration and distance matrix. It must have as
+     * many elements as
+     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * 
+ * + * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * + */ + int getRowsCount(); + + /** + * + * + *
+     * Specifies the rows of the duration and distance matrix. It must have as
+     * many elements as
+     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * 
+ * + * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * + */ + java.util.List< + ? extends + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix + .RowOrBuilder> + getRowsOrBuilderList(); + + /** + * + * + *
+     * Specifies the rows of the duration and distance matrix. It must have as
+     * many elements as
+     * [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
+     * 
+ * + * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row rows = 1; + * + */ + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.RowOrBuilder + getRowsOrBuilder(int index); + + /** + * + * + *
+     * Tag defining to which vehicles this duration and distance matrix applies.
+     * If empty, this applies to all vehicles, and there can only be a single
+     * matrix.
+     *
+     * Each vehicle start must match exactly one matrix, i.e. exactly one of
+     * their `start_tags` field must match the `vehicle_start_tag` of a matrix
+     * (and of that matrix only).
+     *
+     * All matrices must have a different `vehicle_start_tag`.
+     * 
+ * + * string vehicle_start_tag = 2; + * + * @return The vehicleStartTag. + */ + java.lang.String getVehicleStartTag(); + + /** + * + * + *
+     * Tag defining to which vehicles this duration and distance matrix applies.
+     * If empty, this applies to all vehicles, and there can only be a single
+     * matrix.
+     *
+     * Each vehicle start must match exactly one matrix, i.e. exactly one of
+     * their `start_tags` field must match the `vehicle_start_tag` of a matrix
+     * (and of that matrix only).
+     *
+     * All matrices must have a different `vehicle_start_tag`.
+     * 
+ * + * string vehicle_start_tag = 2; + * + * @return The bytes for vehicleStartTag. + */ + com.google.protobuf.ByteString getVehicleStartTagBytes(); + } + + /** + * + * + *
+   * Specifies a duration and distance matrix from visit and vehicle start
+   * locations to visit and vehicle end locations.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix} + */ + public static final class DurationDistanceMatrix extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix) + DurationDistanceMatrixOrBuilder { + private static final long serialVersionUID = 0L; + + // Use DurationDistanceMatrix.newBuilder() to construct. + private DurationDistanceMatrix(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DurationDistanceMatrix() { + rows_ = java.util.Collections.emptyList(); + vehicleStartTag_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DurationDistanceMatrix(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.class, + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Builder + .class); + } + + public interface RowOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + java.util.List getDurationsList(); + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + com.google.protobuf.Duration getDurations(int index); + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + int getDurationsCount(); + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + java.util.List getDurationsOrBuilderList(); + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + com.google.protobuf.DurationOrBuilder getDurationsOrBuilder(int index); + + /** + * + * + *
+       * Distance values for a given row. If no costs or constraints refer to
+       * distances in the model, this can be left empty; otherwise it must have
+       * as many elements as `durations`.
+       * 
+ * + * repeated double meters = 2; + * + * @return A list containing the meters. + */ + java.util.List getMetersList(); + + /** + * + * + *
+       * Distance values for a given row. If no costs or constraints refer to
+       * distances in the model, this can be left empty; otherwise it must have
+       * as many elements as `durations`.
+       * 
+ * + * repeated double meters = 2; + * + * @return The count of meters. + */ + int getMetersCount(); + + /** + * + * + *
+       * Distance values for a given row. If no costs or constraints refer to
+       * distances in the model, this can be left empty; otherwise it must have
+       * as many elements as `durations`.
+       * 
+ * + * repeated double meters = 2; + * + * @param index The index of the element to return. + * @return The meters at the given index. + */ + double getMeters(int index); + } + + /** + * + * + *
+     * Specifies a row of the duration and distance matrix.
+     * 
+ * + * Protobuf type {@code + * google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row} + */ + public static final class Row extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row) + RowOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Row.newBuilder() to construct. + private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Row() { + durations_ = java.util.Collections.emptyList(); + meters_ = emptyDoubleList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Row(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_Row_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_ShipmentModel_DurationDistanceMatrix_Row_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row.class, + com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Row + .Builder.class); + } + + public static final int DURATIONS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List durations_; + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + @java.lang.Override + public java.util.List getDurationsList() { + return durations_; + } + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + @java.lang.Override + public java.util.List + getDurationsOrBuilderList() { + return durations_; + } + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + @java.lang.Override + public int getDurationsCount() { + return durations_.size(); + } + + /** + * + * + *
+       * Duration values for a given row. It must have as many elements as
+       * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
+       * 
+ * + * repeated .google.protobuf.Duration durations = 1; + */ + @java.lang.Override + public com.google.protobuf.Duration getDurations(int index) { + return durations_.get(index); + } + + /** + * + * *
        * Duration values for a given row. It must have as many elements as
        * [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
@@ -4416,39 +5521,163 @@ public java.util.List getVehiclesL
    * Set of vehicles which can be used to perform visits.
    * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + @java.lang.Override + public int getVehiclesCount() { + return vehicles_.size(); + } + + /** + * + * + *
+   * Set of vehicles which can be used to perform visits.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle getVehicles(int index) { + return vehicles_.get(index); + } + + /** + * + * + *
+   * Set of vehicles which can be used to perform visits.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilder(int index) { + return vehicles_.get(index); + } + + public static final int OBJECTIVES_FIELD_NUMBER = 17; + + @SuppressWarnings("serial") + private java.util.List objectives_; + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + @java.lang.Override + public java.util.List + getObjectivesList() { + return objectives_; + } + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder> + getObjectivesOrBuilderList() { + return objectives_; + } + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ @java.lang.Override - public int getVehiclesCount() { - return vehicles_.size(); + public int getObjectivesCount() { + return objectives_.size(); } /** * * *
-   * Set of vehicles which can be used to perform visits.
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
    * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle getVehicles(int index) { - return vehicles_.get(index); + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective getObjectives(int index) { + return objectives_.get(index); } /** * * *
-   * Set of vehicles which can be used to perform visits.
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
    * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ @java.lang.Override - public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilder(int index) { - return vehicles_.get(index); + public com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder + getObjectivesOrBuilder(int index) { + return objectives_.get(index); } public static final int MAX_ACTIVE_VEHICLES_FIELD_NUMBER = 4; @@ -4703,7 +5932,6 @@ public double getGlobalDurationCostPerHour() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -4806,7 +6034,6 @@ public double getGlobalDurationCostPerHour() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -4911,7 +6138,6 @@ public double getGlobalDurationCostPerHour() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -5013,7 +6239,6 @@ public int getDurationDistanceMatricesCount() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -5116,7 +6341,6 @@ public int getDurationDistanceMatricesCount() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -5713,6 +6937,10 @@ public com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentT * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -5730,6 +6958,10 @@ public com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentT * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -5748,6 +6980,10 @@ public com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentT * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -5764,6 +7000,10 @@ public int getPrecedenceRulesCount() { * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -5781,6 +7021,10 @@ public com.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule getPrec * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -5848,6 +7092,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < precedenceRules_.size(); i++) { output.writeMessage(14, precedenceRules_.get(i)); } + for (int i = 0; i < objectives_.size(); i++) { + output.writeMessage(17, objectives_.get(i)); + } getUnknownFields().writeTo(output); } @@ -5915,6 +7162,9 @@ public int getSerializedSize() { for (int i = 0; i < precedenceRules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, precedenceRules_.get(i)); } + for (int i = 0; i < objectives_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, objectives_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -5933,6 +7183,7 @@ public boolean equals(final java.lang.Object obj) { if (!getShipmentsList().equals(other.getShipmentsList())) return false; if (!getVehiclesList().equals(other.getVehiclesList())) return false; + if (!getObjectivesList().equals(other.getObjectivesList())) return false; if (hasMaxActiveVehicles() != other.hasMaxActiveVehicles()) return false; if (hasMaxActiveVehicles()) { if (getMaxActiveVehicles() != other.getMaxActiveVehicles()) return false; @@ -5978,6 +7229,10 @@ public int hashCode() { hash = (37 * hash) + VEHICLES_FIELD_NUMBER; hash = (53 * hash) + getVehiclesList().hashCode(); } + if (getObjectivesCount() > 0) { + hash = (37 * hash) + OBJECTIVES_FIELD_NUMBER; + hash = (53 * hash) + getObjectivesList().hashCode(); + } if (hasMaxActiveVehicles()) { hash = (37 * hash) + MAX_ACTIVE_VEHICLES_FIELD_NUMBER; hash = (53 * hash) + getMaxActiveVehicles(); @@ -6172,6 +7427,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getShipmentsFieldBuilder(); getVehiclesFieldBuilder(); + getObjectivesFieldBuilder(); getGlobalStartTimeFieldBuilder(); getGlobalEndTimeFieldBuilder(); getDurationDistanceMatricesFieldBuilder(); @@ -6200,6 +7456,13 @@ public Builder clear() { vehiclesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); + if (objectivesBuilder_ == null) { + objectives_ = java.util.Collections.emptyList(); + } else { + objectives_ = null; + objectivesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); maxActiveVehicles_ = 0; globalStartTime_ = null; if (globalStartTimeBuilder_ != null) { @@ -6218,7 +7481,7 @@ public Builder clear() { durationDistanceMatrices_ = null; durationDistanceMatricesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); durationDistanceMatrixSrcTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); durationDistanceMatrixDstTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (transitionAttributesBuilder_ == null) { @@ -6227,28 +7490,28 @@ public Builder clear() { transitionAttributes_ = null; transitionAttributesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); if (shipmentTypeIncompatibilitiesBuilder_ == null) { shipmentTypeIncompatibilities_ = java.util.Collections.emptyList(); } else { shipmentTypeIncompatibilities_ = null; shipmentTypeIncompatibilitiesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); if (shipmentTypeRequirementsBuilder_ == null) { shipmentTypeRequirements_ = java.util.Collections.emptyList(); } else { shipmentTypeRequirements_ = null; shipmentTypeRequirementsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); if (precedenceRulesBuilder_ == null) { precedenceRules_ = java.util.Collections.emptyList(); } else { precedenceRules_ = null; precedenceRulesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); return this; } @@ -6304,49 +7567,58 @@ private void buildPartialRepeatedFields( } else { result.vehicles_ = vehiclesBuilder_.build(); } + if (objectivesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + objectives_ = java.util.Collections.unmodifiableList(objectives_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.objectives_ = objectives_; + } else { + result.objectives_ = objectivesBuilder_.build(); + } if (durationDistanceMatricesBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { durationDistanceMatrices_ = java.util.Collections.unmodifiableList(durationDistanceMatrices_); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } result.durationDistanceMatrices_ = durationDistanceMatrices_; } else { result.durationDistanceMatrices_ = durationDistanceMatricesBuilder_.build(); } if (transitionAttributesBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { transitionAttributes_ = java.util.Collections.unmodifiableList(transitionAttributes_); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } result.transitionAttributes_ = transitionAttributes_; } else { result.transitionAttributes_ = transitionAttributesBuilder_.build(); } if (shipmentTypeIncompatibilitiesBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { shipmentTypeIncompatibilities_ = java.util.Collections.unmodifiableList(shipmentTypeIncompatibilities_); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); } result.shipmentTypeIncompatibilities_ = shipmentTypeIncompatibilities_; } else { result.shipmentTypeIncompatibilities_ = shipmentTypeIncompatibilitiesBuilder_.build(); } if (shipmentTypeRequirementsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { shipmentTypeRequirements_ = java.util.Collections.unmodifiableList(shipmentTypeRequirements_); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); } result.shipmentTypeRequirements_ = shipmentTypeRequirements_; } else { result.shipmentTypeRequirements_ = shipmentTypeRequirementsBuilder_.build(); } if (precedenceRulesBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { precedenceRules_ = java.util.Collections.unmodifiableList(precedenceRules_); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); } result.precedenceRules_ = precedenceRules_; } else { @@ -6357,28 +7629,28 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.maps.routeoptimization.v1.ShipmentModel result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.maxActiveVehicles_ = maxActiveVehicles_; to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.globalStartTime_ = globalStartTimeBuilder_ == null ? globalStartTime_ : globalStartTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.globalEndTime_ = globalEndTimeBuilder_ == null ? globalEndTime_ : globalEndTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.globalDurationCostPerHour_ = globalDurationCostPerHour_; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { durationDistanceMatrixSrcTags_.makeImmutable(); result.durationDistanceMatrixSrcTags_ = durationDistanceMatrixSrcTags_; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { durationDistanceMatrixDstTags_.makeImmutable(); result.durationDistanceMatrixDstTags_ = durationDistanceMatrixDstTags_; } @@ -6485,6 +7757,33 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe } } } + if (objectivesBuilder_ == null) { + if (!other.objectives_.isEmpty()) { + if (objectives_.isEmpty()) { + objectives_ = other.objectives_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureObjectivesIsMutable(); + objectives_.addAll(other.objectives_); + } + onChanged(); + } + } else { + if (!other.objectives_.isEmpty()) { + if (objectivesBuilder_.isEmpty()) { + objectivesBuilder_.dispose(); + objectivesBuilder_ = null; + objectives_ = other.objectives_; + bitField0_ = (bitField0_ & ~0x00000004); + objectivesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getObjectivesFieldBuilder() + : null; + } else { + objectivesBuilder_.addAllMessages(other.objectives_); + } + } + } if (other.hasMaxActiveVehicles()) { setMaxActiveVehicles(other.getMaxActiveVehicles()); } @@ -6501,7 +7800,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.durationDistanceMatrices_.isEmpty()) { if (durationDistanceMatrices_.isEmpty()) { durationDistanceMatrices_ = other.durationDistanceMatrices_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } else { ensureDurationDistanceMatricesIsMutable(); durationDistanceMatrices_.addAll(other.durationDistanceMatrices_); @@ -6514,7 +7813,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe durationDistanceMatricesBuilder_.dispose(); durationDistanceMatricesBuilder_ = null; durationDistanceMatrices_ = other.durationDistanceMatrices_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); durationDistanceMatricesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDurationDistanceMatricesFieldBuilder() @@ -6527,7 +7826,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.durationDistanceMatrixSrcTags_.isEmpty()) { if (durationDistanceMatrixSrcTags_.isEmpty()) { durationDistanceMatrixSrcTags_ = other.durationDistanceMatrixSrcTags_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; } else { ensureDurationDistanceMatrixSrcTagsIsMutable(); durationDistanceMatrixSrcTags_.addAll(other.durationDistanceMatrixSrcTags_); @@ -6537,7 +7836,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.durationDistanceMatrixDstTags_.isEmpty()) { if (durationDistanceMatrixDstTags_.isEmpty()) { durationDistanceMatrixDstTags_ = other.durationDistanceMatrixDstTags_; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; } else { ensureDurationDistanceMatrixDstTagsIsMutable(); durationDistanceMatrixDstTags_.addAll(other.durationDistanceMatrixDstTags_); @@ -6548,7 +7847,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.transitionAttributes_.isEmpty()) { if (transitionAttributes_.isEmpty()) { transitionAttributes_ = other.transitionAttributes_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } else { ensureTransitionAttributesIsMutable(); transitionAttributes_.addAll(other.transitionAttributes_); @@ -6561,7 +7860,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe transitionAttributesBuilder_.dispose(); transitionAttributesBuilder_ = null; transitionAttributes_ = other.transitionAttributes_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); transitionAttributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTransitionAttributesFieldBuilder() @@ -6575,7 +7874,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.shipmentTypeIncompatibilities_.isEmpty()) { if (shipmentTypeIncompatibilities_.isEmpty()) { shipmentTypeIncompatibilities_ = other.shipmentTypeIncompatibilities_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); } else { ensureShipmentTypeIncompatibilitiesIsMutable(); shipmentTypeIncompatibilities_.addAll(other.shipmentTypeIncompatibilities_); @@ -6588,7 +7887,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe shipmentTypeIncompatibilitiesBuilder_.dispose(); shipmentTypeIncompatibilitiesBuilder_ = null; shipmentTypeIncompatibilities_ = other.shipmentTypeIncompatibilities_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); shipmentTypeIncompatibilitiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getShipmentTypeIncompatibilitiesFieldBuilder() @@ -6603,7 +7902,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.shipmentTypeRequirements_.isEmpty()) { if (shipmentTypeRequirements_.isEmpty()) { shipmentTypeRequirements_ = other.shipmentTypeRequirements_; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); } else { ensureShipmentTypeRequirementsIsMutable(); shipmentTypeRequirements_.addAll(other.shipmentTypeRequirements_); @@ -6616,7 +7915,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe shipmentTypeRequirementsBuilder_.dispose(); shipmentTypeRequirementsBuilder_ = null; shipmentTypeRequirements_ = other.shipmentTypeRequirements_; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); shipmentTypeRequirementsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getShipmentTypeRequirementsFieldBuilder() @@ -6630,7 +7929,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe if (!other.precedenceRules_.isEmpty()) { if (precedenceRules_.isEmpty()) { precedenceRules_ = other.precedenceRules_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); } else { ensurePrecedenceRulesIsMutable(); precedenceRules_.addAll(other.precedenceRules_); @@ -6643,7 +7942,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentModel othe precedenceRulesBuilder_.dispose(); precedenceRulesBuilder_ = null; precedenceRules_ = other.precedenceRules_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); precedenceRulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPrecedenceRulesFieldBuilder() @@ -6708,25 +8007,25 @@ public Builder mergeFrom( case 32: { maxActiveVehicles_ = input.readInt32(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage(getGlobalStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage(getGlobalEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 50 case 57: { globalDurationCostPerHour_ = input.readDouble(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 57 case 66: @@ -6814,6 +8113,20 @@ public Builder mergeFrom( } break; } // case 114 + case 138: + { + com.google.maps.routeoptimization.v1.ShipmentModel.Objective m = + input.readMessage( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.parser(), + extensionRegistry); + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + objectives_.add(m); + } else { + objectivesBuilder_.addMessage(m); + } + break; + } // case 138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -6827,28 +8140,232 @@ public Builder mergeFrom( throw e.unwrapIOException(); } finally { onChanged(); - } // finally + } // finally + return this; + } + + private int bitField0_; + + private java.util.List shipments_ = + java.util.Collections.emptyList(); + + private void ensureShipmentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + shipments_ = + new java.util.ArrayList(shipments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routeoptimization.v1.Shipment, + com.google.maps.routeoptimization.v1.Shipment.Builder, + com.google.maps.routeoptimization.v1.ShipmentOrBuilder> + shipmentsBuilder_; + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public java.util.List getShipmentsList() { + if (shipmentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(shipments_); + } else { + return shipmentsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public int getShipmentsCount() { + if (shipmentsBuilder_ == null) { + return shipments_.size(); + } else { + return shipmentsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public com.google.maps.routeoptimization.v1.Shipment getShipments(int index) { + if (shipmentsBuilder_ == null) { + return shipments_.get(index); + } else { + return shipmentsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder setShipments(int index, com.google.maps.routeoptimization.v1.Shipment value) { + if (shipmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShipmentsIsMutable(); + shipments_.set(index, value); + onChanged(); + } else { + shipmentsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder setShipments( + int index, com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { + if (shipmentsBuilder_ == null) { + ensureShipmentsIsMutable(); + shipments_.set(index, builderForValue.build()); + onChanged(); + } else { + shipmentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder addShipments(com.google.maps.routeoptimization.v1.Shipment value) { + if (shipmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShipmentsIsMutable(); + shipments_.add(value); + onChanged(); + } else { + shipmentsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder addShipments(int index, com.google.maps.routeoptimization.v1.Shipment value) { + if (shipmentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShipmentsIsMutable(); + shipments_.add(index, value); + onChanged(); + } else { + shipmentsBuilder_.addMessage(index, value); + } return this; } - private int bitField0_; - - private java.util.List shipments_ = - java.util.Collections.emptyList(); + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder addShipments( + com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { + if (shipmentsBuilder_ == null) { + ensureShipmentsIsMutable(); + shipments_.add(builderForValue.build()); + onChanged(); + } else { + shipmentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } - private void ensureShipmentsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - shipments_ = - new java.util.ArrayList(shipments_); - bitField0_ |= 0x00000001; + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder addShipments( + int index, com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { + if (shipmentsBuilder_ == null) { + ensureShipmentsIsMutable(); + shipments_.add(index, builderForValue.build()); + onChanged(); + } else { + shipmentsBuilder_.addMessage(index, builderForValue.build()); } + return this; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Shipment, - com.google.maps.routeoptimization.v1.Shipment.Builder, - com.google.maps.routeoptimization.v1.ShipmentOrBuilder> - shipmentsBuilder_; + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public Builder addAllShipments( + java.lang.Iterable values) { + if (shipmentsBuilder_ == null) { + ensureShipmentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shipments_); + onChanged(); + } else { + shipmentsBuilder_.addAllMessages(values); + } + return this; + } /** * @@ -6859,12 +8376,15 @@ private void ensureShipmentsIsMutable() { * * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; */ - public java.util.List getShipmentsList() { + public Builder clearShipments() { if (shipmentsBuilder_ == null) { - return java.util.Collections.unmodifiableList(shipments_); + shipments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); } else { - return shipmentsBuilder_.getMessageList(); + shipmentsBuilder_.clear(); } + return this; } /** @@ -6876,12 +8396,15 @@ public java.util.List getShipment * * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; */ - public int getShipmentsCount() { + public Builder removeShipments(int index) { if (shipmentsBuilder_ == null) { - return shipments_.size(); + ensureShipmentsIsMutable(); + shipments_.remove(index); + onChanged(); } else { - return shipmentsBuilder_.getCount(); + shipmentsBuilder_.remove(index); } + return this; } /** @@ -6893,11 +8416,42 @@ public int getShipmentsCount() { * * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; */ - public com.google.maps.routeoptimization.v1.Shipment getShipments(int index) { + public com.google.maps.routeoptimization.v1.Shipment.Builder getShipmentsBuilder(int index) { + return getShipmentsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public com.google.maps.routeoptimization.v1.ShipmentOrBuilder getShipmentsOrBuilder(int index) { if (shipmentsBuilder_ == null) { return shipments_.get(index); } else { - return shipmentsBuilder_.getMessage(index); + return shipmentsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public java.util.List + getShipmentsOrBuilderList() { + if (shipmentsBuilder_ != null) { + return shipmentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(shipments_); } } @@ -6908,18 +8462,145 @@ public com.google.maps.routeoptimization.v1.Shipment getShipments(int index) { * Set of shipments which must be performed in the model. * * - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public com.google.maps.routeoptimization.v1.Shipment.Builder addShipmentsBuilder() { + return getShipmentsFieldBuilder() + .addBuilder(com.google.maps.routeoptimization.v1.Shipment.getDefaultInstance()); + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public com.google.maps.routeoptimization.v1.Shipment.Builder addShipmentsBuilder(int index) { + return getShipmentsFieldBuilder() + .addBuilder(index, com.google.maps.routeoptimization.v1.Shipment.getDefaultInstance()); + } + + /** + * + * + *
+     * Set of shipments which must be performed in the model.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + */ + public java.util.List + getShipmentsBuilderList() { + return getShipmentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routeoptimization.v1.Shipment, + com.google.maps.routeoptimization.v1.Shipment.Builder, + com.google.maps.routeoptimization.v1.ShipmentOrBuilder> + getShipmentsFieldBuilder() { + if (shipmentsBuilder_ == null) { + shipmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routeoptimization.v1.Shipment, + com.google.maps.routeoptimization.v1.Shipment.Builder, + com.google.maps.routeoptimization.v1.ShipmentOrBuilder>( + shipments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + shipments_ = null; + } + return shipmentsBuilder_; + } + + private java.util.List vehicles_ = + java.util.Collections.emptyList(); + + private void ensureVehiclesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + vehicles_ = + new java.util.ArrayList(vehicles_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle, + com.google.maps.routeoptimization.v1.Vehicle.Builder, + com.google.maps.routeoptimization.v1.VehicleOrBuilder> + vehiclesBuilder_; + + /** + * + * + *
+     * Set of vehicles which can be used to perform visits.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + public java.util.List getVehiclesList() { + if (vehiclesBuilder_ == null) { + return java.util.Collections.unmodifiableList(vehicles_); + } else { + return vehiclesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Set of vehicles which can be used to perform visits.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + public int getVehiclesCount() { + if (vehiclesBuilder_ == null) { + return vehicles_.size(); + } else { + return vehiclesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Set of vehicles which can be used to perform visits.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + */ + public com.google.maps.routeoptimization.v1.Vehicle getVehicles(int index) { + if (vehiclesBuilder_ == null) { + return vehicles_.get(index); + } else { + return vehiclesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Set of vehicles which can be used to perform visits.
+     * 
+ * + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder setShipments(int index, com.google.maps.routeoptimization.v1.Shipment value) { - if (shipmentsBuilder_ == null) { + public Builder setVehicles(int index, com.google.maps.routeoptimization.v1.Vehicle value) { + if (vehiclesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShipmentsIsMutable(); - shipments_.set(index, value); + ensureVehiclesIsMutable(); + vehicles_.set(index, value); onChanged(); } else { - shipmentsBuilder_.setMessage(index, value); + vehiclesBuilder_.setMessage(index, value); } return this; } @@ -6928,19 +8609,19 @@ public Builder setShipments(int index, com.google.maps.routeoptimization.v1.Ship * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder setShipments( - int index, com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { - if (shipmentsBuilder_ == null) { - ensureShipmentsIsMutable(); - shipments_.set(index, builderForValue.build()); + public Builder setVehicles( + int index, com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { + if (vehiclesBuilder_ == null) { + ensureVehiclesIsMutable(); + vehicles_.set(index, builderForValue.build()); onChanged(); } else { - shipmentsBuilder_.setMessage(index, builderForValue.build()); + vehiclesBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -6949,21 +8630,21 @@ public Builder setShipments( * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder addShipments(com.google.maps.routeoptimization.v1.Shipment value) { - if (shipmentsBuilder_ == null) { + public Builder addVehicles(com.google.maps.routeoptimization.v1.Vehicle value) { + if (vehiclesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShipmentsIsMutable(); - shipments_.add(value); + ensureVehiclesIsMutable(); + vehicles_.add(value); onChanged(); } else { - shipmentsBuilder_.addMessage(value); + vehiclesBuilder_.addMessage(value); } return this; } @@ -6972,21 +8653,21 @@ public Builder addShipments(com.google.maps.routeoptimization.v1.Shipment value) * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder addShipments(int index, com.google.maps.routeoptimization.v1.Shipment value) { - if (shipmentsBuilder_ == null) { + public Builder addVehicles(int index, com.google.maps.routeoptimization.v1.Vehicle value) { + if (vehiclesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShipmentsIsMutable(); - shipments_.add(index, value); + ensureVehiclesIsMutable(); + vehicles_.add(index, value); onChanged(); } else { - shipmentsBuilder_.addMessage(index, value); + vehiclesBuilder_.addMessage(index, value); } return this; } @@ -6995,19 +8676,19 @@ public Builder addShipments(int index, com.google.maps.routeoptimization.v1.Ship * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder addShipments( - com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { - if (shipmentsBuilder_ == null) { - ensureShipmentsIsMutable(); - shipments_.add(builderForValue.build()); + public Builder addVehicles( + com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { + if (vehiclesBuilder_ == null) { + ensureVehiclesIsMutable(); + vehicles_.add(builderForValue.build()); onChanged(); } else { - shipmentsBuilder_.addMessage(builderForValue.build()); + vehiclesBuilder_.addMessage(builderForValue.build()); } return this; } @@ -7016,19 +8697,19 @@ public Builder addShipments( * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder addShipments( - int index, com.google.maps.routeoptimization.v1.Shipment.Builder builderForValue) { - if (shipmentsBuilder_ == null) { - ensureShipmentsIsMutable(); - shipments_.add(index, builderForValue.build()); + public Builder addVehicles( + int index, com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { + if (vehiclesBuilder_ == null) { + ensureVehiclesIsMutable(); + vehicles_.add(index, builderForValue.build()); onChanged(); } else { - shipmentsBuilder_.addMessage(index, builderForValue.build()); + vehiclesBuilder_.addMessage(index, builderForValue.build()); } return this; } @@ -7037,19 +8718,19 @@ public Builder addShipments( * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder addAllShipments( - java.lang.Iterable values) { - if (shipmentsBuilder_ == null) { - ensureShipmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shipments_); + public Builder addAllVehicles( + java.lang.Iterable values) { + if (vehiclesBuilder_ == null) { + ensureVehiclesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vehicles_); onChanged(); } else { - shipmentsBuilder_.addAllMessages(values); + vehiclesBuilder_.addAllMessages(values); } return this; } @@ -7058,18 +8739,18 @@ public Builder addAllShipments( * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder clearShipments() { - if (shipmentsBuilder_ == null) { - shipments_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder clearVehicles() { + if (vehiclesBuilder_ == null) { + vehicles_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { - shipmentsBuilder_.clear(); + vehiclesBuilder_.clear(); } return this; } @@ -7078,18 +8759,18 @@ public Builder clearShipments() { * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public Builder removeShipments(int index) { - if (shipmentsBuilder_ == null) { - ensureShipmentsIsMutable(); - shipments_.remove(index); + public Builder removeVehicles(int index) { + if (vehiclesBuilder_ == null) { + ensureVehiclesIsMutable(); + vehicles_.remove(index); onChanged(); } else { - shipmentsBuilder_.remove(index); + vehiclesBuilder_.remove(index); } return this; } @@ -7098,29 +8779,29 @@ public Builder removeShipments(int index) { * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public com.google.maps.routeoptimization.v1.Shipment.Builder getShipmentsBuilder(int index) { - return getShipmentsFieldBuilder().getBuilder(index); + public com.google.maps.routeoptimization.v1.Vehicle.Builder getVehiclesBuilder(int index) { + return getVehiclesFieldBuilder().getBuilder(index); } /** * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public com.google.maps.routeoptimization.v1.ShipmentOrBuilder getShipmentsOrBuilder(int index) { - if (shipmentsBuilder_ == null) { - return shipments_.get(index); + public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilder(int index) { + if (vehiclesBuilder_ == null) { + return vehicles_.get(index); } else { - return shipmentsBuilder_.getMessageOrBuilder(index); + return vehiclesBuilder_.getMessageOrBuilder(index); } } @@ -7128,17 +8809,17 @@ public com.google.maps.routeoptimization.v1.ShipmentOrBuilder getShipmentsOrBuil * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public java.util.List - getShipmentsOrBuilderList() { - if (shipmentsBuilder_ != null) { - return shipmentsBuilder_.getMessageOrBuilderList(); + public java.util.List + getVehiclesOrBuilderList() { + if (vehiclesBuilder_ != null) { + return vehiclesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(shipments_); + return java.util.Collections.unmodifiableList(vehicles_); } } @@ -7146,92 +8827,103 @@ public com.google.maps.routeoptimization.v1.ShipmentOrBuilder getShipmentsOrBuil * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public com.google.maps.routeoptimization.v1.Shipment.Builder addShipmentsBuilder() { - return getShipmentsFieldBuilder() - .addBuilder(com.google.maps.routeoptimization.v1.Shipment.getDefaultInstance()); + public com.google.maps.routeoptimization.v1.Vehicle.Builder addVehiclesBuilder() { + return getVehiclesFieldBuilder() + .addBuilder(com.google.maps.routeoptimization.v1.Vehicle.getDefaultInstance()); } /** * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public com.google.maps.routeoptimization.v1.Shipment.Builder addShipmentsBuilder(int index) { - return getShipmentsFieldBuilder() - .addBuilder(index, com.google.maps.routeoptimization.v1.Shipment.getDefaultInstance()); + public com.google.maps.routeoptimization.v1.Vehicle.Builder addVehiclesBuilder(int index) { + return getVehiclesFieldBuilder() + .addBuilder(index, com.google.maps.routeoptimization.v1.Vehicle.getDefaultInstance()); } /** * * *
-     * Set of shipments which must be performed in the model.
+     * Set of vehicles which can be used to perform visits.
      * 
* - * repeated .google.maps.routeoptimization.v1.Shipment shipments = 1; + * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; */ - public java.util.List - getShipmentsBuilderList() { - return getShipmentsFieldBuilder().getBuilderList(); + public java.util.List + getVehiclesBuilderList() { + return getVehiclesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Shipment, - com.google.maps.routeoptimization.v1.Shipment.Builder, - com.google.maps.routeoptimization.v1.ShipmentOrBuilder> - getShipmentsFieldBuilder() { - if (shipmentsBuilder_ == null) { - shipmentsBuilder_ = + com.google.maps.routeoptimization.v1.Vehicle, + com.google.maps.routeoptimization.v1.Vehicle.Builder, + com.google.maps.routeoptimization.v1.VehicleOrBuilder> + getVehiclesFieldBuilder() { + if (vehiclesBuilder_ == null) { + vehiclesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Shipment, - com.google.maps.routeoptimization.v1.Shipment.Builder, - com.google.maps.routeoptimization.v1.ShipmentOrBuilder>( - shipments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - shipments_ = null; + com.google.maps.routeoptimization.v1.Vehicle, + com.google.maps.routeoptimization.v1.Vehicle.Builder, + com.google.maps.routeoptimization.v1.VehicleOrBuilder>( + vehicles_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + vehicles_ = null; } - return shipmentsBuilder_; + return vehiclesBuilder_; } - private java.util.List vehicles_ = - java.util.Collections.emptyList(); + private java.util.List + objectives_ = java.util.Collections.emptyList(); - private void ensureVehiclesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - vehicles_ = - new java.util.ArrayList(vehicles_); - bitField0_ |= 0x00000002; + private void ensureObjectivesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + objectives_ = + new java.util.ArrayList( + objectives_); + bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle, - com.google.maps.routeoptimization.v1.Vehicle.Builder, - com.google.maps.routeoptimization.v1.VehicleOrBuilder> - vehiclesBuilder_; + com.google.maps.routeoptimization.v1.ShipmentModel.Objective, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder, + com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder> + objectivesBuilder_; /** * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public java.util.List getVehiclesList() { - if (vehiclesBuilder_ == null) { - return java.util.Collections.unmodifiableList(vehicles_); + public java.util.List + getObjectivesList() { + if (objectivesBuilder_ == null) { + return java.util.Collections.unmodifiableList(objectives_); } else { - return vehiclesBuilder_.getMessageList(); + return objectivesBuilder_.getMessageList(); } } @@ -7239,16 +8931,25 @@ public java.util.List getVehiclesL * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public int getVehiclesCount() { - if (vehiclesBuilder_ == null) { - return vehicles_.size(); + public int getObjectivesCount() { + if (objectivesBuilder_ == null) { + return objectives_.size(); } else { - return vehiclesBuilder_.getCount(); + return objectivesBuilder_.getCount(); } } @@ -7256,16 +8957,25 @@ public int getVehiclesCount() { * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public com.google.maps.routeoptimization.v1.Vehicle getVehicles(int index) { - if (vehiclesBuilder_ == null) { - return vehicles_.get(index); + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective getObjectives(int index) { + if (objectivesBuilder_ == null) { + return objectives_.get(index); } else { - return vehiclesBuilder_.getMessage(index); + return objectivesBuilder_.getMessage(index); } } @@ -7273,21 +8983,31 @@ public com.google.maps.routeoptimization.v1.Vehicle getVehicles(int index) { * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder setVehicles(int index, com.google.maps.routeoptimization.v1.Vehicle value) { - if (vehiclesBuilder_ == null) { + public Builder setObjectives( + int index, com.google.maps.routeoptimization.v1.ShipmentModel.Objective value) { + if (objectivesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVehiclesIsMutable(); - vehicles_.set(index, value); + ensureObjectivesIsMutable(); + objectives_.set(index, value); onChanged(); } else { - vehiclesBuilder_.setMessage(index, value); + objectivesBuilder_.setMessage(index, value); } return this; } @@ -7296,19 +9016,29 @@ public Builder setVehicles(int index, com.google.maps.routeoptimization.v1.Vehic * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder setVehicles( - int index, com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { - if (vehiclesBuilder_ == null) { - ensureVehiclesIsMutable(); - vehicles_.set(index, builderForValue.build()); + public Builder setObjectives( + int index, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder builderForValue) { + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + objectives_.set(index, builderForValue.build()); onChanged(); } else { - vehiclesBuilder_.setMessage(index, builderForValue.build()); + objectivesBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -7317,21 +9047,31 @@ public Builder setVehicles( * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder addVehicles(com.google.maps.routeoptimization.v1.Vehicle value) { - if (vehiclesBuilder_ == null) { + public Builder addObjectives( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective value) { + if (objectivesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVehiclesIsMutable(); - vehicles_.add(value); + ensureObjectivesIsMutable(); + objectives_.add(value); onChanged(); } else { - vehiclesBuilder_.addMessage(value); + objectivesBuilder_.addMessage(value); } return this; } @@ -7340,21 +9080,31 @@ public Builder addVehicles(com.google.maps.routeoptimization.v1.Vehicle value) { * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder addVehicles(int index, com.google.maps.routeoptimization.v1.Vehicle value) { - if (vehiclesBuilder_ == null) { + public Builder addObjectives( + int index, com.google.maps.routeoptimization.v1.ShipmentModel.Objective value) { + if (objectivesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVehiclesIsMutable(); - vehicles_.add(index, value); + ensureObjectivesIsMutable(); + objectives_.add(index, value); onChanged(); } else { - vehiclesBuilder_.addMessage(index, value); + objectivesBuilder_.addMessage(index, value); } return this; } @@ -7363,19 +9113,28 @@ public Builder addVehicles(int index, com.google.maps.routeoptimization.v1.Vehic * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder addVehicles( - com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { - if (vehiclesBuilder_ == null) { - ensureVehiclesIsMutable(); - vehicles_.add(builderForValue.build()); + public Builder addObjectives( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder builderForValue) { + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + objectives_.add(builderForValue.build()); onChanged(); } else { - vehiclesBuilder_.addMessage(builderForValue.build()); + objectivesBuilder_.addMessage(builderForValue.build()); } return this; } @@ -7384,19 +9143,29 @@ public Builder addVehicles( * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder addVehicles( - int index, com.google.maps.routeoptimization.v1.Vehicle.Builder builderForValue) { - if (vehiclesBuilder_ == null) { - ensureVehiclesIsMutable(); - vehicles_.add(index, builderForValue.build()); + public Builder addObjectives( + int index, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder builderForValue) { + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + objectives_.add(index, builderForValue.build()); onChanged(); } else { - vehiclesBuilder_.addMessage(index, builderForValue.build()); + objectivesBuilder_.addMessage(index, builderForValue.build()); } return this; } @@ -7405,19 +9174,29 @@ public Builder addVehicles( * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder addAllVehicles( - java.lang.Iterable values) { - if (vehiclesBuilder_ == null) { - ensureVehiclesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vehicles_); + public Builder addAllObjectives( + java.lang.Iterable + values) { + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectives_); onChanged(); } else { - vehiclesBuilder_.addAllMessages(values); + objectivesBuilder_.addAllMessages(values); } return this; } @@ -7426,18 +9205,27 @@ public Builder addAllVehicles( * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder clearVehicles() { - if (vehiclesBuilder_ == null) { - vehicles_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + public Builder clearObjectives() { + if (objectivesBuilder_ == null) { + objectives_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { - vehiclesBuilder_.clear(); + objectivesBuilder_.clear(); } return this; } @@ -7446,18 +9234,27 @@ public Builder clearVehicles() { * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public Builder removeVehicles(int index) { - if (vehiclesBuilder_ == null) { - ensureVehiclesIsMutable(); - vehicles_.remove(index); + public Builder removeObjectives(int index) { + if (objectivesBuilder_ == null) { + ensureObjectivesIsMutable(); + objectives_.remove(index); onChanged(); } else { - vehiclesBuilder_.remove(index); + objectivesBuilder_.remove(index); } return this; } @@ -7466,29 +9263,49 @@ public Builder removeVehicles(int index) { * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public com.google.maps.routeoptimization.v1.Vehicle.Builder getVehiclesBuilder(int index) { - return getVehiclesFieldBuilder().getBuilder(index); + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder + getObjectivesBuilder(int index) { + return getObjectivesFieldBuilder().getBuilder(index); } /** * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilder(int index) { - if (vehiclesBuilder_ == null) { - return vehicles_.get(index); + public com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder + getObjectivesOrBuilder(int index) { + if (objectivesBuilder_ == null) { + return objectives_.get(index); } else { - return vehiclesBuilder_.getMessageOrBuilder(index); + return objectivesBuilder_.getMessageOrBuilder(index); } } @@ -7496,17 +9313,27 @@ public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilde * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public java.util.List - getVehiclesOrBuilderList() { - if (vehiclesBuilder_ != null) { - return vehiclesBuilder_.getMessageOrBuilderList(); + public java.util.List< + ? extends com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder> + getObjectivesOrBuilderList() { + if (objectivesBuilder_ != null) { + return objectivesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(vehicles_); + return java.util.Collections.unmodifiableList(objectives_); } } @@ -7514,59 +9341,91 @@ public com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilde * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public com.google.maps.routeoptimization.v1.Vehicle.Builder addVehiclesBuilder() { - return getVehiclesFieldBuilder() - .addBuilder(com.google.maps.routeoptimization.v1.Vehicle.getDefaultInstance()); + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder + addObjectivesBuilder() { + return getObjectivesFieldBuilder() + .addBuilder( + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.getDefaultInstance()); } /** * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public com.google.maps.routeoptimization.v1.Vehicle.Builder addVehiclesBuilder(int index) { - return getVehiclesFieldBuilder() - .addBuilder(index, com.google.maps.routeoptimization.v1.Vehicle.getDefaultInstance()); + public com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder + addObjectivesBuilder(int index) { + return getObjectivesFieldBuilder() + .addBuilder( + index, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.getDefaultInstance()); } /** * * *
-     * Set of vehicles which can be used to perform visits.
+     * The set of objectives for this model, that we will transform into costs.
+     * If not empty, the input model has to be costless.
+     * To obtain the modified request, please use `solving_mode` =
+     * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+     * be solved in this case. See corresponding documentation.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+     * for more details.
      * 
* - * repeated .google.maps.routeoptimization.v1.Vehicle vehicles = 2; + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * */ - public java.util.List - getVehiclesBuilderList() { - return getVehiclesFieldBuilder().getBuilderList(); + public java.util.List + getObjectivesBuilderList() { + return getObjectivesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle, - com.google.maps.routeoptimization.v1.Vehicle.Builder, - com.google.maps.routeoptimization.v1.VehicleOrBuilder> - getVehiclesFieldBuilder() { - if (vehiclesBuilder_ == null) { - vehiclesBuilder_ = + com.google.maps.routeoptimization.v1.ShipmentModel.Objective, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder, + com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder> + getObjectivesFieldBuilder() { + if (objectivesBuilder_ == null) { + objectivesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle, - com.google.maps.routeoptimization.v1.Vehicle.Builder, - com.google.maps.routeoptimization.v1.VehicleOrBuilder>( - vehicles_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - vehicles_ = null; + com.google.maps.routeoptimization.v1.ShipmentModel.Objective, + com.google.maps.routeoptimization.v1.ShipmentModel.Objective.Builder, + com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder>( + objectives_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + objectives_ = null; } - return vehiclesBuilder_; + return objectivesBuilder_; } private int maxActiveVehicles_; @@ -7589,7 +9448,7 @@ public com.google.maps.routeoptimization.v1.Vehicle.Builder addVehiclesBuilder(i */ @java.lang.Override public boolean hasMaxActiveVehicles() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -7633,7 +9492,7 @@ public int getMaxActiveVehicles() { public Builder setMaxActiveVehicles(int value) { maxActiveVehicles_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -7655,7 +9514,7 @@ public Builder setMaxActiveVehicles(int value) { * @return This builder for chaining. */ public Builder clearMaxActiveVehicles() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); maxActiveVehicles_ = 0; onChanged(); return this; @@ -7690,7 +9549,7 @@ public Builder clearMaxActiveVehicles() { * @return Whether the globalStartTime field is set. */ public boolean hasGlobalStartTime() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** @@ -7752,7 +9611,7 @@ public Builder setGlobalStartTime(com.google.protobuf.Timestamp value) { } else { globalStartTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -7782,7 +9641,7 @@ public Builder setGlobalStartTime(com.google.protobuf.Timestamp.Builder builderF } else { globalStartTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -7808,7 +9667,7 @@ public Builder setGlobalStartTime(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeGlobalStartTime(com.google.protobuf.Timestamp value) { if (globalStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000010) != 0) && globalStartTime_ != null && globalStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getGlobalStartTimeBuilder().mergeFrom(value); @@ -7819,7 +9678,7 @@ public Builder mergeGlobalStartTime(com.google.protobuf.Timestamp value) { globalStartTimeBuilder_.mergeFrom(value); } if (globalStartTime_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } return this; @@ -7845,7 +9704,7 @@ public Builder mergeGlobalStartTime(com.google.protobuf.Timestamp value) { * .google.protobuf.Timestamp global_start_time = 5; */ public Builder clearGlobalStartTime() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); globalStartTime_ = null; if (globalStartTimeBuilder_ != null) { globalStartTimeBuilder_.dispose(); @@ -7875,7 +9734,7 @@ public Builder clearGlobalStartTime() { * .google.protobuf.Timestamp global_start_time = 5; */ public com.google.protobuf.Timestamp.Builder getGlobalStartTimeBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return getGlobalStartTimeFieldBuilder().getBuilder(); } @@ -7965,7 +9824,7 @@ public com.google.protobuf.TimestampOrBuilder getGlobalStartTimeOrBuilder() { * @return Whether the globalEndTime field is set. */ public boolean hasGlobalEndTime() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -8009,7 +9868,7 @@ public Builder setGlobalEndTime(com.google.protobuf.Timestamp value) { } else { globalEndTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -8030,7 +9889,7 @@ public Builder setGlobalEndTime(com.google.protobuf.Timestamp.Builder builderFor } else { globalEndTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -8047,7 +9906,7 @@ public Builder setGlobalEndTime(com.google.protobuf.Timestamp.Builder builderFor */ public Builder mergeGlobalEndTime(com.google.protobuf.Timestamp value) { if (globalEndTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000020) != 0) && globalEndTime_ != null && globalEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getGlobalEndTimeBuilder().mergeFrom(value); @@ -8058,7 +9917,7 @@ public Builder mergeGlobalEndTime(com.google.protobuf.Timestamp value) { globalEndTimeBuilder_.mergeFrom(value); } if (globalEndTime_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -8075,7 +9934,7 @@ public Builder mergeGlobalEndTime(com.google.protobuf.Timestamp value) { * .google.protobuf.Timestamp global_end_time = 6; */ public Builder clearGlobalEndTime() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); globalEndTime_ = null; if (globalEndTimeBuilder_ != null) { globalEndTimeBuilder_.dispose(); @@ -8096,7 +9955,7 @@ public Builder clearGlobalEndTime() { * .google.protobuf.Timestamp global_end_time = 6; */ public com.google.protobuf.Timestamp.Builder getGlobalEndTimeBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return getGlobalEndTimeFieldBuilder().getBuilder(); } @@ -8191,7 +10050,7 @@ public double getGlobalDurationCostPerHour() { public Builder setGlobalDurationCostPerHour(double value) { globalDurationCostPerHour_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -8213,7 +10072,7 @@ public Builder setGlobalDurationCostPerHour(double value) { * @return This builder for chaining. */ public Builder clearGlobalDurationCostPerHour() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); globalDurationCostPerHour_ = 0D; onChanged(); return this; @@ -8224,12 +10083,12 @@ public Builder clearGlobalDurationCostPerHour() { durationDistanceMatrices_ = java.util.Collections.emptyList(); private void ensureDurationDistanceMatricesIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000080) != 0)) { durationDistanceMatrices_ = new java.util.ArrayList< com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix>( durationDistanceMatrices_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; } } @@ -8277,7 +10136,6 @@ private void ensureDurationDistanceMatricesIsMutable() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8383,7 +10241,6 @@ private void ensureDurationDistanceMatricesIsMutable() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8488,7 +10345,6 @@ public int getDurationDistanceMatricesCount() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8594,7 +10450,6 @@ public int getDurationDistanceMatricesCount() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8707,7 +10562,6 @@ public Builder setDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8818,7 +10672,6 @@ public Builder setDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -8930,7 +10783,6 @@ public Builder addDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9043,7 +10895,6 @@ public Builder addDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9153,7 +11004,6 @@ public Builder addDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9264,7 +11114,6 @@ public Builder addDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9375,7 +11224,6 @@ public Builder addAllDurationDistanceMatrices( * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9437,7 +11285,7 @@ public Builder addAllDurationDistanceMatrices( public Builder clearDurationDistanceMatrices() { if (durationDistanceMatricesBuilder_ == null) { durationDistanceMatrices_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { durationDistanceMatricesBuilder_.clear(); @@ -9483,7 +11331,6 @@ public Builder clearDurationDistanceMatrices() { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9591,7 +11438,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9693,7 +11539,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9799,7 +11644,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -9907,7 +11751,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -10012,7 +11855,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -10118,7 +11960,6 @@ public Builder removeDurationDistanceMatrices(int index) { * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -10195,7 +12036,7 @@ public Builder removeDurationDistanceMatrices(int index) { com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrix.Builder, com.google.maps.routeoptimization.v1.ShipmentModel.DurationDistanceMatrixOrBuilder>( durationDistanceMatrices_, - ((bitField0_ & 0x00000040) != 0), + ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); durationDistanceMatrices_ = null; @@ -10211,7 +12052,7 @@ private void ensureDurationDistanceMatrixSrcTagsIsMutable() { durationDistanceMatrixSrcTags_ = new com.google.protobuf.LazyStringArrayList(durationDistanceMatrixSrcTags_); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; } /** @@ -10361,7 +12202,7 @@ public Builder setDurationDistanceMatrixSrcTags(int index, java.lang.String valu } ensureDurationDistanceMatrixSrcTagsIsMutable(); durationDistanceMatrixSrcTags_.set(index, value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -10397,7 +12238,7 @@ public Builder addDurationDistanceMatrixSrcTags(java.lang.String value) { } ensureDurationDistanceMatrixSrcTagsIsMutable(); durationDistanceMatrixSrcTags_.add(value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -10432,7 +12273,7 @@ public Builder addAllDurationDistanceMatrixSrcTags( ensureDurationDistanceMatrixSrcTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, durationDistanceMatrixSrcTags_); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -10463,7 +12304,7 @@ public Builder addAllDurationDistanceMatrixSrcTags( */ public Builder clearDurationDistanceMatrixSrcTags() { durationDistanceMatrixSrcTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); ; onChanged(); return this; @@ -10501,7 +12342,7 @@ public Builder addDurationDistanceMatrixSrcTagsBytes(com.google.protobuf.ByteStr checkByteStringIsUtf8(value); ensureDurationDistanceMatrixSrcTagsIsMutable(); durationDistanceMatrixSrcTags_.add(value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -10514,7 +12355,7 @@ private void ensureDurationDistanceMatrixDstTagsIsMutable() { durationDistanceMatrixDstTags_ = new com.google.protobuf.LazyStringArrayList(durationDistanceMatrixDstTags_); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; } /** @@ -10674,7 +12515,7 @@ public Builder setDurationDistanceMatrixDstTags(int index, java.lang.String valu } ensureDurationDistanceMatrixDstTagsIsMutable(); durationDistanceMatrixDstTags_.set(index, value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -10712,7 +12553,7 @@ public Builder addDurationDistanceMatrixDstTags(java.lang.String value) { } ensureDurationDistanceMatrixDstTagsIsMutable(); durationDistanceMatrixDstTags_.add(value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -10749,7 +12590,7 @@ public Builder addAllDurationDistanceMatrixDstTags( ensureDurationDistanceMatrixDstTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, durationDistanceMatrixDstTags_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -10782,7 +12623,7 @@ public Builder addAllDurationDistanceMatrixDstTags( */ public Builder clearDurationDistanceMatrixDstTags() { durationDistanceMatrixDstTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); ; onChanged(); return this; @@ -10822,7 +12663,7 @@ public Builder addDurationDistanceMatrixDstTagsBytes(com.google.protobuf.ByteStr checkByteStringIsUtf8(value); ensureDurationDistanceMatrixDstTagsIsMutable(); durationDistanceMatrixDstTags_.add(value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -10831,11 +12672,11 @@ public Builder addDurationDistanceMatrixDstTagsBytes(com.google.protobuf.ByteStr transitionAttributes_ = java.util.Collections.emptyList(); private void ensureTransitionAttributesIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000400) != 0)) { transitionAttributes_ = new java.util.ArrayList( transitionAttributes_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; } } @@ -11091,7 +12932,7 @@ public Builder addAllTransitionAttributes( public Builder clearTransitionAttributes() { if (transitionAttributesBuilder_ == null) { transitionAttributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { transitionAttributesBuilder_.clear(); @@ -11243,7 +13084,7 @@ public Builder removeTransitionAttributes(int index) { com.google.maps.routeoptimization.v1.TransitionAttributes.Builder, com.google.maps.routeoptimization.v1.TransitionAttributesOrBuilder>( transitionAttributes_, - ((bitField0_ & 0x00000200) != 0), + ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); transitionAttributes_ = null; @@ -11255,12 +13096,12 @@ public Builder removeTransitionAttributes(int index) { shipmentTypeIncompatibilities_ = java.util.Collections.emptyList(); private void ensureShipmentTypeIncompatibilitiesIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00000800) != 0)) { shipmentTypeIncompatibilities_ = new java.util.ArrayList< com.google.maps.routeoptimization.v1.ShipmentTypeIncompatibility>( shipmentTypeIncompatibilities_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } } @@ -11518,7 +13359,7 @@ public Builder addAllShipmentTypeIncompatibilities( public Builder clearShipmentTypeIncompatibilities() { if (shipmentTypeIncompatibilitiesBuilder_ == null) { shipmentTypeIncompatibilities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { shipmentTypeIncompatibilitiesBuilder_.clear(); @@ -11672,7 +13513,7 @@ public Builder removeShipmentTypeIncompatibilities(int index) { com.google.maps.routeoptimization.v1.ShipmentTypeIncompatibility.Builder, com.google.maps.routeoptimization.v1.ShipmentTypeIncompatibilityOrBuilder>( shipmentTypeIncompatibilities_, - ((bitField0_ & 0x00000400) != 0), + ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); shipmentTypeIncompatibilities_ = null; @@ -11684,11 +13525,11 @@ public Builder removeShipmentTypeIncompatibilities(int index) { shipmentTypeRequirements_ = java.util.Collections.emptyList(); private void ensureShipmentTypeRequirementsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { + if (!((bitField0_ & 0x00001000) != 0)) { shipmentTypeRequirements_ = new java.util.ArrayList( shipmentTypeRequirements_); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; } } @@ -11944,7 +13785,7 @@ public Builder addAllShipmentTypeRequirements( public Builder clearShipmentTypeRequirements() { if (shipmentTypeRequirementsBuilder_ == null) { shipmentTypeRequirements_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { shipmentTypeRequirementsBuilder_.clear(); @@ -12096,7 +13937,7 @@ public Builder removeShipmentTypeRequirements(int index) { com.google.maps.routeoptimization.v1.ShipmentTypeRequirement.Builder, com.google.maps.routeoptimization.v1.ShipmentTypeRequirementOrBuilder>( shipmentTypeRequirements_, - ((bitField0_ & 0x00000800) != 0), + ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); shipmentTypeRequirements_ = null; @@ -12108,12 +13949,12 @@ public Builder removeShipmentTypeRequirements(int index) { precedenceRules_ = java.util.Collections.emptyList(); private void ensurePrecedenceRulesIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { + if (!((bitField0_ & 0x00002000) != 0)) { precedenceRules_ = new java.util.ArrayList< com.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule>( precedenceRules_); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; } } @@ -12128,6 +13969,10 @@ private void ensurePrecedenceRulesIsMutable() { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12148,6 +13993,10 @@ private void ensurePrecedenceRulesIsMutable() { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12167,6 +14016,10 @@ public int getPrecedenceRulesCount() { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12187,6 +14040,10 @@ public com.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule getPrec * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12213,6 +14070,10 @@ public Builder setPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12237,6 +14098,10 @@ public Builder setPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12263,6 +14128,10 @@ public Builder addPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12289,6 +14158,10 @@ public Builder addPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12312,6 +14185,10 @@ public Builder addPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12336,6 +14213,10 @@ public Builder addPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12361,6 +14242,10 @@ public Builder addAllPrecedenceRules( * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12370,7 +14255,7 @@ public Builder addAllPrecedenceRules( public Builder clearPrecedenceRules() { if (precedenceRulesBuilder_ == null) { precedenceRules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { precedenceRulesBuilder_.clear(); @@ -12383,6 +14268,10 @@ public Builder clearPrecedenceRules() { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12405,6 +14294,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12421,6 +14314,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12441,6 +14338,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12462,6 +14363,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12481,6 +14386,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12501,6 +14410,10 @@ public Builder removePrecedenceRules(int index) { * *
      * Set of precedence rules which must be enforced in the model.
+     *
+     * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+     * optimized. Requests using precedence rules that include many shipments may
+     * be rejected.
      * 
* * @@ -12524,7 +14437,7 @@ public Builder removePrecedenceRules(int index) { com.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule.Builder, com.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRuleOrBuilder>( precedenceRules_, - ((bitField0_ & 0x00001000) != 0), + ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); precedenceRules_ = null; diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModelOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModelOrBuilder.java index dac7cf5fb025..4455c0e604f7 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModelOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentModelOrBuilder.java @@ -136,6 +136,108 @@ public interface ShipmentModelOrBuilder */ com.google.maps.routeoptimization.v1.VehicleOrBuilder getVehiclesOrBuilder(int index); + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + java.util.List getObjectivesList(); + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + com.google.maps.routeoptimization.v1.ShipmentModel.Objective getObjectives(int index); + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + int getObjectivesCount(); + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + java.util.List + getObjectivesOrBuilderList(); + + /** + * + * + *
+   * The set of objectives for this model, that we will transform into costs.
+   * If not empty, the input model has to be costless.
+   * To obtain the modified request, please use `solving_mode` =
+   * TRANSFORM_AND_RETURN_REQUEST. Note that the request will not
+   * be solved in this case. See corresponding documentation.
+   *
+   * Experimental: See
+   * https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request
+   * for more details.
+   * 
+ * + * repeated .google.maps.routeoptimization.v1.ShipmentModel.Objective objectives = 17; + * + */ + com.google.maps.routeoptimization.v1.ShipmentModel.ObjectiveOrBuilder getObjectivesOrBuilder( + int index); + /** * * @@ -335,7 +437,6 @@ public interface ShipmentModelOrBuilder * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -435,7 +536,6 @@ public interface ShipmentModelOrBuilder * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -535,7 +635,6 @@ public interface ShipmentModelOrBuilder * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -634,7 +733,6 @@ public interface ShipmentModelOrBuilder * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -736,7 +834,6 @@ public interface ShipmentModelOrBuilder * } * ``` * - * * * There are three locations: locA, locB and locC. * * 1 vehicle starting its route at locA and ending it at locB, using * matrix "fast". @@ -1230,6 +1327,10 @@ com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentTypeRequ * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -1244,6 +1345,10 @@ com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentTypeRequ * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -1257,6 +1362,10 @@ com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentTypeRequ * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -1270,6 +1379,10 @@ com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentTypeRequ * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * @@ -1285,6 +1398,10 @@ com.google.maps.routeoptimization.v1.ShipmentTypeRequirement getShipmentTypeRequ * *
    * Set of precedence rules which must be enforced in the model.
+   *
+   * *IMPORTANT*: Use of precedence rules limits the size of problem that can be
+   * optimized. Requests using precedence rules that include many shipments may
+   * be rejected.
    * 
* * diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRoute.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRoute.java index 94c2aa28184a..f73baaf58af5 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRoute.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRoute.java @@ -478,6 +478,54 @@ com.google.maps.routeoptimization.v1.Shipment.Load getLoadDemandsOrDefault( * @return The bytes for visitLabel. */ com.google.protobuf.ByteString getVisitLabelBytes(); + + /** + * + * + *
+     * An opaque token representing information about a visit location.
+     *
+     * This field may be populated in the result routes' visits when
+     * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+     * was set to true for this visit or if
+     * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+     * was set to true in the request
+     * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return Whether the injectedSolutionLocationToken field is set. + */ + boolean hasInjectedSolutionLocationToken(); + + /** + * + * + *
+     * An opaque token representing information about a visit location.
+     *
+     * This field may be populated in the result routes' visits when
+     * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+     * was set to true for this visit or if
+     * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+     * was set to true in the request
+     * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return The injectedSolutionLocationToken. + */ + int getInjectedSolutionLocationToken(); } /** @@ -1000,6 +1048,63 @@ public com.google.protobuf.ByteString getVisitLabelBytes() { } } + public static final int INJECTED_SOLUTION_LOCATION_TOKEN_FIELD_NUMBER = 13; + private int injectedSolutionLocationToken_ = 0; + + /** + * + * + *
+     * An opaque token representing information about a visit location.
+     *
+     * This field may be populated in the result routes' visits when
+     * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+     * was set to true for this visit or if
+     * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+     * was set to true in the request
+     * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return Whether the injectedSolutionLocationToken field is set. + */ + @java.lang.Override + public boolean hasInjectedSolutionLocationToken() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * An opaque token representing information about a visit location.
+     *
+     * This field may be populated in the result routes' visits when
+     * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+     * was set to true for this visit or if
+     * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+     * was set to true in the request
+     * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+     * for more details.
+     * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return The injectedSolutionLocationToken. + */ + @java.lang.Override + public int getInjectedSolutionLocationToken() { + return injectedSolutionLocationToken_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1037,6 +1142,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLoadDemands(), LoadDemandsDefaultEntryHolder.defaultEntry, 11); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(13, injectedSolutionLocationToken_); + } getUnknownFields().writeTo(output); } @@ -1079,6 +1187,11 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, loadDemands__); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 13, injectedSolutionLocationToken_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1109,6 +1222,12 @@ public boolean equals(final java.lang.Object obj) { } if (!getShipmentLabel().equals(other.getShipmentLabel())) return false; if (!getVisitLabel().equals(other.getVisitLabel())) return false; + if (hasInjectedSolutionLocationToken() != other.hasInjectedSolutionLocationToken()) + return false; + if (hasInjectedSolutionLocationToken()) { + if (getInjectedSolutionLocationToken() != other.getInjectedSolutionLocationToken()) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1142,6 +1261,10 @@ public int hashCode() { hash = (53 * hash) + getShipmentLabel().hashCode(); hash = (37 * hash) + VISIT_LABEL_FIELD_NUMBER; hash = (53 * hash) + getVisitLabel().hashCode(); + if (hasInjectedSolutionLocationToken()) { + hash = (37 * hash) + INJECTED_SOLUTION_LOCATION_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getInjectedSolutionLocationToken(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1334,6 +1457,7 @@ public Builder clear() { } shipmentLabel_ = ""; visitLabel_ = ""; + injectedSolutionLocationToken_ = 0; return this; } @@ -1398,6 +1522,10 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.ShipmentRoute.Vi if (((from_bitField0_ & 0x00000080) != 0)) { result.visitLabel_ = visitLabel_; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.injectedSolutionLocationToken_ = injectedSolutionLocationToken_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -1476,6 +1604,9 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentRoute.Visi bitField0_ |= 0x00000080; onChanged(); } + if (other.hasInjectedSolutionLocationToken()) { + setInjectedSolutionLocationToken(other.getInjectedSolutionLocationToken()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1558,6 +1689,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000010; break; } // case 90 + case 104: + { + injectedSolutionLocationToken_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 104 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2809,6 +2946,122 @@ public Builder setVisitLabelBytes(com.google.protobuf.ByteString value) { return this; } + private int injectedSolutionLocationToken_; + + /** + * + * + *
+       * An opaque token representing information about a visit location.
+       *
+       * This field may be populated in the result routes' visits when
+       * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+       * was set to true for this visit or if
+       * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+       * was set to true in the request
+       * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return Whether the injectedSolutionLocationToken field is set. + */ + @java.lang.Override + public boolean hasInjectedSolutionLocationToken() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * + * + *
+       * An opaque token representing information about a visit location.
+       *
+       * This field may be populated in the result routes' visits when
+       * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+       * was set to true for this visit or if
+       * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+       * was set to true in the request
+       * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return The injectedSolutionLocationToken. + */ + @java.lang.Override + public int getInjectedSolutionLocationToken() { + return injectedSolutionLocationToken_; + } + + /** + * + * + *
+       * An opaque token representing information about a visit location.
+       *
+       * This field may be populated in the result routes' visits when
+       * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+       * was set to true for this visit or if
+       * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+       * was set to true in the request
+       * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @param value The injectedSolutionLocationToken to set. + * @return This builder for chaining. + */ + public Builder setInjectedSolutionLocationToken(int value) { + + injectedSolutionLocationToken_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
+       * An opaque token representing information about a visit location.
+       *
+       * This field may be populated in the result routes' visits when
+       * [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns]
+       * was set to true for this visit or if
+       * [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns]
+       * was set to true in the request
+       * [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest].
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request
+       * for more details.
+       * 
+ * + * optional int32 injected_solution_location_token = 13; + * + * @return This builder for chaining. + */ + public Builder clearInjectedSolutionLocationToken() { + bitField0_ = (bitField0_ & ~0x00000100); + injectedSolutionLocationToken_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10053,6 +10306,81 @@ public com.google.maps.routeoptimization.v1.AggregatedMetricsOrBuilder getMetric : metrics_; } + public static final int VEHICLE_FULLNESS_FIELD_NUMBER = 20; + private com.google.maps.routeoptimization.v1.VehicleFullness vehicleFullness_; + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return Whether the vehicleFullness field is set. + */ + @java.lang.Override + public boolean hasVehicleFullness() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return The vehicleFullness. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullness getVehicleFullness() { + return vehicleFullness_ == null + ? com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance() + : vehicleFullness_; + } + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder + getVehicleFullnessOrBuilder() { + return vehicleFullness_ == null + ? com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance() + : vehicleFullness_; + } + public static final int ROUTE_COSTS_FIELD_NUMBER = 17; private static final class RouteCostsDefaultEntryHolder { @@ -10253,6 +10581,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(routeTotalCost_) != 0) { output.writeDouble(18, routeTotalCost_); } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(20, getVehicleFullness()); + } getUnknownFields().writeTo(output); } @@ -10305,6 +10636,9 @@ public int getSerializedSize() { if (java.lang.Double.doubleToRawLongBits(routeTotalCost_) != 0) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(18, routeTotalCost_); } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getVehicleFullness()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -10343,6 +10677,10 @@ public boolean equals(final java.lang.Object obj) { if (hasMetrics()) { if (!getMetrics().equals(other.getMetrics())) return false; } + if (hasVehicleFullness() != other.hasVehicleFullness()) return false; + if (hasVehicleFullness()) { + if (!getVehicleFullness().equals(other.getVehicleFullness())) return false; + } if (!internalGetRouteCosts().equals(other.internalGetRouteCosts())) return false; if (java.lang.Double.doubleToLongBits(getRouteTotalCost()) != java.lang.Double.doubleToLongBits(other.getRouteTotalCost())) return false; @@ -10391,6 +10729,10 @@ public int hashCode() { hash = (37 * hash) + METRICS_FIELD_NUMBER; hash = (53 * hash) + getMetrics().hashCode(); } + if (hasVehicleFullness()) { + hash = (37 * hash) + VEHICLE_FULLNESS_FIELD_NUMBER; + hash = (53 * hash) + getVehicleFullness().hashCode(); + } if (!internalGetRouteCosts().getMap().isEmpty()) { hash = (37 * hash) + ROUTE_COSTS_FIELD_NUMBER; hash = (53 * hash) + internalGetRouteCosts().hashCode(); @@ -10653,6 +10995,7 @@ private void maybeForceBuilderInitialization() { getRoutePolylineFieldBuilder(); getBreaksFieldBuilder(); getMetricsFieldBuilder(); + getVehicleFullnessFieldBuilder(); } } @@ -10704,6 +11047,11 @@ public Builder clear() { metricsBuilder_.dispose(); metricsBuilder_ = null; } + vehicleFullness_ = null; + if (vehicleFullnessBuilder_ != null) { + vehicleFullnessBuilder_.dispose(); + vehicleFullnessBuilder_ = null; + } internalGetMutableRouteCosts().clear(); routeTotalCost_ = 0D; return this; @@ -10804,10 +11152,15 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.ShipmentRoute re to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000400) != 0)) { + result.vehicleFullness_ = + vehicleFullnessBuilder_ == null ? vehicleFullness_ : vehicleFullnessBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000800) != 0)) { result.routeCosts_ = internalGetRouteCosts(); result.routeCosts_.makeImmutable(); } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { result.routeTotalCost_ = routeTotalCost_; } result.bitField0_ |= to_bitField0_; @@ -10963,8 +11316,11 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.ShipmentRoute othe if (other.hasMetrics()) { mergeMetrics(other.getMetrics()); } + if (other.hasVehicleFullness()) { + mergeVehicleFullness(other.getVehicleFullness()); + } internalGetMutableRouteCosts().mergeFrom(other.internalGetRouteCosts()); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; if (other.getRouteTotalCost() != 0D) { setRouteTotalCost(other.getRouteTotalCost()); } @@ -11088,15 +11444,21 @@ public Builder mergeFrom( internalGetMutableRouteCosts() .getMutableMap() .put(routeCosts__.getKey(), routeCosts__.getValue()); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 138 case 145: { routeTotalCost_ = input.readDouble(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 145 + case 162: + { + input.readMessage(getVehicleFullnessFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 162 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -13512,6 +13874,268 @@ public com.google.maps.routeoptimization.v1.AggregatedMetricsOrBuilder getMetric return metricsBuilder_; } + private com.google.maps.routeoptimization.v1.VehicleFullness vehicleFullness_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.VehicleFullness, + com.google.maps.routeoptimization.v1.VehicleFullness.Builder, + com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder> + vehicleFullnessBuilder_; + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return Whether the vehicleFullness field is set. + */ + public boolean hasVehicleFullness() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return The vehicleFullness. + */ + public com.google.maps.routeoptimization.v1.VehicleFullness getVehicleFullness() { + if (vehicleFullnessBuilder_ == null) { + return vehicleFullness_ == null + ? com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance() + : vehicleFullness_; + } else { + return vehicleFullnessBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public Builder setVehicleFullness(com.google.maps.routeoptimization.v1.VehicleFullness value) { + if (vehicleFullnessBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleFullness_ = value; + } else { + vehicleFullnessBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public Builder setVehicleFullness( + com.google.maps.routeoptimization.v1.VehicleFullness.Builder builderForValue) { + if (vehicleFullnessBuilder_ == null) { + vehicleFullness_ = builderForValue.build(); + } else { + vehicleFullnessBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public Builder mergeVehicleFullness( + com.google.maps.routeoptimization.v1.VehicleFullness value) { + if (vehicleFullnessBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && vehicleFullness_ != null + && vehicleFullness_ + != com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance()) { + getVehicleFullnessBuilder().mergeFrom(value); + } else { + vehicleFullness_ = value; + } + } else { + vehicleFullnessBuilder_.mergeFrom(value); + } + if (vehicleFullness_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public Builder clearVehicleFullness() { + bitField0_ = (bitField0_ & ~0x00000400); + vehicleFullness_ = null; + if (vehicleFullnessBuilder_ != null) { + vehicleFullnessBuilder_.dispose(); + vehicleFullnessBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public com.google.maps.routeoptimization.v1.VehicleFullness.Builder + getVehicleFullnessBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getVehicleFullnessFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + public com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder + getVehicleFullnessOrBuilder() { + if (vehicleFullnessBuilder_ != null) { + return vehicleFullnessBuilder_.getMessageOrBuilder(); + } else { + return vehicleFullness_ == null + ? com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance() + : vehicleFullness_; + } + } + + /** + * + * + *
+     * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+     * for computing how close the capped metrics are to their respective vehicle
+     * limits. Its fields are ratios between a capped metric field (e.g.
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+     * and the related vehicle limit (e.g.
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.VehicleFullness, + com.google.maps.routeoptimization.v1.VehicleFullness.Builder, + com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder> + getVehicleFullnessFieldBuilder() { + if (vehicleFullnessBuilder_ == null) { + vehicleFullnessBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.VehicleFullness, + com.google.maps.routeoptimization.v1.VehicleFullness.Builder, + com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder>( + getVehicleFullness(), getParentForChildren(), isClean()); + vehicleFullness_ = null; + } + return vehicleFullnessBuilder_; + } + private com.google.protobuf.MapField routeCosts_; private com.google.protobuf.MapField @@ -13532,7 +14156,7 @@ public com.google.maps.routeoptimization.v1.AggregatedMetricsOrBuilder getMetric if (!routeCosts_.isMutable()) { routeCosts_ = routeCosts_.copy(); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return routeCosts_; } @@ -13647,7 +14271,7 @@ public double getRouteCostsOrThrow(java.lang.String key) { } public Builder clearRouteCosts() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); internalGetMutableRouteCosts().getMutableMap().clear(); return this; } @@ -13679,7 +14303,7 @@ public Builder removeRouteCosts(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRouteCosts() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; return internalGetMutableRouteCosts().getMutableMap(); } @@ -13705,7 +14329,7 @@ public Builder putRouteCosts(java.lang.String key, double value) { } internalGetMutableRouteCosts().getMutableMap().put(key, value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; return this; } @@ -13727,7 +14351,7 @@ public Builder putRouteCosts(java.lang.String key, double value) { */ public Builder putAllRouteCosts(java.util.Map values) { internalGetMutableRouteCosts().getMutableMap().putAll(values); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; return this; } @@ -13764,7 +14388,7 @@ public double getRouteTotalCost() { public Builder setRouteTotalCost(double value) { routeTotalCost_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -13781,7 +14405,7 @@ public Builder setRouteTotalCost(double value) { * @return This builder for chaining. */ public Builder clearRouteTotalCost() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); routeTotalCost_ = 0D; onChanged(); return this; diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRouteOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRouteOrBuilder.java index e8831e983aa9..20ef3ac66f7b 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRouteOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentRouteOrBuilder.java @@ -470,6 +470,64 @@ com.google.maps.routeoptimization.v1.ShipmentRoute.TransitionOrBuilder getTransi */ com.google.maps.routeoptimization.v1.AggregatedMetricsOrBuilder getMetricsOrBuilder(); + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return Whether the vehicleFullness field is set. + */ + boolean hasVehicleFullness(); + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + * + * @return The vehicleFullness. + */ + com.google.maps.routeoptimization.v1.VehicleFullness getVehicleFullness(); + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field
+   * for computing how close the capped metrics are to their respective vehicle
+   * limits. Its fields are ratios between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and the related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]).
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * .google.maps.routeoptimization.v1.VehicleFullness vehicle_fullness = 20; + */ + com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder getVehicleFullnessOrBuilder(); + /** * * diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentTypeIncompatibility.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentTypeIncompatibility.java index a378421b7aa1..14fb7672fb0b 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentTypeIncompatibility.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/ShipmentTypeIncompatibility.java @@ -104,14 +104,12 @@ public enum IncompatibilityMode implements com.google.protobuf.ProtocolMessageEn * * *
-     * For two shipments with incompatible types with the
-     * `NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY` incompatibility mode:
-     *
-     * * If both are pickups only (no deliveries) or deliveries only (no
-     *   pickups), they cannot share the same vehicle at all.
-     * * If one of the shipments has a delivery and the other a pickup, the two
-     *   shipments can share the same vehicle iff the former shipment is
-     *   delivered before the latter is picked up.
+     * In this mode, two shipments with incompatible types can never be on the
+     * same vehicle at the same time:
+     * * They can share the same vehicle only if one is delivered before the
+     *   other is picked up.
+     * * When both shipments are pickups-only (no deliveries) or deliveries-only
+     *   (no pickups), they can't share the same vehicle at all.
      * 
* * NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY = 2; @@ -147,14 +145,12 @@ public enum IncompatibilityMode implements com.google.protobuf.ProtocolMessageEn * * *
-     * For two shipments with incompatible types with the
-     * `NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY` incompatibility mode:
-     *
-     * * If both are pickups only (no deliveries) or deliveries only (no
-     *   pickups), they cannot share the same vehicle at all.
-     * * If one of the shipments has a delivery and the other a pickup, the two
-     *   shipments can share the same vehicle iff the former shipment is
-     *   delivered before the latter is picked up.
+     * In this mode, two shipments with incompatible types can never be on the
+     * same vehicle at the same time:
+     * * They can share the same vehicle only if one is delivered before the
+     *   other is picked up.
+     * * When both shipments are pickups-only (no deliveries) or deliveries-only
+     *   (no pickups), they can't share the same vehicle at all.
      * 
* * NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY = 2; diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipment.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipment.java index 440ed67eade7..5af43a77fcee 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipment.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipment.java @@ -126,6 +126,64 @@ public interface ReasonOrBuilder */ int getExampleVehicleIndex(); + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return A list containing the exampleVehicleIndices. + */ + java.util.List getExampleVehicleIndicesList(); + + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return The count of exampleVehicleIndices. + */ + int getExampleVehicleIndicesCount(); + + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param index The index of the element to return. + * @return The exampleVehicleIndices at the given index. + */ + int getExampleVehicleIndices(int index); + /** * * @@ -202,6 +260,7 @@ private Reason(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Reason() { code_ = 0; + exampleVehicleIndices_ = emptyIntList(); exampleExceededCapacityType_ = ""; } @@ -334,6 +393,69 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * VEHICLE_NOT_ALLOWED = 7; */ VEHICLE_NOT_ALLOWED(7), + /** + * + * + *
+       * The vehicle's `ignore` field is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * VEHICLE_IGNORED = 8; + */ + VEHICLE_IGNORED(8), + /** + * + * + *
+       * The shipment's `ignore` field is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * SHIPMENT_IGNORED = 9; + */ + SHIPMENT_IGNORED(9), + /** + * + * + *
+       * The shipment is skipped in the `injected_solution_constraint`.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT = 10; + */ + SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT(10), + /** + * + * + *
+       * The vehicle route relaxation specified in the
+       * `injected_solution_constraint` doesn't permit any visit to be inserted.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED = 11; + */ + VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED(11), + /** + * + * + *
+       * The shipment has a zero penalty cost. While this can be useful as an
+       * advanced modelling choice, it may also explain after the fact why a
+       * shipment was skipped.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * ZERO_PENALTY_COST = 13; + */ + ZERO_PENALTY_COST(13), UNRECOGNIZED(-1), ; @@ -441,6 +563,74 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VEHICLE_NOT_ALLOWED_VALUE = 7; + /** + * + * + *
+       * The vehicle's `ignore` field is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * VEHICLE_IGNORED = 8; + */ + public static final int VEHICLE_IGNORED_VALUE = 8; + + /** + * + * + *
+       * The shipment's `ignore` field is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * SHIPMENT_IGNORED = 9; + */ + public static final int SHIPMENT_IGNORED_VALUE = 9; + + /** + * + * + *
+       * The shipment is skipped in the `injected_solution_constraint`.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT = 10; + */ + public static final int SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT_VALUE = 10; + + /** + * + * + *
+       * The vehicle route relaxation specified in the
+       * `injected_solution_constraint` doesn't permit any visit to be inserted.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED = 11; + */ + public static final int VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED_VALUE = 11; + + /** + * + * + *
+       * The shipment has a zero penalty cost. While this can be useful as an
+       * advanced modelling choice, it may also explain after the fact why a
+       * shipment was skipped.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * ZERO_PENALTY_COST = 13; + */ + public static final int ZERO_PENALTY_COST_VALUE = 13; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -481,6 +671,16 @@ public static Code forNumber(int value) { return CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS; case 7: return VEHICLE_NOT_ALLOWED; + case 8: + return VEHICLE_IGNORED; + case 9: + return SHIPMENT_IGNORED; + case 10: + return SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT; + case 11: + return VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED; + case 13: + return ZERO_PENALTY_COST; default: return null; } @@ -613,6 +813,78 @@ public int getExampleVehicleIndex() { return exampleVehicleIndex_; } + public static final int EXAMPLE_VEHICLE_INDICES_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList exampleVehicleIndices_ = emptyIntList(); + + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return A list containing the exampleVehicleIndices. + */ + @java.lang.Override + public java.util.List getExampleVehicleIndicesList() { + return exampleVehicleIndices_; + } + + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return The count of exampleVehicleIndices. + */ + public int getExampleVehicleIndicesCount() { + return exampleVehicleIndices_.size(); + } + + /** + * + * + *
+     * Same as
+     * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+     * except that we provide the list of multiple identified vehicles. This
+     * list is not necessarily exhaustive. This is only filled if
+     * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param index The index of the element to return. + * @return The exampleVehicleIndices at the given index. + */ + public int getExampleVehicleIndices(int index) { + return exampleVehicleIndices_.getInt(index); + } + + private int exampleVehicleIndicesMemoizedSerializedSize = -1; + public static final int EXAMPLE_EXCEEDED_CAPACITY_TYPE_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -682,6 +954,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getSerializedSize(); if (code_ != com.google.maps.routeoptimization.v1.SkippedShipment.Reason.Code.CODE_UNSPECIFIED .getNumber()) { @@ -693,6 +966,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exampleExceededCapacityType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, exampleExceededCapacityType_); } + if (getExampleVehicleIndicesList().size() > 0) { + output.writeUInt32NoTag(42); + output.writeUInt32NoTag(exampleVehicleIndicesMemoizedSerializedSize); + } + for (int i = 0; i < exampleVehicleIndices_.size(); i++) { + output.writeInt32NoTag(exampleVehicleIndices_.getInt(i)); + } getUnknownFields().writeTo(output); } @@ -715,6 +995,20 @@ public int getSerializedSize() { com.google.protobuf.GeneratedMessageV3.computeStringSize( 3, exampleExceededCapacityType_); } + { + int dataSize = 0; + for (int i = 0; i < exampleVehicleIndices_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + exampleVehicleIndices_.getInt(i)); + } + size += dataSize; + if (!getExampleVehicleIndicesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + exampleVehicleIndicesMemoizedSerializedSize = dataSize; + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -736,6 +1030,8 @@ public boolean equals(final java.lang.Object obj) { if (hasExampleVehicleIndex()) { if (getExampleVehicleIndex() != other.getExampleVehicleIndex()) return false; } + if (!getExampleVehicleIndicesList().equals(other.getExampleVehicleIndicesList())) + return false; if (!getExampleExceededCapacityType().equals(other.getExampleExceededCapacityType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -755,6 +1051,10 @@ public int hashCode() { hash = (37 * hash) + EXAMPLE_VEHICLE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getExampleVehicleIndex(); } + if (getExampleVehicleIndicesCount() > 0) { + hash = (37 * hash) + EXAMPLE_VEHICLE_INDICES_FIELD_NUMBER; + hash = (53 * hash) + getExampleVehicleIndicesList().hashCode(); + } hash = (37 * hash) + EXAMPLE_EXCEEDED_CAPACITY_TYPE_FIELD_NUMBER; hash = (53 * hash) + getExampleExceededCapacityType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -927,6 +1227,7 @@ public Builder clear() { bitField0_ = 0; code_ = 0; exampleVehicleIndex_ = 0; + exampleVehicleIndices_ = emptyIntList(); exampleExceededCapacityType_ = ""; return this; } @@ -975,6 +1276,10 @@ private void buildPartial0( to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { + exampleVehicleIndices_.makeImmutable(); + result.exampleVehicleIndices_ = exampleVehicleIndices_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { result.exampleExceededCapacityType_ = exampleExceededCapacityType_; } result.bitField0_ |= to_bitField0_; @@ -1035,9 +1340,20 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.SkippedShipment.Re if (other.hasExampleVehicleIndex()) { setExampleVehicleIndex(other.getExampleVehicleIndex()); } + if (!other.exampleVehicleIndices_.isEmpty()) { + if (exampleVehicleIndices_.isEmpty()) { + exampleVehicleIndices_ = other.exampleVehicleIndices_; + exampleVehicleIndices_.makeImmutable(); + bitField0_ |= 0x00000004; + } else { + ensureExampleVehicleIndicesIsMutable(); + exampleVehicleIndices_.addAll(other.exampleVehicleIndices_); + } + onChanged(); + } if (!other.getExampleExceededCapacityType().isEmpty()) { exampleExceededCapacityType_ = other.exampleExceededCapacityType_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -1081,9 +1397,27 @@ public Builder mergeFrom( case 26: { exampleExceededCapacityType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 26 + case 40: + { + int v = input.readInt32(); + ensureExampleVehicleIndicesIsMutable(); + exampleVehicleIndices_.addInt(v); + break; + } // case 40 + case 42: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureExampleVehicleIndicesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + exampleVehicleIndices_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1277,6 +1611,186 @@ public Builder clearExampleVehicleIndex() { return this; } + private com.google.protobuf.Internal.IntList exampleVehicleIndices_ = emptyIntList(); + + private void ensureExampleVehicleIndicesIsMutable() { + if (!exampleVehicleIndices_.isModifiable()) { + exampleVehicleIndices_ = makeMutableCopy(exampleVehicleIndices_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return A list containing the exampleVehicleIndices. + */ + public java.util.List getExampleVehicleIndicesList() { + exampleVehicleIndices_.makeImmutable(); + return exampleVehicleIndices_; + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return The count of exampleVehicleIndices. + */ + public int getExampleVehicleIndicesCount() { + return exampleVehicleIndices_.size(); + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param index The index of the element to return. + * @return The exampleVehicleIndices at the given index. + */ + public int getExampleVehicleIndices(int index) { + return exampleVehicleIndices_.getInt(index); + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param index The index to set the value at. + * @param value The exampleVehicleIndices to set. + * @return This builder for chaining. + */ + public Builder setExampleVehicleIndices(int index, int value) { + + ensureExampleVehicleIndicesIsMutable(); + exampleVehicleIndices_.setInt(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param value The exampleVehicleIndices to add. + * @return This builder for chaining. + */ + public Builder addExampleVehicleIndices(int value) { + + ensureExampleVehicleIndicesIsMutable(); + exampleVehicleIndices_.addInt(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @param values The exampleVehicleIndices to add. + * @return This builder for chaining. + */ + public Builder addAllExampleVehicleIndices( + java.lang.Iterable values) { + ensureExampleVehicleIndicesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exampleVehicleIndices_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Same as
+       * [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index]
+       * except that we provide the list of multiple identified vehicles. This
+       * list is not necessarily exhaustive. This is only filled if
+       * [fill_example_vehicle_indices_in_skipped_reasons][] is true.
+       *
+       * Experimental: This field's behavior or existence may change in future.
+       * 
+ * + * repeated int32 example_vehicle_indices = 5; + * + * @return This builder for chaining. + */ + public Builder clearExampleVehicleIndices() { + exampleVehicleIndices_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + private java.lang.Object exampleExceededCapacityType_ = ""; /** @@ -1345,7 +1859,7 @@ public Builder setExampleExceededCapacityType(java.lang.String value) { throw new NullPointerException(); } exampleExceededCapacityType_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1364,7 +1878,7 @@ public Builder setExampleExceededCapacityType(java.lang.String value) { */ public Builder clearExampleExceededCapacityType() { exampleExceededCapacityType_ = getDefaultInstance().getExampleExceededCapacityType(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1388,7 +1902,7 @@ public Builder setExampleExceededCapacityTypeBytes(com.google.protobuf.ByteStrin } checkByteStringIsUtf8(value); exampleExceededCapacityType_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1458,6 +1972,7 @@ public com.google.maps.routeoptimization.v1.SkippedShipment.Reason getDefaultIns } } + private int bitField0_; public static final int INDEX_FIELD_NUMBER = 1; private int index_ = 0; @@ -1535,6 +2050,92 @@ public com.google.protobuf.ByteString getLabelBytes() { } } + public static final int PENALTY_COST_FIELD_NUMBER = 6; + private double penaltyCost_ = 0D; + + /** + * + * + *
+   * This is a copy of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+   * included here to make it easier to see the severity of a skipped shipment.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double penalty_cost = 6; + * + * @return Whether the penaltyCost field is set. + */ + @java.lang.Override + public boolean hasPenaltyCost() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * This is a copy of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+   * included here to make it easier to see the severity of a skipped shipment.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double penalty_cost = 6; + * + * @return The penaltyCost. + */ + @java.lang.Override + public double getPenaltyCost() { + return penaltyCost_; + } + + public static final int ESTIMATED_INCOMPATIBLE_VEHICLE_RATIO_FIELD_NUMBER = 5; + private double estimatedIncompatibleVehicleRatio_ = 0D; + + /** + * + * + *
+   * Estimated ratio of vehicles that cannot perform this shipment for at least
+   * one of the reasons below.
+   * Note: this is only filled when reasons involve a vehicle.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return Whether the estimatedIncompatibleVehicleRatio field is set. + */ + @java.lang.Override + public boolean hasEstimatedIncompatibleVehicleRatio() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Estimated ratio of vehicles that cannot perform this shipment for at least
+   * one of the reasons below.
+   * Note: this is only filled when reasons involve a vehicle.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return The estimatedIncompatibleVehicleRatio. + */ + @java.lang.Override + public double getEstimatedIncompatibleVehicleRatio() { + return estimatedIncompatibleVehicleRatio_; + } + public static final int REASONS_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -1647,6 +2248,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < reasons_.size(); i++) { output.writeMessage(3, reasons_.get(i)); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(5, estimatedIncompatibleVehicleRatio_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeDouble(6, penaltyCost_); + } getUnknownFields().writeTo(output); } @@ -1665,6 +2272,14 @@ public int getSerializedSize() { for (int i = 0; i < reasons_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, reasons_.get(i)); } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 5, estimatedIncompatibleVehicleRatio_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, penaltyCost_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1683,6 +2298,18 @@ public boolean equals(final java.lang.Object obj) { if (getIndex() != other.getIndex()) return false; if (!getLabel().equals(other.getLabel())) return false; + if (hasPenaltyCost() != other.hasPenaltyCost()) return false; + if (hasPenaltyCost()) { + if (java.lang.Double.doubleToLongBits(getPenaltyCost()) + != java.lang.Double.doubleToLongBits(other.getPenaltyCost())) return false; + } + if (hasEstimatedIncompatibleVehicleRatio() != other.hasEstimatedIncompatibleVehicleRatio()) + return false; + if (hasEstimatedIncompatibleVehicleRatio()) { + if (java.lang.Double.doubleToLongBits(getEstimatedIncompatibleVehicleRatio()) + != java.lang.Double.doubleToLongBits(other.getEstimatedIncompatibleVehicleRatio())) + return false; + } if (!getReasonsList().equals(other.getReasonsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1699,6 +2326,20 @@ public int hashCode() { hash = (53 * hash) + getIndex(); hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabel().hashCode(); + if (hasPenaltyCost()) { + hash = (37 * hash) + PENALTY_COST_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPenaltyCost())); + } + if (hasEstimatedIncompatibleVehicleRatio()) { + hash = (37 * hash) + ESTIMATED_INCOMPATIBLE_VEHICLE_RATIO_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEstimatedIncompatibleVehicleRatio())); + } if (getReasonsCount() > 0) { hash = (37 * hash) + REASONS_FIELD_NUMBER; hash = (53 * hash) + getReasonsList().hashCode(); @@ -1847,13 +2488,15 @@ public Builder clear() { bitField0_ = 0; index_ = 0; label_ = ""; + penaltyCost_ = 0D; + estimatedIncompatibleVehicleRatio_ = 0D; if (reasonsBuilder_ == null) { reasons_ = java.util.Collections.emptyList(); } else { reasons_ = null; reasonsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -1892,9 +2535,9 @@ public com.google.maps.routeoptimization.v1.SkippedShipment buildPartial() { private void buildPartialRepeatedFields( com.google.maps.routeoptimization.v1.SkippedShipment result) { if (reasonsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { reasons_ = java.util.Collections.unmodifiableList(reasons_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } result.reasons_ = reasons_; } else { @@ -1910,6 +2553,16 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.SkippedShipment if (((from_bitField0_ & 0x00000002) != 0)) { result.label_ = label_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.penaltyCost_ = penaltyCost_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.estimatedIncompatibleVehicleRatio_ = estimatedIncompatibleVehicleRatio_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1966,11 +2619,17 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.SkippedShipment ot bitField0_ |= 0x00000002; onChanged(); } + if (other.hasPenaltyCost()) { + setPenaltyCost(other.getPenaltyCost()); + } + if (other.hasEstimatedIncompatibleVehicleRatio()) { + setEstimatedIncompatibleVehicleRatio(other.getEstimatedIncompatibleVehicleRatio()); + } if (reasonsBuilder_ == null) { if (!other.reasons_.isEmpty()) { if (reasons_.isEmpty()) { reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureReasonsIsMutable(); reasons_.addAll(other.reasons_); @@ -1983,7 +2642,7 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.SkippedShipment ot reasonsBuilder_.dispose(); reasonsBuilder_ = null; reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); reasonsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getReasonsFieldBuilder() @@ -2045,6 +2704,18 @@ public Builder mergeFrom( } break; } // case 26 + case 41: + { + estimatedIncompatibleVehicleRatio_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 41 + case 49: + { + penaltyCost_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 49 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2244,15 +2915,191 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) { return this; } + private double penaltyCost_; + + /** + * + * + *
+     * This is a copy of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+     * included here to make it easier to see the severity of a skipped shipment.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double penalty_cost = 6; + * + * @return Whether the penaltyCost field is set. + */ + @java.lang.Override + public boolean hasPenaltyCost() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * This is a copy of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+     * included here to make it easier to see the severity of a skipped shipment.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double penalty_cost = 6; + * + * @return The penaltyCost. + */ + @java.lang.Override + public double getPenaltyCost() { + return penaltyCost_; + } + + /** + * + * + *
+     * This is a copy of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+     * included here to make it easier to see the severity of a skipped shipment.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double penalty_cost = 6; + * + * @param value The penaltyCost to set. + * @return This builder for chaining. + */ + public Builder setPenaltyCost(double value) { + + penaltyCost_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * This is a copy of the
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+     * included here to make it easier to see the severity of a skipped shipment.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double penalty_cost = 6; + * + * @return This builder for chaining. + */ + public Builder clearPenaltyCost() { + bitField0_ = (bitField0_ & ~0x00000004); + penaltyCost_ = 0D; + onChanged(); + return this; + } + + private double estimatedIncompatibleVehicleRatio_; + + /** + * + * + *
+     * Estimated ratio of vehicles that cannot perform this shipment for at least
+     * one of the reasons below.
+     * Note: this is only filled when reasons involve a vehicle.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return Whether the estimatedIncompatibleVehicleRatio field is set. + */ + @java.lang.Override + public boolean hasEstimatedIncompatibleVehicleRatio() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Estimated ratio of vehicles that cannot perform this shipment for at least
+     * one of the reasons below.
+     * Note: this is only filled when reasons involve a vehicle.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return The estimatedIncompatibleVehicleRatio. + */ + @java.lang.Override + public double getEstimatedIncompatibleVehicleRatio() { + return estimatedIncompatibleVehicleRatio_; + } + + /** + * + * + *
+     * Estimated ratio of vehicles that cannot perform this shipment for at least
+     * one of the reasons below.
+     * Note: this is only filled when reasons involve a vehicle.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @param value The estimatedIncompatibleVehicleRatio to set. + * @return This builder for chaining. + */ + public Builder setEstimatedIncompatibleVehicleRatio(double value) { + + estimatedIncompatibleVehicleRatio_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Estimated ratio of vehicles that cannot perform this shipment for at least
+     * one of the reasons below.
+     * Note: this is only filled when reasons involve a vehicle.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return This builder for chaining. + */ + public Builder clearEstimatedIncompatibleVehicleRatio() { + bitField0_ = (bitField0_ & ~0x00000008); + estimatedIncompatibleVehicleRatio_ = 0D; + onChanged(); + return this; + } + private java.util.List reasons_ = java.util.Collections.emptyList(); private void ensureReasonsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { reasons_ = new java.util.ArrayList( reasons_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; } } @@ -2506,7 +3353,7 @@ public Builder addAllReasons( public Builder clearReasons() { if (reasonsBuilder_ == null) { reasons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { reasonsBuilder_.clear(); @@ -2656,7 +3503,7 @@ public com.google.maps.routeoptimization.v1.SkippedShipment.Reason.Builder addRe com.google.maps.routeoptimization.v1.SkippedShipment.Reason, com.google.maps.routeoptimization.v1.SkippedShipment.Reason.Builder, com.google.maps.routeoptimization.v1.SkippedShipment.ReasonOrBuilder>( - reasons_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + reasons_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); reasons_ = null; } return reasonsBuilder_; diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipmentOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipmentOrBuilder.java index 8ee64b809cfb..dd6d7970d9f9 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipmentOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/SkippedShipmentOrBuilder.java @@ -68,6 +68,74 @@ public interface SkippedShipmentOrBuilder */ com.google.protobuf.ByteString getLabelBytes(); + /** + * + * + *
+   * This is a copy of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+   * included here to make it easier to see the severity of a skipped shipment.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double penalty_cost = 6; + * + * @return Whether the penaltyCost field is set. + */ + boolean hasPenaltyCost(); + + /** + * + * + *
+   * This is a copy of the
+   * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost],
+   * included here to make it easier to see the severity of a skipped shipment.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double penalty_cost = 6; + * + * @return The penaltyCost. + */ + double getPenaltyCost(); + + /** + * + * + *
+   * Estimated ratio of vehicles that cannot perform this shipment for at least
+   * one of the reasons below.
+   * Note: this is only filled when reasons involve a vehicle.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return Whether the estimatedIncompatibleVehicleRatio field is set. + */ + boolean hasEstimatedIncompatibleVehicleRatio(); + + /** + * + * + *
+   * Estimated ratio of vehicles that cannot perform this shipment for at least
+   * one of the reasons below.
+   * Note: this is only filled when reasons involve a vehicle.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * optional double estimated_incompatible_vehicle_ratio = 5; + * + * @return The estimatedIncompatibleVehicleRatio. + */ + double getEstimatedIncompatibleVehicleRatio(); + /** * * diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Uri.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Uri.java new file mode 100644 index 000000000000..818da97a13c2 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Uri.java @@ -0,0 +1,683 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * A Universal Resource Identifier that points to a resource that can be read
+ * and written by the Route Optimization API.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.Uri} + */ +public final class Uri extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.Uri) + UriOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Uri.newBuilder() to construct. + private Uri(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Uri() { + uri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Uri(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Uri_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Uri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.Uri.class, + com.google.maps.routeoptimization.v1.Uri.Builder.class); + } + + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + + /** + * + * + *
+   * The URI of the resource. The resource may not yet exist.
+   *
+   * The contents of the resource are encoded as either JSON
+   * or textproto. Only Google Cloud Storage resources are supported. If the
+   * resource is encoded as JSON, the resource name must be suffixed with
+   * `.json`. If the resource is encoded as textproto, the resource name must
+   * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+   * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+   * 
+ * + * string uri = 1; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } + } + + /** + * + * + *
+   * The URI of the resource. The resource may not yet exist.
+   *
+   * The contents of the resource are encoded as either JSON
+   * or textproto. Only Google Cloud Storage resources are supported. If the
+   * resource is encoded as JSON, the resource name must be suffixed with
+   * `.json`. If the resource is encoded as textproto, the resource name must
+   * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+   * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+   * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.Uri)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.Uri other = (com.google.maps.routeoptimization.v1.Uri) obj; + + if (!getUri().equals(other.getUri())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Uri parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Uri parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Uri parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.maps.routeoptimization.v1.Uri prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A Universal Resource Identifier that points to a resource that can be read
+   * and written by the Route Optimization API.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.Uri} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.Uri) + com.google.maps.routeoptimization.v1.UriOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Uri_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Uri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.Uri.class, + com.google.maps.routeoptimization.v1.Uri.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.Uri.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uri_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Uri_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.Uri.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri build() { + com.google.maps.routeoptimization.v1.Uri result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri buildPartial() { + com.google.maps.routeoptimization.v1.Uri result = + new com.google.maps.routeoptimization.v1.Uri(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.maps.routeoptimization.v1.Uri result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uri_ = uri_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.Uri) { + return mergeFrom((com.google.maps.routeoptimization.v1.Uri) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.Uri other) { + if (other == com.google.maps.routeoptimization.v1.Uri.getDefaultInstance()) return this; + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uri_ = ""; + + /** + * + * + *
+     * The URI of the resource. The resource may not yet exist.
+     *
+     * The contents of the resource are encoded as either JSON
+     * or textproto. Only Google Cloud Storage resources are supported. If the
+     * resource is encoded as JSON, the resource name must be suffixed with
+     * `.json`. If the resource is encoded as textproto, the resource name must
+     * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+     * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+     * 
+ * + * string uri = 1; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The URI of the resource. The resource may not yet exist.
+     *
+     * The contents of the resource are encoded as either JSON
+     * or textproto. Only Google Cloud Storage resources are supported. If the
+     * resource is encoded as JSON, the resource name must be suffixed with
+     * `.json`. If the resource is encoded as textproto, the resource name must
+     * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+     * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+     * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The URI of the resource. The resource may not yet exist.
+     *
+     * The contents of the resource are encoded as either JSON
+     * or textproto. Only Google Cloud Storage resources are supported. If the
+     * resource is encoded as JSON, the resource name must be suffixed with
+     * `.json`. If the resource is encoded as textproto, the resource name must
+     * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+     * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+     * 
+ * + * string uri = 1; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI of the resource. The resource may not yet exist.
+     *
+     * The contents of the resource are encoded as either JSON
+     * or textproto. Only Google Cloud Storage resources are supported. If the
+     * resource is encoded as JSON, the resource name must be suffixed with
+     * `.json`. If the resource is encoded as textproto, the resource name must
+     * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+     * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+     * 
+ * + * string uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI of the resource. The resource may not yet exist.
+     *
+     * The contents of the resource are encoded as either JSON
+     * or textproto. Only Google Cloud Storage resources are supported. If the
+     * resource is encoded as JSON, the resource name must be suffixed with
+     * `.json`. If the resource is encoded as textproto, the resource name must
+     * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+     * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+     * 
+ * + * string uri = 1; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.Uri) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.Uri) + private static final com.google.maps.routeoptimization.v1.Uri DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.Uri(); + } + + public static com.google.maps.routeoptimization.v1.Uri getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Uri parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Uri getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/UriOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/UriOrBuilder.java new file mode 100644 index 000000000000..aa8fd6c44f82 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/UriOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface UriOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.Uri) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The URI of the resource. The resource may not yet exist.
+   *
+   * The contents of the resource are encoded as either JSON
+   * or textproto. Only Google Cloud Storage resources are supported. If the
+   * resource is encoded as JSON, the resource name must be suffixed with
+   * `.json`. If the resource is encoded as textproto, the resource name must
+   * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+   * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+   * 
+ * + * string uri = 1; + * + * @return The uri. + */ + java.lang.String getUri(); + + /** + * + * + *
+   * The URI of the resource. The resource may not yet exist.
+   *
+   * The contents of the resource are encoded as either JSON
+   * or textproto. Only Google Cloud Storage resources are supported. If the
+   * resource is encoded as JSON, the resource name must be suffixed with
+   * `.json`. If the resource is encoded as textproto, the resource name must
+   * be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to
+   * a JSON encoded file might look like: `gs://bucket/path/input/object.json`.
+   * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Vehicle.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Vehicle.java index 41e1cc4f6195..6e2851b666b5 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Vehicle.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Vehicle.java @@ -93,9 +93,13 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl *
    * Travel modes which can be used by vehicles.
    *
-   * These should be a subset of the Google Maps Platform Routes Preferred API
-   * travel modes, see:
-   * https://developers.google.com/maps/documentation/routes_preferred/reference/rest/Shared.Types/RouteTravelMode.
+   * These should be a subset of the Google Maps Platform Routes API travel
+   * modes, see:
+   * https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteTravelMode
+   *
+   * Note: `WALKING` routes are in beta and might sometimes be missing clear
+   * sidewalks or pedestrian paths. You must display this warning to the user
+   * for all walking routes that you display in your app.
    * 
* * Protobuf enum {@code google.maps.routeoptimization.v1.Vehicle.TravelMode} @@ -474,6 +478,8 @@ public interface LoadLimitOrBuilder * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs * add up and must be in the same unit as * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]. + * Soft limits may only be defined on types that apply to either pickups + * only or deliveries only throughout the model. * * * double cost_per_unit_above_soft_max = 3; @@ -563,6 +569,124 @@ public interface LoadLimitOrBuilder */ com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder getEndLoadIntervalOrBuilder(); + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + * + * @return Whether the costPerKilometer field is set. + */ + boolean hasCostPerKilometer(); + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + * + * @return The costPerKilometer. + */ + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost getCostPerKilometer(); + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + */ + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerKilometerOrBuilder(); + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + * + * @return Whether the costPerTraveledHour field is set. + */ + boolean hasCostPerTraveledHour(); + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + * + * @return The costPerTraveledHour. + */ + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost getCostPerTraveledHour(); + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + */ + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerTraveledHourOrBuilder(); } /** @@ -1393,795 +1517,2543 @@ public com.google.protobuf.Parser getParserForType() { } } - private int bitField0_; - public static final int MAX_LOAD_FIELD_NUMBER = 1; - private long maxLoad_ = 0L; + public interface LoadCostOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) + com.google.protobuf.MessageOrBuilder { - /** - * - * - *
-     * The maximum acceptable amount of load.
-     * 
- * - * optional int64 max_load = 1; - * - * @return Whether the maxLoad field is set. - */ - @java.lang.Override - public boolean hasMaxLoad() { - return ((bitField0_ & 0x00000001) != 0); - } + /** + * + * + *
+       * Amount of load above which the cost of moving a unit of load changes
+       * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+       * Must be >= 0.
+       * 
+ * + * optional int64 load_threshold = 1; + * + * @return Whether the loadThreshold field is set. + */ + boolean hasLoadThreshold(); - /** - * - * - *
-     * The maximum acceptable amount of load.
-     * 
- * - * optional int64 max_load = 1; - * - * @return The maxLoad. - */ - @java.lang.Override - public long getMaxLoad() { - return maxLoad_; - } + /** + * + * + *
+       * Amount of load above which the cost of moving a unit of load changes
+       * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+       * Must be >= 0.
+       * 
+ * + * optional int64 load_threshold = 1; + * + * @return The loadThreshold. + */ + long getLoadThreshold(); - public static final int SOFT_MAX_LOAD_FIELD_NUMBER = 2; - private long softMaxLoad_ = 0L; + /** + * + * + *
+       * Cost of moving a unit of load, for each unit between 0 and threshold.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return Whether the costPerUnitBelowThreshold field is set. + */ + boolean hasCostPerUnitBelowThreshold(); - /** - * - * - *
-     * A soft limit of the load. See
-     * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
-     * 
- * - * int64 soft_max_load = 2; - * - * @return The softMaxLoad. - */ - @java.lang.Override - public long getSoftMaxLoad() { - return softMaxLoad_; - } + /** + * + * + *
+       * Cost of moving a unit of load, for each unit between 0 and threshold.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return The costPerUnitBelowThreshold. + */ + double getCostPerUnitBelowThreshold(); - public static final int COST_PER_UNIT_ABOVE_SOFT_MAX_FIELD_NUMBER = 3; - private double costPerUnitAboveSoftMax_ = 0D; + /** + * + * + *
+       * Cost of moving a unit of load, for each unit above threshold.
+       * In the special case threshold = 0, this is a fixed cost per unit.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return Whether the costPerUnitAboveThreshold field is set. + */ + boolean hasCostPerUnitAboveThreshold(); + + /** + * + * + *
+       * Cost of moving a unit of load, for each unit above threshold.
+       * In the special case threshold = 0, this is a fixed cost per unit.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return The costPerUnitAboveThreshold. + */ + double getCostPerUnitAboveThreshold(); + } /** * * *
-     * If the load ever exceeds
-     * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
-     * along this vehicle's route, the following cost penalty applies (only once
-     * per vehicle): (load -
-     * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
-     * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
-     * add up and must be in the same unit as
-     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
-     * 
+ * Cost of moving one unit of load during a `Transition`. + * For a given load, the cost is the sum of two parts: * - * double cost_per_unit_above_soft_max = 3; + * - min(load, `load_threshold`) * `cost_per_unit_below_threshold` + * - max(0, load - `load_threshold`) * `cost_per_unit_above_threshold` * - * @return The costPerUnitAboveSoftMax. - */ - @java.lang.Override - public double getCostPerUnitAboveSoftMax() { - return costPerUnitAboveSoftMax_; - } - - public static final int START_LOAD_INTERVAL_FIELD_NUMBER = 4; - private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval startLoadInterval_; - - /** + * With this cost, solutions prefer to deliver high demands first, + * or equivalently pickup high demands last. + * For example, if a vehicle has * + * load_limit { + * key: "weight" + * value { + * cost_per_kilometer { + * load_threshold: 15 + * cost_per_unit_below_threshold: 2.0 + * cost_per_unit_above_threshold: 10.0 + * } + * } + * } * - *
-     * The acceptable load interval of the vehicle at the start of the route.
-     * 
+ * and its route is start,pickup,pickup,delivery,delivery,end with + * transitions: * - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; - * + * transition { vehicle_load['weight'] { amount: 0 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 10 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 20 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 10 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 0 } + * travel_distance_meters: 1000.0 } * - * @return Whether the startLoadInterval field is set. - */ - @java.lang.Override - public boolean hasStartLoadInterval() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** + * then the cost incurred by this `LoadCost` is + * (cost_below * load_below * kilometers + cost_above * load_above * kms) * + * - transition 0: 0.0 + * - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + * - transition 2: 2.0 * 15 * 1.0 + 10.0 * (20 - 15) * 1.0 = 80.0 + * - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + * - transition 4: 0.0 * - *
-     * The acceptable load interval of the vehicle at the start of the route.
-     * 
+ * So the `LoadCost` over the route is 120.0. * - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; - * + * However, if the route is start,pickup,delivery,pickup,delivery,end + * with transitions: * - * @return The startLoadInterval. - */ - @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getStartLoadInterval() { - return startLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : startLoadInterval_; - } - - /** + * transition { vehicle_load['weight'] { amount: 0 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 10 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 0 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 10 } + * travel_distance_meters: 1000.0 } + * transition { vehicle_load['weight'] { amount: 0 } + * travel_distance_meters: 1000.0 } * + * then the cost incurred by this `LoadCost` is * - *
-     * The acceptable load interval of the vehicle at the start of the route.
-     * 
+ * - transition 0: 0.0 + * - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + * - transition 2: 0.0 + * - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + * - transition 4: 0.0 * - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; - * - */ - @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder - getStartLoadIntervalOrBuilder() { - return startLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : startLoadInterval_; - } - - public static final int END_LOAD_INTERVAL_FIELD_NUMBER = 5; - private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval endLoadInterval_; - - /** + * Here the `LoadCost` over the route is 40.0. * + * `LoadCost` makes solutions with heavy-loaded transitions more expensive. * - *
-     * The acceptable load interval of the vehicle at the end of the route.
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
      * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; - * - * - * @return Whether the endLoadInterval field is set. + * Protobuf type {@code google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost} */ - @java.lang.Override - public boolean hasEndLoadInterval() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * - * - *
-     * The acceptable load interval of the vehicle at the end of the route.
-     * 
- * - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; - * - * - * @return The endLoadInterval. - */ - @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getEndLoadInterval() { - return endLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : endLoadInterval_; - } + public static final class LoadCost extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) + LoadCostOrBuilder { + private static final long serialVersionUID = 0L; - /** - * - * - *
-     * The acceptable load interval of the vehicle at the end of the route.
-     * 
- * - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; - * - */ - @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder - getEndLoadIntervalOrBuilder() { - return endLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : endLoadInterval_; - } + // Use LoadCost.newBuilder() to construct. + private LoadCost(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - private byte memoizedIsInitialized = -1; + private LoadCost() {} - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LoadCost(); + } - memoizedIsInitialized = 1; - return true; - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_descriptor; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, maxLoad_); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.class, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder.class); } - if (softMaxLoad_ != 0L) { - output.writeInt64(2, softMaxLoad_); + + private int bitField0_; + public static final int LOAD_THRESHOLD_FIELD_NUMBER = 1; + private long loadThreshold_ = 0L; + + /** + * + * + *
+       * Amount of load above which the cost of moving a unit of load changes
+       * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+       * Must be >= 0.
+       * 
+ * + * optional int64 load_threshold = 1; + * + * @return Whether the loadThreshold field is set. + */ + @java.lang.Override + public boolean hasLoadThreshold() { + return ((bitField0_ & 0x00000001) != 0); } - if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) { - output.writeDouble(3, costPerUnitAboveSoftMax_); + + /** + * + * + *
+       * Amount of load above which the cost of moving a unit of load changes
+       * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+       * Must be >= 0.
+       * 
+ * + * optional int64 load_threshold = 1; + * + * @return The loadThreshold. + */ + @java.lang.Override + public long getLoadThreshold() { + return loadThreshold_; } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(4, getStartLoadInterval()); + + public static final int COST_PER_UNIT_BELOW_THRESHOLD_FIELD_NUMBER = 2; + private double costPerUnitBelowThreshold_ = 0D; + + /** + * + * + *
+       * Cost of moving a unit of load, for each unit between 0 and threshold.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return Whether the costPerUnitBelowThreshold field is set. + */ + @java.lang.Override + public boolean hasCostPerUnitBelowThreshold() { + return ((bitField0_ & 0x00000002) != 0); } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(5, getEndLoadInterval()); + + /** + * + * + *
+       * Cost of moving a unit of load, for each unit between 0 and threshold.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return The costPerUnitBelowThreshold. + */ + @java.lang.Override + public double getCostPerUnitBelowThreshold() { + return costPerUnitBelowThreshold_; } - getUnknownFields().writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + public static final int COST_PER_UNIT_ABOVE_THRESHOLD_FIELD_NUMBER = 3; + private double costPerUnitAboveThreshold_ = 0D; - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxLoad_); + /** + * + * + *
+       * Cost of moving a unit of load, for each unit above threshold.
+       * In the special case threshold = 0, this is a fixed cost per unit.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return Whether the costPerUnitAboveThreshold field is set. + */ + @java.lang.Override + public boolean hasCostPerUnitAboveThreshold() { + return ((bitField0_ & 0x00000004) != 0); } - if (softMaxLoad_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, softMaxLoad_); + + /** + * + * + *
+       * Cost of moving a unit of load, for each unit above threshold.
+       * In the special case threshold = 0, this is a fixed cost per unit.
+       * Must be a finite value, and >= 0.
+       * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return The costPerUnitAboveThreshold. + */ + @java.lang.Override + public double getCostPerUnitAboveThreshold() { + return costPerUnitAboveThreshold_; } - if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(3, costPerUnitAboveSoftMax_); + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLoadInterval()); + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, loadThreshold_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(2, costPerUnitBelowThreshold_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeDouble(3, costPerUnitAboveThreshold_); + } + getUnknownFields().writeTo(output); } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLoadInterval()); + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, loadThreshold_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, costPerUnitBelowThreshold_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, costPerUnitAboveThreshold_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost other = + (com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) obj; + + if (hasLoadThreshold() != other.hasLoadThreshold()) return false; + if (hasLoadThreshold()) { + if (getLoadThreshold() != other.getLoadThreshold()) return false; + } + if (hasCostPerUnitBelowThreshold() != other.hasCostPerUnitBelowThreshold()) return false; + if (hasCostPerUnitBelowThreshold()) { + if (java.lang.Double.doubleToLongBits(getCostPerUnitBelowThreshold()) + != java.lang.Double.doubleToLongBits(other.getCostPerUnitBelowThreshold())) + return false; + } + if (hasCostPerUnitAboveThreshold() != other.hasCostPerUnitAboveThreshold()) return false; + if (hasCostPerUnitAboveThreshold()) { + if (java.lang.Double.doubleToLongBits(getCostPerUnitAboveThreshold()) + != java.lang.Double.doubleToLongBits(other.getCostPerUnitAboveThreshold())) + return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } - if (!(obj instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit)) { - return super.equals(obj); + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasLoadThreshold()) { + hash = (37 * hash) + LOAD_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLoadThreshold()); + } + if (hasCostPerUnitBelowThreshold()) { + hash = (37 * hash) + COST_PER_UNIT_BELOW_THRESHOLD_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCostPerUnitBelowThreshold())); + } + if (hasCostPerUnitAboveThreshold()) { + hash = (37 * hash) + COST_PER_UNIT_ABOVE_THRESHOLD_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCostPerUnitAboveThreshold())); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; } - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit other = - (com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) obj; - if (hasMaxLoad() != other.hasMaxLoad()) return false; - if (hasMaxLoad()) { - if (getMaxLoad() != other.getMaxLoad()) return false; + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - if (getSoftMaxLoad() != other.getSoftMaxLoad()) return false; - if (java.lang.Double.doubleToLongBits(getCostPerUnitAboveSoftMax()) - != java.lang.Double.doubleToLongBits(other.getCostPerUnitAboveSoftMax())) return false; - if (hasStartLoadInterval() != other.hasStartLoadInterval()) return false; - if (hasStartLoadInterval()) { - if (!getStartLoadInterval().equals(other.getStartLoadInterval())) return false; + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - if (hasEndLoadInterval() != other.hasEndLoadInterval()) return false; - if (hasEndLoadInterval()) { - if (!getEndLoadInterval().equals(other.getEndLoadInterval())) return false; + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasMaxLoad()) { - hash = (37 * hash) + MAX_LOAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLoad()); - } - hash = (37 * hash) + SOFT_MAX_LOAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSoftMaxLoad()); - hash = (37 * hash) + COST_PER_UNIT_ABOVE_SOFT_MAX_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getCostPerUnitAboveSoftMax())); - if (hasStartLoadInterval()) { - hash = (37 * hash) + START_LOAD_INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getStartLoadInterval().hashCode(); - } - if (hasEndLoadInterval()) { - hash = (37 * hash) + END_LOAD_INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getEndLoadInterval().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } - /** - * - * - *
-     * Defines a load limit applying to a vehicle, e.g. "this truck may only
-     * carry up to 3500 kg". See
-     * [load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
-     * 
- * - * Protobuf type {@code google.maps.routeoptimization.v1.Vehicle.LoadLimit} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.Vehicle.LoadLimit) - com.google.maps.routeoptimization.v1.Vehicle.LoadLimitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_descriptor; + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.class, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Builder.class); + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - // Construct using com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getStartLoadIntervalFieldBuilder(); - getEndLoadIntervalFieldBuilder(); - } + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - maxLoad_ = 0L; - softMaxLoad_ = 0L; - costPerUnitAboveSoftMax_ = 0D; - startLoadInterval_ = null; - if (startLoadIntervalBuilder_ != null) { - startLoadIntervalBuilder_.dispose(); - startLoadIntervalBuilder_ = null; - } - endLoadInterval_ = null; - if (endLoadIntervalBuilder_ != null) { - endLoadIntervalBuilder_.dispose(); - endLoadIntervalBuilder_ = null; - } - return this; + public Builder newBuilderForType() { + return newBuilder(); } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto - .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_descriptor; + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit getDefaultInstanceForType() { - return com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.getDefaultInstance(); + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit build() { - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit buildPartial() { - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result = - new com.google.maps.routeoptimization.v1.Vehicle.LoadLimit(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } - private void buildPartial0(com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.maxLoad_ = maxLoad_; - to_bitField0_ |= 0x00000001; + /** + * + * + *
+       * Cost of moving one unit of load during a `Transition`.
+       * For a given load, the cost is the sum of two parts:
+       *
+       * - min(load, `load_threshold`) * `cost_per_unit_below_threshold`
+       * - max(0, load - `load_threshold`) * `cost_per_unit_above_threshold`
+       *
+       * With this cost, solutions prefer to deliver high demands first,
+       * or equivalently pickup high demands last.
+       * For example, if a vehicle has
+       *
+       *     load_limit {
+       *       key: "weight"
+       *       value {
+       *         cost_per_kilometer {
+       *           load_threshold: 15
+       *           cost_per_unit_below_threshold: 2.0
+       *           cost_per_unit_above_threshold: 10.0
+       *         }
+       *       }
+       *     }
+       *
+       * and its route is start,pickup,pickup,delivery,delivery,end with
+       * transitions:
+       *
+       *     transition { vehicle_load['weight'] { amount: 0 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 10 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 20 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 10 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 0 }
+       *                  travel_distance_meters: 1000.0 }
+       *
+       * then the cost incurred by this `LoadCost` is
+       * (cost_below * load_below * kilometers + cost_above * load_above * kms)
+       *
+       * - transition 0: 0.0
+       * - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0
+       * - transition 2: 2.0 * 15 * 1.0 + 10.0 * (20 - 15) * 1.0 = 80.0
+       * - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0
+       * - transition 4: 0.0
+       *
+       * So the `LoadCost` over the route is 120.0.
+       *
+       * However, if the route is start,pickup,delivery,pickup,delivery,end
+       * with transitions:
+       *
+       *     transition { vehicle_load['weight'] { amount: 0 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 10 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 0 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 10 }
+       *                  travel_distance_meters: 1000.0 }
+       *     transition { vehicle_load['weight'] { amount: 0 }
+       *                  travel_distance_meters: 1000.0 }
+       *
+       * then the cost incurred by this `LoadCost` is
+       *
+       * - transition 0: 0.0
+       * - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0
+       * - transition 2: 0.0
+       * - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0
+       * - transition 4: 0.0
+       *
+       * Here the `LoadCost` over the route is 40.0.
+       *
+       * `LoadCost` makes solutions with heavy-loaded transitions more expensive.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
+       * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_descriptor; } - if (((from_bitField0_ & 0x00000002) != 0)) { + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.class, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder.class); + } + + // Construct using + // com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + loadThreshold_ = 0L; + costPerUnitBelowThreshold_ = 0D; + costPerUnitAboveThreshold_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_LoadCost_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost build() { + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost buildPartial() { + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost result = + new com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.loadThreshold_ = loadThreshold_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.costPerUnitBelowThreshold_ = costPerUnitBelowThreshold_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.costPerUnitAboveThreshold_ = costPerUnitAboveThreshold_; + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) { + return mergeFrom( + (com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost other) { + if (other + == com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + .getDefaultInstance()) return this; + if (other.hasLoadThreshold()) { + setLoadThreshold(other.getLoadThreshold()); + } + if (other.hasCostPerUnitBelowThreshold()) { + setCostPerUnitBelowThreshold(other.getCostPerUnitBelowThreshold()); + } + if (other.hasCostPerUnitAboveThreshold()) { + setCostPerUnitAboveThreshold(other.getCostPerUnitAboveThreshold()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + loadThreshold_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 17: + { + costPerUnitBelowThreshold_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 25: + { + costPerUnitAboveThreshold_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private long loadThreshold_; + + /** + * + * + *
+         * Amount of load above which the cost of moving a unit of load changes
+         * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+         * Must be >= 0.
+         * 
+ * + * optional int64 load_threshold = 1; + * + * @return Whether the loadThreshold field is set. + */ + @java.lang.Override + public boolean hasLoadThreshold() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+         * Amount of load above which the cost of moving a unit of load changes
+         * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+         * Must be >= 0.
+         * 
+ * + * optional int64 load_threshold = 1; + * + * @return The loadThreshold. + */ + @java.lang.Override + public long getLoadThreshold() { + return loadThreshold_; + } + + /** + * + * + *
+         * Amount of load above which the cost of moving a unit of load changes
+         * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+         * Must be >= 0.
+         * 
+ * + * optional int64 load_threshold = 1; + * + * @param value The loadThreshold to set. + * @return This builder for chaining. + */ + public Builder setLoadThreshold(long value) { + + loadThreshold_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * Amount of load above which the cost of moving a unit of load changes
+         * from cost_per_unit_below_threshold to cost_per_unit_above_threshold.
+         * Must be >= 0.
+         * 
+ * + * optional int64 load_threshold = 1; + * + * @return This builder for chaining. + */ + public Builder clearLoadThreshold() { + bitField0_ = (bitField0_ & ~0x00000001); + loadThreshold_ = 0L; + onChanged(); + return this; + } + + private double costPerUnitBelowThreshold_; + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit between 0 and threshold.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return Whether the costPerUnitBelowThreshold field is set. + */ + @java.lang.Override + public boolean hasCostPerUnitBelowThreshold() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit between 0 and threshold.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return The costPerUnitBelowThreshold. + */ + @java.lang.Override + public double getCostPerUnitBelowThreshold() { + return costPerUnitBelowThreshold_; + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit between 0 and threshold.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @param value The costPerUnitBelowThreshold to set. + * @return This builder for chaining. + */ + public Builder setCostPerUnitBelowThreshold(double value) { + + costPerUnitBelowThreshold_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit between 0 and threshold.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_below_threshold = 2; + * + * @return This builder for chaining. + */ + public Builder clearCostPerUnitBelowThreshold() { + bitField0_ = (bitField0_ & ~0x00000002); + costPerUnitBelowThreshold_ = 0D; + onChanged(); + return this; + } + + private double costPerUnitAboveThreshold_; + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit above threshold.
+         * In the special case threshold = 0, this is a fixed cost per unit.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return Whether the costPerUnitAboveThreshold field is set. + */ + @java.lang.Override + public boolean hasCostPerUnitAboveThreshold() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit above threshold.
+         * In the special case threshold = 0, this is a fixed cost per unit.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return The costPerUnitAboveThreshold. + */ + @java.lang.Override + public double getCostPerUnitAboveThreshold() { + return costPerUnitAboveThreshold_; + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit above threshold.
+         * In the special case threshold = 0, this is a fixed cost per unit.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @param value The costPerUnitAboveThreshold to set. + * @return This builder for chaining. + */ + public Builder setCostPerUnitAboveThreshold(double value) { + + costPerUnitAboveThreshold_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * Cost of moving a unit of load, for each unit above threshold.
+         * In the special case threshold = 0, this is a fixed cost per unit.
+         * Must be a finite value, and >= 0.
+         * 
+ * + * optional double cost_per_unit_above_threshold = 3; + * + * @return This builder for chaining. + */ + public Builder clearCostPerUnitAboveThreshold() { + bitField0_ = (bitField0_ & ~0x00000004); + costPerUnitAboveThreshold_ = 0D; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost) + private static final com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost(); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadCost parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int MAX_LOAD_FIELD_NUMBER = 1; + private long maxLoad_ = 0L; + + /** + * + * + *
+     * The maximum acceptable amount of load.
+     * 
+ * + * optional int64 max_load = 1; + * + * @return Whether the maxLoad field is set. + */ + @java.lang.Override + public boolean hasMaxLoad() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * The maximum acceptable amount of load.
+     * 
+ * + * optional int64 max_load = 1; + * + * @return The maxLoad. + */ + @java.lang.Override + public long getMaxLoad() { + return maxLoad_; + } + + public static final int SOFT_MAX_LOAD_FIELD_NUMBER = 2; + private long softMaxLoad_ = 0L; + + /** + * + * + *
+     * A soft limit of the load. See
+     * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+     * 
+ * + * int64 soft_max_load = 2; + * + * @return The softMaxLoad. + */ + @java.lang.Override + public long getSoftMaxLoad() { + return softMaxLoad_; + } + + public static final int COST_PER_UNIT_ABOVE_SOFT_MAX_FIELD_NUMBER = 3; + private double costPerUnitAboveSoftMax_ = 0D; + + /** + * + * + *
+     * If the load ever exceeds
+     * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
+     * along this vehicle's route, the following cost penalty applies (only once
+     * per vehicle): (load -
+     * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
+     * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
+     * add up and must be in the same unit as
+     * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+     * Soft limits may only be defined on types that apply to either pickups
+     * only or deliveries only throughout the model.
+     * 
+ * + * double cost_per_unit_above_soft_max = 3; + * + * @return The costPerUnitAboveSoftMax. + */ + @java.lang.Override + public double getCostPerUnitAboveSoftMax() { + return costPerUnitAboveSoftMax_; + } + + public static final int START_LOAD_INTERVAL_FIELD_NUMBER = 4; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval startLoadInterval_; + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the start of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * + * @return Whether the startLoadInterval field is set. + */ + @java.lang.Override + public boolean hasStartLoadInterval() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the start of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * + * @return The startLoadInterval. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getStartLoadInterval() { + return startLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : startLoadInterval_; + } + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the start of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder + getStartLoadIntervalOrBuilder() { + return startLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : startLoadInterval_; + } + + public static final int END_LOAD_INTERVAL_FIELD_NUMBER = 5; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval endLoadInterval_; + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the end of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * + * @return Whether the endLoadInterval field is set. + */ + @java.lang.Override + public boolean hasEndLoadInterval() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the end of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * + * @return The endLoadInterval. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getEndLoadInterval() { + return endLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : endLoadInterval_; + } + + /** + * + * + *
+     * The acceptable load interval of the vehicle at the end of the route.
+     * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder + getEndLoadIntervalOrBuilder() { + return endLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : endLoadInterval_; + } + + public static final int COST_PER_KILOMETER_FIELD_NUMBER = 6; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost costPerKilometer_; + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + * + * @return Whether the costPerKilometer field is set. + */ + @java.lang.Override + public boolean hasCostPerKilometer() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + * + * @return The costPerKilometer. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost getCostPerKilometer() { + return costPerKilometer_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerKilometer_; + } + + /** + * + * + *
+     * Cost of moving one unit of load over one kilometer for this vehicle.
+     * This can be used as a proxy for fuel consumption: if the load is a weight
+     * (in Newtons), then load*kilometer has the dimension of an energy.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerKilometerOrBuilder() { + return costPerKilometer_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerKilometer_; + } + + public static final int COST_PER_TRAVELED_HOUR_FIELD_NUMBER = 7; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost costPerTraveledHour_; + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + * + * @return Whether the costPerTraveledHour field is set. + */ + @java.lang.Override + public boolean hasCostPerTraveledHour() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + * + * @return The costPerTraveledHour. + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + getCostPerTraveledHour() { + return costPerTraveledHour_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerTraveledHour_; + } + + /** + * + * + *
+     * Cost of traveling with a unit of load during one hour for this vehicle.
+     *
+     * Experimental: See
+     * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+     * for more details.
+     * 
+ * + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; + * + */ + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerTraveledHourOrBuilder() { + return costPerTraveledHour_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerTraveledHour_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, maxLoad_); + } + if (softMaxLoad_ != 0L) { + output.writeInt64(2, softMaxLoad_); + } + if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) { + output.writeDouble(3, costPerUnitAboveSoftMax_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(4, getStartLoadInterval()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(5, getEndLoadInterval()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(6, getCostPerKilometer()); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(7, getCostPerTraveledHour()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxLoad_); + } + if (softMaxLoad_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, softMaxLoad_); + } + if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(3, costPerUnitAboveSoftMax_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLoadInterval()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLoadInterval()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCostPerKilometer()); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCostPerTraveledHour()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit other = + (com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) obj; + + if (hasMaxLoad() != other.hasMaxLoad()) return false; + if (hasMaxLoad()) { + if (getMaxLoad() != other.getMaxLoad()) return false; + } + if (getSoftMaxLoad() != other.getSoftMaxLoad()) return false; + if (java.lang.Double.doubleToLongBits(getCostPerUnitAboveSoftMax()) + != java.lang.Double.doubleToLongBits(other.getCostPerUnitAboveSoftMax())) return false; + if (hasStartLoadInterval() != other.hasStartLoadInterval()) return false; + if (hasStartLoadInterval()) { + if (!getStartLoadInterval().equals(other.getStartLoadInterval())) return false; + } + if (hasEndLoadInterval() != other.hasEndLoadInterval()) return false; + if (hasEndLoadInterval()) { + if (!getEndLoadInterval().equals(other.getEndLoadInterval())) return false; + } + if (hasCostPerKilometer() != other.hasCostPerKilometer()) return false; + if (hasCostPerKilometer()) { + if (!getCostPerKilometer().equals(other.getCostPerKilometer())) return false; + } + if (hasCostPerTraveledHour() != other.hasCostPerTraveledHour()) return false; + if (hasCostPerTraveledHour()) { + if (!getCostPerTraveledHour().equals(other.getCostPerTraveledHour())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMaxLoad()) { + hash = (37 * hash) + MAX_LOAD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLoad()); + } + hash = (37 * hash) + SOFT_MAX_LOAD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSoftMaxLoad()); + hash = (37 * hash) + COST_PER_UNIT_ABOVE_SOFT_MAX_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCostPerUnitAboveSoftMax())); + if (hasStartLoadInterval()) { + hash = (37 * hash) + START_LOAD_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getStartLoadInterval().hashCode(); + } + if (hasEndLoadInterval()) { + hash = (37 * hash) + END_LOAD_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getEndLoadInterval().hashCode(); + } + if (hasCostPerKilometer()) { + hash = (37 * hash) + COST_PER_KILOMETER_FIELD_NUMBER; + hash = (53 * hash) + getCostPerKilometer().hashCode(); + } + if (hasCostPerTraveledHour()) { + hash = (37 * hash) + COST_PER_TRAVELED_HOUR_FIELD_NUMBER; + hash = (53 * hash) + getCostPerTraveledHour().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.Vehicle.LoadLimit parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Defines a load limit applying to a vehicle, e.g. "this truck may only
+     * carry up to 3500 kg". See
+     * [load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+     * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.Vehicle.LoadLimit} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.Vehicle.LoadLimit) + com.google.maps.routeoptimization.v1.Vehicle.LoadLimitOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.class, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartLoadIntervalFieldBuilder(); + getEndLoadIntervalFieldBuilder(); + getCostPerKilometerFieldBuilder(); + getCostPerTraveledHourFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + maxLoad_ = 0L; + softMaxLoad_ = 0L; + costPerUnitAboveSoftMax_ = 0D; + startLoadInterval_ = null; + if (startLoadIntervalBuilder_ != null) { + startLoadIntervalBuilder_.dispose(); + startLoadIntervalBuilder_ = null; + } + endLoadInterval_ = null; + if (endLoadIntervalBuilder_ != null) { + endLoadIntervalBuilder_.dispose(); + endLoadIntervalBuilder_ = null; + } + costPerKilometer_ = null; + if (costPerKilometerBuilder_ != null) { + costPerKilometerBuilder_.dispose(); + costPerKilometerBuilder_ = null; + } + costPerTraveledHour_ = null; + if (costPerTraveledHourBuilder_ != null) { + costPerTraveledHourBuilder_.dispose(); + costPerTraveledHourBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_Vehicle_LoadLimit_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit build() { + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit buildPartial() { + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result = + new com.google.maps.routeoptimization.v1.Vehicle.LoadLimit(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.maps.routeoptimization.v1.Vehicle.LoadLimit result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxLoad_ = maxLoad_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { result.softMaxLoad_ = softMaxLoad_; } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.costPerUnitAboveSoftMax_ = costPerUnitAboveSoftMax_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.costPerUnitAboveSoftMax_ = costPerUnitAboveSoftMax_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.startLoadInterval_ = + startLoadIntervalBuilder_ == null + ? startLoadInterval_ + : startLoadIntervalBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.endLoadInterval_ = + endLoadIntervalBuilder_ == null ? endLoadInterval_ : endLoadIntervalBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.costPerKilometer_ = + costPerKilometerBuilder_ == null + ? costPerKilometer_ + : costPerKilometerBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.costPerTraveledHour_ = + costPerTraveledHourBuilder_ == null + ? costPerTraveledHour_ + : costPerTraveledHourBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) { + return mergeFrom((com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.Vehicle.LoadLimit other) { + if (other == com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.getDefaultInstance()) + return this; + if (other.hasMaxLoad()) { + setMaxLoad(other.getMaxLoad()); + } + if (other.getSoftMaxLoad() != 0L) { + setSoftMaxLoad(other.getSoftMaxLoad()); } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.startLoadInterval_ = - startLoadIntervalBuilder_ == null - ? startLoadInterval_ - : startLoadIntervalBuilder_.build(); - to_bitField0_ |= 0x00000002; + if (other.getCostPerUnitAboveSoftMax() != 0D) { + setCostPerUnitAboveSoftMax(other.getCostPerUnitAboveSoftMax()); } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.endLoadInterval_ = - endLoadIntervalBuilder_ == null ? endLoadInterval_ : endLoadIntervalBuilder_.build(); - to_bitField0_ |= 0x00000004; + if (other.hasStartLoadInterval()) { + mergeStartLoadInterval(other.getStartLoadInterval()); } - result.bitField0_ |= to_bitField0_; + if (other.hasEndLoadInterval()) { + mergeEndLoadInterval(other.getEndLoadInterval()); + } + if (other.hasCostPerKilometer()) { + mergeCostPerKilometer(other.getCostPerKilometer()); + } + if (other.hasCostPerTraveledHour()) { + mergeCostPerTraveledHour(other.getCostPerTraveledHour()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + maxLoad_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + softMaxLoad_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 25: + { + costPerUnitAboveSoftMax_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 34: + { + input.readMessage( + getStartLoadIntervalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + getEndLoadIntervalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage( + getCostPerKilometerFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getCostPerTraveledHourFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private long maxLoad_; + + /** + * + * + *
+       * The maximum acceptable amount of load.
+       * 
+ * + * optional int64 max_load = 1; + * + * @return Whether the maxLoad field is set. + */ + @java.lang.Override + public boolean hasMaxLoad() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * The maximum acceptable amount of load.
+       * 
+ * + * optional int64 max_load = 1; + * + * @return The maxLoad. + */ + @java.lang.Override + public long getMaxLoad() { + return maxLoad_; + } + + /** + * + * + *
+       * The maximum acceptable amount of load.
+       * 
+ * + * optional int64 max_load = 1; + * + * @param value The maxLoad to set. + * @return This builder for chaining. + */ + public Builder setMaxLoad(long value) { + + maxLoad_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * The maximum acceptable amount of load.
+       * 
+ * + * optional int64 max_load = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxLoad() { + bitField0_ = (bitField0_ & ~0x00000001); + maxLoad_ = 0L; + onChanged(); + return this; + } + + private long softMaxLoad_; + + /** + * + * + *
+       * A soft limit of the load. See
+       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * 
+ * + * int64 soft_max_load = 2; + * + * @return The softMaxLoad. + */ + @java.lang.Override + public long getSoftMaxLoad() { + return softMaxLoad_; + } + + /** + * + * + *
+       * A soft limit of the load. See
+       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * 
+ * + * int64 soft_max_load = 2; + * + * @param value The softMaxLoad to set. + * @return This builder for chaining. + */ + public Builder setSoftMaxLoad(long value) { + + softMaxLoad_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A soft limit of the load. See
+       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * 
+ * + * int64 soft_max_load = 2; + * + * @return This builder for chaining. + */ + public Builder clearSoftMaxLoad() { + bitField0_ = (bitField0_ & ~0x00000002); + softMaxLoad_ = 0L; + onChanged(); + return this; } + private double costPerUnitAboveSoftMax_; + + /** + * + * + *
+       * If the load ever exceeds
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
+       * along this vehicle's route, the following cost penalty applies (only once
+       * per vehicle): (load -
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
+       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
+       * add up and must be in the same unit as
+       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * Soft limits may only be defined on types that apply to either pickups
+       * only or deliveries only throughout the model.
+       * 
+ * + * double cost_per_unit_above_soft_max = 3; + * + * @return The costPerUnitAboveSoftMax. + */ @java.lang.Override - public Builder clone() { - return super.clone(); + public double getCostPerUnitAboveSoftMax() { + return costPerUnitAboveSoftMax_; } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } + /** + * + * + *
+       * If the load ever exceeds
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
+       * along this vehicle's route, the following cost penalty applies (only once
+       * per vehicle): (load -
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
+       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
+       * add up and must be in the same unit as
+       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * Soft limits may only be defined on types that apply to either pickups
+       * only or deliveries only throughout the model.
+       * 
+ * + * double cost_per_unit_above_soft_max = 3; + * + * @param value The costPerUnitAboveSoftMax to set. + * @return This builder for chaining. + */ + public Builder setCostPerUnitAboveSoftMax(double value) { - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + costPerUnitAboveSoftMax_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * + * + *
+       * If the load ever exceeds
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
+       * along this vehicle's route, the following cost penalty applies (only once
+       * per vehicle): (load -
+       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
+       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
+       * add up and must be in the same unit as
+       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * Soft limits may only be defined on types that apply to either pickups
+       * only or deliveries only throughout the model.
+       * 
+ * + * double cost_per_unit_above_soft_max = 3; + * + * @return This builder for chaining. + */ + public Builder clearCostPerUnitAboveSoftMax() { + bitField0_ = (bitField0_ & ~0x00000004); + costPerUnitAboveSoftMax_ = 0D; + onChanged(); + return this; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval startLoadInterval_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> + startLoadIntervalBuilder_; - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * + * + *
+       * The acceptable load interval of the vehicle at the start of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * + * @return Whether the startLoadInterval field is set. + */ + public boolean hasStartLoadInterval() { + return ((bitField0_ & 0x00000008) != 0); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) { - return mergeFrom((com.google.maps.routeoptimization.v1.Vehicle.LoadLimit) other); + /** + * + * + *
+       * The acceptable load interval of the vehicle at the start of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * + * @return The startLoadInterval. + */ + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval + getStartLoadInterval() { + if (startLoadIntervalBuilder_ == null) { + return startLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : startLoadInterval_; } else { - super.mergeFrom(other); - return this; + return startLoadIntervalBuilder_.getMessage(); } } - public Builder mergeFrom(com.google.maps.routeoptimization.v1.Vehicle.LoadLimit other) { - if (other == com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.getDefaultInstance()) - return this; - if (other.hasMaxLoad()) { - setMaxLoad(other.getMaxLoad()); - } - if (other.getSoftMaxLoad() != 0L) { - setSoftMaxLoad(other.getSoftMaxLoad()); - } - if (other.getCostPerUnitAboveSoftMax() != 0D) { - setCostPerUnitAboveSoftMax(other.getCostPerUnitAboveSoftMax()); - } - if (other.hasStartLoadInterval()) { - mergeStartLoadInterval(other.getStartLoadInterval()); - } - if (other.hasEndLoadInterval()) { - mergeEndLoadInterval(other.getEndLoadInterval()); + /** + * + * + *
+       * The acceptable load interval of the vehicle at the start of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + */ + public Builder setStartLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { + if (startLoadIntervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startLoadInterval_ = value; + } else { + startLoadIntervalBuilder_.setMessage(value); } - this.mergeUnknownFields(other.getUnknownFields()); + bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; + /** + * + * + *
+       * The acceptable load interval of the vehicle at the start of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + */ + public Builder setStartLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder builderForValue) { + if (startLoadIntervalBuilder_ == null) { + startLoadInterval_ = builderForValue.build(); + } else { + startLoadIntervalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - maxLoad_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - softMaxLoad_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 25: - { - costPerUnitAboveSoftMax_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - case 34: - { - input.readMessage( - getStartLoadIntervalFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getEndLoadIntervalFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { + /** + * + * + *
+       * The acceptable load interval of the vehicle at the start of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + */ + public Builder mergeStartLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { + if (startLoadIntervalBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && startLoadInterval_ != null + && startLoadInterval_ + != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval + .getDefaultInstance()) { + getStartLoadIntervalBuilder().mergeFrom(value); + } else { + startLoadInterval_ = value; + } + } else { + startLoadIntervalBuilder_.mergeFrom(value); + } + if (startLoadInterval_ != null) { + bitField0_ |= 0x00000008; onChanged(); - } // finally + } return this; } - private int bitField0_; - - private long maxLoad_; - /** * * *
-       * The maximum acceptable amount of load.
+       * The acceptable load interval of the vehicle at the start of the route.
        * 
* - * optional int64 max_load = 1; - * - * @return Whether the maxLoad field is set. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * */ - @java.lang.Override - public boolean hasMaxLoad() { - return ((bitField0_ & 0x00000001) != 0); + public Builder clearStartLoadInterval() { + bitField0_ = (bitField0_ & ~0x00000008); + startLoadInterval_ = null; + if (startLoadIntervalBuilder_ != null) { + startLoadIntervalBuilder_.dispose(); + startLoadIntervalBuilder_ = null; + } + onChanged(); + return this; } /** * * *
-       * The maximum acceptable amount of load.
+       * The acceptable load interval of the vehicle at the start of the route.
        * 
* - * optional int64 max_load = 1; - * - * @return The maxLoad. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * */ - @java.lang.Override - public long getMaxLoad() { - return maxLoad_; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder + getStartLoadIntervalBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getStartLoadIntervalFieldBuilder().getBuilder(); } /** * * *
-       * The maximum acceptable amount of load.
+       * The acceptable load interval of the vehicle at the start of the route.
        * 
* - * optional int64 max_load = 1; - * - * @param value The maxLoad to set. - * @return This builder for chaining. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * */ - public Builder setMaxLoad(long value) { - - maxLoad_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder + getStartLoadIntervalOrBuilder() { + if (startLoadIntervalBuilder_ != null) { + return startLoadIntervalBuilder_.getMessageOrBuilder(); + } else { + return startLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : startLoadInterval_; + } } /** * * *
-       * The maximum acceptable amount of load.
+       * The acceptable load interval of the vehicle at the start of the route.
        * 
* - * optional int64 max_load = 1; - * - * @return This builder for chaining. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * */ - public Builder clearMaxLoad() { - bitField0_ = (bitField0_ & ~0x00000001); - maxLoad_ = 0L; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> + getStartLoadIntervalFieldBuilder() { + if (startLoadIntervalBuilder_ == null) { + startLoadIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder>( + getStartLoadInterval(), getParentForChildren(), isClean()); + startLoadInterval_ = null; + } + return startLoadIntervalBuilder_; } - private long softMaxLoad_; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval endLoadInterval_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> + endLoadIntervalBuilder_; /** * * *
-       * A soft limit of the load. See
-       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * int64 soft_max_load = 2; + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * * - * @return The softMaxLoad. + * @return Whether the endLoadInterval field is set. */ - @java.lang.Override - public long getSoftMaxLoad() { - return softMaxLoad_; + public boolean hasEndLoadInterval() { + return ((bitField0_ & 0x00000010) != 0); } /** * * *
-       * A soft limit of the load. See
-       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * int64 soft_max_load = 2; + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * * - * @param value The softMaxLoad to set. - * @return This builder for chaining. + * @return The endLoadInterval. */ - public Builder setSoftMaxLoad(long value) { + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getEndLoadInterval() { + if (endLoadIntervalBuilder_ == null) { + return endLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : endLoadInterval_; + } else { + return endLoadIntervalBuilder_.getMessage(); + } + } - softMaxLoad_ = value; - bitField0_ |= 0x00000002; + /** + * + * + *
+       * The acceptable load interval of the vehicle at the end of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + */ + public Builder setEndLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { + if (endLoadIntervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endLoadInterval_ = value; + } else { + endLoadIntervalBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2190,141 +4062,198 @@ public Builder setSoftMaxLoad(long value) { * * *
-       * A soft limit of the load. See
-       * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * int64 soft_max_load = 2; - * - * @return This builder for chaining. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * */ - public Builder clearSoftMaxLoad() { - bitField0_ = (bitField0_ & ~0x00000002); - softMaxLoad_ = 0L; + public Builder setEndLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder builderForValue) { + if (endLoadIntervalBuilder_ == null) { + endLoadInterval_ = builderForValue.build(); + } else { + endLoadIntervalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; onChanged(); return this; } - private double costPerUnitAboveSoftMax_; - /** * * *
-       * If the load ever exceeds
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
-       * along this vehicle's route, the following cost penalty applies (only once
-       * per vehicle): (load -
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
-       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
-       * add up and must be in the same unit as
-       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * double cost_per_unit_above_soft_max = 3; - * - * @return The costPerUnitAboveSoftMax. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * */ - @java.lang.Override - public double getCostPerUnitAboveSoftMax() { - return costPerUnitAboveSoftMax_; + public Builder mergeEndLoadInterval( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { + if (endLoadIntervalBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && endLoadInterval_ != null + && endLoadInterval_ + != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval + .getDefaultInstance()) { + getEndLoadIntervalBuilder().mergeFrom(value); + } else { + endLoadInterval_ = value; + } + } else { + endLoadIntervalBuilder_.mergeFrom(value); + } + if (endLoadInterval_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; } /** * * *
-       * If the load ever exceeds
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
-       * along this vehicle's route, the following cost penalty applies (only once
-       * per vehicle): (load -
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
-       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
-       * add up and must be in the same unit as
-       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * double cost_per_unit_above_soft_max = 3; + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + */ + public Builder clearEndLoadInterval() { + bitField0_ = (bitField0_ & ~0x00000010); + endLoadInterval_ = null; + if (endLoadIntervalBuilder_ != null) { + endLoadIntervalBuilder_.dispose(); + endLoadIntervalBuilder_ = null; + } + onChanged(); + return this; + } + + /** * - * @param value The costPerUnitAboveSoftMax to set. - * @return This builder for chaining. + * + *
+       * The acceptable load interval of the vehicle at the end of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * */ - public Builder setCostPerUnitAboveSoftMax(double value) { - - costPerUnitAboveSoftMax_ = value; - bitField0_ |= 0x00000004; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder + getEndLoadIntervalBuilder() { + bitField0_ |= 0x00000010; onChanged(); - return this; + return getEndLoadIntervalFieldBuilder().getBuilder(); } /** * * *
-       * If the load ever exceeds
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load]
-       * along this vehicle's route, the following cost penalty applies (only once
-       * per vehicle): (load -
-       * [soft_max_load][google.maps.routeoptimization.v1.Vehicle.LoadLimit.soft_max_load])
-       * * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs
-       * add up and must be in the same unit as
-       * [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost].
+       * The acceptable load interval of the vehicle at the end of the route.
        * 
* - * double cost_per_unit_above_soft_max = 3; - * - * @return This builder for chaining. + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * */ - public Builder clearCostPerUnitAboveSoftMax() { - bitField0_ = (bitField0_ & ~0x00000004); - costPerUnitAboveSoftMax_ = 0D; - onChanged(); - return this; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder + getEndLoadIntervalOrBuilder() { + if (endLoadIntervalBuilder_ != null) { + return endLoadIntervalBuilder_.getMessageOrBuilder(); + } else { + return endLoadInterval_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() + : endLoadInterval_; + } } - private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval startLoadInterval_; + /** + * + * + *
+       * The acceptable load interval of the vehicle at the end of the route.
+       * 
+ * + * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + */ private com.google.protobuf.SingleFieldBuilderV3< com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> - startLoadIntervalBuilder_; + getEndLoadIntervalFieldBuilder() { + if (endLoadIntervalBuilder_ == null) { + endLoadIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder>( + getEndLoadInterval(), getParentForChildren(), isClean()); + endLoadInterval_ = null; + } + return endLoadIntervalBuilder_; + } + + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost costPerKilometer_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder> + costPerKilometerBuilder_; /** * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * * - * @return Whether the startLoadInterval field is set. + * @return Whether the costPerKilometer field is set. */ - public boolean hasStartLoadInterval() { - return ((bitField0_ & 0x00000008) != 0); + public boolean hasCostPerKilometer() { + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * * - * @return The startLoadInterval. + * @return The costPerKilometer. */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval - getStartLoadInterval() { - if (startLoadIntervalBuilder_ == null) { - return startLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : startLoadInterval_; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost getCostPerKilometer() { + if (costPerKilometerBuilder_ == null) { + return costPerKilometer_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerKilometer_; } else { - return startLoadIntervalBuilder_.getMessage(); + return costPerKilometerBuilder_.getMessage(); } } @@ -2332,23 +4261,30 @@ public boolean hasStartLoadInterval() { * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public Builder setStartLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { - if (startLoadIntervalBuilder_ == null) { + public Builder setCostPerKilometer( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost value) { + if (costPerKilometerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - startLoadInterval_ = value; + costPerKilometer_ = value; } else { - startLoadIntervalBuilder_.setMessage(value); + costPerKilometerBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2357,20 +4293,27 @@ public Builder setStartLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public Builder setStartLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder builderForValue) { - if (startLoadIntervalBuilder_ == null) { - startLoadInterval_ = builderForValue.build(); + public Builder setCostPerKilometer( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder builderForValue) { + if (costPerKilometerBuilder_ == null) { + costPerKilometer_ = builderForValue.build(); } else { - startLoadIntervalBuilder_.setMessage(builderForValue.build()); + costPerKilometerBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2379,29 +4322,36 @@ public Builder setStartLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public Builder mergeStartLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { - if (startLoadIntervalBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && startLoadInterval_ != null - && startLoadInterval_ - != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval + public Builder mergeCostPerKilometer( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost value) { + if (costPerKilometerBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && costPerKilometer_ != null + && costPerKilometer_ + != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost .getDefaultInstance()) { - getStartLoadIntervalBuilder().mergeFrom(value); + getCostPerKilometerBuilder().mergeFrom(value); } else { - startLoadInterval_ = value; + costPerKilometer_ = value; } } else { - startLoadIntervalBuilder_.mergeFrom(value); + costPerKilometerBuilder_.mergeFrom(value); } - if (startLoadInterval_ != null) { - bitField0_ |= 0x00000008; + if (costPerKilometer_ != null) { + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -2411,18 +4361,25 @@ public Builder mergeStartLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public Builder clearStartLoadInterval() { - bitField0_ = (bitField0_ & ~0x00000008); - startLoadInterval_ = null; - if (startLoadIntervalBuilder_ != null) { - startLoadIntervalBuilder_.dispose(); - startLoadIntervalBuilder_ = null; + public Builder clearCostPerKilometer() { + bitField0_ = (bitField0_ & ~0x00000020); + costPerKilometer_ = null; + if (costPerKilometerBuilder_ != null) { + costPerKilometerBuilder_.dispose(); + costPerKilometerBuilder_ = null; } onChanged(); return this; @@ -2432,37 +4389,51 @@ public Builder clearStartLoadInterval() { * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder - getStartLoadIntervalBuilder() { - bitField0_ |= 0x00000008; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder + getCostPerKilometerBuilder() { + bitField0_ |= 0x00000020; onChanged(); - return getStartLoadIntervalFieldBuilder().getBuilder(); + return getCostPerKilometerFieldBuilder().getBuilder(); } /** * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder - getStartLoadIntervalOrBuilder() { - if (startLoadIntervalBuilder_ != null) { - return startLoadIntervalBuilder_.getMessageOrBuilder(); + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerKilometerOrBuilder() { + if (costPerKilometerBuilder_ != null) { + return costPerKilometerBuilder_.getMessageOrBuilder(); } else { - return startLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : startLoadInterval_; + return costPerKilometer_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerKilometer_; } } @@ -2470,71 +4441,89 @@ public Builder clearStartLoadInterval() { * * *
-       * The acceptable load interval of the vehicle at the start of the route.
+       * Cost of moving one unit of load over one kilometer for this vehicle.
+       * This can be used as a proxy for fuel consumption: if the load is a weight
+       * (in Newtons), then load*kilometer has the dimension of an energy.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_kilometer = 6; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> - getStartLoadIntervalFieldBuilder() { - if (startLoadIntervalBuilder_ == null) { - startLoadIntervalBuilder_ = + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder> + getCostPerKilometerFieldBuilder() { + if (costPerKilometerBuilder_ == null) { + costPerKilometerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder>( - getStartLoadInterval(), getParentForChildren(), isClean()); - startLoadInterval_ = null; + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder>( + getCostPerKilometer(), getParentForChildren(), isClean()); + costPerKilometer_ = null; } - return startLoadIntervalBuilder_; + return costPerKilometerBuilder_; } - private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval endLoadInterval_; + private com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost costPerTraveledHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> - endLoadIntervalBuilder_; + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder> + costPerTraveledHourBuilder_; /** * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * * - * @return Whether the endLoadInterval field is set. + * @return Whether the costPerTraveledHour field is set. */ - public boolean hasEndLoadInterval() { - return ((bitField0_ & 0x00000010) != 0); + public boolean hasCostPerTraveledHour() { + return ((bitField0_ & 0x00000040) != 0); } /** * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * * - * @return The endLoadInterval. + * @return The costPerTraveledHour. */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getEndLoadInterval() { - if (endLoadIntervalBuilder_ == null) { - return endLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : endLoadInterval_; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost + getCostPerTraveledHour() { + if (costPerTraveledHourBuilder_ == null) { + return costPerTraveledHour_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerTraveledHour_; } else { - return endLoadIntervalBuilder_.getMessage(); + return costPerTraveledHourBuilder_.getMessage(); } } @@ -2542,23 +4531,28 @@ public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval getEndLoa * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public Builder setEndLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { - if (endLoadIntervalBuilder_ == null) { + public Builder setCostPerTraveledHour( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost value) { + if (costPerTraveledHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - endLoadInterval_ = value; + costPerTraveledHour_ = value; } else { - endLoadIntervalBuilder_.setMessage(value); + costPerTraveledHourBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2567,20 +4561,25 @@ public Builder setEndLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public Builder setEndLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder builderForValue) { - if (endLoadIntervalBuilder_ == null) { - endLoadInterval_ = builderForValue.build(); + public Builder setCostPerTraveledHour( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder builderForValue) { + if (costPerTraveledHourBuilder_ == null) { + costPerTraveledHour_ = builderForValue.build(); } else { - endLoadIntervalBuilder_.setMessage(builderForValue.build()); + costPerTraveledHourBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2589,29 +4588,34 @@ public Builder setEndLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public Builder mergeEndLoadInterval( - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval value) { - if (endLoadIntervalBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && endLoadInterval_ != null - && endLoadInterval_ - != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval + public Builder mergeCostPerTraveledHour( + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost value) { + if (costPerTraveledHourBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && costPerTraveledHour_ != null + && costPerTraveledHour_ + != com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost .getDefaultInstance()) { - getEndLoadIntervalBuilder().mergeFrom(value); + getCostPerTraveledHourBuilder().mergeFrom(value); } else { - endLoadInterval_ = value; + costPerTraveledHour_ = value; } } else { - endLoadIntervalBuilder_.mergeFrom(value); + costPerTraveledHourBuilder_.mergeFrom(value); } - if (endLoadInterval_ != null) { - bitField0_ |= 0x00000010; + if (costPerTraveledHour_ != null) { + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -2621,18 +4625,23 @@ public Builder mergeEndLoadInterval( * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public Builder clearEndLoadInterval() { - bitField0_ = (bitField0_ & ~0x00000010); - endLoadInterval_ = null; - if (endLoadIntervalBuilder_ != null) { - endLoadIntervalBuilder_.dispose(); - endLoadIntervalBuilder_ = null; + public Builder clearCostPerTraveledHour() { + bitField0_ = (bitField0_ & ~0x00000040); + costPerTraveledHour_ = null; + if (costPerTraveledHourBuilder_ != null) { + costPerTraveledHourBuilder_.dispose(); + costPerTraveledHourBuilder_ = null; } onChanged(); return this; @@ -2642,37 +4651,47 @@ public Builder clearEndLoadInterval() { * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder - getEndLoadIntervalBuilder() { - bitField0_ |= 0x00000010; + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder + getCostPerTraveledHourBuilder() { + bitField0_ |= 0x00000040; onChanged(); - return getEndLoadIntervalFieldBuilder().getBuilder(); + return getCostPerTraveledHourFieldBuilder().getBuilder(); } /** * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ - public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder - getEndLoadIntervalOrBuilder() { - if (endLoadIntervalBuilder_ != null) { - return endLoadIntervalBuilder_.getMessageOrBuilder(); + public com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder + getCostPerTraveledHourOrBuilder() { + if (costPerTraveledHourBuilder_ != null) { + return costPerTraveledHourBuilder_.getMessageOrBuilder(); } else { - return endLoadInterval_ == null - ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.getDefaultInstance() - : endLoadInterval_; + return costPerTraveledHour_ == null + ? com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.getDefaultInstance() + : costPerTraveledHour_; } } @@ -2680,27 +4699,32 @@ public Builder clearEndLoadInterval() { * * *
-       * The acceptable load interval of the vehicle at the end of the route.
+       * Cost of traveling with a unit of load during one hour for this vehicle.
+       *
+       * Experimental: See
+       * https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request
+       * for more details.
        * 
* - * .google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5; + * + * optional .google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost cost_per_traveled_hour = 7; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder> - getEndLoadIntervalFieldBuilder() { - if (endLoadIntervalBuilder_ == null) { - endLoadIntervalBuilder_ = + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder> + getCostPerTraveledHourFieldBuilder() { + if (costPerTraveledHourBuilder_ == null) { + costPerTraveledHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval.Builder, - com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.IntervalOrBuilder>( - getEndLoadInterval(), getParentForChildren(), isClean()); - endLoadInterval_ = null; + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCost.Builder, + com.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostOrBuilder>( + getCostPerTraveledHour(), getParentForChildren(), isClean()); + costPerTraveledHour_ = null; } - return endLoadIntervalBuilder_; + return costPerTraveledHourBuilder_; } @java.lang.Override diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullness.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullness.java new file mode 100644 index 000000000000..0fb6328480ff --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullness.java @@ -0,0 +1,1453 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +/** + * + * + *
+ * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] is a
+ * metric which computes how full a vehicle is. Each
+ * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field is
+ * between 0 and 1, computed as the ratio between a capped metric field (e.g.
+ * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+ * and its related vehicle limit (e.g.
+ * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]),
+ * if it exists. Otherwise the fullness ratio stays unset. If the limit is 0,
+ * the field is set to 1. Note: when a route is subject to traffic
+ * infeasibilities, some raw fullness ratios might exceed 1.0, e.g. the vehicle
+ * might exceed its distance limit. In these cases, we cap the fullness values
+ * at 1.0.
+ * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.VehicleFullness} + */ +public final class VehicleFullness extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.maps.routeoptimization.v1.VehicleFullness) + VehicleFullnessOrBuilder { + private static final long serialVersionUID = 0L; + + // Use VehicleFullness.newBuilder() to construct. + private VehicleFullness(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private VehicleFullness() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new VehicleFullness(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_VehicleFullness_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_VehicleFullness_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.VehicleFullness.class, + com.google.maps.routeoptimization.v1.VehicleFullness.Builder.class); + } + + private int bitField0_; + public static final int MAX_FULLNESS_FIELD_NUMBER = 1; + private double maxFullness_ = 0D; + + /** + * + * + *
+   * Maximum of all other fields in this message.
+   * 
+ * + * optional double max_fullness = 1; + * + * @return Whether the maxFullness field is set. + */ + @java.lang.Override + public boolean hasMaxFullness() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Maximum of all other fields in this message.
+   * 
+ * + * optional double max_fullness = 1; + * + * @return The maxFullness. + */ + @java.lang.Override + public double getMaxFullness() { + return maxFullness_; + } + + public static final int DISTANCE_FIELD_NUMBER = 2; + private double distance_ = 0D; + + /** + * + * + *
+   * The ratio between
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+   * and
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+   * If
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double distance = 2; + * + * @return Whether the distance field is set. + */ + @java.lang.Override + public boolean hasDistance() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * The ratio between
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+   * and
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+   * If
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double distance = 2; + * + * @return The distance. + */ + @java.lang.Override + public double getDistance() { + return distance_; + } + + public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; + private double travelDuration_ = 0D; + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+   * If
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double travel_duration = 3; + * + * @return Whether the travelDuration field is set. + */ + @java.lang.Override + public boolean hasTravelDuration() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+   * If
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double travel_duration = 3; + * + * @return The travelDuration. + */ + @java.lang.Override + public double getTravelDuration() { + return travelDuration_; + } + + public static final int ACTIVE_DURATION_FIELD_NUMBER = 4; + private double activeDuration_ = 0D; + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+   * If
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double active_duration = 4; + * + * @return Whether the activeDuration field is set. + */ + @java.lang.Override + public boolean hasActiveDuration() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+   * If
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double active_duration = 4; + * + * @return The activeDuration. + */ + @java.lang.Override + public double getActiveDuration() { + return activeDuration_; + } + + public static final int MAX_LOAD_FIELD_NUMBER = 5; + private double maxLoad_ = 0D; + + /** + * + * + *
+   * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+   * their respective
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+   * If all
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+   * fields are unset, this field will be unset.
+   * 
+ * + * optional double max_load = 5; + * + * @return Whether the maxLoad field is set. + */ + @java.lang.Override + public boolean hasMaxLoad() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+   * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+   * their respective
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+   * If all
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+   * fields are unset, this field will be unset.
+   * 
+ * + * optional double max_load = 5; + * + * @return The maxLoad. + */ + @java.lang.Override + public double getMaxLoad() { + return maxLoad_; + } + + public static final int ACTIVE_SPAN_FIELD_NUMBER = 6; + private double activeSpan_ = 0D; + + /** + * + * + *
+   * The ratio (vehicle_end_time - vehicle_start_time) /
+   * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+   * vehicle. If the denominator is not present, it uses
+   * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+   * -
+   * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+   * instead.
+   * 
+ * + * optional double active_span = 6; + * + * @return Whether the activeSpan field is set. + */ + @java.lang.Override + public boolean hasActiveSpan() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+   * The ratio (vehicle_end_time - vehicle_start_time) /
+   * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+   * vehicle. If the denominator is not present, it uses
+   * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+   * -
+   * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+   * instead.
+   * 
+ * + * optional double active_span = 6; + * + * @return The activeSpan. + */ + @java.lang.Override + public double getActiveSpan() { + return activeSpan_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeDouble(1, maxFullness_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(2, distance_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeDouble(3, travelDuration_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeDouble(4, activeDuration_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeDouble(5, maxLoad_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeDouble(6, activeSpan_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxFullness_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, distance_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, travelDuration_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, activeDuration_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, maxLoad_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, activeSpan_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.routeoptimization.v1.VehicleFullness)) { + return super.equals(obj); + } + com.google.maps.routeoptimization.v1.VehicleFullness other = + (com.google.maps.routeoptimization.v1.VehicleFullness) obj; + + if (hasMaxFullness() != other.hasMaxFullness()) return false; + if (hasMaxFullness()) { + if (java.lang.Double.doubleToLongBits(getMaxFullness()) + != java.lang.Double.doubleToLongBits(other.getMaxFullness())) return false; + } + if (hasDistance() != other.hasDistance()) return false; + if (hasDistance()) { + if (java.lang.Double.doubleToLongBits(getDistance()) + != java.lang.Double.doubleToLongBits(other.getDistance())) return false; + } + if (hasTravelDuration() != other.hasTravelDuration()) return false; + if (hasTravelDuration()) { + if (java.lang.Double.doubleToLongBits(getTravelDuration()) + != java.lang.Double.doubleToLongBits(other.getTravelDuration())) return false; + } + if (hasActiveDuration() != other.hasActiveDuration()) return false; + if (hasActiveDuration()) { + if (java.lang.Double.doubleToLongBits(getActiveDuration()) + != java.lang.Double.doubleToLongBits(other.getActiveDuration())) return false; + } + if (hasMaxLoad() != other.hasMaxLoad()) return false; + if (hasMaxLoad()) { + if (java.lang.Double.doubleToLongBits(getMaxLoad()) + != java.lang.Double.doubleToLongBits(other.getMaxLoad())) return false; + } + if (hasActiveSpan() != other.hasActiveSpan()) return false; + if (hasActiveSpan()) { + if (java.lang.Double.doubleToLongBits(getActiveSpan()) + != java.lang.Double.doubleToLongBits(other.getActiveSpan())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMaxFullness()) { + hash = (37 * hash) + MAX_FULLNESS_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxFullness())); + } + if (hasDistance()) { + hash = (37 * hash) + DISTANCE_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistance())); + } + if (hasTravelDuration()) { + hash = (37 * hash) + TRAVEL_DURATION_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getTravelDuration())); + } + if (hasActiveDuration()) { + hash = (37 * hash) + ACTIVE_DURATION_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getActiveDuration())); + } + if (hasMaxLoad()) { + hash = (37 * hash) + MAX_LOAD_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxLoad())); + } + if (hasActiveSpan()) { + hash = (37 * hash) + ACTIVE_SPAN_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getActiveSpan())); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.maps.routeoptimization.v1.VehicleFullness prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] is a
+   * metric which computes how full a vehicle is. Each
+   * [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field is
+   * between 0 and 1, computed as the ratio between a capped metric field (e.g.
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters])
+   * and its related vehicle limit (e.g.
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]),
+   * if it exists. Otherwise the fullness ratio stays unset. If the limit is 0,
+   * the field is set to 1. Note: when a route is subject to traffic
+   * infeasibilities, some raw fullness ratios might exceed 1.0, e.g. the vehicle
+   * might exceed its distance limit. In these cases, we cap the fullness values
+   * at 1.0.
+   * 
+ * + * Protobuf type {@code google.maps.routeoptimization.v1.VehicleFullness} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.routeoptimization.v1.VehicleFullness) + com.google.maps.routeoptimization.v1.VehicleFullnessOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_VehicleFullness_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_VehicleFullness_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.routeoptimization.v1.VehicleFullness.class, + com.google.maps.routeoptimization.v1.VehicleFullness.Builder.class); + } + + // Construct using com.google.maps.routeoptimization.v1.VehicleFullness.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + maxFullness_ = 0D; + distance_ = 0D; + travelDuration_ = 0D; + activeDuration_ = 0D; + maxLoad_ = 0D; + activeSpan_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routeoptimization.v1.RouteOptimizationServiceProto + .internal_static_google_maps_routeoptimization_v1_VehicleFullness_descriptor; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullness getDefaultInstanceForType() { + return com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullness build() { + com.google.maps.routeoptimization.v1.VehicleFullness result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullness buildPartial() { + com.google.maps.routeoptimization.v1.VehicleFullness result = + new com.google.maps.routeoptimization.v1.VehicleFullness(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.maps.routeoptimization.v1.VehicleFullness result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxFullness_ = maxFullness_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.distance_ = distance_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.travelDuration_ = travelDuration_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.activeDuration_ = activeDuration_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.maxLoad_ = maxLoad_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.activeSpan_ = activeSpan_; + to_bitField0_ |= 0x00000020; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.routeoptimization.v1.VehicleFullness) { + return mergeFrom((com.google.maps.routeoptimization.v1.VehicleFullness) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.routeoptimization.v1.VehicleFullness other) { + if (other == com.google.maps.routeoptimization.v1.VehicleFullness.getDefaultInstance()) + return this; + if (other.hasMaxFullness()) { + setMaxFullness(other.getMaxFullness()); + } + if (other.hasDistance()) { + setDistance(other.getDistance()); + } + if (other.hasTravelDuration()) { + setTravelDuration(other.getTravelDuration()); + } + if (other.hasActiveDuration()) { + setActiveDuration(other.getActiveDuration()); + } + if (other.hasMaxLoad()) { + setMaxLoad(other.getMaxLoad()); + } + if (other.hasActiveSpan()) { + setActiveSpan(other.getActiveSpan()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 9: + { + maxFullness_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + distance_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 25: + { + travelDuration_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + case 33: + { + activeDuration_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + maxLoad_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: + { + activeSpan_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private double maxFullness_; + + /** + * + * + *
+     * Maximum of all other fields in this message.
+     * 
+ * + * optional double max_fullness = 1; + * + * @return Whether the maxFullness field is set. + */ + @java.lang.Override + public boolean hasMaxFullness() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Maximum of all other fields in this message.
+     * 
+ * + * optional double max_fullness = 1; + * + * @return The maxFullness. + */ + @java.lang.Override + public double getMaxFullness() { + return maxFullness_; + } + + /** + * + * + *
+     * Maximum of all other fields in this message.
+     * 
+ * + * optional double max_fullness = 1; + * + * @param value The maxFullness to set. + * @return This builder for chaining. + */ + public Builder setMaxFullness(double value) { + + maxFullness_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Maximum of all other fields in this message.
+     * 
+ * + * optional double max_fullness = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxFullness() { + bitField0_ = (bitField0_ & ~0x00000001); + maxFullness_ = 0D; + onChanged(); + return this; + } + + private double distance_; + + /** + * + * + *
+     * The ratio between
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+     * and
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+     * If
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double distance = 2; + * + * @return Whether the distance field is set. + */ + @java.lang.Override + public boolean hasDistance() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * The ratio between
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+     * and
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+     * If
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double distance = 2; + * + * @return The distance. + */ + @java.lang.Override + public double getDistance() { + return distance_; + } + + /** + * + * + *
+     * The ratio between
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+     * and
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+     * If
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double distance = 2; + * + * @param value The distance to set. + * @return This builder for chaining. + */ + public Builder setDistance(double value) { + + distance_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The ratio between
+     * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+     * and
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+     * If
+     * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double distance = 2; + * + * @return This builder for chaining. + */ + public Builder clearDistance() { + bitField0_ = (bitField0_ & ~0x00000002); + distance_ = 0D; + onChanged(); + return this; + } + + private double travelDuration_; + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+     * If
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double travel_duration = 3; + * + * @return Whether the travelDuration field is set. + */ + @java.lang.Override + public boolean hasTravelDuration() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+     * If
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double travel_duration = 3; + * + * @return The travelDuration. + */ + @java.lang.Override + public double getTravelDuration() { + return travelDuration_; + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+     * If
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double travel_duration = 3; + * + * @param value The travelDuration to set. + * @return This builder for chaining. + */ + public Builder setTravelDuration(double value) { + + travelDuration_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+     * If
+     * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double travel_duration = 3; + * + * @return This builder for chaining. + */ + public Builder clearTravelDuration() { + bitField0_ = (bitField0_ & ~0x00000004); + travelDuration_ = 0D; + onChanged(); + return this; + } + + private double activeDuration_; + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+     * If
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double active_duration = 4; + * + * @return Whether the activeDuration field is set. + */ + @java.lang.Override + public boolean hasActiveDuration() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+     * If
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double active_duration = 4; + * + * @return The activeDuration. + */ + @java.lang.Override + public double getActiveDuration() { + return activeDuration_; + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+     * If
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double active_duration = 4; + * + * @param value The activeDuration to set. + * @return This builder for chaining. + */ + public Builder setActiveDuration(double value) { + + activeDuration_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+     * If
+     * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+     * is unset, this field will be unset.
+     * 
+ * + * optional double active_duration = 4; + * + * @return This builder for chaining. + */ + public Builder clearActiveDuration() { + bitField0_ = (bitField0_ & ~0x00000008); + activeDuration_ = 0D; + onChanged(); + return this; + } + + private double maxLoad_; + + /** + * + * + *
+     * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+     * their respective
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+     * If all
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+     * fields are unset, this field will be unset.
+     * 
+ * + * optional double max_load = 5; + * + * @return Whether the maxLoad field is set. + */ + @java.lang.Override + public boolean hasMaxLoad() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+     * their respective
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+     * If all
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+     * fields are unset, this field will be unset.
+     * 
+ * + * optional double max_load = 5; + * + * @return The maxLoad. + */ + @java.lang.Override + public double getMaxLoad() { + return maxLoad_; + } + + /** + * + * + *
+     * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+     * their respective
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+     * If all
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+     * fields are unset, this field will be unset.
+     * 
+ * + * optional double max_load = 5; + * + * @param value The maxLoad to set. + * @return This builder for chaining. + */ + public Builder setMaxLoad(double value) { + + maxLoad_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+     * their respective
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+     * If all
+     * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+     * fields are unset, this field will be unset.
+     * 
+ * + * optional double max_load = 5; + * + * @return This builder for chaining. + */ + public Builder clearMaxLoad() { + bitField0_ = (bitField0_ & ~0x00000010); + maxLoad_ = 0D; + onChanged(); + return this; + } + + private double activeSpan_; + + /** + * + * + *
+     * The ratio (vehicle_end_time - vehicle_start_time) /
+     * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+     * vehicle. If the denominator is not present, it uses
+     * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+     * -
+     * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+     * instead.
+     * 
+ * + * optional double active_span = 6; + * + * @return Whether the activeSpan field is set. + */ + @java.lang.Override + public boolean hasActiveSpan() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * The ratio (vehicle_end_time - vehicle_start_time) /
+     * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+     * vehicle. If the denominator is not present, it uses
+     * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+     * -
+     * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+     * instead.
+     * 
+ * + * optional double active_span = 6; + * + * @return The activeSpan. + */ + @java.lang.Override + public double getActiveSpan() { + return activeSpan_; + } + + /** + * + * + *
+     * The ratio (vehicle_end_time - vehicle_start_time) /
+     * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+     * vehicle. If the denominator is not present, it uses
+     * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+     * -
+     * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+     * instead.
+     * 
+ * + * optional double active_span = 6; + * + * @param value The activeSpan to set. + * @return This builder for chaining. + */ + public Builder setActiveSpan(double value) { + + activeSpan_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * The ratio (vehicle_end_time - vehicle_start_time) /
+     * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+     * vehicle. If the denominator is not present, it uses
+     * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+     * -
+     * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+     * instead.
+     * 
+ * + * optional double active_span = 6; + * + * @return This builder for chaining. + */ + public Builder clearActiveSpan() { + bitField0_ = (bitField0_ & ~0x00000020); + activeSpan_ = 0D; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.maps.routeoptimization.v1.VehicleFullness) + } + + // @@protoc_insertion_point(class_scope:google.maps.routeoptimization.v1.VehicleFullness) + private static final com.google.maps.routeoptimization.v1.VehicleFullness DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.maps.routeoptimization.v1.VehicleFullness(); + } + + public static com.google.maps.routeoptimization.v1.VehicleFullness getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VehicleFullness parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.maps.routeoptimization.v1.VehicleFullness getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullnessOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullnessOrBuilder.java new file mode 100644 index 000000000000..3580f09bfae0 --- /dev/null +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/VehicleFullnessOrBuilder.java @@ -0,0 +1,232 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routeoptimization/v1/route_optimization_service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.maps.routeoptimization.v1; + +public interface VehicleFullnessOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.maps.routeoptimization.v1.VehicleFullness) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Maximum of all other fields in this message.
+   * 
+ * + * optional double max_fullness = 1; + * + * @return Whether the maxFullness field is set. + */ + boolean hasMaxFullness(); + + /** + * + * + *
+   * Maximum of all other fields in this message.
+   * 
+ * + * optional double max_fullness = 1; + * + * @return The maxFullness. + */ + double getMaxFullness(); + + /** + * + * + *
+   * The ratio between
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+   * and
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+   * If
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double distance = 2; + * + * @return Whether the distance field is set. + */ + boolean hasDistance(); + + /** + * + * + *
+   * The ratio between
+   * [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]
+   * and
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit].
+   * If
+   * [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double distance = 2; + * + * @return The distance. + */ + double getDistance(); + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+   * If
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double travel_duration = 3; + * + * @return Whether the travelDuration field is set. + */ + boolean hasTravelDuration(); + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.travel_duration_seconds][] and
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit].
+   * If
+   * [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double travel_duration = 3; + * + * @return The travelDuration. + */ + double getTravelDuration(); + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+   * If
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double active_duration = 4; + * + * @return Whether the activeDuration field is set. + */ + boolean hasActiveDuration(); + + /** + * + * + *
+   * The ratio between [AggregatedMetrics.total_duration_seconds][] and
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit].
+   * If
+   * [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]
+   * is unset, this field will be unset.
+   * 
+ * + * optional double active_duration = 4; + * + * @return The activeDuration. + */ + double getActiveDuration(); + + /** + * + * + *
+   * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+   * their respective
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+   * If all
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+   * fields are unset, this field will be unset.
+   * 
+ * + * optional double max_load = 5; + * + * @return Whether the maxLoad field is set. + */ + boolean hasMaxLoad(); + + /** + * + * + *
+   * The maximum ratio among all types of [AggregatedMetrics.max_load][] and
+   * their respective
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits].
+   * If all
+   * [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]
+   * fields are unset, this field will be unset.
+   * 
+ * + * optional double max_load = 5; + * + * @return The maxLoad. + */ + double getMaxLoad(); + + /** + * + * + *
+   * The ratio (vehicle_end_time - vehicle_start_time) /
+   * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+   * vehicle. If the denominator is not present, it uses
+   * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+   * -
+   * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+   * instead.
+   * 
+ * + * optional double active_span = 6; + * + * @return Whether the activeSpan field is set. + */ + boolean hasActiveSpan(); + + /** + * + * + *
+   * The ratio (vehicle_end_time - vehicle_start_time) /
+   * (latest_vehicle_end_time - earliest_vehicle_start_time) for a given
+   * vehicle. If the denominator is not present, it uses
+   * ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time]
+   * -
+   * [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
+   * instead.
+   * 
+ * + * optional double active_span = 6; + * + * @return The activeSpan. + */ + double getActiveSpan(); +} diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Waypoint.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Waypoint.java index 18ff46e794b9..81a655435a09 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Waypoint.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/Waypoint.java @@ -176,7 +176,13 @@ public com.google.maps.routeoptimization.v1.LocationOrBuilder getLocationOrBuild * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -191,7 +197,13 @@ public boolean hasPlaceId() { * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -219,7 +231,13 @@ public java.lang.String getPlaceId() { * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -267,6 +285,29 @@ public boolean getSideOfRoad() { return sideOfRoad_; } + public static final int VEHICLE_STOPOVER_FIELD_NUMBER = 4; + private boolean vehicleStopover_ = false; + + /** + * + * + *
+   * Indicates that the waypoint is meant for vehicles to stop at, where the
+   * intention is to either pick up or drop off. This option works only for the
+   * 'DRIVING' travel mode, and when the 'location_type' is 'location'.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * bool vehicle_stopover = 4; + * + * @return The vehicleStopover. + */ + @java.lang.Override + public boolean getVehicleStopover() { + return vehicleStopover_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -290,6 +331,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (sideOfRoad_ != false) { output.writeBool(3, sideOfRoad_); } + if (vehicleStopover_ != false) { + output.writeBool(4, vehicleStopover_); + } getUnknownFields().writeTo(output); } @@ -310,6 +354,9 @@ public int getSerializedSize() { if (sideOfRoad_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, sideOfRoad_); } + if (vehicleStopover_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, vehicleStopover_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -327,6 +374,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.maps.routeoptimization.v1.Waypoint) obj; if (getSideOfRoad() != other.getSideOfRoad()) return false; + if (getVehicleStopover() != other.getVehicleStopover()) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: @@ -351,6 +399,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIDE_OF_ROAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSideOfRoad()); + hash = (37 * hash) + VEHICLE_STOPOVER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVehicleStopover()); switch (locationTypeCase_) { case 1: hash = (37 * hash) + LOCATION_FIELD_NUMBER; @@ -508,6 +558,7 @@ public Builder clear() { locationBuilder_.clear(); } sideOfRoad_ = false; + vehicleStopover_ = false; locationTypeCase_ = 0; locationType_ = null; return this; @@ -550,6 +601,9 @@ private void buildPartial0(com.google.maps.routeoptimization.v1.Waypoint result) if (((from_bitField0_ & 0x00000004) != 0)) { result.sideOfRoad_ = sideOfRoad_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.vehicleStopover_ = vehicleStopover_; + } } private void buildPartialOneofs(com.google.maps.routeoptimization.v1.Waypoint result) { @@ -608,6 +662,9 @@ public Builder mergeFrom(com.google.maps.routeoptimization.v1.Waypoint other) { if (other.getSideOfRoad() != false) { setSideOfRoad(other.getSideOfRoad()); } + if (other.getVehicleStopover() != false) { + setVehicleStopover(other.getVehicleStopover()); + } switch (other.getLocationTypeCase()) { case LOCATION: { @@ -671,6 +728,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 24 + case 32: + { + vehicleStopover_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -936,7 +999,13 @@ public com.google.maps.routeoptimization.v1.LocationOrBuilder getLocationOrBuild * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -952,7 +1021,13 @@ public boolean hasPlaceId() { * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -981,7 +1056,13 @@ public java.lang.String getPlaceId() { * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -1010,7 +1091,13 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -1032,7 +1119,13 @@ public Builder setPlaceId(java.lang.String value) { * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -1052,7 +1145,13 @@ public Builder clearPlaceId() { * * *
-     * The POI Place ID associated with the waypoint.
+     * The POI place ID associated with the waypoint.
+     *
+     * When using a place ID to specify arrival or departure location of a
+     * VisitRequest, use a place ID that is specific enough to determine a
+     * LatLng location for navigation to the place.
+     * For example, a place ID representing a building is suitable, but a place
+     * ID representing a road is discouraged.
      * 
* * string place_id = 2; @@ -1142,6 +1241,74 @@ public Builder clearSideOfRoad() { return this; } + private boolean vehicleStopover_; + + /** + * + * + *
+     * Indicates that the waypoint is meant for vehicles to stop at, where the
+     * intention is to either pick up or drop off. This option works only for the
+     * 'DRIVING' travel mode, and when the 'location_type' is 'location'.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * bool vehicle_stopover = 4; + * + * @return The vehicleStopover. + */ + @java.lang.Override + public boolean getVehicleStopover() { + return vehicleStopover_; + } + + /** + * + * + *
+     * Indicates that the waypoint is meant for vehicles to stop at, where the
+     * intention is to either pick up or drop off. This option works only for the
+     * 'DRIVING' travel mode, and when the 'location_type' is 'location'.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * bool vehicle_stopover = 4; + * + * @param value The vehicleStopover to set. + * @return This builder for chaining. + */ + public Builder setVehicleStopover(boolean value) { + + vehicleStopover_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Indicates that the waypoint is meant for vehicles to stop at, where the
+     * intention is to either pick up or drop off. This option works only for the
+     * 'DRIVING' travel mode, and when the 'location_type' is 'location'.
+     *
+     * Experimental: This field's behavior or existence may change in future.
+     * 
+ * + * bool vehicle_stopover = 4; + * + * @return This builder for chaining. + */ + public Builder clearVehicleStopover() { + bitField0_ = (bitField0_ & ~0x00000008); + vehicleStopover_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/WaypointOrBuilder.java b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/WaypointOrBuilder.java index 8bd3a9d60726..0c0675f8e566 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/WaypointOrBuilder.java +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/java/com/google/maps/routeoptimization/v1/WaypointOrBuilder.java @@ -68,7 +68,13 @@ public interface WaypointOrBuilder * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -81,7 +87,13 @@ public interface WaypointOrBuilder * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -94,7 +106,13 @@ public interface WaypointOrBuilder * * *
-   * The POI Place ID associated with the waypoint.
+   * The POI place ID associated with the waypoint.
+   *
+   * When using a place ID to specify arrival or departure location of a
+   * VisitRequest, use a place ID that is specific enough to determine a
+   * LatLng location for navigation to the place.
+   * For example, a place ID representing a building is suitable, but a place
+   * ID representing a road is discouraged.
    * 
* * string place_id = 2; @@ -121,5 +139,22 @@ public interface WaypointOrBuilder */ boolean getSideOfRoad(); + /** + * + * + *
+   * Indicates that the waypoint is meant for vehicles to stop at, where the
+   * intention is to either pick up or drop off. This option works only for the
+   * 'DRIVING' travel mode, and when the 'location_type' is 'location'.
+   *
+   * Experimental: This field's behavior or existence may change in future.
+   * 
+ * + * bool vehicle_stopover = 4; + * + * @return The vehicleStopover. + */ + boolean getVehicleStopover(); + com.google.maps.routeoptimization.v1.Waypoint.LocationTypeCase getLocationTypeCase(); } diff --git a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/proto/google/maps/routeoptimization/v1/route_optimization_service.proto b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/proto/google/maps/routeoptimization/v1/route_optimization_service.proto index 4e4ac732fad2..8096f413223b 100644 --- a/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/proto/google/maps/routeoptimization/v1/route_optimization_service.proto +++ b/java-maps-routeoptimization/proto-google-maps-routeoptimization-v1/src/main/proto/google/maps/routeoptimization/v1/route_optimization_service.proto @@ -117,8 +117,138 @@ service RouteOptimization { metadata_type: "BatchOptimizeToursMetadata" }; } + + // This is a variant of the + // [OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours] + // method designed for + // optimizations with large timeout values. It should be preferred over the + // `OptimizeTours` method for optimizations that take longer than + // a few minutes. + // + // The returned [long-running operation][google.longrunning.Operation] (LRO) + // will have a name of the format + // `/operations/` and can be used to track + // progress of the computation. The + // [metadata][google.longrunning.Operation.metadata] field type is + // [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata]. + // The [response][google.longrunning.Operation.response] field type is + // [OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse], + // if successful. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request + // for more details. + // + rpc OptimizeToursLongRunning(OptimizeToursRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:optimizeToursLongRunning" + body: "*" + additional_bindings { + post: "/v1/{parent=projects/*}:optimizeToursLongRunning" + body: "*" + } + }; + option (google.longrunning.operation_info) = { + response_type: "OptimizeToursResponse" + metadata_type: "OptimizeToursLongRunningMetadata" + }; + } + + // This is a variant of the + // [OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning] + // method designed for optimizations with large timeout values and large + // input/output sizes. + // + // The client specifies the URI of the `OptimizeToursRequest` stored + // in Google Cloud Storage and the server writes the `OptimizeToursResponse` + // to a client-specified Google Cloud Storage URI. + // + // This method should be preferred over the `OptimizeTours` method for + // optimizations that take longer than a few minutes and input/output sizes + // that are larger than 8MB, though it can be used for shorter and smaller + // optimizations as well. + // + // The returned [long-running operation][google.longrunning.Operation] (LRO) + // will have a name of the format + // `/operations/` and can be used to track + // progress of the computation. The + // [metadata][google.longrunning.Operation.metadata] field type is + // [OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata]. + // The [response][google.longrunning.Operation.response] field type is + // [OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse], + // if successful. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request + // for more details. + rpc OptimizeToursUri(OptimizeToursUriRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:OptimizeToursUri" + body: "*" + additional_bindings { + post: "/v1/{parent=projects/*}:OptimizeToursUri" + body: "*" + } + }; + option (google.longrunning.operation_info) = { + response_type: "OptimizeToursUriResponse" + metadata_type: "OptimizeToursUriMetadata" + }; + } +} + +// A Universal Resource Identifier that points to a resource that can be read +// and written by the Route Optimization API. +message Uri { + // The URI of the resource. The resource may not yet exist. + // + // The contents of the resource are encoded as either JSON + // or textproto. Only Google Cloud Storage resources are supported. If the + // resource is encoded as JSON, the resource name must be suffixed with + // `.json`. If the resource is encoded as textproto, the resource name must + // be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to + // a JSON encoded file might look like: `gs://bucket/path/input/object.json`. + string uri = 1; } +// A request used by the `OptimizeToursUri` method. +message OptimizeToursUriRequest { + // Required. Target project or location to make a call. + // + // Format: + // * `projects/{project-id}` + // * `projects/{project-id}/locations/{location-id}` + // + // If no location is specified, a region will be chosen automatically. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The URI of the Cloud Storage object containing the + // `OptimizeToursRequest`. + Uri input = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The URI of the Cloud Storage object that will contain the + // `OptimizeToursResponse`. + Uri output = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// A response returned by the `OptimizeToursUri` method. +message OptimizeToursUriResponse { + // Optional. The URI of the Cloud Storage object containing the + // `OptimizeToursResponse` encoded as either JSON or textproto. If the object + // was encoded as JSON, the extension of the object name will be + // `.json`. If the object was encoded as textproto, the extension of the + // object name will be `.txtpb`. + // + // The `crc32_checksum` of the resource can be used to verify the contents of + // the resource have not been modified. + Uri output = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// Operation metadata for `OptimizeToursUri` calls. +message OptimizeToursUriMetadata {} + // Request to batch optimize tours as an asynchronous operation. // Each input file should contain one `OptimizeToursRequest`, and each output // file will contain one `OptimizeToursResponse`. The request contains @@ -160,6 +290,9 @@ message BatchOptimizeToursResponse {} // Operation metadata for `BatchOptimizeToursRequest` calls. message BatchOptimizeToursMetadata {} +// Operation metadata for `OptimizeToursLongRunning` calls. +message OptimizeToursLongRunningMetadata {} + // Request to be given to a tour optimization solver which defines the // shipment model to solve as well as optimization parameters. message OptimizeToursRequest { @@ -194,6 +327,17 @@ message OptimizeToursRequest { // *IMPORTANT*: not all infeasible shipments are returned here, but only the // ones that are detected as infeasible during preprocessing. DETECT_SOME_INFEASIBLE_SHIPMENTS = 2; + + // This mode only works if `ShipmentModel.objectives` is not empty. The + // request is not solved. It is only validated and filled with costs + // corresponding to the given objectives. Also see the documentation of + // `ShipmentModel.objectives`. The resulting request is returned as + // `OptimizeToursResponse.processed_request`. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request + // for more details. + TRANSFORM_AND_RETURN_REQUEST = 3; } // Mode defining the behavior of the search, trading off latency versus @@ -473,6 +617,15 @@ message OptimizeToursResponse { // `solving_mode` is `DEFAULT_SOLVE`. repeated OptimizeToursValidationError validation_errors = 5; + // In some cases we modify the incoming request before solving it, i.e. adding + // costs. If solving_mode == TRANSFORM_AND_RETURN_REQUEST, the + // modified request is returned here. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request + // for more details. + OptimizeToursRequest processed_request = 21; + // Duration, distance and usage metrics for this solution. Metrics metrics = 6; } @@ -485,6 +638,45 @@ message OptimizeToursResponse { // * the unperformed shipment penalties. // * the cost of the global duration of the shipments message ShipmentModel { + // Objectives replace the cost model completely, and are therefore + // incompatible with pre-existing costs. Each objective maps to a number of + // pre-defined costs for, e.g., vehicles, shipments or transition attributes. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request + // for more details. + message Objective { + // The objective type that will be mapped to a set of costs. + enum Type { + // A default set of costs will be used, to ensure a reasonable solution. + // Note: this objective can be used on its own, but will also always be + // added with weight 1.0, as a baseline, to the objectives specified by + // the user, if it's not already present. + DEFAULT = 0; + + // "MIN" objectives. + // Minimize the total distance traveled. + MIN_DISTANCE = 10; + + // Minimize the total working time, summed over all vehicles. + MIN_WORKING_TIME = 11; + + // Same as above but focusing on travel time only. + MIN_TRAVEL_TIME = 12; + + // Minimize the number of vehicles used. + MIN_NUM_VEHICLES = 13; + } + + // The type of the objective. + optional Type type = 1; + + // How much this objective should count relatively to the others. This can + // be any non-negative number, weights do not have to sum to 1. Weights + // default to 1.0. + optional double weight = 2; + } + // Specifies a duration and distance matrix from visit and vehicle start // locations to visit and vehicle end locations. message DurationDistanceMatrix { @@ -550,6 +742,17 @@ message ShipmentModel { // Set of vehicles which can be used to perform visits. repeated Vehicle vehicles = 2; + // The set of objectives for this model, that we will transform into costs. + // If not empty, the input model has to be costless. + // To obtain the modified request, please use `solving_mode` = + // TRANSFORM_AND_RETURN_REQUEST. Note that the request will not + // be solved in this case. See corresponding documentation. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/objectives/make-request + // for more details. + repeated Objective objectives = 17; + // Constrains the maximum number of active vehicles. A vehicle is active if // its route performs at least one shipment. This can be used to limit the // number of routes in the case where there are fewer drivers than @@ -617,7 +820,6 @@ message ShipmentModel { // } // ``` // - // // * There are three locations: locA, locB and locC. // * 1 vehicle starting its route at locA and ending it at locB, using // matrix "fast". @@ -716,6 +918,10 @@ message ShipmentModel { repeated ShipmentTypeRequirement shipment_type_requirements = 13; // Set of precedence rules which must be enforced in the model. + // + // *IMPORTANT*: Use of precedence rules limits the size of problem that can be + // optimized. Requests using precedence rules that include many shipments may + // be rejected. repeated PrecedenceRule precedence_rules = 14; } @@ -804,6 +1010,16 @@ message Shipment { // response as `visit_label` in the corresponding // [ShipmentRoute.Visit][google.maps.routeoptimization.v1.ShipmentRoute.Visit]. string label = 11; + + // Specifies whether U-turns should be avoided in driving routes at this + // location. + // U-turn avoidance is best effort and complete avoidance is not guaranteed. + // This is an experimental feature and behavior is subject to change. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request + // for more details. + optional bool avoid_u_turns = 13; } // When performing a visit, a predefined amount may be added to the vehicle @@ -958,14 +1174,12 @@ message ShipmentTypeIncompatibility { // same vehicle. NOT_PERFORMED_BY_SAME_VEHICLE = 1; - // For two shipments with incompatible types with the - // `NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY` incompatibility mode: - // - // * If both are pickups only (no deliveries) or deliveries only (no - // pickups), they cannot share the same vehicle at all. - // * If one of the shipments has a delivery and the other a pickup, the two - // shipments can share the same vehicle iff the former shipment is - // delivered before the latter is picked up. + // In this mode, two shipments with incompatible types can never be on the + // same vehicle at the same time: + // * They can share the same vehicle only if one is delivered before the + // other is picked up. + // * When both shipments are pickups-only (no deliveries) or deliveries-only + // (no pickups), they can't share the same vehicle at all. NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY = 2; } @@ -1054,9 +1268,13 @@ message RouteModifiers { message Vehicle { // Travel modes which can be used by vehicles. // - // These should be a subset of the Google Maps Platform Routes Preferred API - // travel modes, see: - // https://developers.google.com/maps/documentation/routes_preferred/reference/rest/Shared.Types/RouteTravelMode. + // These should be a subset of the Google Maps Platform Routes API travel + // modes, see: + // https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteTravelMode + // + // Note: `WALKING` routes are in beta and might sometimes be missing clear + // sidewalks or pedestrian paths. You must display this warning to the user + // for all walking routes that you display in your app. enum TravelMode { // Unspecified travel mode, equivalent to `DRIVING`. TRAVEL_MODE_UNSPECIFIED = 0; @@ -1107,6 +1325,97 @@ message Vehicle { optional int64 max = 2; } + // Cost of moving one unit of load during a `Transition`. + // For a given load, the cost is the sum of two parts: + // + // - min(load, `load_threshold`) * `cost_per_unit_below_threshold` + // - max(0, load - `load_threshold`) * `cost_per_unit_above_threshold` + // + // With this cost, solutions prefer to deliver high demands first, + // or equivalently pickup high demands last. + // For example, if a vehicle has + // + // load_limit { + // key: "weight" + // value { + // cost_per_kilometer { + // load_threshold: 15 + // cost_per_unit_below_threshold: 2.0 + // cost_per_unit_above_threshold: 10.0 + // } + // } + // } + // + // and its route is start,pickup,pickup,delivery,delivery,end with + // transitions: + // + // transition { vehicle_load['weight'] { amount: 0 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 10 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 20 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 10 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 0 } + // travel_distance_meters: 1000.0 } + // + // then the cost incurred by this `LoadCost` is + // (cost_below * load_below * kilometers + cost_above * load_above * kms) + // + // - transition 0: 0.0 + // - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + // - transition 2: 2.0 * 15 * 1.0 + 10.0 * (20 - 15) * 1.0 = 80.0 + // - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + // - transition 4: 0.0 + // + // So the `LoadCost` over the route is 120.0. + // + // However, if the route is start,pickup,delivery,pickup,delivery,end + // with transitions: + // + // transition { vehicle_load['weight'] { amount: 0 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 10 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 0 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 10 } + // travel_distance_meters: 1000.0 } + // transition { vehicle_load['weight'] { amount: 0 } + // travel_distance_meters: 1000.0 } + // + // then the cost incurred by this `LoadCost` is + // + // - transition 0: 0.0 + // - transition 1: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + // - transition 2: 0.0 + // - transition 3: 2.0 * 10 * 1.0 + 10.0 * 0 * 1.0 = 20.0 + // - transition 4: 0.0 + // + // Here the `LoadCost` over the route is 40.0. + // + // `LoadCost` makes solutions with heavy-loaded transitions more expensive. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request + // for more details. + message LoadCost { + // Amount of load above which the cost of moving a unit of load changes + // from cost_per_unit_below_threshold to cost_per_unit_above_threshold. + // Must be >= 0. + optional int64 load_threshold = 1; + + // Cost of moving a unit of load, for each unit between 0 and threshold. + // Must be a finite value, and >= 0. + optional double cost_per_unit_below_threshold = 2; + + // Cost of moving a unit of load, for each unit above threshold. + // In the special case threshold = 0, this is a fixed cost per unit. + // Must be a finite value, and >= 0. + optional double cost_per_unit_above_threshold = 3; + } + // The maximum acceptable amount of load. optional int64 max_load = 1; @@ -1122,6 +1431,8 @@ message Vehicle { // * [cost_per_unit_above_soft_max][google.maps.routeoptimization.v1.Vehicle.LoadLimit.cost_per_unit_above_soft_max]. All costs // add up and must be in the same unit as // [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost]. + // Soft limits may only be defined on types that apply to either pickups + // only or deliveries only throughout the model. double cost_per_unit_above_soft_max = 3; // The acceptable load interval of the vehicle at the start of the route. @@ -1129,6 +1440,22 @@ message Vehicle { // The acceptable load interval of the vehicle at the end of the route. Interval end_load_interval = 5; + + // Cost of moving one unit of load over one kilometer for this vehicle. + // This can be used as a proxy for fuel consumption: if the load is a weight + // (in Newtons), then load*kilometer has the dimension of an energy. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request + // for more details. + optional LoadCost cost_per_kilometer = 6; + + // Cost of traveling with a unit of load during one hour for this vehicle. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/load-cost/make-request + // for more details. + optional LoadCost cost_per_traveled_hour = 7; } // A limit defining a maximum duration of the route of a vehicle. It can be @@ -1544,7 +1871,13 @@ message Waypoint { // heading. Location location = 1; - // The POI Place ID associated with the waypoint. + // The POI place ID associated with the waypoint. + // + // When using a place ID to specify arrival or departure location of a + // VisitRequest, use a place ID that is specific enough to determine a + // LatLng location for navigation to the place. + // For example, a place ID representing a building is suitable, but a place + // ID representing a road is discouraged. string place_id = 2; } @@ -1555,6 +1888,13 @@ message Waypoint { // from the center of the road. This option doesn't work for the 'WALKING' // travel mode. bool side_of_road = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Indicates that the waypoint is meant for vehicles to stop at, where the + // intention is to either pick up or drop off. This option works only for the + // 'DRIVING' travel mode, and when the 'location_type' is 'location'. + // + // Experimental: This field's behavior or existence may change in future. + bool vehicle_stopover = 4; } // Encapsulates a location (a geographic point, and an optional heading). @@ -1790,6 +2130,20 @@ message ShipmentRoute { // [VisitRequest.label][google.maps.routeoptimization.v1.Shipment.VisitRequest.label], // if specified in the `VisitRequest`. string visit_label = 8; + + // An opaque token representing information about a visit location. + // + // This field may be populated in the result routes' visits when + // [VisitRequest.avoid_u_turns][google.maps.routeoptimization.v1.Shipment.VisitRequest.avoid_u_turns] + // was set to true for this visit or if + // [ShipmentModel.avoid_u_turns][google.maps.routeoptimization.v1.ShipmentModel.avoid_u_turns] + // was set to true in the request + // [OptimizeToursRequest][google.maps.routeoptimization.v1.OptimizeToursRequest]. + // + // Experimental: See + // https://developers.google.com/maps/tt/route-optimization/experimental/u-turn-avoidance/make-request + // for more details. + optional int32 injected_solution_location_token = 13; } // Transition between two events on the route. See the description of @@ -1963,6 +2317,16 @@ message ShipmentRoute { // depending on the context. AggregatedMetrics metrics = 12; + // [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field + // for computing how close the capped metrics are to their respective vehicle + // limits. Its fields are ratios between a capped metric field (e.g. + // [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]) + // and the related vehicle limit (e.g. + // [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]). + // + // Experimental: This field's behavior or existence may change in future. + VehicleFullness vehicle_fullness = 20; + // Cost of the route, broken down by cost-related request fields. // The keys are proto paths, relative to the input OptimizeToursRequest, e.g. // "model.shipments.pickups.cost", and the values are the total cost @@ -2051,6 +2415,34 @@ message SkippedShipment { // The `allowed_vehicle_indices` field of the shipment is not empty and // this vehicle does not belong to it. VEHICLE_NOT_ALLOWED = 7; + + // The vehicle's `ignore` field is true. + // + // Experimental: This field's behavior or existence may change in future. + VEHICLE_IGNORED = 8; + + // The shipment's `ignore` field is true. + // + // Experimental: This field's behavior or existence may change in future. + SHIPMENT_IGNORED = 9; + + // The shipment is skipped in the `injected_solution_constraint`. + // + // Experimental: This field's behavior or existence may change in future. + SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT = 10; + + // The vehicle route relaxation specified in the + // `injected_solution_constraint` doesn't permit any visit to be inserted. + // + // Experimental: This field's behavior or existence may change in future. + VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED = 11; + + // The shipment has a zero penalty cost. While this can be useful as an + // advanced modelling choice, it may also explain after the fact why a + // shipment was skipped. + // + // Experimental: This field's behavior or existence may change in future. + ZERO_PENALTY_COST = 13; } // Refer to the comments of Code. @@ -2060,6 +2452,15 @@ message SkippedShipment { // field provides the index of one relevant vehicle. optional int32 example_vehicle_index = 2; + // Same as + // [example_vehicle_index][google.maps.routeoptimization.v1.SkippedShipment.Reason.example_vehicle_index] + // except that we provide the list of multiple identified vehicles. This + // list is not necessarily exhaustive. This is only filled if + // [fill_example_vehicle_indices_in_skipped_reasons][] is true. + // + // Experimental: This field's behavior or existence may change in future. + repeated int32 example_vehicle_indices = 5; + // If the reason code is `DEMAND_EXCEEDS_VEHICLE_CAPACITY`, documents one // capacity type that is exceeded. string example_exceeded_capacity_type = 3; @@ -2074,6 +2475,20 @@ message SkippedShipment { // specified in the `Shipment`. string label = 2; + // This is a copy of the + // [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost], + // included here to make it easier to see the severity of a skipped shipment. + // + // Experimental: This field's behavior or existence may change in future. + optional double penalty_cost = 6; + + // Estimated ratio of vehicles that cannot perform this shipment for at least + // one of the reasons below. + // Note: this is only filled when reasons involve a vehicle. + // + // Experimental: This field's behavior or existence may change in future. + optional double estimated_incompatible_vehicle_ratio = 5; + // A list of reasons that explain why the shipment was skipped. See comment // above `Reason`. If we are unable to understand why a shipment was skipped, // reasons will not be set. @@ -2093,6 +2508,18 @@ message AggregatedMetrics { // counts once. int32 performed_shipment_count = 1; + // Number of mandatory shipments performed. + // + // Experimental: This field's behavior or existence may change in future. + optional int32 performed_mandatory_shipment_count = 12; + + // The sum of the + // [Shipment.penalty_cost][google.maps.routeoptimization.v1.Shipment.penalty_cost] + // of the performed shipments. + // + // Experimental: This field's behavior or existence may change in future. + optional double performed_shipment_penalty_cost_sum = 13; + // Total travel duration for a route or a solution. google.protobuf.Duration travel_duration = 2; @@ -2129,6 +2556,63 @@ message AggregatedMetrics { map max_loads = 9; } +// [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] is a +// metric which computes how full a vehicle is. Each +// [VehicleFullness][google.maps.routeoptimization.v1.VehicleFullness] field is +// between 0 and 1, computed as the ratio between a capped metric field (e.g. +// [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters]) +// and its related vehicle limit (e.g. +// [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]), +// if it exists. Otherwise the fullness ratio stays unset. If the limit is 0, +// the field is set to 1. Note: when a route is subject to traffic +// infeasibilities, some raw fullness ratios might exceed 1.0, e.g. the vehicle +// might exceed its distance limit. In these cases, we cap the fullness values +// at 1.0. +message VehicleFullness { + // Maximum of all other fields in this message. + optional double max_fullness = 1; + + // The ratio between + // [AggregatedMetrics.travel_distance_meters][google.maps.routeoptimization.v1.AggregatedMetrics.travel_distance_meters] + // and + // [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit]. + // If + // [Vehicle.route_distance_limit][google.maps.routeoptimization.v1.Vehicle.route_distance_limit] + // is unset, this field will be unset. + optional double distance = 2; + + // The ratio between [AggregatedMetrics.travel_duration_seconds][] and + // [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit]. + // If + // [Vehicle.travel_duration_limit][google.maps.routeoptimization.v1.Vehicle.travel_duration_limit] + // is unset, this field will be unset. + optional double travel_duration = 3; + + // The ratio between [AggregatedMetrics.total_duration_seconds][] and + // [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit]. + // If + // [Vehicle.route_duration_limit][google.maps.routeoptimization.v1.Vehicle.route_duration_limit] + // is unset, this field will be unset. + optional double active_duration = 4; + + // The maximum ratio among all types of [AggregatedMetrics.max_load][] and + // their respective + // [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits]. + // If all + // [Vehicle.load_limits][google.maps.routeoptimization.v1.Vehicle.load_limits] + // fields are unset, this field will be unset. + optional double max_load = 5; + + // The ratio (vehicle_end_time - vehicle_start_time) / + // (latest_vehicle_end_time - earliest_vehicle_start_time) for a given + // vehicle. If the denominator is not present, it uses + // ([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time] + // - + // [ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time]) + // instead. + optional double active_span = 6; +} + // Solution injected in the request including information about which visits // must be constrained and how they must be constrained. message InjectedSolutionConstraint { diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunning.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunning.java new file mode 100644 index 000000000000..5d760a4f2848 --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunning.java @@ -0,0 +1,68 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_async] +import com.google.api.core.ApiFuture; +import com.google.longrunning.Operation; +import com.google.maps.routeoptimization.v1.InjectedSolutionConstraint; +import com.google.maps.routeoptimization.v1.OptimizeToursRequest; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.ShipmentModel; +import com.google.maps.routeoptimization.v1.ShipmentRoute; +import com.google.protobuf.Duration; +import java.util.ArrayList; + +public class AsyncOptimizeToursLongRunning { + + public static void main(String[] args) throws Exception { + asyncOptimizeToursLongRunning(); + } + + public static void asyncOptimizeToursLongRunning() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("parent-995424086") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + ApiFuture future = + routeOptimizationClient.optimizeToursLongRunningCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_async] diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunningLRO.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunningLRO.java new file mode 100644 index 000000000000..95376affc68b --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/AsyncOptimizeToursLongRunningLRO.java @@ -0,0 +1,69 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.maps.routeoptimization.v1.InjectedSolutionConstraint; +import com.google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.ShipmentModel; +import com.google.maps.routeoptimization.v1.ShipmentRoute; +import com.google.protobuf.Duration; +import java.util.ArrayList; + +public class AsyncOptimizeToursLongRunningLRO { + + public static void main(String[] args) throws Exception { + asyncOptimizeToursLongRunningLRO(); + } + + public static void asyncOptimizeToursLongRunningLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("parent-995424086") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + OperationFuture future = + routeOptimizationClient.optimizeToursLongRunningOperationCallable().futureCall(request); + // Do something. + OptimizeToursResponse response = future.get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_LRO_async] diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/SyncOptimizeToursLongRunning.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/SyncOptimizeToursLongRunning.java new file mode 100644 index 000000000000..ca83c557677f --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetourslongrunning/SyncOptimizeToursLongRunning.java @@ -0,0 +1,65 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_sync] +import com.google.maps.routeoptimization.v1.InjectedSolutionConstraint; +import com.google.maps.routeoptimization.v1.OptimizeToursRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursResponse; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.ShipmentModel; +import com.google.maps.routeoptimization.v1.ShipmentRoute; +import com.google.protobuf.Duration; +import java.util.ArrayList; + +public class SyncOptimizeToursLongRunning { + + public static void main(String[] args) throws Exception { + syncOptimizeToursLongRunning(); + } + + public static void syncOptimizeToursLongRunning() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursRequest request = + OptimizeToursRequest.newBuilder() + .setParent("parent-995424086") + .setTimeout(Duration.newBuilder().build()) + .setModel(ShipmentModel.newBuilder().build()) + .addAllInjectedFirstSolutionRoutes(new ArrayList()) + .setInjectedSolutionConstraint(InjectedSolutionConstraint.newBuilder().build()) + .addAllRefreshDetailsRoutes(new ArrayList()) + .setInterpretInjectedSolutionsUsingLabels(true) + .setConsiderRoadTraffic(true) + .setPopulatePolylines(true) + .setPopulateTransitionPolylines(true) + .setAllowLargeDeadlineDespiteInterruptionRisk(true) + .setUseGeodesicDistances(true) + .setGeodesicMetersPerSecond(-2129658905) + .setMaxValidationErrors(-1367418922) + .setLabel("label102727412") + .build(); + OptimizeToursResponse response = + routeOptimizationClient.optimizeToursLongRunningAsync(request).get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_sync] diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUri.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUri.java new file mode 100644 index 000000000000..ba6dc8a5c42f --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUri.java @@ -0,0 +1,52 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_async] +import com.google.api.core.ApiFuture; +import com.google.longrunning.Operation; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.Uri; + +public class AsyncOptimizeToursUri { + + public static void main(String[] args) throws Exception { + asyncOptimizeToursUri(); + } + + public static void asyncOptimizeToursUri() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("parent-995424086") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + ApiFuture future = + routeOptimizationClient.optimizeToursUriCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_async] diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUriLRO.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUriLRO.java new file mode 100644 index 000000000000..40c97ecc95d8 --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/AsyncOptimizeToursUriLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.maps.routeoptimization.v1.OptimizeToursUriMetadata; +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.Uri; + +public class AsyncOptimizeToursUriLRO { + + public static void main(String[] args) throws Exception { + asyncOptimizeToursUriLRO(); + } + + public static void asyncOptimizeToursUriLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("parent-995424086") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + OperationFuture future = + routeOptimizationClient.optimizeToursUriOperationCallable().futureCall(request); + // Do something. + OptimizeToursUriResponse response = future.get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_LRO_async] diff --git a/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/SyncOptimizeToursUri.java b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/SyncOptimizeToursUri.java new file mode 100644 index 000000000000..cc3479499a7d --- /dev/null +++ b/java-maps-routeoptimization/samples/snippets/generated/com/google/maps/routeoptimization/v1/routeoptimization/optimizetoursuri/SyncOptimizeToursUri.java @@ -0,0 +1,49 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.maps.routeoptimization.v1.samples; + +// [START routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_sync] +import com.google.maps.routeoptimization.v1.OptimizeToursUriRequest; +import com.google.maps.routeoptimization.v1.OptimizeToursUriResponse; +import com.google.maps.routeoptimization.v1.RouteOptimizationClient; +import com.google.maps.routeoptimization.v1.Uri; + +public class SyncOptimizeToursUri { + + public static void main(String[] args) throws Exception { + syncOptimizeToursUri(); + } + + public static void syncOptimizeToursUri() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (RouteOptimizationClient routeOptimizationClient = RouteOptimizationClient.create()) { + OptimizeToursUriRequest request = + OptimizeToursUriRequest.newBuilder() + .setParent("parent-995424086") + .setInput(Uri.newBuilder().build()) + .setOutput(Uri.newBuilder().build()) + .build(); + OptimizeToursUriResponse response = + routeOptimizationClient.optimizeToursUriAsync(request).get(); + } + } +} +// [END routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_sync] diff --git a/java-maps-routing/README.md b/java-maps-routing/README.md index 6156c326dc98..c957b7d9be3c 100644 --- a/java-maps-routing/README.md +++ b/java-maps-routing/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-routing - 1.61.0 + 1.62.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routing:1.61.0' +implementation 'com.google.maps:google-maps-routing:1.62.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.61.0" +libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.62.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.61.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.62.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-solar/README.md b/java-maps-solar/README.md index dfcdc41352f8..91bc0a728afa 100644 --- a/java-maps-solar/README.md +++ b/java-maps-solar/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-solar - 0.35.0 + 0.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-solar:0.35.0' +implementation 'com.google.maps:google-maps-solar:0.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.35.0" +libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.36.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-solar.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-marketingplatformadminapi/README.md b/java-marketingplatformadminapi/README.md index 2e51aa99b029..c5bd4e11faa8 100644 --- a/java-marketingplatformadminapi/README.md +++ b/java-marketingplatformadminapi/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.ads-marketingplatform admin - 0.25.0 + 0.26.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.ads-marketingplatform:admin:0.25.0' +implementation 'com.google.ads-marketingplatform:admin:0.26.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.25.0" +libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.26.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.ads-marketingplatform/admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.25.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.26.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-mediatranslation/README.md b/java-mediatranslation/README.md index 1268ac987632..d9518de20e69 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-mediatranslation - 0.82.0 + 0.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-mediatranslation:0.82.0' +implementation 'com.google.cloud:google-cloud-mediatranslation:0.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.83.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-mediatranslation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-meet/README.md b/java-meet/README.md index e9ba894d6caf..a70930e4cb6a 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-meet - 0.43.0 + 0.44.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-meet:0.43.0' +implementation 'com.google.cloud:google-cloud-meet:0.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.43.0" +libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.44.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-meet.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-memcache/README.md b/java-memcache/README.md index 4cfcf74d5599..b11e59923f36 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-memcache - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.76.0' +implementation 'com.google.cloud:google-cloud-memcache:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-memcache.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-migrationcenter/README.md b/java-migrationcenter/README.md index 8f542ff4d839..cc6d5b38aab1 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-migrationcenter - 0.58.0 + 0.59.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-migrationcenter:0.58.0' +implementation 'com.google.cloud:google-cloud-migrationcenter:0.59.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.59.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-migrationcenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.58.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.59.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-modelarmor/README.md b/java-modelarmor/README.md index 4fcdc28ff278..c5ce381e4345 100644 --- a/java-modelarmor/README.md +++ b/java-modelarmor/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-modelarmor - 0.17.0 + 0.18.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-modelarmor:0.17.0' +implementation 'com.google.cloud:google-cloud-modelarmor:0.18.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.17.0" +libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.18.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-modelarmor.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.18.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-dashboards/README.md b/java-monitoring-dashboards/README.md index cf13a22c18f3..fbb90157cfef 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-dashboard - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.78.0' +implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-dashboard.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index 3115d61c371a..286e1e76cc06 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-metricsscope - 0.70.0 + 0.71.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.70.0' +implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.71.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-metricsscope.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.71.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring/README.md b/java-monitoring/README.md index 2dcac9d0172c..885eae72a088 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring - 3.77.0 + 3.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring:3.77.0' +implementation 'com.google.cloud:google-cloud-monitoring:3.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-netapp/README.md b/java-netapp/README.md index 0a27cdccf35d..089b6bab917d 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-netapp - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-netapp:0.55.0' +implementation 'com.google.cloud:google-cloud-netapp:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.56.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-netapp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.56.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-management/README.md b/java-network-management/README.md index c772ff8d8a56..f48f912750c3 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-management - 1.77.0 + 1.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-management:1.77.0' +implementation 'com.google.cloud:google-cloud-network-management:1.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-security/README.md b/java-network-security/README.md index 9e1aac48011a..8c0946c60b35 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-security - 0.79.0 + 0.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-security:0.79.0' +implementation 'com.google.cloud:google-cloud-network-security:0.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.80.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-security.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-networkconnectivity/README.md b/java-networkconnectivity/README.md index dd2dc1c06edf..6193ddfb1954 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkconnectivity - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkconnectivity:1.75.0' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkconnectivity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-networkservices/README.md b/java-networkservices/README.md index 2abe39c284ec..9c3d1c6485f3 100644 --- a/java-networkservices/README.md +++ b/java-networkservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkservices - 0.32.0 + 0.33.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkservices:0.32.0' +implementation 'com.google.cloud:google-cloud-networkservices:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.33.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-notebooks/README.md b/java-notebooks/README.md index 6c4d87855266..681d88be6aa8 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-notebooks - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-notebooks:1.74.0' +implementation 'com.google.cloud:google-cloud-notebooks:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-notebooks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-optimization/README.md b/java-optimization/README.md index 72ef6f82d61f..e619f46be2ed 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-optimization - 1.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-optimization:1.74.0' +implementation 'com.google.cloud:google-cloud-optimization:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-optimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-oracledatabase/README.md b/java-oracledatabase/README.md index 8ec1569e6179..74978f43cc1e 100644 --- a/java-oracledatabase/README.md +++ b/java-oracledatabase/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-oracledatabase - 0.25.0 + 0.26.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-oracledatabase:0.25.0' +implementation 'com.google.cloud:google-cloud-oracledatabase:0.26.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.25.0" +libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.26.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-oracledatabase.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.25.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.26.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index 3350e52269bb..c6666a46d3c3 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orchestration-airflow - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.76.0' +implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orchestration-airflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orgpolicy/README.md b/java-orgpolicy/README.md index 90e6f1c532fc..82e644427978 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orgpolicy - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orgpolicy:2.76.0' +implementation 'com.google.cloud:google-cloud-orgpolicy:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orgpolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-config/README.md b/java-os-config/README.md index c07833ff16c7..b832cee650fb 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-config - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-config:2.78.0' +implementation 'com.google.cloud:google-cloud-os-config:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-config.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-login/README.md b/java-os-login/README.md index cb016721c9c8..1c8241201b3e 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-login - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-login:2.75.0' +implementation 'com.google.cloud:google-cloud-os-login:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-login.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parallelstore/README.md b/java-parallelstore/README.md index d5d87388b8aa..cda24af4ed74 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parallelstore - 0.39.0 + 0.40.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parallelstore:0.39.0' +implementation 'com.google.cloud:google-cloud-parallelstore:0.40.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.39.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.40.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parallelstore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parametermanager/README.md b/java-parametermanager/README.md index 712ba77698db..8a1499a34641 100644 --- a/java-parametermanager/README.md +++ b/java-parametermanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parametermanager - 0.20.0 + 0.21.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parametermanager:0.20.0' +implementation 'com.google.cloud:google-cloud-parametermanager:0.21.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.20.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.21.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parametermanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.21.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-phishingprotection/README.md b/java-phishingprotection/README.md index 2417f6ff0ebb..38286e587e92 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-phishingprotection - 0.107.0 + 0.108.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-phishingprotection:0.107.0' +implementation 'com.google.cloud:google-cloud-phishingprotection:0.108.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.107.0" +libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.108.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-phishingprotection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.107.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.108.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index 0cfc31997ef7..e542e6278d6c 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policy-troubleshooter - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.75.0' +implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policy-troubleshooter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policysimulator/README.md b/java-policysimulator/README.md index 64b72ea2bae3..a36e83dbef53 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policysimulator - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policysimulator:0.55.0' +implementation 'com.google.cloud:google-cloud-policysimulator:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.56.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policysimulator.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.56.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-private-catalog/README.md b/java-private-catalog/README.md index 9cc349db3a7d..4e1971fe1a30 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-private-catalog - 0.78.0 + 0.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-private-catalog:0.78.0' +implementation 'com.google.cloud:google-cloud-private-catalog:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.79.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-private-catalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-privilegedaccessmanager/README.md b/java-privilegedaccessmanager/README.md index 8b0ee7fa5db1..b52150392757 100644 --- a/java-privilegedaccessmanager/README.md +++ b/java-privilegedaccessmanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-privilegedaccessmanager - 0.30.0 + 0.31.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.30.0' +implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.31.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-privilegedaccessmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-profiler/README.md b/java-profiler/README.md index 902f5a158695..ea5a2707073e 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-profiler - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-profiler:2.76.0' +implementation 'com.google.cloud:google-cloud-profiler:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-profiler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-publicca/README.md b/java-publicca/README.md index 1022425308f9..4f9311b4e167 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-publicca - 0.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-publicca:0.73.0' +implementation 'com.google.cloud:google-cloud-publicca:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-publicca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index 5ac6e504c682..89867119735f 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-rapidmigrationassessment - 0.59.0 + 0.60.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.59.0' +implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.60.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.60.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-rapidmigrationassessment.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.59.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.60.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 76997e8cbbae..310164766301 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recaptchaenterprise - 3.73.0 + 3.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.73.0' +implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.74.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recaptchaenterprise.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommendations-ai/README.md b/java-recommendations-ai/README.md index 244ab28ff968..bee9825ee47e 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -46,20 +46,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommendations-ai - 0.83.0 + 0.84.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommendations-ai:0.83.0' +implementation 'com.google.cloud:google-cloud-recommendations-ai:0.84.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.83.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.84.0" ``` ## Authentication @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommendations-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.83.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.84.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommender/README.md b/java-recommender/README.md index 9f92a4b70132..36c80eb04c7b 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommender - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommender:2.78.0' +implementation 'com.google.cloud:google-cloud-recommender:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis-cluster/README.md b/java-redis-cluster/README.md index d574e12d84aa..c92fa7653790 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis-cluster - 0.48.0 + 0.49.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis-cluster:0.48.0' +implementation 'com.google.cloud:google-cloud-redis-cluster:0.49.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.48.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.49.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis-cluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.48.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.49.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis/README.md b/java-redis/README.md index ad0ce2465ba7..3446fa741d1a 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis - 2.79.0 + 2.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis:2.79.0' +implementation 'com.google.cloud:google-cloud-redis:2.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.80.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index 34d7041a0785..9e7b26558e6c 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-resourcemanager - 1.78.0 + 1.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-resourcemanager:1.78.0' +implementation 'com.google.cloud:google-cloud-resourcemanager:1.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.79.0" ``` ## Authentication @@ -335,7 +335,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-resourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-retail/README.md b/java-retail/README.md index 451dca0f7fa0..b7f10d3afe98 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-retail - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-retail:2.78.0' +implementation 'com.google.cloud:google-cloud-retail:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-retail.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-run/README.md b/java-run/README.md index 13ab09c0b61c..bc774766f914 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-run - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-run:0.76.0' +implementation 'com.google.cloud:google-cloud-run:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.77.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-run.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-saasservicemgmt/README.md b/java-saasservicemgmt/README.md index 336acf201dd1..d9a3e9849c3a 100644 --- a/java-saasservicemgmt/README.md +++ b/java-saasservicemgmt/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-saasservicemgmt - 0.6.0 + 0.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.6.0' +implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.7.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-saasservicemgmt.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.6.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.7.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-scheduler/README.md b/java-scheduler/README.md index 08d52789f9b4..7e8f96ecb4a4 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-scheduler - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.76.0' +implementation 'com.google.cloud:google-cloud-scheduler:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-scheduler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-secretmanager/README.md b/java-secretmanager/README.md index 3cfeaeb0c80d..9766d2f84c20 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-secretmanager - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-secretmanager:2.76.0' +implementation 'com.google.cloud:google-cloud-secretmanager:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-secretmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securesourcemanager/README.md b/java-securesourcemanager/README.md index 89a8d83f43f4..90ef49df3b73 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securesourcemanager - 0.46.0 + 0.47.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securesourcemanager:0.46.0' +implementation 'com.google.cloud:google-cloud-securesourcemanager:0.47.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.46.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.47.0" ``` ## Authentication @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securesourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.47.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-security-private-ca/README.md b/java-security-private-ca/README.md index 6cc41f1da31b..21e756fb08e4 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-security-private-ca - 2.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-security-private-ca:2.78.0' +implementation 'com.google.cloud:google-cloud-security-private-ca:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.79.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-security-private-ca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 84f196f8bbab..0d41d2422f99 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter-settings - 0.79.0 + 0.80.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.79.0' +implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.80.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter-settings.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.80.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md index 93ad403d4d05..66121578fabe 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.84.0 + 2.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter:2.84.0' +implementation 'com.google.cloud:google-cloud-securitycenter:2.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.85.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.85.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index 4306d216dc68..273bce07d4f3 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycentermanagement - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.44.0' +implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.45.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycentermanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securityposture/README.md b/java-securityposture/README.md index f76a178280f2..ca321bf3cf32 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securityposture - 0.41.0 + 0.42.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securityposture:0.41.0' +implementation 'com.google.cloud:google-cloud-securityposture:0.42.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.41.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.42.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securityposture.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-control/README.md b/java-service-control/README.md index ee051a2a43d2..5a5562803a4f 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-control - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-control:1.76.0' +implementation 'com.google.cloud:google-cloud-service-control:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-control.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-management/README.md b/java-service-management/README.md index 6d6773632128..9cc93bb95ce9 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-management - 3.74.0 + 3.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-management:3.74.0' +implementation 'com.google.cloud:google-cloud-service-management:3.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-usage/README.md b/java-service-usage/README.md index 3cad8edfd9fa..570d3b06f8e0 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-usage - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-usage:2.76.0' +implementation 'com.google.cloud:google-cloud-service-usage:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-usage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index 86dc9112694c..31afe6010c43 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicedirectory - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicedirectory:2.77.0' +implementation 'com.google.cloud:google-cloud-servicedirectory:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicedirectory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicehealth/README.md b/java-servicehealth/README.md index 038e0038e571..aa9eebd541c3 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicehealth - 0.43.0 + 0.44.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicehealth:0.43.0' +implementation 'com.google.cloud:google-cloud-servicehealth:0.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.43.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.44.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicehealth.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shell/README.md b/java-shell/README.md index 2754fabdd4cb..06f53ecac8f6 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-shell - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.75.0' +implementation 'com.google.cloud:google-cloud-shell:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shell.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-css/README.md b/java-shopping-css/README.md index d0a75db90246..b10e39c793a9 100644 --- a/java-shopping-css/README.md +++ b/java-shopping-css/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-css - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-css:0.44.0' +implementation 'com.google.shopping:google-shopping-css:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.44.0" +libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.45.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-css.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-accounts/README.md b/java-shopping-merchant-accounts/README.md index 1f855e2efd3b..af878557784b 100644 --- a/java-shopping-merchant-accounts/README.md +++ b/java-shopping-merchant-accounts/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-accounts - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-accounts:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-accounts:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-accounts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-conversions/README.md b/java-shopping-merchant-conversions/README.md index 0aa25c2263f1..2ac945cad265 100644 --- a/java-shopping-merchant-conversions/README.md +++ b/java-shopping-merchant-conversions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-conversions - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-conversions:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-conversions:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-conversions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-datasources/README.md b/java-shopping-merchant-datasources/README.md index aef321c754b2..2cee9a658be3 100644 --- a/java-shopping-merchant-datasources/README.md +++ b/java-shopping-merchant-datasources/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-datasources - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-datasources:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-datasources:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-datasources.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-inventories/README.md b/java-shopping-merchant-inventories/README.md index 88210cd1f48c..9ebf8f73203c 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-inventories - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-inventories:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-inventories:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-inventories.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-lfp/README.md b/java-shopping-merchant-lfp/README.md index 504e600df432..ac13784e7f35 100644 --- a/java-shopping-merchant-lfp/README.md +++ b/java-shopping-merchant-lfp/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-lfp - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-lfp:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-lfp:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-lfp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-notifications/README.md b/java-shopping-merchant-notifications/README.md index 8ab8252009a1..35f9e9acebf2 100644 --- a/java-shopping-merchant-notifications/README.md +++ b/java-shopping-merchant-notifications/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-notifications - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-notifications:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-notifications:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-notifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-product-studio/README.md b/java-shopping-merchant-product-studio/README.md index a7c2f4cac1d6..21b7bccea803 100644 --- a/java-shopping-merchant-product-studio/README.md +++ b/java-shopping-merchant-product-studio/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-productstudio - 0.16.0 + 0.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.16.0' +implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.17.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-productstudio.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-products/README.md b/java-shopping-merchant-products/README.md index 3165e01506d3..78326d64d8f8 100644 --- a/java-shopping-merchant-products/README.md +++ b/java-shopping-merchant-products/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-products - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-products:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-products:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-products.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-promotions/README.md b/java-shopping-merchant-promotions/README.md index 55f2b46b9bbf..786f3138740d 100644 --- a/java-shopping-merchant-promotions/README.md +++ b/java-shopping-merchant-promotions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-promotions - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-promotions:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-promotions:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-promotions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-quota/README.md b/java-shopping-merchant-quota/README.md index 135f28776c8d..101f0897fe53 100644 --- a/java-shopping-merchant-quota/README.md +++ b/java-shopping-merchant-quota/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-quota - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-quota:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-quota:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-quota.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reports/README.md b/java-shopping-merchant-reports/README.md index 482c3fb42811..1099973a00e1 100644 --- a/java-shopping-merchant-reports/README.md +++ b/java-shopping-merchant-reports/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-reports - 1.4.0 + 1.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reports:1.4.0' +implementation 'com.google.shopping:google-shopping-merchant-reports:1.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.4.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.5.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reports.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reviews/README.md b/java-shopping-merchant-reviews/README.md index d1eb087f0d05..6446f8771af4 100644 --- a/java-shopping-merchant-reviews/README.md +++ b/java-shopping-merchant-reviews/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-merchant-reviews - 0.22.0 + 0.23.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reviews:0.22.0' +implementation 'com.google.shopping:google-shopping-merchant-reviews:0.23.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.22.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.23.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reviews.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.22.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.23.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-spanneradapter/README.md b/java-spanneradapter/README.md index 36dd8f13ecf8..413e7398362d 100644 --- a/java-spanneradapter/README.md +++ b/java-spanneradapter/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-spanneradapter - 0.12.0 + 0.13.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanneradapter:0.12.0' +implementation 'com.google.cloud:google-cloud-spanneradapter:0.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.13.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanneradapter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.13.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-speech/README.md b/java-speech/README.md index 234dda9311f5..b61aaed80929 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-speech - 4.71.0 + 4.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.71.0' +implementation 'com.google.cloud:google-cloud-speech:4.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.72.0" ``` ## Authentication @@ -230,7 +230,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-speech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.72.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storage-transfer/README.md b/java-storage-transfer/README.md index 6c2a894529bb..aace07e87fb9 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage-transfer - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage-transfer:1.76.0' +implementation 'com.google.cloud:google-cloud-storage-transfer:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage-transfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storagebatchoperations/README.md b/java-storagebatchoperations/README.md index c2655c31b5eb..8d4690411b2f 100644 --- a/java-storagebatchoperations/README.md +++ b/java-storagebatchoperations/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storagebatchoperations - 0.16.0 + 0.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.16.0' +implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.17.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storagebatchoperations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storageinsights/README.md b/java-storageinsights/README.md index b7187c268565..19d613f6ff5c 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storageinsights - 0.61.0 + 0.62.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storageinsights:0.61.0' +implementation 'com.google.cloud:google-cloud-storageinsights:0.62.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.62.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.61.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.62.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-talent/README.md b/java-talent/README.md index f97b5c444860..8816d6eb66da 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-talent - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-talent:2.77.0' +implementation 'com.google.cloud:google-cloud-talent:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-talent.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tasks/README.md b/java-tasks/README.md index 880e4cba469b..988558cdd04a 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tasks - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.76.0' +implementation 'com.google.cloud:google-cloud-tasks:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tasks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-telcoautomation/README.md b/java-telcoautomation/README.md index ea6b8afb7d82..edf1d111ff2c 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-telcoautomation - 0.46.0 + 0.47.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-telcoautomation:0.46.0' +implementation 'com.google.cloud:google-cloud-telcoautomation:0.47.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.46.0" +libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.47.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-telcoautomation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.47.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index bb1f771ef087..64c52e5c5b28 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-texttospeech - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-texttospeech:2.77.0' +implementation 'com.google.cloud:google-cloud-texttospeech:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tpu/README.md b/java-tpu/README.md index 31c733033394..b64250c3f1bc 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tpu - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.77.0' +implementation 'com.google.cloud:google-cloud-tpu:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-trace/README.md b/java-trace/README.md index 6119e5ae5723..6c2f38283b45 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-trace - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-trace:2.76.0' +implementation 'com.google.cloud:google-cloud-trace:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-trace.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-translate/README.md b/java-translate/README.md index 31e670b6c5d2..6924aa25897a 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-translate - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-translate:2.76.0' +implementation 'com.google.cloud:google-cloud-translate:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.77.0" ``` ## Authentication @@ -271,7 +271,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-translate.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-valkey/README.md b/java-valkey/README.md index 86ce342d56a1..64dd06161f93 100644 --- a/java-valkey/README.md +++ b/java-valkey/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-valkey - 0.22.0 + 0.23.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-valkey:0.22.0' +implementation 'com.google.cloud:google-cloud-valkey:0.23.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.22.0" +libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.23.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-valkey.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.22.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.23.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-intelligence/README.md b/java-video-intelligence/README.md index 311fe65e5f36..e9f5f8210527 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-intelligence - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-intelligence:2.75.0' +implementation 'com.google.cloud:google-cloud-video-intelligence:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-intelligence.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-live-stream/README.md b/java-video-live-stream/README.md index 8c7d14249e41..3fcf29f967b6 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-live-stream - 0.78.0 + 0.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-live-stream:0.78.0' +implementation 'com.google.cloud:google-cloud-live-stream:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.79.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.79.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-stitcher/README.md b/java-video-stitcher/README.md index ece6bf8450c6..8832e06c7563 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-stitcher - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-stitcher:0.76.0' +implementation 'com.google.cloud:google-cloud-video-stitcher:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-stitcher.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index 789cb2b2f565..094d47ecb5b4 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-transcoder - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.75.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-transcoder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vision/README.md b/java-vision/README.md index cb7be10d69a3..98c0ef8d9630 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vision - 3.74.0 + 3.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vision:3.74.0' +implementation 'com.google.cloud:google-cloud-vision:3.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.75.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vision.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-visionai/README.md b/java-visionai/README.md index e256e7ecb775..86ceef089978 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-visionai - 0.33.0 + 0.34.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-visionai:0.33.0' +implementation 'com.google.cloud:google-cloud-visionai:0.34.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.34.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-visionai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.34.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmmigration/README.md b/java-vmmigration/README.md index af6eb938be86..e42713f129bb 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmmigration - 1.76.0 + 1.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmmigration:1.76.0' +implementation 'com.google.cloud:google-cloud-vmmigration:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmmigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmwareengine/README.md b/java-vmwareengine/README.md index 4b9263d25d67..cc3d4c2a7945 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmwareengine - 0.70.0 + 0.71.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmwareengine:0.70.0' +implementation 'com.google.cloud:google-cloud-vmwareengine:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.71.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmwareengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.71.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vpcaccess/README.md b/java-vpcaccess/README.md index 808ae1674f0f..a6c10b048580 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vpcaccess - 2.77.0 + 2.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vpcaccess:2.77.0' +implementation 'com.google.cloud:google-cloud-vpcaccess:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.78.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vpcaccess.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-webrisk/README.md b/java-webrisk/README.md index 7066da340f96..fe3d9c2f5620 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-webrisk - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-webrisk:2.75.0' +implementation 'com.google.cloud:google-cloud-webrisk:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.76.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-webrisk.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.76.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index f68a54a9a41b..4127b30cea28 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-websecurityscanner - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-websecurityscanner:2.76.0' +implementation 'com.google.cloud:google-cloud-websecurityscanner:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-websecurityscanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index ca83f4eebde3..5ee58e1ffebd 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflow-executions - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.76.0' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflows/README.md b/java-workflows/README.md index 6d27f3ad7bd9..df1ea1a5c2ef 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflows - 2.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflows:2.76.0' +implementation 'com.google.cloud:google-cloud-workflows:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.77.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflows.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workspaceevents/README.md b/java-workspaceevents/README.md index 5170227cfaf7..6e062610f4ca 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workspaceevents - 0.40.0 + 0.41.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workspaceevents:0.40.0' +implementation 'com.google.cloud:google-cloud-workspaceevents:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.41.0" ``` ## Authentication @@ -200,7 +200,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workspaceevents.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workstations/README.md b/java-workstations/README.md index 8cf638815ad9..5c9fd51d690f 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workstations - 0.64.0 + 0.65.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workstations:0.64.0' +implementation 'com.google.cloud:google-cloud-workstations:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.65.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workstations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.65.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles