diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 6d1265ec78f1..1f218b2874bc 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.2 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.62.3 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/generation_config.yaml b/generation_config.yaml index bc682b77ce22..1979180ffafc 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.62.2 -googleapis_commitish: 3acfdb6166a7101691cdf812bf8f8a67a2084fde -libraries_bom_version: 26.68.0 +gapic_generator_version: 2.62.3 +googleapis_commitish: 6e79e73204aed17b11e724beebb9cf11f36ea57d +libraries_bom_version: 26.69.0 # the libraries are ordered with respect to library name, which is # java-{library.library_name} or java-{library.api-shortname} when diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index 3fdabe5ecb16..90741e50ddfe 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-accessapproval - 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-accessapproval:2.75.0' +implementation 'com.google.cloud:google-cloud-accessapproval:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "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-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/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-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index 415ea675f1a1..359bcae1804d 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-identity-accesscontextmanager - 1.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-identity-accesscontextmanager:1.75.0' +implementation 'com.google.cloud:google-identity-accesscontextmanager:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "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-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/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-admanager/README.md b/java-admanager/README.md index 47144ad2ce26..90fad644df70 100644 --- a/java-admanager/README.md +++ b/java-admanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.api-ads ad-manager - 0.33.0 + 0.34.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:ad-manager:0.33.0' +implementation 'com.google.api-ads:ad-manager:0.34.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.33.0" +libraryDependencies += "com.google.api-ads" % "ad-manager" % "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.api-ads/ad-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/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-advisorynotifications/README.md b/java-advisorynotifications/README.md index dad068d7266f..1eed3d2d68b1 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-advisorynotifications - 0.63.0 + 0.64.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-advisorynotifications:0.63.0' +implementation 'com.google.cloud:google-cloud-advisorynotifications:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.64.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.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.64.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 42146ae213a9..0c648006defd 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 3.75.0 + 3.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.75.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.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-aiplatform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.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-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java index 83a48ad861d0..b5793b8419ed 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java @@ -544,6 +544,7 @@ public final PredictResponse predict(String endpoint, List instances, Val * .toString()) * .addAllInstances(new ArrayList()) * .setParameters(Value.newBuilder().setBoolValue(true).build()) + * .putAllLabels(new HashMap()) * .build(); * PredictResponse response = predictionServiceClient.predict(request); * } @@ -577,6 +578,7 @@ public final PredictResponse predict(PredictRequest request) { * .toString()) * .addAllInstances(new ArrayList()) * .setParameters(Value.newBuilder().setBoolValue(true).build()) + * .putAllLabels(new HashMap()) * .build(); * ApiFuture future = * predictionServiceClient.predictCallable().futureCall(request); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java index 0f40ab8dbd4e..91557486a630 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java @@ -575,6 +575,7 @@ public final PredictResponse predict(String endpoint, List instances, Val * .toString()) * .addAllInstances(new ArrayList()) * .setParameters(Value.newBuilder().setBoolValue(true).build()) + * .putAllLabels(new HashMap()) * .build(); * PredictResponse response = predictionServiceClient.predict(request); * } @@ -608,6 +609,7 @@ public final PredictResponse predict(PredictRequest request) { * .toString()) * .addAllInstances(new ArrayList()) * .setParameters(Value.newBuilder().setBoolValue(true).build()) + * .putAllLabels(new HashMap()) * .build(); * ApiFuture future = * predictionServiceClient.predictCallable().futureCall(request); 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 fe6799564c62..d6dab37cd3c4 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 @@ -4931,6 +4931,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.DeployedIndex$DeploymentTier", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig", "queryAllDeclaredConstructors": true, @@ -9170,6 +9179,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingChunk$Maps$PlaceAnswerSources", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingChunk$Maps$PlaceAnswerSources$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingChunk$Maps$PlaceAnswerSources$ReviewSnippet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingChunk$Maps$PlaceAnswerSources$ReviewSnippet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.GroundingChunk$RetrievedContext", "queryAllDeclaredConstructors": true, @@ -9224,6 +9269,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingMetadata$SourceFlaggingUri", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1.GroundingMetadata$SourceFlaggingUri$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.GroundingSupport", "queryAllDeclaredConstructors": true, @@ -19718,6 +19781,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1.Tool$PhishBlockThreshold", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1.ToolCallValidInput", "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 2c57fd0425c2..7f0f8533ca0a 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 @@ -11492,6 +11492,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingChunk$Maps$PlaceAnswerSources", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingChunk$Maps$PlaceAnswerSources$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingChunk$Maps$PlaceAnswerSources$ReviewSnippet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingChunk$Maps$PlaceAnswerSources$ReviewSnippet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.GroundingChunk$RetrievedContext", "queryAllDeclaredConstructors": true, @@ -11546,6 +11582,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingMetadata$SourceFlaggingUri", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GroundingMetadata$SourceFlaggingUri$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.GroundingSupport", "queryAllDeclaredConstructors": true, @@ -24713,6 +24767,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.Tool$PhishBlockThreshold", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.ToolCall", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorType.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorType.java index 45fdae396a0a..2e542e0f4209 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorType.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorType.java @@ -23,7 +23,6 @@ * * *
- * LINT: LEGACY_NAMES
  * Represents a hardware accelerator type.
  * 
* @@ -172,6 +171,16 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { * NVIDIA_GB200 = 17; */ NVIDIA_GB200(17), + /** + * + * + *
+   * Nvidia RTX Pro 6000 GPU.
+   * 
+ * + * NVIDIA_RTX_PRO_6000 = 18; + */ + NVIDIA_RTX_PRO_6000(18), /** * * @@ -370,6 +379,17 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NVIDIA_GB200_VALUE = 17; + /** + * + * + *
+   * Nvidia RTX Pro 6000 GPU.
+   * 
+ * + * NVIDIA_RTX_PRO_6000 = 18; + */ + public static final int NVIDIA_RTX_PRO_6000_VALUE = 18; + /** * * @@ -466,6 +486,8 @@ public static AcceleratorType forNumber(int value) { return NVIDIA_B200; case 17: return NVIDIA_GB200; + case 18: + return NVIDIA_RTX_PRO_6000; case 6: return TPU_V2; case 7: diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java index 647977b1be67..cd0a225d6046 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java @@ -38,7 +38,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/accelerator" + "_type.proto\022\032google.cloud.aiplatform.v1*" - + "\210\003\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_" + + "\241\003\n\017AcceleratorType\022 \n\034ACCELERATOR_TYPE_" + "UNSPECIFIED\020\000\022\030\n\020NVIDIA_TESLA_K80\020\001\032\002\010\001\022" + "\025\n\021NVIDIA_TESLA_P100\020\002\022\025\n\021NVIDIA_TESLA_V" + "100\020\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022\023\n\017NVIDIA_TES" @@ -46,14 +46,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_A100_80GB\020\t\022\r\n\tNVIDIA_L4\020\013\022\024\n\020NVIDIA_H1" + "00_80GB\020\r\022\031\n\025NVIDIA_H100_MEGA_80GB\020\016\022\025\n\021" + "NVIDIA_H200_141GB\020\017\022\017\n\013NVIDIA_B200\020\020\022\020\n\014" - + "NVIDIA_GB200\020\021\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3\020\007\022\016" - + "\n\nTPU_V4_POD\020\n\022\022\n\016TPU_V5_LITEPOD\020\014B\322\001\n\036c" - + "om.google.cloud.aiplatform.v1B\024Accelerat" - + "orTypeProtoP\001Z>cloud.google.com/go/aipla" - + "tform/apiv1/aiplatformpb;aiplatformpb\252\002\032" - + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" - + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" - + "orm::V1b\006proto3" + + "NVIDIA_GB200\020\021\022\027\n\023NVIDIA_RTX_PRO_6000\020\022\022" + + "\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3\020\007\022\016\n\nTPU_V4_POD\020\n\022" + + "\022\n\016TPU_V5_LITEPOD\020\014B\322\001\n\036com.google.cloud" + + ".aiplatform.v1B\024AcceleratorTypeProtoP\001Z>" + + "cloud.google.com/go/aiplatform/apiv1/aip" + + "latformpb;aiplatformpb\252\002\032Google.Cloud.AI" + + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" + + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 8f7dc1ac64e7..d50fdc1f0309 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 @@ -128,6 +128,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_GroundingSupport_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -136,6 +144,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_GroundingMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_GroundingMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_SearchEntryPoint_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -378,7 +390,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "part_index\030\001 \001(\005B\003\340A\003\022\030\n" + "\013start_index\030\002 \001(\005B\003\340A\003\022\026\n" + "\tend_index\030\003 \001(\005B\003\340A\003\022\021\n" - + "\004text\030\004 \001(\tB\003\340A\003\"\241\005\n" + + "\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" @@ -400,12 +412,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_uriB\010\n" + "\006_titleB\007\n" + "\005_textB\020\n" - + "\016_document_name\032~\n" + + "\016_document_name\032\256\003\n" + "\004Maps\022\020\n" + "\003uri\030\001 \001(\tH\000\210\001\001\022\022\n" + "\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\001B\006\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" + + "\022PlaceAnswerSources\022i\n" + + "\017review_snippets\030\001 \003(\0132P.google.cloud.aiplatform.v1.GroundingChun" + + "k.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" + + "\005title\030\003 \001(\tB\006\n" + "\004_uriB\010\n" + "\006_titleB\007\n" + "\005_textB\013\n" @@ -416,19 +437,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \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\"\377\003\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" + + "\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" + " google_maps_widget_context_token\030\010 \001(" - + "\tB\006\340A\001\340A\003H\002\210\001\001B\025\n" + + "\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" + + "\021SourceFlaggingUri\022\021\n" + + "\tsource_id\030\001 \001(\t\022\030\n" + + "\020flag_content_uri\030\002 \001(\tB\025\n" + "\023_search_entry_pointB\025\n" + "\023_retrieval_metadataB#\n" + "!_google_maps_widget_context_token\"H\n" @@ -459,12 +485,12 @@ 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>clo" - + "ud.google.com/go/aiplatform/apiv1/aiplat" - + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1\352Ab\n" - + "\"modelarmor.googleapis.com/Template\022cloud.google.com/" + + "go/aiplatform/apiv1/aiplatformpb;aiplatf" + + "ormpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" + + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1\352Ab\n" + + "\"modelarmor.googleapis.com/Template\022 + * Tiers encapsulate serving time attributes like latency and throughput. + * + * + * Protobuf enum {@code google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier} + */ + public enum DeploymentTier implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default deployment tier.
+     * 
+ * + * DEPLOYMENT_TIER_UNSPECIFIED = 0; + */ + DEPLOYMENT_TIER_UNSPECIFIED(0), + /** + * + * + *
+     * Optimized for costs.
+     * 
+ * + * STORAGE = 2; + */ + STORAGE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default deployment tier.
+     * 
+ * + * DEPLOYMENT_TIER_UNSPECIFIED = 0; + */ + public static final int DEPLOYMENT_TIER_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Optimized for costs.
+     * 
+ * + * STORAGE = 2; + */ + public static final int STORAGE_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 DeploymentTier 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 DeploymentTier forNumber(int value) { + switch (value) { + case 0: + return DEPLOYMENT_TIER_UNSPECIFIED; + case 2: + return STORAGE; + 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 DeploymentTier findValueByNumber(int number) { + return DeploymentTier.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.cloud.aiplatform.v1.DeployedIndex.getDescriptor().getEnumTypes().get(0); + } + + private static final DeploymentTier[] VALUES = values(); + + public static DeploymentTier 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 DeploymentTier(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier) + } + private int bitField0_; public static final int ID_FIELD_NUMBER = 1; @@ -958,6 +1095,51 @@ public com.google.protobuf.ByteString getDeploymentGroupBytes() { } } + public static final int DEPLOYMENT_TIER_FIELD_NUMBER = 18; + private int deploymentTier_ = 0; + + /** + * + * + *
+   * Optional. The deployment tier that the index is deployed to.
+   * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentTier. + */ + @java.lang.Override + public int getDeploymentTierValue() { + return deploymentTier_; + } + + /** + * + * + *
+   * Optional. The deployment tier that the index is deployed to.
+   * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentTier. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier getDeploymentTier() { + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier result = + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.forNumber(deploymentTier_); + return result == null + ? com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.UNRECOGNIZED + : result; + } + public static final int PSC_AUTOMATION_CONFIGS_FIELD_NUMBER = 19; @SuppressWarnings("serial") @@ -1106,6 +1288,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(16, getDedicatedResources()); } + if (deploymentTier_ + != com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.DEPLOYMENT_TIER_UNSPECIFIED + .getNumber()) { + output.writeEnum(18, deploymentTier_); + } for (int i = 0; i < pscAutomationConfigs_.size(); i++) { output.writeMessage(19, pscAutomationConfigs_.get(i)); } @@ -1163,6 +1350,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getDedicatedResources()); } + if (deploymentTier_ + != com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.DEPLOYMENT_TIER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, deploymentTier_); + } for (int i = 0; i < pscAutomationConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -1219,6 +1411,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getReservedIpRangesList().equals(other.getReservedIpRangesList())) return false; if (!getDeploymentGroup().equals(other.getDeploymentGroup())) return false; + if (deploymentTier_ != other.deploymentTier_) return false; if (!getPscAutomationConfigsList().equals(other.getPscAutomationConfigsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1272,6 +1465,8 @@ public int hashCode() { } hash = (37 * hash) + DEPLOYMENT_GROUP_FIELD_NUMBER; hash = (53 * hash) + getDeploymentGroup().hashCode(); + hash = (37 * hash) + DEPLOYMENT_TIER_FIELD_NUMBER; + hash = (53 * hash) + deploymentTier_; if (getPscAutomationConfigsCount() > 0) { hash = (37 * hash) + PSC_AUTOMATION_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getPscAutomationConfigsList().hashCode(); @@ -1468,13 +1663,14 @@ public Builder clear() { } reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.emptyList(); deploymentGroup_ = ""; + deploymentTier_ = 0; if (pscAutomationConfigsBuilder_ == null) { pscAutomationConfigs_ = java.util.Collections.emptyList(); } else { pscAutomationConfigs_ = null; pscAutomationConfigsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); return this; } @@ -1512,9 +1708,9 @@ public com.google.cloud.aiplatform.v1.DeployedIndex buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.DeployedIndex result) { if (pscAutomationConfigsBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { pscAutomationConfigs_ = java.util.Collections.unmodifiableList(pscAutomationConfigs_); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); } result.pscAutomationConfigs_ = pscAutomationConfigs_; } else { @@ -1582,6 +1778,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedIndex result) if (((from_bitField0_ & 0x00001000) != 0)) { result.deploymentGroup_ = deploymentGroup_; } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.deploymentTier_ = deploymentTier_; + } result.bitField0_ |= to_bitField0_; } @@ -1684,11 +1883,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndex other) { bitField0_ |= 0x00001000; onChanged(); } + if (other.deploymentTier_ != 0) { + setDeploymentTierValue(other.getDeploymentTierValue()); + } if (pscAutomationConfigsBuilder_ == null) { if (!other.pscAutomationConfigs_.isEmpty()) { if (pscAutomationConfigs_.isEmpty()) { pscAutomationConfigs_ = other.pscAutomationConfigs_; - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); } else { ensurePscAutomationConfigsIsMutable(); pscAutomationConfigs_.addAll(other.pscAutomationConfigs_); @@ -1701,7 +1903,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndex other) { pscAutomationConfigsBuilder_.dispose(); pscAutomationConfigsBuilder_ = null; pscAutomationConfigs_ = other.pscAutomationConfigs_; - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); pscAutomationConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPscAutomationConfigsFieldBuilder() @@ -1814,6 +2016,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 130 + case 144: + { + deploymentTier_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 144 case 154: { com.google.cloud.aiplatform.v1.PSCAutomationConfig m = @@ -4497,15 +4705,128 @@ public Builder setDeploymentGroupBytes(com.google.protobuf.ByteString value) { return this; } + private int deploymentTier_ = 0; + + /** + * + * + *
+     * Optional. The deployment tier that the index is deployed to.
+     * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentTier. + */ + @java.lang.Override + public int getDeploymentTierValue() { + return deploymentTier_; + } + + /** + * + * + *
+     * Optional. The deployment tier that the index is deployed to.
+     * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for deploymentTier to set. + * @return This builder for chaining. + */ + public Builder setDeploymentTierValue(int value) { + deploymentTier_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The deployment tier that the index is deployed to.
+     * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentTier. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier getDeploymentTier() { + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier result = + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.forNumber(deploymentTier_); + return result == null + ? com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. The deployment tier that the index is deployed to.
+     * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The deploymentTier to set. + * @return This builder for chaining. + */ + public Builder setDeploymentTier( + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00002000; + deploymentTier_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The deployment tier that the index is deployed to.
+     * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDeploymentTier() { + bitField0_ = (bitField0_ & ~0x00002000); + deploymentTier_ = 0; + onChanged(); + return this; + } + private java.util.List pscAutomationConfigs_ = java.util.Collections.emptyList(); private void ensurePscAutomationConfigsIsMutable() { - if (!((bitField0_ & 0x00002000) != 0)) { + if (!((bitField0_ & 0x00004000) != 0)) { pscAutomationConfigs_ = new java.util.ArrayList( pscAutomationConfigs_); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; } } @@ -4779,7 +5100,7 @@ public Builder addAllPscAutomationConfigs( public Builder clearPscAutomationConfigs() { if (pscAutomationConfigsBuilder_ == null) { pscAutomationConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { pscAutomationConfigsBuilder_.clear(); @@ -4942,7 +5263,7 @@ public Builder removePscAutomationConfigs(int index) { com.google.cloud.aiplatform.v1.PSCAutomationConfig.Builder, com.google.cloud.aiplatform.v1.PSCAutomationConfigOrBuilder>( pscAutomationConfigs_, - ((bitField0_ & 0x00002000) != 0), + ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); pscAutomationConfigs_ = null; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java index 31976e59cd6f..66ef16d7d70a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java @@ -683,6 +683,38 @@ public interface DeployedIndexOrBuilder */ com.google.protobuf.ByteString getDeploymentGroupBytes(); + /** + * + * + *
+   * Optional. The deployment tier that the index is deployed to.
+   * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentTier. + */ + int getDeploymentTierValue(); + + /** + * + * + *
+   * Optional. The deployment tier that the index is deployed to.
+   * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentTier. + */ + com.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier getDeploymentTier(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearch.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearch.java index 394a529459d3..52d70a952249 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearch.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearch.java @@ -42,6 +42,7 @@ private EnterpriseWebSearch(com.google.protobuf.GeneratedMessageV3.Builder bu private EnterpriseWebSearch() { excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; } @java.lang.Override @@ -65,6 +66,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.EnterpriseWebSearch.Builder.class); } + private int bitField0_; public static final int EXCLUDE_DOMAINS_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -137,6 +139,70 @@ public com.google.protobuf.ByteString getExcludeDomainsBytes(int index) { return excludeDomains_.getByteString(index); } + public static final int BLOCKING_CONFIDENCE_FIELD_NUMBER = 2; + private int blockingConfidence_ = 0; + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.forNumber(blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -154,6 +220,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < excludeDomains_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, excludeDomains_.getRaw(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(2, blockingConfidence_); + } getUnknownFields().writeTo(output); } @@ -171,6 +240,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getExcludeDomainsList().size(); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, blockingConfidence_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -188,6 +260,10 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1.EnterpriseWebSearch) obj; if (!getExcludeDomainsList().equals(other.getExcludeDomainsList())) return false; + if (hasBlockingConfidence() != other.hasBlockingConfidence()) return false; + if (hasBlockingConfidence()) { + if (blockingConfidence_ != other.blockingConfidence_) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,6 +279,10 @@ public int hashCode() { hash = (37 * hash) + EXCLUDE_DOMAINS_FIELD_NUMBER; hash = (53 * hash) + getExcludeDomainsList().hashCode(); } + if (hasBlockingConfidence()) { + hash = (37 * hash) + BLOCKING_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + blockingConfidence_; + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -345,6 +425,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; return this; } @@ -385,6 +466,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.EnterpriseWebSearch re excludeDomains_.makeImmutable(); result.excludeDomains_ = excludeDomains_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.blockingConfidence_ = blockingConfidence_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -443,6 +530,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EnterpriseWebSearch othe } onChanged(); } + if (other.hasBlockingConfidence()) { + setBlockingConfidence(other.getBlockingConfidence()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -476,6 +566,12 @@ public Builder mergeFrom( excludeDomains_.add(s); break; } // case 10 + case 16: + { + blockingConfidence_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -687,6 +783,138 @@ public Builder addExcludeDomainsBytes(com.google.protobuf.ByteString value) { return this; } + private int blockingConfidence_ = 0; + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidenceValue(int value) { + blockingConfidence_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.forNumber(blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidence( + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + blockingConfidence_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearBlockingConfidence() { + bitField0_ = (bitField0_ & ~0x00000002); + blockingConfidence_ = 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-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearchOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearchOrBuilder.java index b8bd5e3a45c6..3f3ee16c9645 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearchOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnterpriseWebSearchOrBuilder.java @@ -81,4 +81,52 @@ public interface EnterpriseWebSearchOrBuilder * @return The bytes of the excludeDomains at the given index. */ com.google.protobuf.ByteString getExcludeDomainsBytes(int index); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + boolean hasBlockingConfidence(); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + int getBlockingConfidenceValue(); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMaps.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMaps.java index 884812e977e4..bd4c624c02ff 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMaps.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMaps.java @@ -62,6 +62,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.GoogleMaps.Builder.class); } + public static final int ENABLE_WIDGET_FIELD_NUMBER = 1; + private boolean enableWidget_ = false; + + /** + * + * + *
+   * If true, include the widget context token in the response.
+   * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + @java.lang.Override + public boolean getEnableWidget() { + return enableWidget_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -76,6 +95,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (enableWidget_ != false) { + output.writeBool(1, enableWidget_); + } getUnknownFields().writeTo(output); } @@ -85,6 +107,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (enableWidget_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableWidget_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -101,6 +126,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.aiplatform.v1.GoogleMaps other = (com.google.cloud.aiplatform.v1.GoogleMaps) obj; + if (getEnableWidget() != other.getEnableWidget()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -112,6 +138,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLE_WIDGET_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWidget()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -251,6 +279,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + enableWidget_ = false; return this; } @@ -278,10 +308,20 @@ public com.google.cloud.aiplatform.v1.GoogleMaps build() { public com.google.cloud.aiplatform.v1.GoogleMaps buildPartial() { com.google.cloud.aiplatform.v1.GoogleMaps result = new com.google.cloud.aiplatform.v1.GoogleMaps(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } + private void buildPartial0(com.google.cloud.aiplatform.v1.GoogleMaps result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enableWidget_ = enableWidget_; + } + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -327,6 +367,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.aiplatform.v1.GoogleMaps other) { if (other == com.google.cloud.aiplatform.v1.GoogleMaps.getDefaultInstance()) return this; + if (other.getEnableWidget() != false) { + setEnableWidget(other.getEnableWidget()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -353,6 +396,12 @@ public Builder mergeFrom( case 0: done = true; break; + case 8: + { + enableWidget_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -370,6 +419,64 @@ public Builder mergeFrom( return this; } + private int bitField0_; + + private boolean enableWidget_; + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + @java.lang.Override + public boolean getEnableWidget() { + return enableWidget_; + } + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableWidget to set. + * @return This builder for chaining. + */ + public Builder setEnableWidget(boolean value) { + + enableWidget_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnableWidget() { + bitField0_ = (bitField0_ & ~0x00000001); + enableWidget_ = 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-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMapsOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMapsOrBuilder.java index c9813d05a463..8a6fec89ee1d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMapsOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GoogleMapsOrBuilder.java @@ -22,4 +22,18 @@ public interface GoogleMapsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GoogleMaps) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, include the widget context token in the response.
+   * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + boolean getEnableWidget(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingChunk.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingChunk.java index f1b1f47ba3af..772e1bc365e3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingChunk.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingChunk.java @@ -3164,54 +3164,2396 @@ public interface MapsOrBuilder * @return The bytes for placeId. */ com.google.protobuf.ByteString getPlaceIdBytes(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + boolean hasPlaceAnswerSources(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources getPlaceAnswerSources(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder(); } - /** - * - * - *
-   * Chunk from Google Maps.
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1.GroundingChunk.Maps} - */ - public static final class Maps extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps) - MapsOrBuilder { - private static final long serialVersionUID = 0L; + /** + * + * + *
+   * Chunk from Google Maps.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GroundingChunk.Maps} + */ + public static final class Maps extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps) + MapsOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Maps.newBuilder() to construct. + private Maps(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Maps() { + uri_ = ""; + title_ = ""; + text_ = ""; + placeId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Maps(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.class, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.Builder.class); + } + + public interface PlaceAnswerSourcesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + java.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> + getReviewSnippetsList(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getReviewSnippets(int index); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + int getReviewSnippetsCount(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index); + } + + /** Protobuf type {@code google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources} */ + public static final class PlaceAnswerSources extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) + PlaceAnswerSourcesOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PlaceAnswerSources.newBuilder() to construct. + private PlaceAnswerSources(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PlaceAnswerSources() { + reviewSnippets_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PlaceAnswerSources(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.class, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder + .class); + } + + public interface ReviewSnippetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + java.lang.String getReviewId(); + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + com.google.protobuf.ByteString getReviewIdBytes(); + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + java.lang.String getGoogleMapsUri(); + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + com.google.protobuf.ByteString getGoogleMapsUriBytes(); + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The title. + */ + java.lang.String getTitle(); + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + com.google.protobuf.ByteString getTitleBytes(); + } + + /** + * + * + *
+       * Encapsulates a review snippet.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet} + */ + public static final class ReviewSnippet extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + ReviewSnippetOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ReviewSnippet.newBuilder() to construct. + private ReviewSnippet(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReviewSnippet() { + reviewId_ = ""; + googleMapsUri_ = ""; + title_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReviewSnippet(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.class, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder.class); + } + + public static final int REVIEW_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object reviewId_ = ""; + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + @java.lang.Override + public java.lang.String getReviewId() { + java.lang.Object ref = reviewId_; + 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(); + reviewId_ = s; + return s; + } + } + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReviewIdBytes() { + java.lang.Object ref = reviewId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reviewId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GOOGLE_MAPS_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object googleMapsUri_ = ""; + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + @java.lang.Override + public java.lang.String getGoogleMapsUri() { + java.lang.Object ref = googleMapsUri_; + 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(); + googleMapsUri_ = s; + return s; + } + } + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGoogleMapsUriBytes() { + java.lang.Object ref = googleMapsUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + 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(); + title_ = s; + return s; + } + } + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = 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(reviewId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reviewId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleMapsUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, googleMapsUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, title_); + } + 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(reviewId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reviewId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleMapsUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, googleMapsUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, title_); + } + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + other = + (com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) + obj; + + if (!getReviewId().equals(other.getReviewId())) return false; + if (!getGoogleMapsUri().equals(other.getGoogleMapsUri())) return false; + if (!getTitle().equals(other.getTitle())) 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) + REVIEW_ID_FIELD_NUMBER; + hash = (53 * hash) + getReviewId().hashCode(); + hash = (37 * hash) + GOOGLE_MAPS_URI_FIELD_NUMBER; + hash = (53 * hash) + getGoogleMapsUri().hashCode(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + 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; + } + + /** + * + * + *
+         * Encapsulates a review snippet.
+         * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.class, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + reviewId_ = ""; + googleMapsUri_ = ""; + title_ = ""; + 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_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + build() { + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + buildPartial() { + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + result = + new com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reviewId_ = reviewId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.googleMapsUri_ = googleMapsUri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.title_ = title_; + } + } + + @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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + other) { + if (other + == com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()) return this; + if (!other.getReviewId().isEmpty()) { + reviewId_ = other.reviewId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getGoogleMapsUri().isEmpty()) { + googleMapsUri_ = other.googleMapsUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000004; + 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: + { + reviewId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + googleMapsUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + title_ = input.readStringRequireUtf8(); + 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 reviewId_ = ""; + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + public java.lang.String getReviewId() { + java.lang.Object ref = reviewId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reviewId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + public com.google.protobuf.ByteString getReviewIdBytes() { + java.lang.Object ref = reviewId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reviewId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @param value The reviewId to set. + * @return This builder for chaining. + */ + public Builder setReviewId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + reviewId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearReviewId() { + reviewId_ = getDefaultInstance().getReviewId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @param value The bytes for reviewId to set. + * @return This builder for chaining. + */ + public Builder setReviewIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reviewId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object googleMapsUri_ = ""; + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + public java.lang.String getGoogleMapsUri() { + java.lang.Object ref = googleMapsUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + googleMapsUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + public com.google.protobuf.ByteString getGoogleMapsUriBytes() { + java.lang.Object ref = googleMapsUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @param value The googleMapsUri to set. + * @return This builder for chaining. + */ + public Builder setGoogleMapsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + googleMapsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearGoogleMapsUri() { + googleMapsUri_ = getDefaultInstance().getGoogleMapsUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @param value The bytes for googleMapsUri to set. + * @return This builder for chaining. + */ + public Builder setGoogleMapsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleMapsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + title_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000004; + 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.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + private static final com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet(); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReviewSnippet 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.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int REVIEW_SNIPPETS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> + reviewSnippets_; + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public java.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> + getReviewSnippetsList() { + return reviewSnippets_; + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList() { + return reviewSnippets_; + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public int getReviewSnippetsCount() { + return reviewSnippets_.size(); + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getReviewSnippets(int index) { + return reviewSnippets_.get(index); + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index) { + return reviewSnippets_.get(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 < reviewSnippets_.size(); i++) { + output.writeMessage(1, reviewSnippets_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < reviewSnippets_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, reviewSnippets_.get(i)); + } + 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.GroundingChunk.Maps.PlaceAnswerSources)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources other = + (com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) obj; + + if (!getReviewSnippetsList().equals(other.getReviewSnippetsList())) 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 (getReviewSnippetsCount() > 0) { + hash = (37 * hash) + REVIEW_SNIPPETS_FIELD_NUMBER; + hash = (53 * hash) + getReviewSnippetsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources 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; + } + + /** Protobuf type {@code google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.class, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (reviewSnippetsBuilder_ == null) { + reviewSnippets_ = java.util.Collections.emptyList(); + } else { + reviewSnippets_ = null; + reviewSnippetsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + 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_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources build() { + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + buildPartial() { + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources result = + new com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources result) { + if (reviewSnippetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reviewSnippets_ = java.util.Collections.unmodifiableList(reviewSnippets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reviewSnippets_ = reviewSnippets_; + } else { + result.reviewSnippets_ = reviewSnippetsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources result) { + int from_bitField0_ = 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.GroundingChunk.Maps.PlaceAnswerSources) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources other) { + if (other + == com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance()) return this; + if (reviewSnippetsBuilder_ == null) { + if (!other.reviewSnippets_.isEmpty()) { + if (reviewSnippets_.isEmpty()) { + reviewSnippets_ = other.reviewSnippets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.addAll(other.reviewSnippets_); + } + onChanged(); + } + } else { + if (!other.reviewSnippets_.isEmpty()) { + if (reviewSnippetsBuilder_.isEmpty()) { + reviewSnippetsBuilder_.dispose(); + reviewSnippetsBuilder_ = null; + reviewSnippets_ = other.reviewSnippets_; + bitField0_ = (bitField0_ & ~0x00000001); + reviewSnippetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReviewSnippetsFieldBuilder() + : null; + } else { + reviewSnippetsBuilder_.addAllMessages(other.reviewSnippets_); + } + } + } + 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: + { + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + m = + input.readMessage( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps + .PlaceAnswerSources.ReviewSnippet.parser(), + extensionRegistry); + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(m); + } else { + reviewSnippetsBuilder_.addMessage(m); + } + 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.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> + reviewSnippets_ = java.util.Collections.emptyList(); + + private void ensureReviewSnippetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reviewSnippets_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet>(reviewSnippets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + reviewSnippetsBuilder_; + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet> + getReviewSnippetsList() { + if (reviewSnippetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reviewSnippets_); + } else { + return reviewSnippetsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public int getReviewSnippetsCount() { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.size(); + } else { + return reviewSnippetsBuilder_.getCount(); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getReviewSnippets(int index) { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.get(index); + } else { + return reviewSnippetsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder setReviewSnippets( + int index, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.set(index, value); + onChanged(); + } else { + reviewSnippetsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder setReviewSnippets( + int index, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.set(index, builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(value); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + int index, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(index, value); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + int index, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(index, builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addAllReviewSnippets( + java.lang.Iterable< + ? extends + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + values) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reviewSnippets_); + onChanged(); + } else { + reviewSnippetsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder clearReviewSnippets() { + if (reviewSnippetsBuilder_ == null) { + reviewSnippets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + reviewSnippetsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder removeReviewSnippets(int index) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.remove(index); + onChanged(); + } else { + reviewSnippetsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + getReviewSnippetsBuilder(int index) { + return getReviewSnippetsFieldBuilder().getBuilder(index); + } - // Use Maps.newBuilder() to construct. - private Maps(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index) { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.get(index); + } else { + return reviewSnippetsBuilder_.getMessageOrBuilder(index); + } + } - private Maps() { - uri_ = ""; - title_ = ""; - text_ = ""; - placeId_ = ""; - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList() { + if (reviewSnippetsBuilder_ != null) { + return reviewSnippetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reviewSnippets_); + } + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Maps(); - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + addReviewSnippetsBuilder() { + return getReviewSnippetsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1.ContentProto - .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_descriptor; - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + addReviewSnippetsBuilder(int index) { + return getReviewSnippetsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1.ContentProto - .internal_static_google_cloud_aiplatform_v1_GroundingChunk_Maps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1.GroundingChunk.Maps.class, - com.google.cloud.aiplatform.v1.GroundingChunk.Maps.Builder.class); + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder> + getReviewSnippetsBuilderList() { + return getReviewSnippetsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsFieldBuilder() { + if (reviewSnippetsBuilder_ == null) { + reviewSnippetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder>( + reviewSnippets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + reviewSnippets_ = null; + } + return reviewSnippetsBuilder_; + } + + @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.GroundingChunk.Maps.PlaceAnswerSources) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources) + private static final com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources(); + } + + public static com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } private int bitField0_; @@ -3494,6 +5836,76 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { } } + public static final int PLACE_ANSWER_SOURCES_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + placeAnswerSources_; + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + @java.lang.Override + public boolean hasPlaceAnswerSources() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + getPlaceAnswerSources() { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder() { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3520,6 +5932,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, placeId_); } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getPlaceAnswerSources()); + } getUnknownFields().writeTo(output); } @@ -3541,6 +5956,10 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, placeId_); } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPlaceAnswerSources()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3573,6 +5992,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPlaceId()) { if (!getPlaceId().equals(other.getPlaceId())) return false; } + if (hasPlaceAnswerSources() != other.hasPlaceAnswerSources()) return false; + if (hasPlaceAnswerSources()) { + if (!getPlaceAnswerSources().equals(other.getPlaceAnswerSources())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3600,6 +6023,10 @@ public int hashCode() { hash = (37 * hash) + PLACE_ID_FIELD_NUMBER; hash = (53 * hash) + getPlaceId().hashCode(); } + if (hasPlaceAnswerSources()) { + hash = (37 * hash) + PLACE_ANSWER_SOURCES_FIELD_NUMBER; + hash = (53 * hash) + getPlaceAnswerSources().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3732,10 +6159,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.aiplatform.v1.GroundingChunk.Maps.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) { + getPlaceAnswerSourcesFieldBuilder(); + } } @java.lang.Override @@ -3746,6 +6182,11 @@ public Builder clear() { title_ = ""; text_ = ""; placeId_ = ""; + placeAnswerSources_ = null; + if (placeAnswerSourcesBuilder_ != null) { + placeAnswerSourcesBuilder_.dispose(); + placeAnswerSourcesBuilder_ = null; + } return this; } @@ -3799,6 +6240,13 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.GroundingChunk.Maps re result.placeId_ = placeId_; to_bitField0_ |= 0x00000008; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.placeAnswerSources_ = + placeAnswerSourcesBuilder_ == null + ? placeAnswerSources_ + : placeAnswerSourcesBuilder_.build(); + to_bitField0_ |= 0x00000010; + } result.bitField0_ |= to_bitField0_; } @@ -3870,6 +6318,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GroundingChunk.Maps othe bitField0_ |= 0x00000008; onChanged(); } + if (other.hasPlaceAnswerSources()) { + mergePlaceAnswerSources(other.getPlaceAnswerSources()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3920,6 +6371,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 42: + { + input.readMessage( + getPlaceAnswerSourcesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4449,6 +6907,248 @@ public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + placeAnswerSources_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder> + placeAnswerSourcesBuilder_; + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + public boolean hasPlaceAnswerSources() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + getPlaceAnswerSources() { + if (placeAnswerSourcesBuilder_ == null) { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } else { + return placeAnswerSourcesBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder setPlaceAnswerSources( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources value) { + if (placeAnswerSourcesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + placeAnswerSources_ = value; + } else { + placeAnswerSourcesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder setPlaceAnswerSources( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder + builderForValue) { + if (placeAnswerSourcesBuilder_ == null) { + placeAnswerSources_ = builderForValue.build(); + } else { + placeAnswerSourcesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder mergePlaceAnswerSources( + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources value) { + if (placeAnswerSourcesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && placeAnswerSources_ != null + && placeAnswerSources_ + != com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance()) { + getPlaceAnswerSourcesBuilder().mergeFrom(value); + } else { + placeAnswerSources_ = value; + } + } else { + placeAnswerSourcesBuilder_.mergeFrom(value); + } + if (placeAnswerSources_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder clearPlaceAnswerSources() { + bitField0_ = (bitField0_ & ~0x00000010); + placeAnswerSources_ = null; + if (placeAnswerSourcesBuilder_ != null) { + placeAnswerSourcesBuilder_.dispose(); + placeAnswerSourcesBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder + getPlaceAnswerSourcesBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getPlaceAnswerSourcesFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder() { + if (placeAnswerSourcesBuilder_ != null) { + return placeAnswerSourcesBuilder_.getMessageOrBuilder(); + } else { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder> + getPlaceAnswerSourcesFieldBuilder() { + if (placeAnswerSourcesBuilder_ == null) { + placeAnswerSourcesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.Builder, + com.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder>( + getPlaceAnswerSources(), getParentForChildren(), isClean()); + placeAnswerSources_ = null; + } + return placeAnswerSourcesBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadata.java index 6664edafe513..abec3e691776 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadata.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadata.java @@ -44,6 +44,7 @@ private GroundingMetadata() { groundingChunks_ = java.util.Collections.emptyList(); groundingSupports_ = java.util.Collections.emptyList(); googleMapsWidgetContextToken_ = ""; + sourceFlaggingUris_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -67,208 +68,1116 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.GroundingMetadata.Builder.class); } - private int bitField0_; - public static final int WEB_SEARCH_QUERIES_FIELD_NUMBER = 1; + public interface SourceFlaggingUriOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) + com.google.protobuf.MessageOrBuilder { - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList webSearchQueries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + java.lang.String getSourceId(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the webSearchQueries. - */ - public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { - return webSearchQueries_; - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + com.google.protobuf.ByteString getSourceIdBytes(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of webSearchQueries. - */ - public int getWebSearchQueriesCount() { - return webSearchQueries_.size(); - } + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + java.lang.String getFlagContentUri(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The webSearchQueries at the given index. - */ - public java.lang.String getWebSearchQueries(int index) { - return webSearchQueries_.get(index); + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + com.google.protobuf.ByteString getFlagContentUriBytes(); } /** * * *
-   * Optional. Web search queries for the following-up web search.
+   * Source content flagging uri for a place or review. This is currently
+   * populated only for Google Maps grounding.
    * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the webSearchQueries at the given index. + * Protobuf type {@code google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri} */ - public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { - return webSearchQueries_.getByteString(index); - } + public static final class SourceFlaggingUri extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) + SourceFlaggingUriOrBuilder { + private static final long serialVersionUID = 0L; - public static final int SEARCH_ENTRY_POINT_FIELD_NUMBER = 4; - private com.google.cloud.aiplatform.v1.SearchEntryPoint searchEntryPoint_; + // Use SourceFlaggingUri.newBuilder() to construct. + private SourceFlaggingUri(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the searchEntryPoint field is set. - */ - @java.lang.Override - public boolean hasSearchEntryPoint() { - return ((bitField0_ & 0x00000001) != 0); - } + private SourceFlaggingUri() { + sourceId_ = ""; + flagContentUri_ = ""; + } - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The searchEntryPoint. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1.SearchEntryPoint getSearchEntryPoint() { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceFlaggingUri(); + } - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder getSearchEntryPointOrBuilder() { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_descriptor; + } - public static final int GROUNDING_CHUNKS_FIELD_NUMBER = 5; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.class, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder.class); + } - @SuppressWarnings("serial") - private java.util.List groundingChunks_; + public static final int SOURCE_ID_FIELD_NUMBER = 1; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public java.util.List getGroundingChunksList() { - return groundingChunks_; - } + @SuppressWarnings("serial") + private volatile java.lang.Object sourceId_ = ""; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public java.util.List - getGroundingChunksOrBuilderList() { - return groundingChunks_; - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + @java.lang.Override + public java.lang.String getSourceId() { + java.lang.Object ref = sourceId_; + 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(); + sourceId_ = s; + return s; + } + } - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public int getGroundingChunksCount() { - return groundingChunks_.size(); - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceIdBytes() { + java.lang.Object ref = sourceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1.GroundingChunk getGroundingChunks(int index) { - return groundingChunks_.get(index); - } + public static final int FLAG_CONTENT_URI_FIELD_NUMBER = 2; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( - int index) { + @SuppressWarnings("serial") + private volatile java.lang.Object flagContentUri_ = ""; + + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + @java.lang.Override + public java.lang.String getFlagContentUri() { + java.lang.Object ref = flagContentUri_; + 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(); + flagContentUri_ = s; + return s; + } + } + + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlagContentUriBytes() { + java.lang.Object ref = flagContentUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flagContentUri_ = 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(sourceId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagContentUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagContentUri_); + } + 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(sourceId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagContentUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagContentUri_); + } + 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.GroundingMetadata.SourceFlaggingUri)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri other = + (com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) obj; + + if (!getSourceId().equals(other.getSourceId())) return false; + if (!getFlagContentUri().equals(other.getFlagContentUri())) 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_ID_FIELD_NUMBER; + hash = (53 * hash) + getSourceId().hashCode(); + hash = (37 * hash) + FLAG_CONTENT_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlagContentUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + 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.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri 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; + } + + /** + * + * + *
+     * Source content flagging uri for a place or review. This is currently
+     * populated only for Google Maps grounding.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ContentProto + .internal_static_google_cloud_aiplatform_v1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.class, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sourceId_ = ""; + flagContentUri_ = ""; + 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_GroundingMetadata_SourceFlaggingUri_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri build() { + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri buildPartial() { + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri result = + new com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sourceId_ = sourceId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flagContentUri_ = flagContentUri_; + } + } + + @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.GroundingMetadata.SourceFlaggingUri) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri other) { + if (other + == com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()) return this; + if (!other.getSourceId().isEmpty()) { + sourceId_ = other.sourceId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFlagContentUri().isEmpty()) { + flagContentUri_ = other.flagContentUri_; + bitField0_ |= 0x00000002; + 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: + { + sourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + flagContentUri_ = input.readStringRequireUtf8(); + 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 java.lang.Object sourceId_ = ""; + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + public java.lang.String getSourceId() { + java.lang.Object ref = sourceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + public com.google.protobuf.ByteString getSourceIdBytes() { + java.lang.Object ref = sourceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @param value The sourceId to set. + * @return This builder for chaining. + */ + public Builder setSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearSourceId() { + sourceId_ = getDefaultInstance().getSourceId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @param value The bytes for sourceId to set. + * @return This builder for chaining. + */ + public Builder setSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object flagContentUri_ = ""; + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + public java.lang.String getFlagContentUri() { + java.lang.Object ref = flagContentUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flagContentUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + public com.google.protobuf.ByteString getFlagContentUriBytes() { + java.lang.Object ref = flagContentUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flagContentUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @param value The flagContentUri to set. + * @return This builder for chaining. + */ + public Builder setFlagContentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flagContentUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlagContentUri() { + flagContentUri_ = getDefaultInstance().getFlagContentUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @param value The bytes for flagContentUri to set. + * @return This builder for chaining. + */ + public Builder setFlagContentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flagContentUri_ = value; + bitField0_ |= 0x00000002; + 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.GroundingMetadata.SourceFlaggingUri) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri) + private static final com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri(); + } + + public static com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int WEB_SEARCH_QUERIES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList webSearchQueries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Web search queries for the following-up web search.
+   * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the webSearchQueries. + */ + public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { + return webSearchQueries_; + } + + /** + * + * + *
+   * Optional. Web search queries for the following-up web search.
+   * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of webSearchQueries. + */ + public int getWebSearchQueriesCount() { + return webSearchQueries_.size(); + } + + /** + * + * + *
+   * Optional. Web search queries for the following-up web search.
+   * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The webSearchQueries at the given index. + */ + public java.lang.String getWebSearchQueries(int index) { + return webSearchQueries_.get(index); + } + + /** + * + * + *
+   * Optional. Web search queries for the following-up web search.
+   * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the webSearchQueries at the given index. + */ + public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { + return webSearchQueries_.getByteString(index); + } + + public static final int SEARCH_ENTRY_POINT_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1.SearchEntryPoint searchEntryPoint_; + + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the searchEntryPoint field is set. + */ + @java.lang.Override + public boolean hasSearchEntryPoint() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The searchEntryPoint. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.SearchEntryPoint getSearchEntryPoint() { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; + } + + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder getSearchEntryPointOrBuilder() { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; + } + + public static final int GROUNDING_CHUNKS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private java.util.List groundingChunks_; + + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public java.util.List getGroundingChunksList() { + return groundingChunks_; + } + + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public java.util.List + getGroundingChunksOrBuilderList() { + return groundingChunks_; + } + + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public int getGroundingChunksCount() { + return groundingChunks_.size(); + } + + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunk getGroundingChunks(int index) { + return groundingChunks_.get(index); + } + + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( + int index) { return groundingChunks_.get(index); } @@ -454,50 +1363,146 @@ public boolean hasGoogleMapsWidgetContextToken() { * * * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The googleMapsWidgetContextToken. + */ + @java.lang.Override + public java.lang.String getGoogleMapsWidgetContextToken() { + java.lang.Object ref = googleMapsWidgetContextToken_; + 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(); + googleMapsWidgetContextToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Output only. Resource name of the Google Maps widget context
+   * token to be used with the PlacesContextElement widget to render contextual
+   * data. This is populated only for Google Maps grounding.
+   * 
+ * + * + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for googleMapsWidgetContextToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsWidgetContextToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_FLAGGING_URIS_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private java.util.List + sourceFlaggingUris_; + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public java.util.List + getSourceFlaggingUrisList() { + return sourceFlaggingUris_; + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList() { + return sourceFlaggingUris_; + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public int getSourceFlaggingUrisCount() { + return sourceFlaggingUris_.size(); + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The googleMapsWidgetContextToken. */ @java.lang.Override - public java.lang.String getGoogleMapsWidgetContextToken() { - java.lang.Object ref = googleMapsWidgetContextToken_; - 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(); - googleMapsWidgetContextToken_ = s; - return s; - } + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri getSourceFlaggingUris( + int index) { + return sourceFlaggingUris_.get(index); } /** * * *
-   * Optional. Output only. Resource name of the Google Maps widget context
-   * token to be used with the PlacesContextElement widget to render contextual
-   * data. This is populated only for Google Maps grounding.
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
    * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The bytes for googleMapsWidgetContextToken. */ @java.lang.Override - public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - googleMapsWidgetContextToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index) { + return sourceFlaggingUris_.get(index); } private byte memoizedIsInitialized = -1; @@ -532,6 +1537,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, googleMapsWidgetContextToken_); } + for (int i = 0; i < sourceFlaggingUris_.size(); i++) { + output.writeMessage(9, sourceFlaggingUris_.get(i)); + } getUnknownFields().writeTo(output); } @@ -567,6 +1575,10 @@ public int getSerializedSize() { com.google.protobuf.GeneratedMessageV3.computeStringSize( 8, googleMapsWidgetContextToken_); } + for (int i = 0; i < sourceFlaggingUris_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, sourceFlaggingUris_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -599,6 +1611,7 @@ public boolean equals(final java.lang.Object obj) { if (!getGoogleMapsWidgetContextToken().equals(other.getGoogleMapsWidgetContextToken())) return false; } + if (!getSourceFlaggingUrisList().equals(other.getSourceFlaggingUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -634,6 +1647,10 @@ public int hashCode() { hash = (37 * hash) + GOOGLE_MAPS_WIDGET_CONTEXT_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getGoogleMapsWidgetContextToken().hashCode(); } + if (getSourceFlaggingUrisCount() > 0) { + hash = (37 * hash) + SOURCE_FLAGGING_URIS_FIELD_NUMBER; + hash = (53 * hash) + getSourceFlaggingUrisList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -779,6 +1796,7 @@ private void maybeForceBuilderInitialization() { getGroundingChunksFieldBuilder(); getGroundingSupportsFieldBuilder(); getRetrievalMetadataFieldBuilder(); + getSourceFlaggingUrisFieldBuilder(); } } @@ -811,409 +1829,884 @@ public Builder clear() { retrievalMetadataBuilder_.dispose(); retrievalMetadataBuilder_ = null; } - googleMapsWidgetContextToken_ = ""; + googleMapsWidgetContextToken_ = ""; + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUris_ = java.util.Collections.emptyList(); + } else { + sourceFlaggingUris_ = null; + sourceFlaggingUrisBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + 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_GroundingMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GroundingMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata build() { + com.google.cloud.aiplatform.v1.GroundingMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GroundingMetadata buildPartial() { + com.google.cloud.aiplatform.v1.GroundingMetadata result = + new com.google.cloud.aiplatform.v1.GroundingMetadata(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.GroundingMetadata result) { + if (groundingChunksBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.groundingChunks_ = groundingChunks_; + } else { + result.groundingChunks_ = groundingChunksBuilder_.build(); + } + if (groundingSupportsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.groundingSupports_ = groundingSupports_; + } else { + result.groundingSupports_ = groundingSupportsBuilder_.build(); + } + if (sourceFlaggingUrisBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + sourceFlaggingUris_ = java.util.Collections.unmodifiableList(sourceFlaggingUris_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.sourceFlaggingUris_ = sourceFlaggingUris_; + } else { + result.sourceFlaggingUris_ = sourceFlaggingUrisBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.GroundingMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + webSearchQueries_.makeImmutable(); + result.webSearchQueries_ = webSearchQueries_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.searchEntryPoint_ = + searchEntryPointBuilder_ == null ? searchEntryPoint_ : searchEntryPointBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.retrievalMetadata_ = + retrievalMetadataBuilder_ == null + ? retrievalMetadata_ + : retrievalMetadataBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.googleMapsWidgetContextToken_ = googleMapsWidgetContextToken_; + 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.cloud.aiplatform.v1.GroundingMetadata) { + return mergeFrom((com.google.cloud.aiplatform.v1.GroundingMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.GroundingMetadata other) { + if (other == com.google.cloud.aiplatform.v1.GroundingMetadata.getDefaultInstance()) + return this; + if (!other.webSearchQueries_.isEmpty()) { + if (webSearchQueries_.isEmpty()) { + webSearchQueries_ = other.webSearchQueries_; + bitField0_ |= 0x00000001; + } else { + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.addAll(other.webSearchQueries_); + } + onChanged(); + } + if (other.hasSearchEntryPoint()) { + mergeSearchEntryPoint(other.getSearchEntryPoint()); + } + if (groundingChunksBuilder_ == null) { + if (!other.groundingChunks_.isEmpty()) { + if (groundingChunks_.isEmpty()) { + groundingChunks_ = other.groundingChunks_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureGroundingChunksIsMutable(); + groundingChunks_.addAll(other.groundingChunks_); + } + onChanged(); + } + } else { + if (!other.groundingChunks_.isEmpty()) { + if (groundingChunksBuilder_.isEmpty()) { + groundingChunksBuilder_.dispose(); + groundingChunksBuilder_ = null; + groundingChunks_ = other.groundingChunks_; + bitField0_ = (bitField0_ & ~0x00000004); + groundingChunksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroundingChunksFieldBuilder() + : null; + } else { + groundingChunksBuilder_.addAllMessages(other.groundingChunks_); + } + } + } + if (groundingSupportsBuilder_ == null) { + if (!other.groundingSupports_.isEmpty()) { + if (groundingSupports_.isEmpty()) { + groundingSupports_ = other.groundingSupports_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureGroundingSupportsIsMutable(); + groundingSupports_.addAll(other.groundingSupports_); + } + onChanged(); + } + } else { + if (!other.groundingSupports_.isEmpty()) { + if (groundingSupportsBuilder_.isEmpty()) { + groundingSupportsBuilder_.dispose(); + groundingSupportsBuilder_ = null; + groundingSupports_ = other.groundingSupports_; + bitField0_ = (bitField0_ & ~0x00000008); + groundingSupportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroundingSupportsFieldBuilder() + : null; + } else { + groundingSupportsBuilder_.addAllMessages(other.groundingSupports_); + } + } + } + if (other.hasRetrievalMetadata()) { + mergeRetrievalMetadata(other.getRetrievalMetadata()); + } + if (other.hasGoogleMapsWidgetContextToken()) { + googleMapsWidgetContextToken_ = other.googleMapsWidgetContextToken_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (sourceFlaggingUrisBuilder_ == null) { + if (!other.sourceFlaggingUris_.isEmpty()) { + if (sourceFlaggingUris_.isEmpty()) { + sourceFlaggingUris_ = other.sourceFlaggingUris_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.addAll(other.sourceFlaggingUris_); + } + onChanged(); + } + } else { + if (!other.sourceFlaggingUris_.isEmpty()) { + if (sourceFlaggingUrisBuilder_.isEmpty()) { + sourceFlaggingUrisBuilder_.dispose(); + sourceFlaggingUrisBuilder_ = null; + sourceFlaggingUris_ = other.sourceFlaggingUris_; + bitField0_ = (bitField0_ & ~0x00000040); + sourceFlaggingUrisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSourceFlaggingUrisFieldBuilder() + : null; + } else { + sourceFlaggingUrisBuilder_.addAllMessages(other.sourceFlaggingUris_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); 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_GroundingMetadata_descriptor; + public final boolean isInitialized() { + return true; } @java.lang.Override - public com.google.cloud.aiplatform.v1.GroundingMetadata getDefaultInstanceForType() { - return com.google.cloud.aiplatform.v1.GroundingMetadata.getDefaultInstance(); + 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(); + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(s); + break; + } // case 10 + case 34: + { + input.readMessage( + getSearchEntryPointFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 42: + { + com.google.cloud.aiplatform.v1.GroundingChunk m = + input.readMessage( + com.google.cloud.aiplatform.v1.GroundingChunk.parser(), extensionRegistry); + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(m); + } else { + groundingChunksBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: + { + com.google.cloud.aiplatform.v1.GroundingSupport m = + input.readMessage( + com.google.cloud.aiplatform.v1.GroundingSupport.parser(), + extensionRegistry); + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(m); + } else { + groundingSupportsBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: + { + input.readMessage( + getRetrievalMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: + { + googleMapsWidgetContextToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 66 + case 74: + { + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri m = + input.readMessage( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.parser(), + extensionRegistry); + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(m); + } else { + sourceFlaggingUrisBuilder_.addMessage(m); + } + break; + } // case 74 + 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 com.google.cloud.aiplatform.v1.GroundingMetadata build() { - com.google.cloud.aiplatform.v1.GroundingMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList webSearchQueries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureWebSearchQueriesIsMutable() { + if (!webSearchQueries_.isModifiable()) { + webSearchQueries_ = new com.google.protobuf.LazyStringArrayList(webSearchQueries_); } - return result; + bitField0_ |= 0x00000001; } - @java.lang.Override - public com.google.cloud.aiplatform.v1.GroundingMetadata buildPartial() { - com.google.cloud.aiplatform.v1.GroundingMetadata result = - new com.google.cloud.aiplatform.v1.GroundingMetadata(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the webSearchQueries. + */ + public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { + webSearchQueries_.makeImmutable(); + return webSearchQueries_; } - private void buildPartialRepeatedFields( - com.google.cloud.aiplatform.v1.GroundingMetadata result) { - if (groundingChunksBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.groundingChunks_ = groundingChunks_; - } else { - result.groundingChunks_ = groundingChunksBuilder_.build(); - } - if (groundingSupportsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.groundingSupports_ = groundingSupports_; - } else { - result.groundingSupports_ = groundingSupportsBuilder_.build(); - } + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of webSearchQueries. + */ + public int getWebSearchQueriesCount() { + return webSearchQueries_.size(); } - private void buildPartial0(com.google.cloud.aiplatform.v1.GroundingMetadata result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - webSearchQueries_.makeImmutable(); - result.webSearchQueries_ = webSearchQueries_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.searchEntryPoint_ = - searchEntryPointBuilder_ == null ? searchEntryPoint_ : searchEntryPointBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.retrievalMetadata_ = - retrievalMetadataBuilder_ == null - ? retrievalMetadata_ - : retrievalMetadataBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.googleMapsWidgetContextToken_ = googleMapsWidgetContextToken_; - to_bitField0_ |= 0x00000004; - } - result.bitField0_ |= to_bitField0_; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The webSearchQueries at the given index. + */ + public java.lang.String getWebSearchQueries(int index) { + return webSearchQueries_.get(index); } - @java.lang.Override - public Builder clone() { - return super.clone(); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the webSearchQueries at the given index. + */ + public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { + return webSearchQueries_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The webSearchQueries to set. + * @return This builder for chaining. + */ + public Builder setWebSearchQueries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addWebSearchQueries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addAllWebSearchQueries(java.lang.Iterable values) { + ensureWebSearchQueriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webSearchQueries_); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearWebSearchQueries() { + webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + 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); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addWebSearchQueriesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + private com.google.cloud.aiplatform.v1.SearchEntryPoint searchEntryPoint_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.SearchEntryPoint, + com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder> + searchEntryPointBuilder_; + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the searchEntryPoint field is set. + */ + public boolean hasSearchEntryPoint() { + return ((bitField0_ & 0x00000002) != 0); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.aiplatform.v1.GroundingMetadata) { - return mergeFrom((com.google.cloud.aiplatform.v1.GroundingMetadata) other); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The searchEntryPoint. + */ + public com.google.cloud.aiplatform.v1.SearchEntryPoint getSearchEntryPoint() { + if (searchEntryPointBuilder_ == null) { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; } else { - super.mergeFrom(other); - return this; + return searchEntryPointBuilder_.getMessage(); } } - public Builder mergeFrom(com.google.cloud.aiplatform.v1.GroundingMetadata other) { - if (other == com.google.cloud.aiplatform.v1.GroundingMetadata.getDefaultInstance()) - return this; - if (!other.webSearchQueries_.isEmpty()) { - if (webSearchQueries_.isEmpty()) { - webSearchQueries_ = other.webSearchQueries_; - bitField0_ |= 0x00000001; - } else { - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.addAll(other.webSearchQueries_); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSearchEntryPoint(com.google.cloud.aiplatform.v1.SearchEntryPoint value) { + if (searchEntryPointBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - onChanged(); - } - if (other.hasSearchEntryPoint()) { - mergeSearchEntryPoint(other.getSearchEntryPoint()); + searchEntryPoint_ = value; + } else { + searchEntryPointBuilder_.setMessage(value); } - if (groundingChunksBuilder_ == null) { - if (!other.groundingChunks_.isEmpty()) { - if (groundingChunks_.isEmpty()) { - groundingChunks_ = other.groundingChunks_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureGroundingChunksIsMutable(); - groundingChunks_.addAll(other.groundingChunks_); - } - onChanged(); - } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSearchEntryPoint( + com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder builderForValue) { + if (searchEntryPointBuilder_ == null) { + searchEntryPoint_ = builderForValue.build(); } else { - if (!other.groundingChunks_.isEmpty()) { - if (groundingChunksBuilder_.isEmpty()) { - groundingChunksBuilder_.dispose(); - groundingChunksBuilder_ = null; - groundingChunks_ = other.groundingChunks_; - bitField0_ = (bitField0_ & ~0x00000004); - groundingChunksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroundingChunksFieldBuilder() - : null; - } else { - groundingChunksBuilder_.addAllMessages(other.groundingChunks_); - } - } + searchEntryPointBuilder_.setMessage(builderForValue.build()); } - if (groundingSupportsBuilder_ == null) { - if (!other.groundingSupports_.isEmpty()) { - if (groundingSupports_.isEmpty()) { - groundingSupports_ = other.groundingSupports_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureGroundingSupportsIsMutable(); - groundingSupports_.addAll(other.groundingSupports_); - } - onChanged(); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeSearchEntryPoint(com.google.cloud.aiplatform.v1.SearchEntryPoint value) { + if (searchEntryPointBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && searchEntryPoint_ != null + && searchEntryPoint_ + != com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance()) { + getSearchEntryPointBuilder().mergeFrom(value); + } else { + searchEntryPoint_ = value; } } else { - if (!other.groundingSupports_.isEmpty()) { - if (groundingSupportsBuilder_.isEmpty()) { - groundingSupportsBuilder_.dispose(); - groundingSupportsBuilder_ = null; - groundingSupports_ = other.groundingSupports_; - bitField0_ = (bitField0_ & ~0x00000008); - groundingSupportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroundingSupportsFieldBuilder() - : null; - } else { - groundingSupportsBuilder_.addAllMessages(other.groundingSupports_); - } - } - } - if (other.hasRetrievalMetadata()) { - mergeRetrievalMetadata(other.getRetrievalMetadata()); + searchEntryPointBuilder_.mergeFrom(value); } - if (other.hasGoogleMapsWidgetContextToken()) { - googleMapsWidgetContextToken_ = other.googleMapsWidgetContextToken_; - bitField0_ |= 0x00000020; + if (searchEntryPoint_ != null) { + bitField0_ |= 0x00000002; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearSearchEntryPoint() { + bitField0_ = (bitField0_ & ~0x00000002); + searchEntryPoint_ = null; + if (searchEntryPointBuilder_ != null) { + searchEntryPointBuilder_.dispose(); + searchEntryPointBuilder_ = null; + } onChanged(); return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder getSearchEntryPointBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSearchEntryPointFieldBuilder().getBuilder(); } - @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(); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder getSearchEntryPointOrBuilder() { + if (searchEntryPointBuilder_ != null) { + return searchEntryPointBuilder_.getMessageOrBuilder(); + } else { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; } - 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(); - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(s); - break; - } // case 10 - case 34: - { - input.readMessage( - getSearchEntryPointFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 42: - { - com.google.cloud.aiplatform.v1.GroundingChunk m = - input.readMessage( - com.google.cloud.aiplatform.v1.GroundingChunk.parser(), extensionRegistry); - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(m); - } else { - groundingChunksBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - com.google.cloud.aiplatform.v1.GroundingSupport m = - input.readMessage( - com.google.cloud.aiplatform.v1.GroundingSupport.parser(), - extensionRegistry); - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(m); - } else { - groundingSupportsBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: - { - input.readMessage( - getRetrievalMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - googleMapsWidgetContextToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 66 - 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_; + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.SearchEntryPoint, + com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder> + getSearchEntryPointFieldBuilder() { + if (searchEntryPointBuilder_ == null) { + searchEntryPointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.SearchEntryPoint, + com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder>( + getSearchEntryPoint(), getParentForChildren(), isClean()); + searchEntryPoint_ = null; + } + return searchEntryPointBuilder_; + } - private com.google.protobuf.LazyStringArrayList webSearchQueries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + private java.util.List groundingChunks_ = + java.util.Collections.emptyList(); - private void ensureWebSearchQueriesIsMutable() { - if (!webSearchQueries_.isModifiable()) { - webSearchQueries_ = new com.google.protobuf.LazyStringArrayList(webSearchQueries_); + private void ensureGroundingChunksIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + groundingChunks_ = + new java.util.ArrayList( + groundingChunks_); + bitField0_ |= 0x00000004; } - bitField0_ |= 0x00000001; } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk, + com.google.cloud.aiplatform.v1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder> + groundingChunksBuilder_; + /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return A list containing the webSearchQueries. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { - webSearchQueries_.makeImmutable(); - return webSearchQueries_; + public java.util.List getGroundingChunksList() { + if (groundingChunksBuilder_ == null) { + return java.util.Collections.unmodifiableList(groundingChunks_); + } else { + return groundingChunksBuilder_.getMessageList(); + } } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The count of webSearchQueries. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public int getWebSearchQueriesCount() { - return webSearchQueries_.size(); + public int getGroundingChunksCount() { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.size(); + } else { + return groundingChunksBuilder_.getCount(); + } } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the element to return. - * @return The webSearchQueries at the given index. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public java.lang.String getWebSearchQueries(int index) { - return webSearchQueries_.get(index); + public com.google.cloud.aiplatform.v1.GroundingChunk getGroundingChunks(int index) { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.get(index); + } else { + return groundingChunksBuilder_.getMessage(index); + } } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index of the value to return. - * @return The bytes of the webSearchQueries at the given index. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { - return webSearchQueries_.getByteString(index); + public Builder setGroundingChunks( + int index, com.google.cloud.aiplatform.v1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.set(index, value); + onChanged(); + } else { + groundingChunksBuilder_.setMessage(index, value); + } + return this; } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param index The index to set the value at. - * @param value The webSearchQueries to set. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder setWebSearchQueries(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setGroundingChunks( + int index, com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.set(index, builderForValue.build()); + onChanged(); + } else { + groundingChunksBuilder_.setMessage(index, builderForValue.build()); } - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); return this; } @@ -1221,23 +2714,22 @@ public Builder setWebSearchQueries(int index, java.lang.String value) { * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The webSearchQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder addWebSearchQueries(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder addGroundingChunks(com.google.cloud.aiplatform.v1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.add(value); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(value); } - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(value); - bitField0_ |= 0x00000001; - onChanged(); return this; } @@ -1245,20 +2737,23 @@ public Builder addWebSearchQueries(java.lang.String value) { * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param values The webSearchQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder addAllWebSearchQueries(java.lang.Iterable values) { - ensureWebSearchQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webSearchQueries_); - bitField0_ |= 0x00000001; - onChanged(); + public Builder addGroundingChunks( + int index, com.google.cloud.aiplatform.v1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.add(index, value); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(index, value); + } return this; } @@ -1266,19 +2761,20 @@ public Builder addAllWebSearchQueries(java.lang.Iterable value * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder clearWebSearchQueries() { - webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); + public Builder addGroundingChunks( + com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(builderForValue.build()); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(builderForValue.build()); + } return this; } @@ -1286,96 +2782,81 @@ public Builder clearWebSearchQueries() { * * *
-     * Optional. Web search queries for the following-up web search.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The bytes of the webSearchQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder addWebSearchQueriesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder addGroundingChunks( + int index, com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(index, builderForValue.build()); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(index, builderForValue.build()); } - checkByteStringIsUtf8(value); - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(value); - bitField0_ |= 0x00000001; - onChanged(); return this; } - private com.google.cloud.aiplatform.v1.SearchEntryPoint searchEntryPoint_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.SearchEntryPoint, - com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder> - searchEntryPointBuilder_; - /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the searchEntryPoint field is set. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public boolean hasSearchEntryPoint() { - return ((bitField0_ & 0x00000002) != 0); + public Builder addAllGroundingChunks( + java.lang.Iterable values) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunks_); + onChanged(); + } else { + groundingChunksBuilder_.addAllMessages(values); + } + return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The searchEntryPoint. + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1.SearchEntryPoint getSearchEntryPoint() { - if (searchEntryPointBuilder_ == null) { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; + public Builder clearGroundingChunks() { + if (groundingChunksBuilder_ == null) { + groundingChunks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); } else { - return searchEntryPointBuilder_.getMessage(); + groundingChunksBuilder_.clear(); } + return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder setSearchEntryPoint(com.google.cloud.aiplatform.v1.SearchEntryPoint value) { - if (searchEntryPointBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - searchEntryPoint_ = value; + public Builder removeGroundingChunks(int index) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.remove(index); + onChanged(); } else { - searchEntryPointBuilder_.setMessage(value); + groundingChunksBuilder_.remove(index); } - bitField0_ |= 0x00000002; - onChanged(); return this; } @@ -1383,176 +2864,150 @@ public Builder setSearchEntryPoint(com.google.cloud.aiplatform.v1.SearchEntryPoi * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder setSearchEntryPoint( - com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder builderForValue) { - if (searchEntryPointBuilder_ == null) { - searchEntryPoint_ = builderForValue.build(); - } else { - searchEntryPointBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1.GroundingChunk.Builder getGroundingChunksBuilder( + int index) { + return getGroundingChunksFieldBuilder().getBuilder(index); } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder mergeSearchEntryPoint(com.google.cloud.aiplatform.v1.SearchEntryPoint value) { - if (searchEntryPointBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && searchEntryPoint_ != null - && searchEntryPoint_ - != com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance()) { - getSearchEntryPointBuilder().mergeFrom(value); - } else { - searchEntryPoint_ = value; - } + public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( + int index) { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.get(index); } else { - searchEntryPointBuilder_.mergeFrom(value); - } - if (searchEntryPoint_ != null) { - bitField0_ |= 0x00000002; - onChanged(); + return groundingChunksBuilder_.getMessageOrBuilder(index); } - return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public Builder clearSearchEntryPoint() { - bitField0_ = (bitField0_ & ~0x00000002); - searchEntryPoint_ = null; - if (searchEntryPointBuilder_ != null) { - searchEntryPointBuilder_.dispose(); - searchEntryPointBuilder_ = null; + public java.util.List + getGroundingChunksOrBuilderList() { + if (groundingChunksBuilder_ != null) { + return groundingChunksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(groundingChunks_); } - onChanged(); - return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder getSearchEntryPointBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getSearchEntryPointFieldBuilder().getBuilder(); + public com.google.cloud.aiplatform.v1.GroundingChunk.Builder addGroundingChunksBuilder() { + return getGroundingChunksFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.GroundingChunk.getDefaultInstance()); } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder getSearchEntryPointOrBuilder() { - if (searchEntryPointBuilder_ != null) { - return searchEntryPointBuilder_.getMessageOrBuilder(); - } else { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; - } + public com.google.cloud.aiplatform.v1.GroundingChunk.Builder addGroundingChunksBuilder( + int index) { + return getGroundingChunksFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.GroundingChunk.getDefaultInstance()); } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.SearchEntryPoint, - com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder> - getSearchEntryPointFieldBuilder() { - if (searchEntryPointBuilder_ == null) { - searchEntryPointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.SearchEntryPoint, - com.google.cloud.aiplatform.v1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1.SearchEntryPointOrBuilder>( - getSearchEntryPoint(), getParentForChildren(), isClean()); - searchEntryPoint_ = null; + public java.util.List + getGroundingChunksBuilderList() { + return getGroundingChunksFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk, + com.google.cloud.aiplatform.v1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder> + getGroundingChunksFieldBuilder() { + if (groundingChunksBuilder_ == null) { + groundingChunksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingChunk, + com.google.cloud.aiplatform.v1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder>( + groundingChunks_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + groundingChunks_ = null; } - return searchEntryPointBuilder_; + return groundingChunksBuilder_; } - private java.util.List groundingChunks_ = + private java.util.List groundingSupports_ = java.util.Collections.emptyList(); - private void ensureGroundingChunksIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - groundingChunks_ = - new java.util.ArrayList( - groundingChunks_); - bitField0_ |= 0x00000004; + private void ensureGroundingSupportsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + groundingSupports_ = + new java.util.ArrayList( + groundingSupports_); + bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingChunk, - com.google.cloud.aiplatform.v1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder> - groundingChunksBuilder_; + com.google.cloud.aiplatform.v1.GroundingSupport, + com.google.cloud.aiplatform.v1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder> + groundingSupportsBuilder_; /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getGroundingChunksList() { - if (groundingChunksBuilder_ == null) { - return java.util.Collections.unmodifiableList(groundingChunks_); + public java.util.List + getGroundingSupportsList() { + if (groundingSupportsBuilder_ == null) { + return java.util.Collections.unmodifiableList(groundingSupports_); } else { - return groundingChunksBuilder_.getMessageList(); + return groundingSupportsBuilder_.getMessageList(); } } @@ -1560,16 +3015,18 @@ public java.util.List getGroundin * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public int getGroundingChunksCount() { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.size(); + public int getGroundingSupportsCount() { + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.size(); } else { - return groundingChunksBuilder_.getCount(); + return groundingSupportsBuilder_.getCount(); } } @@ -1577,16 +3034,18 @@ public int getGroundingChunksCount() { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1.GroundingChunk getGroundingChunks(int index) { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.get(index); + public com.google.cloud.aiplatform.v1.GroundingSupport getGroundingSupports(int index) { + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.get(index); } else { - return groundingChunksBuilder_.getMessage(index); + return groundingSupportsBuilder_.getMessage(index); } } @@ -1594,22 +3053,24 @@ public com.google.cloud.aiplatform.v1.GroundingChunk getGroundingChunks(int inde * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGroundingChunks( - int index, com.google.cloud.aiplatform.v1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder setGroundingSupports( + int index, com.google.cloud.aiplatform.v1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.set(index, value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.set(index, value); onChanged(); } else { - groundingChunksBuilder_.setMessage(index, value); + groundingSupportsBuilder_.setMessage(index, value); } return this; } @@ -1618,19 +3079,21 @@ public Builder setGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGroundingChunks( - int index, com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.set(index, builderForValue.build()); + public Builder setGroundingSupports( + int index, com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.set(index, builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.setMessage(index, builderForValue.build()); + groundingSupportsBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -1639,21 +3102,23 @@ public Builder setGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks(com.google.cloud.aiplatform.v1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder addGroundingSupports(com.google.cloud.aiplatform.v1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.add(value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(value); onChanged(); } else { - groundingChunksBuilder_.addMessage(value); + groundingSupportsBuilder_.addMessage(value); } return this; } @@ -1662,22 +3127,24 @@ public Builder addGroundingChunks(com.google.cloud.aiplatform.v1.GroundingChunk * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks( - int index, com.google.cloud.aiplatform.v1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder addGroundingSupports( + int index, com.google.cloud.aiplatform.v1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.add(index, value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(index, value); onChanged(); } else { - groundingChunksBuilder_.addMessage(index, value); + groundingSupportsBuilder_.addMessage(index, value); } return this; } @@ -1686,19 +3153,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks( - com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(builderForValue.build()); + public Builder addGroundingSupports( + com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.addMessage(builderForValue.build()); + groundingSupportsBuilder_.addMessage(builderForValue.build()); } return this; } @@ -1707,19 +3176,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks( - int index, com.google.cloud.aiplatform.v1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(index, builderForValue.build()); + public Builder addGroundingSupports( + int index, com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(index, builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.addMessage(index, builderForValue.build()); + groundingSupportsBuilder_.addMessage(index, builderForValue.build()); } return this; } @@ -1728,19 +3199,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAllGroundingChunks( - java.lang.Iterable values) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunks_); + public Builder addAllGroundingSupports( + java.lang.Iterable values) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingSupports_); onChanged(); } else { - groundingChunksBuilder_.addAllMessages(values); + groundingSupportsBuilder_.addAllMessages(values); } return this; } @@ -1749,18 +3222,20 @@ public Builder addAllGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder clearGroundingChunks() { - if (groundingChunksBuilder_ == null) { - groundingChunks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + public Builder clearGroundingSupports() { + if (groundingSupportsBuilder_ == null) { + groundingSupports_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { - groundingChunksBuilder_.clear(); + groundingSupportsBuilder_.clear(); } return this; } @@ -1769,18 +3244,20 @@ public Builder clearGroundingChunks() { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeGroundingChunks(int index) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.remove(index); + public Builder removeGroundingSupports(int index) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.remove(index); onChanged(); } else { - groundingChunksBuilder_.remove(index); + groundingSupportsBuilder_.remove(index); } return this; } @@ -1789,31 +3266,35 @@ public Builder removeGroundingChunks(int index) { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1.GroundingChunk.Builder getGroundingChunksBuilder( + public com.google.cloud.aiplatform.v1.GroundingSupport.Builder getGroundingSupportsBuilder( int index) { - return getGroundingChunksFieldBuilder().getBuilder(index); + return getGroundingSupportsFieldBuilder().getBuilder(index); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( + public com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder getGroundingSupportsOrBuilder( int index) { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.get(index); + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.get(index); } else { - return groundingChunksBuilder_.getMessageOrBuilder(index); + return groundingSupportsBuilder_.getMessageOrBuilder(index); } } @@ -1821,17 +3302,19 @@ public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunks * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getGroundingChunksOrBuilderList() { - if (groundingChunksBuilder_ != null) { - return groundingChunksBuilder_.getMessageOrBuilderList(); + public java.util.List + getGroundingSupportsOrBuilderList() { + if (groundingSupportsBuilder_ != null) { + return groundingSupportsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(groundingChunks_); + return java.util.Collections.unmodifiableList(groundingSupports_); } } @@ -1839,119 +3322,115 @@ public com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder getGroundingChunks * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1.GroundingChunk.Builder addGroundingChunksBuilder() { - return getGroundingChunksFieldBuilder() - .addBuilder(com.google.cloud.aiplatform.v1.GroundingChunk.getDefaultInstance()); + public com.google.cloud.aiplatform.v1.GroundingSupport.Builder addGroundingSupportsBuilder() { + return getGroundingSupportsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.GroundingSupport.getDefaultInstance()); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1.GroundingChunk.Builder addGroundingChunksBuilder( + public com.google.cloud.aiplatform.v1.GroundingSupport.Builder addGroundingSupportsBuilder( int index) { - return getGroundingChunksFieldBuilder() - .addBuilder(index, com.google.cloud.aiplatform.v1.GroundingChunk.getDefaultInstance()); + return getGroundingSupportsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.GroundingSupport.getDefaultInstance()); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getGroundingChunksBuilderList() { - return getGroundingChunksFieldBuilder().getBuilderList(); + public java.util.List + getGroundingSupportsBuilderList() { + return getGroundingSupportsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingChunk, - com.google.cloud.aiplatform.v1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder> - getGroundingChunksFieldBuilder() { - if (groundingChunksBuilder_ == null) { - groundingChunksBuilder_ = + com.google.cloud.aiplatform.v1.GroundingSupport, + com.google.cloud.aiplatform.v1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder> + getGroundingSupportsFieldBuilder() { + if (groundingSupportsBuilder_ == null) { + groundingSupportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingChunk, - com.google.cloud.aiplatform.v1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1.GroundingChunkOrBuilder>( - groundingChunks_, - ((bitField0_ & 0x00000004) != 0), + com.google.cloud.aiplatform.v1.GroundingSupport, + com.google.cloud.aiplatform.v1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder>( + groundingSupports_, + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - groundingChunks_ = null; - } - return groundingChunksBuilder_; - } - - private java.util.List groundingSupports_ = - java.util.Collections.emptyList(); - - private void ensureGroundingSupportsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - groundingSupports_ = - new java.util.ArrayList( - groundingSupports_); - bitField0_ |= 0x00000008; + groundingSupports_ = null; } + return groundingSupportsBuilder_; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingSupport, - com.google.cloud.aiplatform.v1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder> - groundingSupportsBuilder_; + private com.google.cloud.aiplatform.v1.RetrievalMetadata retrievalMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.RetrievalMetadata, + com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder> + retrievalMetadataBuilder_; /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the retrievalMetadata field is set. */ - public java.util.List - getGroundingSupportsList() { - if (groundingSupportsBuilder_ == null) { - return java.util.Collections.unmodifiableList(groundingSupports_); - } else { - return groundingSupportsBuilder_.getMessageList(); - } + public boolean hasRetrievalMetadata() { + return ((bitField0_ & 0x00000010) != 0); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The retrievalMetadata. */ - public int getGroundingSupportsCount() { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.size(); + public com.google.cloud.aiplatform.v1.RetrievalMetadata getRetrievalMetadata() { + if (retrievalMetadataBuilder_ == null) { + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; } else { - return groundingSupportsBuilder_.getCount(); + return retrievalMetadataBuilder_.getMessage(); } } @@ -1959,44 +3438,47 @@ public int getGroundingSupportsCount() { * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.aiplatform.v1.GroundingSupport getGroundingSupports(int index) { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.get(index); + public Builder setRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMetadata value) { + if (retrievalMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + retrievalMetadata_ = value; } else { - return groundingSupportsBuilder_.getMessage(index); + retrievalMetadataBuilder_.setMessage(value); } + bitField0_ |= 0x00000010; + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* - * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setGroundingSupports( - int index, com.google.cloud.aiplatform.v1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.set(index, value); - onChanged(); + * + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setRetrievalMetadata( + com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder builderForValue) { + if (retrievalMetadataBuilder_ == null) { + retrievalMetadata_ = builderForValue.build(); } else { - groundingSupportsBuilder_.setMessage(index, value); + retrievalMetadataBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000010; + onChanged(); return this; } @@ -2004,21 +3486,29 @@ public Builder setGroundingSupports( * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setGroundingSupports( - int index, com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.set(index, builderForValue.build()); - onChanged(); + public Builder mergeRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMetadata value) { + if (retrievalMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && retrievalMetadata_ != null + && retrievalMetadata_ + != com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance()) { + getRetrievalMetadataBuilder().mergeFrom(value); + } else { + retrievalMetadata_ = value; + } } else { - groundingSupportsBuilder_.setMessage(index, builderForValue.build()); + retrievalMetadataBuilder_.mergeFrom(value); + } + if (retrievalMetadata_ != null) { + bitField0_ |= 0x00000010; + onChanged(); } return this; } @@ -2027,24 +3517,21 @@ public Builder setGroundingSupports( * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports(com.google.cloud.aiplatform.v1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(value); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(value); + public Builder clearRetrievalMetadata() { + bitField0_ = (bitField0_ & ~0x00000010); + retrievalMetadata_ = null; + if (retrievalMetadataBuilder_ != null) { + retrievalMetadataBuilder_.dispose(); + retrievalMetadataBuilder_ = null; } + onChanged(); return this; } @@ -2052,335 +3539,377 @@ public Builder addGroundingSupports(com.google.cloud.aiplatform.v1.GroundingSupp * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - int index, com.google.cloud.aiplatform.v1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(index, value); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(index, value); - } - return this; + public com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder getRetrievalMetadataBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getRetrievalMetadataFieldBuilder().getBuilder(); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(builderForValue.build()); - onChanged(); + public com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder + getRetrievalMetadataOrBuilder() { + if (retrievalMetadataBuilder_ != null) { + return retrievalMetadataBuilder_.getMessageOrBuilder(); } else { - groundingSupportsBuilder_.addMessage(builderForValue.build()); + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - int index, com.google.cloud.aiplatform.v1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(index, builderForValue.build()); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(index, builderForValue.build()); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.RetrievalMetadata, + com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder> + getRetrievalMetadataFieldBuilder() { + if (retrievalMetadataBuilder_ == null) { + retrievalMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.RetrievalMetadata, + com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder>( + getRetrievalMetadata(), getParentForChildren(), isClean()); + retrievalMetadata_ = null; } - return this; + return retrievalMetadataBuilder_; } + private java.lang.Object googleMapsWidgetContextToken_ = ""; + /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the googleMapsWidgetContextToken field is set. */ - public Builder addAllGroundingSupports( - java.lang.Iterable values) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingSupports_); - onChanged(); - } else { - groundingSupportsBuilder_.addAllMessages(values); - } - return this; + public boolean hasGoogleMapsWidgetContextToken() { + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The googleMapsWidgetContextToken. */ - public Builder clearGroundingSupports() { - if (groundingSupportsBuilder_ == null) { - groundingSupports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); + public java.lang.String getGoogleMapsWidgetContextToken() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + googleMapsWidgetContextToken_ = s; + return s; } else { - groundingSupportsBuilder_.clear(); + return (java.lang.String) ref; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for googleMapsWidgetContextToken. */ - public Builder removeGroundingSupports(int index) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.remove(index); - onChanged(); + public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsWidgetContextToken_ = b; + return b; } else { - groundingSupportsBuilder_.remove(index); + return (com.google.protobuf.ByteString) ref; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The googleMapsWidgetContextToken to set. + * @return This builder for chaining. */ - public com.google.cloud.aiplatform.v1.GroundingSupport.Builder getGroundingSupportsBuilder( - int index) { - return getGroundingSupportsFieldBuilder().getBuilder(index); + public Builder setGoogleMapsWidgetContextToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + googleMapsWidgetContextToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ - public com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder getGroundingSupportsOrBuilder( - int index) { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.get(index); - } else { - return groundingSupportsBuilder_.getMessageOrBuilder(index); - } + public Builder clearGoogleMapsWidgetContextToken() { + googleMapsWidgetContextToken_ = getDefaultInstance().getGoogleMapsWidgetContextToken(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for googleMapsWidgetContextToken to set. + * @return This builder for chaining. */ - public java.util.List - getGroundingSupportsOrBuilderList() { - if (groundingSupportsBuilder_ != null) { - return groundingSupportsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(groundingSupports_); + public Builder setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleMapsWidgetContextToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.util.List + sourceFlaggingUris_ = java.util.Collections.emptyList(); + + private void ensureSourceFlaggingUrisIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + sourceFlaggingUris_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri>( + sourceFlaggingUris_); + bitField0_ |= 0x00000040; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder> + sourceFlaggingUrisBuilder_; + /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1.GroundingSupport.Builder addGroundingSupportsBuilder() { - return getGroundingSupportsFieldBuilder() - .addBuilder(com.google.cloud.aiplatform.v1.GroundingSupport.getDefaultInstance()); + public java.util.List + getSourceFlaggingUrisList() { + if (sourceFlaggingUrisBuilder_ == null) { + return java.util.Collections.unmodifiableList(sourceFlaggingUris_); + } else { + return sourceFlaggingUrisBuilder_.getMessageList(); + } } /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1.GroundingSupport.Builder addGroundingSupportsBuilder( - int index) { - return getGroundingSupportsFieldBuilder() - .addBuilder(index, com.google.cloud.aiplatform.v1.GroundingSupport.getDefaultInstance()); + public int getSourceFlaggingUrisCount() { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.size(); + } else { + return sourceFlaggingUrisBuilder_.getCount(); + } } /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public java.util.List - getGroundingSupportsBuilderList() { - return getGroundingSupportsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingSupport, - com.google.cloud.aiplatform.v1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder> - getGroundingSupportsFieldBuilder() { - if (groundingSupportsBuilder_ == null) { - groundingSupportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1.GroundingSupport, - com.google.cloud.aiplatform.v1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1.GroundingSupportOrBuilder>( - groundingSupports_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - groundingSupports_ = null; + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri getSourceFlaggingUris( + int index) { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.get(index); + } else { + return sourceFlaggingUrisBuilder_.getMessage(index); } - return groundingSupportsBuilder_; } - private com.google.cloud.aiplatform.v1.RetrievalMetadata retrievalMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.RetrievalMetadata, - com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder> - retrievalMetadataBuilder_; - /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return Whether the retrievalMetadata field is set. */ - public boolean hasRetrievalMetadata() { - return ((bitField0_ & 0x00000010) != 0); + public Builder setSourceFlaggingUris( + int index, com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.set(index, value); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.setMessage(index, value); + } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The retrievalMetadata. */ - public com.google.cloud.aiplatform.v1.RetrievalMetadata getRetrievalMetadata() { - if (retrievalMetadataBuilder_ == null) { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; + public Builder setSourceFlaggingUris( + int index, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.set(index, builderForValue.build()); + onChanged(); } else { - return retrievalMetadataBuilder_.getMessage(); + sourceFlaggingUrisBuilder_.setMessage(index, builderForValue.build()); } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder setRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMetadata value) { - if (retrievalMetadataBuilder_ == null) { + public Builder addSourceFlaggingUris( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - retrievalMetadata_ = value; + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(value); + onChanged(); } else { - retrievalMetadataBuilder_.setMessage(value); + sourceFlaggingUrisBuilder_.addMessage(value); } - bitField0_ |= 0x00000010; - onChanged(); return this; } @@ -2388,22 +3917,26 @@ public Builder setRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMeta * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder setRetrievalMetadata( - com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder builderForValue) { - if (retrievalMetadataBuilder_ == null) { - retrievalMetadata_ = builderForValue.build(); + public Builder addSourceFlaggingUris( + int index, com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(index, value); + onChanged(); } else { - retrievalMetadataBuilder_.setMessage(builderForValue.build()); + sourceFlaggingUrisBuilder_.addMessage(index, value); } - bitField0_ |= 0x00000010; - onChanged(); return this; } @@ -2411,29 +3944,23 @@ public Builder setRetrievalMetadata( * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder mergeRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMetadata value) { - if (retrievalMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && retrievalMetadata_ != null - && retrievalMetadata_ - != com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance()) { - getRetrievalMetadataBuilder().mergeFrom(value); - } else { - retrievalMetadata_ = value; - } - } else { - retrievalMetadataBuilder_.mergeFrom(value); - } - if (retrievalMetadata_ != null) { - bitField0_ |= 0x00000010; + public Builder addSourceFlaggingUris( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(builderForValue.build()); onChanged(); + } else { + sourceFlaggingUrisBuilder_.addMessage(builderForValue.build()); } return this; } @@ -2442,21 +3969,25 @@ public Builder mergeRetrievalMetadata(com.google.cloud.aiplatform.v1.RetrievalMe * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder clearRetrievalMetadata() { - bitField0_ = (bitField0_ & ~0x00000010); - retrievalMetadata_ = null; - if (retrievalMetadataBuilder_ != null) { - retrievalMetadataBuilder_.dispose(); - retrievalMetadataBuilder_ = null; + public Builder addSourceFlaggingUris( + int index, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(index, builderForValue.build()); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.addMessage(index, builderForValue.build()); } - onChanged(); return this; } @@ -2464,114 +3995,109 @@ public Builder clearRetrievalMetadata() { * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder getRetrievalMetadataBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getRetrievalMetadataFieldBuilder().getBuilder(); + public Builder addAllSourceFlaggingUris( + java.lang.Iterable< + ? extends com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri> + values) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourceFlaggingUris_); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.addAllMessages(values); + } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder - getRetrievalMetadataOrBuilder() { - if (retrievalMetadataBuilder_ != null) { - return retrievalMetadataBuilder_.getMessageOrBuilder(); + public Builder clearSourceFlaggingUris() { + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUris_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); } else { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; + sourceFlaggingUrisBuilder_.clear(); } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.RetrievalMetadata, - com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder> - getRetrievalMetadataFieldBuilder() { - if (retrievalMetadataBuilder_ == null) { - retrievalMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.RetrievalMetadata, - com.google.cloud.aiplatform.v1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1.RetrievalMetadataOrBuilder>( - getRetrievalMetadata(), getParentForChildren(), isClean()); - retrievalMetadata_ = null; + public Builder removeSourceFlaggingUris(int index) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.remove(index); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.remove(index); } - return retrievalMetadataBuilder_; + return this; } - private java.lang.Object googleMapsWidgetContextToken_ = ""; - /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return Whether the googleMapsWidgetContextToken field is set. */ - public boolean hasGoogleMapsWidgetContextToken() { - return ((bitField0_ & 0x00000020) != 0); + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + getSourceFlaggingUrisBuilder(int index) { + return getSourceFlaggingUrisFieldBuilder().getBuilder(index); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The googleMapsWidgetContextToken. */ - public java.lang.String getGoogleMapsWidgetContextToken() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - googleMapsWidgetContextToken_ = s; - return s; + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index) { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.get(index); } else { - return (java.lang.String) ref; + return sourceFlaggingUrisBuilder_.getMessageOrBuilder(index); } } @@ -2579,26 +4105,21 @@ public java.lang.String getGoogleMapsWidgetContextToken() { * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The bytes for googleMapsWidgetContextToken. */ - public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - googleMapsWidgetContextToken_ = b; - return b; + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList() { + if (sourceFlaggingUrisBuilder_ != null) { + return sourceFlaggingUrisBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(sourceFlaggingUris_); } } @@ -2606,75 +4127,79 @@ public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @param value The googleMapsWidgetContextToken to set. - * @return This builder for chaining. */ - public Builder setGoogleMapsWidgetContextToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - googleMapsWidgetContextToken_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + addSourceFlaggingUrisBuilder() { + return getSourceFlaggingUrisFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return This builder for chaining. */ - public Builder clearGoogleMapsWidgetContextToken() { - googleMapsWidgetContextToken_ = getDefaultInstance().getGoogleMapsWidgetContextToken(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; + public com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder + addSourceFlaggingUrisBuilder(int index) { + return getSourceFlaggingUrisFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @param value The bytes for googleMapsWidgetContextToken to set. - * @return This builder for chaining. */ - public Builder setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public java.util.List< + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder> + getSourceFlaggingUrisBuilderList() { + return getSourceFlaggingUrisFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisFieldBuilder() { + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUrisBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder>( + sourceFlaggingUris_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + sourceFlaggingUris_ = null; } - checkByteStringIsUtf8(value); - googleMapsWidgetContextToken_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; + return sourceFlaggingUrisBuilder_; } @java.lang.Override diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadataOrBuilder.java index c8f5cedb96a5..ef6f664b4301 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadataOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GroundingMetadataOrBuilder.java @@ -336,4 +336,79 @@ public interface GroundingMetadataOrBuilder * @return The bytes for googleMapsWidgetContextToken. */ com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + java.util.List + getSourceFlaggingUrisList(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri getSourceFlaggingUris( + int index); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + int getSourceFlaggingUrisCount(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + java.util.List< + ? extends com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java index c914a5418e92..bcc7bd45195f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java @@ -96,7 +96,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001:u\352Ar\n" + "\'aiplatform.googleapis.com/IndexEndpoint\022Gproject" - + "s/{project}/locations/{location}/indexEndpoints/{index_endpoint}\"\233\006\n\r" + + "s/{project}/locations/{location}/indexEndpoints/{index_endpoint}\"\263\007\n\r" + "DeployedIndex\022\017\n" + "\002id\030\001 \001(\tB\003\340A\002\0226\n" + "\005index\030\002 \001(\tB\'\340A\002\372A!\n" @@ -117,25 +117,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\01323.google.cloud.aiplatform.v1.DeployedIndexAuthConfigB\003\340A\001\022\037\n" + "\022reserved_ip_ranges\030\n" + " \003(\tB\003\340A\001\022\035\n" - + "\020deployment_group\030\013 \001(\tB\003\340A\001\022T\n" + + "\020deployment_group\030\013 \001(\tB\003\340A\001\022V\n" + + "\017deployment_tier\030\022 \001(" + + "\01628.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTierB\003\340A\001\022T\n" + "\026psc_automation_configs\030\023" - + " \003(\0132/.google.cloud.aiplatform.v1.PSCAutomationConfigB\003\340A\001\"\256\001\n" + + " \003(\0132/.google.cloud.aiplatform.v1.PSCAutomationConfigB\003\340A\001\">\n" + + "\016DeploymentTier\022\037\n" + + "\033DEPLOYMENT_TIER_UNSPECIFIED\020\000\022\013\n" + + "\007STORAGE\020\002\"\256\001\n" + "\027DeployedIndexAuthConfig\022W\n\r" - + "auth_provider\030\001 \001(\0132@.goog" - + "le.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider\032:\n" + + "auth_provider\030\001 \001(\0132@.google.cloud" + + ".aiplatform.v1.DeployedIndexAuthConfig.AuthProvider\032:\n" + "\014AuthProvider\022\021\n" + "\taudiences\030\001 \003(\t\022\027\n" + "\017allowed_issuers\030\002 \003(\t\"\262\001\n" + "\025IndexPrivateEndpoints\022\037\n" + "\022match_grpc_address\030\001 \001(\tB\003\340A\003\022\037\n" + "\022service_attachment\030\002 \001(\tB\003\340A\003\022W\n" - + "\027psc_automated_endpoints\030\003" - + " \003(\01321.google.cloud.aiplatform.v1.PscAutomatedEndpointsB\003\340A\003B\320\001\n" - + "\036com.google.cloud.aiplatform.v1B\022IndexEndpointProtoP\001Z>c" - + "loud.google.com/go/aiplatform/apiv1/aipl" - + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" - + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" - + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "\027psc_automated_endpoints\030\003 \003(\01321.g" + + "oogle.cloud.aiplatform.v1.PscAutomatedEndpointsB\003\340A\003B\320\001\n" + + "\036com.google.cloud.aiplatform.v1B\022IndexEndpointProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -198,6 +203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeployedIndexAuthConfig", "ReservedIpRanges", "DeploymentGroup", + "DeploymentTier", "PscAutomationConfigs", }); internal_static_google_cloud_aiplatform_v1_DeployedIndexAuthConfig_descriptor = diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequest.java index 54b7c9b4b616..ab87e0d157f1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequest.java @@ -56,6 +56,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -309,6 +321,117 @@ public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() { return parameters_ == null ? com.google.protobuf.Value.getDefaultInstance() : parameters_; } + public static final int LABELS_FIELD_NUMBER = 4; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1.PredictionServiceProto + .internal_static_google_cloud_aiplatform_v1_PredictRequest_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(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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 @@ -332,6 +455,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getParameters()); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -350,6 +475,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getParameters()); } + 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(4, labels__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -372,6 +507,7 @@ public boolean equals(final java.lang.Object obj) { if (hasParameters()) { if (!getParameters().equals(other.getParameters())) return false; } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,6 +529,10 @@ public int hashCode() { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParameters().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; @@ -513,6 +653,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -557,6 +719,7 @@ public Builder clear() { parametersBuilder_.dispose(); parametersBuilder_ = null; } + internalGetMutableLabels().clear(); return this; } @@ -614,6 +777,10 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.PredictRequest result) result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } result.bitField0_ |= to_bitField0_; } @@ -697,6 +864,8 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PredictRequest other) { if (other.hasParameters()) { mergeParameters(other.getParameters()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -747,6 +916,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1664,6 +1845,185 @@ public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() { return parametersBuilder_; } + 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_ |= 0x00000008; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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_ & ~0x00000008); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00000008; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00000008; + return this; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000008; + 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/PredictRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestOrBuilder.java index d7a6584ebd0b..703cf11dfd45 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestOrBuilder.java @@ -206,4 +206,72 @@ public interface PredictRequestOrBuilder * .google.protobuf.Value parameters = 3; */ com.google.protobuf.ValueOrBuilder getParametersOrBuilder(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java index 2a397a88a389..89d292cdaa3f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java @@ -32,6 +32,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_PredictRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_PredictRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_PredictRequest_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_PredictResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -137,238 +141,243 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n3google/cloud/aiplatform/v1/prediction_" - + "service.proto\022\032google.cloud.aiplatform.v" + "\n" + + "3google/cloud/aiplatform/v1/prediction_service.proto\022\032google.cloud.aiplatform.v" + "1\032\034google/api/annotations.proto\032\027google/" + "api/client.proto\032\037google/api/field_behav" + "ior.proto\032\031google/api/httpbody.proto\032\031go" - + "ogle/api/resource.proto\032(google/cloud/ai" - + "platform/v1/content.proto\032,google/cloud/" - + "aiplatform/v1/explanation.proto\032%google/" - + "cloud/aiplatform/v1/tool.proto\032&google/c" + + "ogle/api/resource.proto\032(google/cloud/aiplatform/v1/content.proto\032,google/cloud/" + + "aiplatform/v1/explanation.proto\032%google/cloud/aiplatform/v1/tool.proto\032&google/c" + "loud/aiplatform/v1/types.proto\032\034google/p" - + "rotobuf/struct.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\252\001\n\016PredictRequest\022<\n\010endp" - + "oint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapi" - + "s.com/Endpoint\022.\n\tinstances\030\002 \003(\0132\026.goog" - + "le.protobuf.ValueB\003\340A\002\022*\n\nparameters\030\003 \001" - + "(\0132\026.google.protobuf.Value\"\200\002\n\017PredictRe" - + "sponse\022+\n\013predictions\030\001 \003(\0132\026.google.pro" - + "tobuf.Value\022\031\n\021deployed_model_id\030\002 \001(\t\0226" - + "\n\005model\030\003 \001(\tB\'\340A\003\372A!\n\037aiplatform.google" - + "apis.com/Model\022\035\n\020model_version_id\030\005 \001(\t" - + "B\003\340A\003\022\037\n\022model_display_name\030\004 \001(\tB\003\340A\003\022-" - + "\n\010metadata\030\006 \001(\0132\026.google.protobuf.Value" - + "B\003\340A\003\"z\n\021RawPredictRequest\022<\n\010endpoint\030\001" - + " \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/" - + "Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024.google.api" - + ".HttpBody\"\200\001\n\027StreamRawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.goog" - + "leapis.com/Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024" - + ".google.api.HttpBody\"\300\001\n\024DirectPredictRe" - + "quest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatf" - + "orm.googleapis.com/Endpoint\0222\n\006inputs\030\002 " - + "\003(\0132\".google.cloud.aiplatform.v1.Tensor\022" - + "6\n\nparameters\030\003 \001(\0132\".google.cloud.aipla" - + "tform.v1.Tensor\"\204\001\n\025DirectPredictRespons" - + "e\0223\n\007outputs\030\001 \003(\0132\".google.cloud.aiplat" - + "form.v1.Tensor\0226\n\nparameters\030\002 \001(\0132\".goo" - + "gle.cloud.aiplatform.v1.Tensor\"{\n\027Direct" - + "RawPredictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002" - + "\372A$\n\"aiplatform.googleapis.com/Endpoint\022" - + "\023\n\013method_name\030\002 \001(\t\022\r\n\005input\030\003 \001(\014\"*\n\030D" - + "irectRawPredictResponse\022\016\n\006output\030\001 \001(\014\"" - + "\320\001\n\032StreamDirectPredictRequest\022<\n\010endpoi" - + "nt\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis." - + "com/Endpoint\0227\n\006inputs\030\002 \003(\0132\".google.cl" - + "oud.aiplatform.v1.TensorB\003\340A\001\022;\n\nparamet" - + "ers\030\003 \001(\0132\".google.cloud.aiplatform.v1.T" - + "ensorB\003\340A\001\"\212\001\n\033StreamDirectPredictRespon" - + "se\0223\n\007outputs\030\001 \003(\0132\".google.cloud.aipla" - + "tform.v1.Tensor\0226\n\nparameters\030\002 \001(\0132\".go" - + "ogle.cloud.aiplatform.v1.Tensor\"\213\001\n\035Stre" - + "amDirectRawPredictRequest\022<\n\010endpoint\030\001 " - + "\001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/E" - + "ndpoint\022\030\n\013method_name\030\002 \001(\tB\003\340A\001\022\022\n\005inp" - + "ut\030\003 \001(\014B\003\340A\001\"0\n\036StreamDirectRawPredictR" - + "esponse\022\016\n\006output\030\001 \001(\014\"\303\001\n\027StreamingPre" - + "dictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"a" - + "iplatform.googleapis.com/Endpoint\0222\n\006inp" - + "uts\030\002 \003(\0132\".google.cloud.aiplatform.v1.T" - + "ensor\0226\n\nparameters\030\003 \001(\0132\".google.cloud" - + ".aiplatform.v1.Tensor\"\207\001\n\030StreamingPredi" - + "ctResponse\0223\n\007outputs\030\001 \003(\0132\".google.clo" - + "ud.aiplatform.v1.Tensor\0226\n\nparameters\030\002 " - + "\001(\0132\".google.cloud.aiplatform.v1.Tensor\"" - + "~\n\032StreamingRawPredictRequest\022<\n\010endpoin" - + "t\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.c" - + "om/Endpoint\022\023\n\013method_name\030\002 \001(\t\022\r\n\005inpu" - + "t\030\003 \001(\014\"-\n\033StreamingRawPredictResponse\022\016" - + "\n\006output\030\001 \001(\014\"\235\002\n\016ExplainRequest\022<\n\010end" - + "point\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleap" - + "is.com/Endpoint\022.\n\tinstances\030\002 \003(\0132\026.goo" - + "gle.protobuf.ValueB\003\340A\002\022*\n\nparameters\030\004 " - + "\001(\0132\026.google.protobuf.Value\022V\n\031explanati" - + "on_spec_override\030\005 \001(\01323.google.cloud.ai" - + "platform.v1.ExplanationSpecOverride\022\031\n\021d" - + "eployed_model_id\030\003 \001(\t\"\230\001\n\017ExplainRespon" - + "se\022=\n\014explanations\030\001 \003(\0132\'.google.cloud." - + "aiplatform.v1.Explanation\022\031\n\021deployed_mo" - + "del_id\030\002 \001(\t\022+\n\013predictions\030\003 \003(\0132\026.goog" - + "le.protobuf.Value\"\323\003\n\022CountTokensRequest" - + "\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.g" - + "oogleapis.com/Endpoint\022\022\n\005model\030\003 \001(\tB\003\340" - + "A\001\022.\n\tinstances\030\002 \003(\0132\026.google.protobuf." - + "ValueB\003\340A\001\022:\n\010contents\030\004 \003(\0132#.google.cl" - + "oud.aiplatform.v1.ContentB\003\340A\001\022I\n\022system" - + "_instruction\030\005 \001(\0132#.google.cloud.aiplat" - + "form.v1.ContentB\003\340A\001H\000\210\001\001\0224\n\005tools\030\006 \003(\013" - + "2 .google.cloud.aiplatform.v1.ToolB\003\340A\001\022" - + "Q\n\021generation_config\030\007 \001(\0132,.google.clou" - + "d.aiplatform.v1.GenerationConfigB\003\340A\001H\001\210" - + "\001\001B\025\n\023_system_instructionB\024\n\022_generation" - + "_config\"\242\001\n\023CountTokensResponse\022\024\n\014total" - + "_tokens\030\001 \001(\005\022!\n\031total_billable_characte" - + "rs\030\002 \001(\005\022R\n\025prompt_tokens_details\030\003 \003(\0132" - + "..google.cloud.aiplatform.v1.ModalityTok" - + "enCountB\003\340A\003\"\365\005\n\026GenerateContentRequest\022" - + "\022\n\005model\030\005 \001(\tB\003\340A\002\022:\n\010contents\030\002 \003(\0132#." - + "google.cloud.aiplatform.v1.ContentB\003\340A\002\022" - + "I\n\022system_instruction\030\010 \001(\0132#.google.clo" - + "ud.aiplatform.v1.ContentB\003\340A\001H\000\210\001\001\022G\n\016ca" - + "ched_content\030\t \001(\tB/\340A\001\372A)\n\'aiplatform.g" - + "oogleapis.com/CachedContent\0224\n\005tools\030\006 \003" - + "(\0132 .google.cloud.aiplatform.v1.ToolB\003\340A" - + "\001\022@\n\013tool_config\030\007 \001(\0132&.google.cloud.ai" - + "platform.v1.ToolConfigB\003\340A\001\022S\n\006labels\030\n " - + "\003(\0132>.google.cloud.aiplatform.v1.Generat" - + "eContentRequest.LabelsEntryB\003\340A\001\022G\n\017safe" - + "ty_settings\030\003 \003(\0132).google.cloud.aiplatf" - + "orm.v1.SafetySettingB\003\340A\001\022M\n\022model_armor" - + "_config\030\013 \001(\0132,.google.cloud.aiplatform." - + "v1.ModelArmorConfigB\003\340A\001\022L\n\021generation_c" - + "onfig\030\004 \001(\0132,.google.cloud.aiplatform.v1" - + ".GenerationConfigB\003\340A\001\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\025\n\023_system" - + "_instruction\"\240\t\n\027GenerateContentResponse" - + "\022>\n\ncandidates\030\002 \003(\0132%.google.cloud.aipl" - + "atform.v1.CandidateB\003\340A\003\022\032\n\rmodel_versio" - + "n\030\013 \001(\tB\003\340A\003\0224\n\013create_time\030\014 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022\030\n\013response_i" - + "d\030\r \001(\tB\003\340A\003\022`\n\017prompt_feedback\030\003 \001(\0132B." - + "google.cloud.aiplatform.v1.GenerateConte" - + "ntResponse.PromptFeedbackB\003\340A\003\022Y\n\016usage_" - + "metadata\030\004 \001(\0132A.google.cloud.aiplatform" - + ".v1.GenerateContentResponse.UsageMetadat" - + "a\032\347\002\n\016PromptFeedback\022k\n\014block_reason\030\001 \001" - + "(\0162P.google.cloud.aiplatform.v1.Generate" - + "ContentResponse.PromptFeedback.BlockedRe" - + "asonB\003\340A\003\022E\n\016safety_ratings\030\002 \003(\0132(.goog" - + "le.cloud.aiplatform.v1.SafetyRatingB\003\340A\003" - + "\022!\n\024block_reason_message\030\003 \001(\tB\003\340A\003\"~\n\rB" - + "lockedReason\022\036\n\032BLOCKED_REASON_UNSPECIFI" - + "ED\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\022\r\n\tBLOCKLIST" - + "\020\003\022\026\n\022PROHIBITED_CONTENT\020\004\022\017\n\013MODEL_ARMO" - + "R\020\005\032\261\003\n\rUsageMetadata\022\032\n\022prompt_token_co" - + "unt\030\001 \001(\005\022\036\n\026candidates_token_count\030\002 \001(" - + "\005\022!\n\024thoughts_token_count\030\016 \001(\005B\003\340A\003\022\031\n\021" - + "total_token_count\030\003 \001(\005\022\'\n\032cached_conten" - + "t_token_count\030\005 \001(\005B\003\340A\003\022R\n\025prompt_token" - + "s_details\030\t \003(\0132..google.cloud.aiplatfor" - + "m.v1.ModalityTokenCountB\003\340A\003\022Q\n\024cache_to" - + "kens_details\030\n \003(\0132..google.cloud.aiplat" - + "form.v1.ModalityTokenCountB\003\340A\003\022V\n\031candi" - + "dates_tokens_details\030\013 \003(\0132..google.clou" - + "d.aiplatform.v1.ModalityTokenCountB\003\340A\0032" - + "\362\031\n\021PredictionService\022\224\002\n\007Predict\022*.goog" - + "le.cloud.aiplatform.v1.PredictRequest\032+." - + "google.cloud.aiplatform.v1.PredictRespon" - + "se\"\257\001\332A\035endpoint,instances,parameters\202\323\344" - + "\223\002\210\001\"9/v1/{endpoint=projects/*/locations" - + "/*/endpoints/*}:predict:\001*ZH\"C/v1/{endpo" - + "int=projects/*/locations/*/publishers/*/" - + "models/*}:predict:\001*\022\376\001\n\nRawPredict\022-.go" - + "ogle.cloud.aiplatform.v1.RawPredictReque" - + "st\032\024.google.api.HttpBody\"\252\001\332A\022endpoint,h" - + "ttp_body\202\323\344\223\002\216\001\"\"9/v1/{endpoint=projects/*/location" - + "s/*/endpoints/*}:explain:\001*\022\215\003\n\017Generate" - + "Content\0222.google.cloud.aiplatform.v1.Gen" - + "erateContentRequest\0323.google.cloud.aipla" - + "tform.v1.GenerateContentResponse\"\220\002\332A\016mo" - + "del,contents\202\323\344\223\002\370\001\">/v1/{model=projects" - + "/*/locations/*/endpoints/*}:generateCont" - + "ent:\001*ZM\"H/v1/{model=projects/*/location" - + "s/*/publishers/*/models/*}:generateConte" - + "nt:\001*Z,\"\'/v1/{model=endpoints/*}:generat" - + "eContent:\001*Z6\"1/v1/{model=publishers/*/m" - + "odels/*}:generateContent:\001*\022\255\003\n\025StreamGe" - + "nerateContent\0222.google.cloud.aiplatform." - + "v1.GenerateContentRequest\0323.google.cloud" - + ".aiplatform.v1.GenerateContentResponse\"\250" - + "\002\332A\016model,contents\202\323\344\223\002\220\002\"D/v1/{model=pr" - + "ojects/*/locations/*/endpoints/*}:stream" - + "GenerateContent:\001*ZS\"N/v1/{model=project" - + "s/*/locations/*/publishers/*/models/*}:s" - + "treamGenerateContent:\001*Z2\"-/v1/{model=en" - + "dpoints/*}:streamGenerateContent:\001*Z<\"7/" - + "v1/{model=publishers/*/models/*}:streamG" - + "enerateContent:\001*0\001\032\206\001\312A\031aiplatform.goog" - + "leapis.com\322Aghttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-onlyB\324\001\n" - + "\036com.google.cloud.aiplatform.v1B\026Predict" - + "ionServiceProtoP\001Z>cloud.google.com/go/a" - + "iplatform/apiv1/aiplatformpb;aiplatformp" - + "b\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" - + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIP" - + "latform::V1b\006proto3" + + "rotobuf/struct.proto\032\037google/protobuf/timestamp.proto\"\246\002\n" + + "\016PredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022.\n" + + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002\022*\n\n" + + "parameters\030\003 \001(\0132\026.google.protobuf.Value\022K\n" + + "\006labels\030\004 \003" + + "(\01326.google.cloud.aiplatform.v1.PredictRequest.LabelsEntryB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"\200\002\n" + + "\017PredictResponse\022+\n" + + "\013predictions\030\001 \003(\0132\026.google.protobuf.Value\022\031\n" + + "\021deployed_model_id\030\002 \001(\t\0226\n" + + "\005model\030\003 \001(\tB\'\340A\003\372A!\n" + + "\037aiplatform.googleapis.com/Model\022\035\n" + + "\020model_version_id\030\005 \001(\tB\003\340A\003\022\037\n" + + "\022model_display_name\030\004 \001(\tB\003\340A\003\022-\n" + + "\010metadata\030\006 \001(\0132\026.google.protobuf.ValueB\003\340A\003\"z\n" + + "\021RawPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\'\n" + + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBody\"\200\001\n" + + "\027StreamRawPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\'\n" + + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBody\"\300\001\n" + + "\024DirectPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\0222\n" + + "\006inputs\030\002 \003(\0132\".google.cloud.aiplatform.v1.Tensor\0226\n\n" + + "parameters\030\003 \001(\0132\".google.cloud.aiplatform.v1.Tensor\"\204\001\n" + + "\025DirectPredictResponse\0223\n" + + "\007outputs\030\001 \003(\0132\".google.cloud.aiplatform.v1.Tensor\0226\n\n" + + "parameters\030\002 \001(\0132\".google.cloud.aiplatform.v1.Tensor\"{\n" + + "\027DirectRawPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\023\n" + + "\013method_name\030\002 \001(\t\022\r\n" + + "\005input\030\003 \001(\014\"*\n" + + "\030DirectRawPredictResponse\022\016\n" + + "\006output\030\001 \001(\014\"\320\001\n" + + "\032StreamDirectPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\0227\n" + + "\006inputs\030\002" + + " \003(\0132\".google.cloud.aiplatform.v1.TensorB\003\340A\001\022;\n\n" + + "parameters\030\003" + + " \001(\0132\".google.cloud.aiplatform.v1.TensorB\003\340A\001\"\212\001\n" + + "\033StreamDirectPredictResponse\0223\n" + + "\007outputs\030\001 \003(\0132\".google.cloud.aiplatform.v1.Tensor\0226\n\n" + + "parameters\030\002 \001(\0132\".google.cloud.aiplatform.v1.Tensor\"\213\001\n" + + "\035StreamDirectRawPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\030\n" + + "\013method_name\030\002 \001(\tB\003\340A\001\022\022\n" + + "\005input\030\003 \001(\014B\003\340A\001\"0\n" + + "\036StreamDirectRawPredictResponse\022\016\n" + + "\006output\030\001 \001(\014\"\303\001\n" + + "\027StreamingPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\0222\n" + + "\006inputs\030\002 \003(\0132\".google.cloud.aiplatform.v1.Tensor\0226\n\n" + + "parameters\030\003 \001(\0132\".google.cloud.aiplatform.v1.Tensor\"\207\001\n" + + "\030StreamingPredictResponse\0223\n" + + "\007outputs\030\001 \003(\0132\".google.cloud.aiplatform.v1.Tensor\0226\n\n" + + "parameters\030\002 \001(\0132\".google.cloud.aiplatform.v1.Tensor\"~\n" + + "\032StreamingRawPredictRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\023\n" + + "\013method_name\030\002 \001(\t\022\r\n" + + "\005input\030\003 \001(\014\"-\n" + + "\033StreamingRawPredictResponse\022\016\n" + + "\006output\030\001 \001(\014\"\235\002\n" + + "\016ExplainRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022.\n" + + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002\022*\n\n" + + "parameters\030\004 \001(\0132\026.google.protobuf.Value\022V\n" + + "\031explanation_spec_override\030\005 \001(\01323.google.clou" + + "d.aiplatform.v1.ExplanationSpecOverride\022\031\n" + + "\021deployed_model_id\030\003 \001(\t\"\230\001\n" + + "\017ExplainResponse\022=\n" + + "\014explanations\030\001 \003(\0132\'.google.cloud.aiplatform.v1.Explanation\022\031\n" + + "\021deployed_model_id\030\002 \001(\t\022+\n" + + "\013predictions\030\003 \003(\0132\026.google.protobuf.Value\"\323\003\n" + + "\022CountTokensRequest\022<\n" + + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022\022\n" + + "\005model\030\003 \001(\tB\003\340A\001\022.\n" + + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\001\022:\n" + + "\010contents\030\004" + + " \003(\0132#.google.cloud.aiplatform.v1.ContentB\003\340A\001\022I\n" + + "\022system_instruction\030\005" + + " \001(\0132#.google.cloud.aiplatform.v1.ContentB\003\340A\001H\000\210\001\001\0224\n" + + "\005tools\030\006 \003(\0132 .google.cloud.aiplatform.v1.ToolB\003\340A\001\022Q\n" + + "\021generation_config\030\007 \001(\0132,.google." + + "cloud.aiplatform.v1.GenerationConfigB\003\340A\001H\001\210\001\001B\025\n" + + "\023_system_instructionB\024\n" + + "\022_generation_config\"\242\001\n" + + "\023CountTokensResponse\022\024\n" + + "\014total_tokens\030\001 \001(\005\022!\n" + + "\031total_billable_characters\030\002 \001(\005\022R\n" + + "\025prompt_tokens_details\030\003 " + + "\003(\0132..google.cloud.aiplatform.v1.ModalityTokenCountB\003\340A\003\"\365\005\n" + + "\026GenerateContentRequest\022\022\n" + + "\005model\030\005 \001(\tB\003\340A\002\022:\n" + + "\010contents\030\002 \003(" + + "\0132#.google.cloud.aiplatform.v1.ContentB\003\340A\002\022I\n" + + "\022system_instruction\030\010 \001(\0132#.google" + + ".cloud.aiplatform.v1.ContentB\003\340A\001H\000\210\001\001\022G\n" + + "\016cached_content\030\t \001(\tB/\340A\001\372A)\n" + + "\'aiplatform.googleapis.com/CachedContent\0224\n" + + "\005tools\030\006 \003(\0132 .google.cloud.aiplatform.v1.ToolB\003\340A\001\022@\n" + + "\013tool_config\030\007" + + " \001(\0132&.google.cloud.aiplatform.v1.ToolConfigB\003\340A\001\022S\n" + + "\006labels\030\n" + + " \003(\0132>.google.cloud.aiplatform.v1.GenerateContentRequest.LabelsEntryB\003\340A\001\022G\n" + + "\017safety_settings\030\003" + + " \003(\0132).google.cloud.aiplatform.v1.SafetySettingB\003\340A\001\022M\n" + + "\022model_armor_config\030\013" + + " \001(\0132,.google.cloud.aiplatform.v1.ModelArmorConfigB\003\340A\001\022L\n" + + "\021generation_config\030\004" + + " \001(\0132,.google.cloud.aiplatform.v1.GenerationConfigB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001B\025\n" + + "\023_system_instruction\"\240\t\n" + + "\027GenerateContentResponse\022>\n\n" + + "candidates\030\002" + + " \003(\0132%.google.cloud.aiplatform.v1.CandidateB\003\340A\003\022\032\n\r" + + "model_version\030\013 \001(\tB\003\340A\003\0224\n" + + "\013create_time\030\014" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\030\n" + + "\013response_id\030\r" + + " \001(\tB\003\340A\003\022`\n" + + "\017prompt_feedback\030\003 \001(" + + "\0132B.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedbackB\003\340A\003\022Y\n" + + "\016usage_metadata\030\004 \001(\0132A.google.cloud.aiplat" + + "form.v1.GenerateContentResponse.UsageMetadata\032\347\002\n" + + "\016PromptFeedback\022k\n" + + "\014block_reason\030\001 \001(\0162P.google.cloud.aiplatform.v1.Gene" + + "rateContentResponse.PromptFeedback.BlockedReasonB\003\340A\003\022E\n" + + "\016safety_ratings\030\002 \003(\0132(." + + "google.cloud.aiplatform.v1.SafetyRatingB\003\340A\003\022!\n" + + "\024block_reason_message\030\003 \001(\tB\003\340A\003\"~\n\r" + + "BlockedReason\022\036\n" + + "\032BLOCKED_REASON_UNSPECIFIED\020\000\022\n\n" + + "\006SAFETY\020\001\022\t\n" + + "\005OTHER\020\002\022\r\n" + + "\tBLOCKLIST\020\003\022\026\n" + + "\022PROHIBITED_CONTENT\020\004\022\017\n" + + "\013MODEL_ARMOR\020\005\032\261\003\n\r" + + "UsageMetadata\022\032\n" + + "\022prompt_token_count\030\001 \001(\005\022\036\n" + + "\026candidates_token_count\030\002 \001(\005\022!\n" + + "\024thoughts_token_count\030\016 \001(\005B\003\340A\003\022\031\n" + + "\021total_token_count\030\003 \001(\005\022\'\n" + + "\032cached_content_token_count\030\005 \001(\005B\003\340A\003\022R\n" + + "\025prompt_tokens_details\030\t" + + " \003(\0132..google.cloud.aiplatform.v1.ModalityTokenCountB\003\340A\003\022Q\n" + + "\024cache_tokens_details\030\n" + + " \003(\0132..google.cloud.aiplatform.v1.ModalityTokenCountB\003\340A\003\022V\n" + + "\031candidates_tokens_details\030\013 \003(\0132..google." + + "cloud.aiplatform.v1.ModalityTokenCountB\003\340A\0032\362\031\n" + + "\021PredictionService\022\224\002\n" + + "\007Predict\022*.google.cloud.aiplatform.v1.PredictReques" + + "t\032+.google.cloud.aiplatform.v1.PredictRe" + + "sponse\"\257\001\332A\035endpoint,instances,parameter" + + "s\202\323\344\223\002\210\001\"9/v1/{endpoint=projects/*/locat" + + "ions/*/endpoints/*}:predict:\001*ZH\"C/v1/{e" + + "ndpoint=projects/*/locations/*/publishers/*/models/*}:predict:\001*\022\376\001\n\n" + + "RawPredict\022-.google.cloud.aiplatform.v1.RawPredictR" + + "equest\032\024.google.api.HttpBody\"\252\001\332A\022endpoi" + + "nt,http_body\202\323\344\223\002\216\001\"\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain:\001*\022\215\003\n" + + "\017GenerateContent\0222.google.cloud.aiplatform.v1" + + ".GenerateContentRequest\0323.google.cloud.a" + + "iplatform.v1.GenerateContentResponse\"\220\002\332" + + "A\016model,contents\202\323\344\223\002\370\001\">/v1/{model=proj" + + "ects/*/locations/*/endpoints/*}:generateContent:\001*ZM\"H/v1/{model=projects/*/loca" + + "tions/*/publishers/*/models/*}:generateContent:\001*Z,\"\'/v1/{model=endpoints/*}:gen" + + "erateContent:\001*Z6\"1/v1/{model=publishers/*/models/*}:generateContent:\001*\022\255\003\n" + + "\025StreamGenerateContent\0222.google.cloud.aiplatf" + + "orm.v1.GenerateContentRequest\0323.google.cloud.aiplatform.v1.GenerateContentRespon" + + "se\"\250\002\332A\016model,contents\202\323\344\223\002\220\002\"D/v1/{mode" + + "l=projects/*/locations/*/endpoints/*}:streamGenerateContent:\001*ZS\"N/v1/{model=pro" + + "jects/*/locations/*/publishers/*/models/*}:streamGenerateContent:\001*Z2\"-/v1/{mode" + + "l=endpoints/*}:streamGenerateContent:\001*Z<\"7/v1/{model=publishers/*/models/*}:str" + + "eamGenerateContent:\001*0\001\032\206\001\312A\031aiplatform." + + "googleapis.com\322Aghttps://www.googleapis.com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-onlyB\324\001\n" + + "\036com.google.cloud.aiplatform.v1B\026PredictionServiceProtoP\001Z>cloud.google.com/" + + "go/aiplatform/apiv1/aiplatformpb;aiplatf" + + "ormpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" + + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -392,7 +401,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor, new java.lang.String[] { - "Endpoint", "Instances", "Parameters", + "Endpoint", "Instances", "Parameters", "Labels", + }); + internal_static_google_cloud_aiplatform_v1_PredictRequest_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_PredictRequest_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_PredictRequest_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", }); internal_static_google_cloud_aiplatform_v1_PredictResponse_descriptor = getDescriptor().getMessageTypes().get(1); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Retrieval.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Retrieval.java index d7bf4f9ef8e3..b2881a05a9e5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Retrieval.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Retrieval.java @@ -238,7 +238,7 @@ public com.google.cloud.aiplatform.v1.VertexRagStoreOrBuilder getVertexRagStoreO * * * @deprecated google.cloud.aiplatform.v1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=283 + * google/cloud/aiplatform/v1/tool.proto;l=314 * @return The disableAttribution. */ @java.lang.Override @@ -1146,7 +1146,7 @@ public com.google.cloud.aiplatform.v1.VertexRagStoreOrBuilder getVertexRagStoreO * * * @deprecated google.cloud.aiplatform.v1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=283 + * google/cloud/aiplatform/v1/tool.proto;l=314 * @return The disableAttribution. */ @java.lang.Override @@ -1167,7 +1167,7 @@ public boolean getDisableAttribution() { * * * @deprecated google.cloud.aiplatform.v1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=283 + * google/cloud/aiplatform/v1/tool.proto;l=314 * @param value The disableAttribution to set. * @return This builder for chaining. */ @@ -1192,7 +1192,7 @@ public Builder setDisableAttribution(boolean value) { * * * @deprecated google.cloud.aiplatform.v1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=283 + * google/cloud/aiplatform/v1/tool.proto;l=314 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RetrievalOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RetrievalOrBuilder.java index 1c6e690cbf1b..1f098c5a4657 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RetrievalOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RetrievalOrBuilder.java @@ -113,7 +113,7 @@ public interface RetrievalOrBuilder * * * @deprecated google.cloud.aiplatform.v1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=283 + * google/cloud/aiplatform/v1/tool.proto;l=314 * @return The disableAttribution. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Tool.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Tool.java index 9279d033b458..ef7aa8441a17 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Tool.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Tool.java @@ -70,6 +70,263 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.Tool.Builder.class); } + /** + * + * + *
+   * These are available confidence level user can set to block malicious urls
+   * with chosen confidence and above. For understanding different confidence of
+   * webrisk, please refer to
+   * https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1.Tool.PhishBlockThreshold} + */ + public enum PhishBlockThreshold implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Defaults to unspecified.
+     * 
+ * + * PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + */ + PHISH_BLOCK_THRESHOLD_UNSPECIFIED(0), + /** + * + * + *
+     * Blocks Low and above confidence URL that is risky.
+     * 
+ * + * BLOCK_LOW_AND_ABOVE = 30; + */ + BLOCK_LOW_AND_ABOVE(30), + /** + * + * + *
+     * Blocks Medium and above confidence URL that is risky.
+     * 
+ * + * BLOCK_MEDIUM_AND_ABOVE = 40; + */ + BLOCK_MEDIUM_AND_ABOVE(40), + /** + * + * + *
+     * Blocks High and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGH_AND_ABOVE = 50; + */ + BLOCK_HIGH_AND_ABOVE(50), + /** + * + * + *
+     * Blocks Higher and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGHER_AND_ABOVE = 55; + */ + BLOCK_HIGHER_AND_ABOVE(55), + /** + * + * + *
+     * Blocks Very high and above confidence URL that is risky.
+     * 
+ * + * BLOCK_VERY_HIGH_AND_ABOVE = 60; + */ + BLOCK_VERY_HIGH_AND_ABOVE(60), + /** + * + * + *
+     * Blocks Extremely high confidence URL that is risky.
+     * 
+ * + * BLOCK_ONLY_EXTREMELY_HIGH = 100; + */ + BLOCK_ONLY_EXTREMELY_HIGH(100), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Defaults to unspecified.
+     * 
+ * + * PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + */ + public static final int PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Blocks Low and above confidence URL that is risky.
+     * 
+ * + * BLOCK_LOW_AND_ABOVE = 30; + */ + public static final int BLOCK_LOW_AND_ABOVE_VALUE = 30; + + /** + * + * + *
+     * Blocks Medium and above confidence URL that is risky.
+     * 
+ * + * BLOCK_MEDIUM_AND_ABOVE = 40; + */ + public static final int BLOCK_MEDIUM_AND_ABOVE_VALUE = 40; + + /** + * + * + *
+     * Blocks High and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGH_AND_ABOVE = 50; + */ + public static final int BLOCK_HIGH_AND_ABOVE_VALUE = 50; + + /** + * + * + *
+     * Blocks Higher and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGHER_AND_ABOVE = 55; + */ + public static final int BLOCK_HIGHER_AND_ABOVE_VALUE = 55; + + /** + * + * + *
+     * Blocks Very high and above confidence URL that is risky.
+     * 
+ * + * BLOCK_VERY_HIGH_AND_ABOVE = 60; + */ + public static final int BLOCK_VERY_HIGH_AND_ABOVE_VALUE = 60; + + /** + * + * + *
+     * Blocks Extremely high confidence URL that is risky.
+     * 
+ * + * BLOCK_ONLY_EXTREMELY_HIGH = 100; + */ + public static final int BLOCK_ONLY_EXTREMELY_HIGH_VALUE = 100; + + 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 PhishBlockThreshold 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 PhishBlockThreshold forNumber(int value) { + switch (value) { + case 0: + return PHISH_BLOCK_THRESHOLD_UNSPECIFIED; + case 30: + return BLOCK_LOW_AND_ABOVE; + case 40: + return BLOCK_MEDIUM_AND_ABOVE; + case 50: + return BLOCK_HIGH_AND_ABOVE; + case 55: + return BLOCK_HIGHER_AND_ABOVE; + case 60: + return BLOCK_VERY_HIGH_AND_ABOVE; + case 100: + return BLOCK_ONLY_EXTREMELY_HIGH; + 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 PhishBlockThreshold findValueByNumber(int number) { + return PhishBlockThreshold.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.cloud.aiplatform.v1.Tool.getDescriptor().getEnumTypes().get(0); + } + + private static final PhishBlockThreshold[] VALUES = values(); + + public static PhishBlockThreshold 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 PhishBlockThreshold(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.Tool.PhishBlockThreshold) + } + public interface GoogleSearchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.Tool.GoogleSearch) @@ -136,6 +393,54 @@ public interface GoogleSearchOrBuilder * @return The bytes of the excludeDomains at the given index. */ com.google.protobuf.ByteString getExcludeDomainsBytes(int index); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + boolean hasBlockingConfidence(); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + int getBlockingConfidenceValue(); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence(); } /** @@ -161,6 +466,7 @@ private GoogleSearch(com.google.protobuf.GeneratedMessageV3.Builder builder) private GoogleSearch() { excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; } @java.lang.Override @@ -184,6 +490,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.Tool.GoogleSearch.Builder.class); } + private int bitField0_; public static final int EXCLUDE_DOMAINS_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -260,6 +567,70 @@ public com.google.protobuf.ByteString getExcludeDomainsBytes(int index) { return excludeDomains_.getByteString(index); } + public static final int BLOCKING_CONFIDENCE_FIELD_NUMBER = 4; + private int blockingConfidence_ = 0; + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.forNumber(blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -277,6 +648,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < excludeDomains_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, excludeDomains_.getRaw(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(4, blockingConfidence_); + } getUnknownFields().writeTo(output); } @@ -294,6 +668,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getExcludeDomainsList().size(); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, blockingConfidence_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -311,6 +688,10 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1.Tool.GoogleSearch) obj; if (!getExcludeDomainsList().equals(other.getExcludeDomainsList())) return false; + if (hasBlockingConfidence() != other.hasBlockingConfidence()) return false; + if (hasBlockingConfidence()) { + if (blockingConfidence_ != other.blockingConfidence_) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,6 +707,10 @@ public int hashCode() { hash = (37 * hash) + EXCLUDE_DOMAINS_FIELD_NUMBER; hash = (53 * hash) + getExcludeDomainsList().hashCode(); } + if (hasBlockingConfidence()) { + hash = (37 * hash) + BLOCKING_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + blockingConfidence_; + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -470,6 +855,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; return this; } @@ -510,6 +896,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.Tool.GoogleSearch resu excludeDomains_.makeImmutable(); result.excludeDomains_ = excludeDomains_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.blockingConfidence_ = blockingConfidence_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -570,6 +962,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Tool.GoogleSearch other) } onChanged(); } + if (other.hasBlockingConfidence()) { + setBlockingConfidence(other.getBlockingConfidence()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -603,6 +998,12 @@ public Builder mergeFrom( excludeDomains_.add(s); break; } // case 26 + case 32: + { + blockingConfidence_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -823,6 +1224,138 @@ public Builder addExcludeDomainsBytes(com.google.protobuf.ByteString value) { return this; } + private int blockingConfidence_ = 0; + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidenceValue(int value) { + blockingConfidence_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.forNumber(blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidence( + com.google.cloud.aiplatform.v1.Tool.PhishBlockThreshold value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + blockingConfidence_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearBlockingConfidence() { + bitField0_ = (bitField0_ & ~0x00000002); + blockingConfidence_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ToolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ToolProto.java index 0104470663b4..157c87477e26 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ToolProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ToolProto.java @@ -150,7 +150,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032google.cloud.aiplatform.v1\032\037google/api/" + "field_behavior.proto\032\031google/api/resourc" + "e.proto\032(google/cloud/aiplatform/v1/open" - + "api.proto\032\034google/protobuf/struct.proto\032\030google/type/latlng.proto\"\225\007\n" + + "api.proto\032\034google/protobuf/struct.proto\032\030google/type/latlng.proto\"\363" + + "\t\n" + "\004Tool\022S\n" + "\025function_declarations\030\001 \003(\0132/.google.cloud" + ".aiplatform.v1.FunctionDeclarationB\003\340A\001\022=\n" @@ -169,16 +170,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013url_context\030\010 \001(\0132&.go" + "ogle.cloud.aiplatform.v1.UrlContextB\003\340A\001\022G\n" + "\014computer_use\030\013" - + " \001(\0132,.google.cloud.aiplatform.v1.Tool.ComputerUseB\003\340A\001\032,\n" + + " \001(\0132,.google.cloud.aiplatform.v1.Tool.ComputerUseB\003\340A\001\032\241\001\n" + "\014GoogleSearch\022\034\n" - + "\017exclude_domains\030\003 \003(\tB\003\340A\001\032\017\n\r" + + "\017exclude_domains\030\003 \003(\tB\003\340A\001\022[\n" + + "\023blocking_confidence\030\004 \001(\01624.google.c" + + "loud.aiplatform.v1.Tool.PhishBlockThresholdB\003\340A\001H\000\210\001\001B\026\n" + + "\024_blocking_confidence\032\017\n" + + "\r" + "CodeExecution\032\246\001\n" + "\013ComputerUse\022R\n" + "\013environment\030\001" + " \001(\01628.google.cloud.aiplatform.v1.Tool.ComputerUse.EnvironmentB\003\340A\002\"C\n" + "\013Environment\022\033\n" + "\027ENVIRONMENT_UNSPECIFIED\020\000\022\027\n" - + "\023ENVIRONMENT_BROWSER\020\001\"\014\n\n" + + "\023ENVIRONMENT_BROWSER\020\001\"\345\001\n" + + "\023PhishBlockThreshold\022%\n" + + "!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\020\000\022\027\n" + + "\023BLOCK_LOW_AND_ABOVE\020\036\022\032\n" + + "\026BLOCK_MEDIUM_AND_ABOVE\020(\022\030\n" + + "\024BLOCK_HIGH_AND_ABOVE\0202\022\032\n" + + "\026BLOCK_HIGHER_AND_ABOVE\0207\022\035\n" + + "\031BLOCK_VERY_HIGH_AND_ABOVE\020<\022\035\n" + + "\031BLOCK_ONLY_EXTREMELY_HIGH\020d\"\014\n\n" + "UrlContext\"\262\002\n" + "\023FunctionDeclaration\022\021\n" + "\004name\030\001 \001(\tB\003\340A\002\022\030\n" @@ -186,8 +199,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "parameters\030\003 \001(\0132\".google.cloud.aiplatform.v1.SchemaB\003\340A\001\022;\n" + "\026parameters_json_schema\030\005" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001\0229\n" - + "\010response\030\004" - + " \001(\0132\".google.cloud.aiplatform.v1.SchemaB\003\340A\001\0229\n" + + "\010response\030\004 \001(\0132\"" + + ".google.cloud.aiplatform.v1.SchemaB\003\340A\001\0229\n" + "\024response_json_schema\030\006" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001\"M\n" + "\014FunctionCall\022\021\n" @@ -197,15 +210,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB\003\340A\002\022.\n" + "\010response\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\002\"\241\001\n" + "\016ExecutableCode\022J\n" - + "\010language\030\001 \001(\01623.google" - + ".cloud.aiplatform.v1.ExecutableCode.LanguageB\003\340A\002\022\021\n" + + "\010language\030\001 \001(\01623.google.cloud.aip" + + "latform.v1.ExecutableCode.LanguageB\003\340A\002\022\021\n" + "\004code\030\002 \001(\tB\003\340A\002\"0\n" + "\010Language\022\030\n" + "\024LANGUAGE_UNSPECIFIED\020\000\022\n\n" + "\006PYTHON\020\001\"\340\001\n" + "\023CodeExecutionResult\022M\n" - + "\007outcome\030\001 \001(\0162" - + "7.google.cloud.aiplatform.v1.CodeExecutionResult.OutcomeB\003\340A\002\022\023\n" + + "\007outcome\030\001 \001(\01627.google.c" + + "loud.aiplatform.v1.CodeExecutionResult.OutcomeB\003\340A\002\022\023\n" + "\006output\030\002 \001(\tB\003\340A\001\"e\n" + "\007Outcome\022\027\n" + "\023OUTCOME_UNSPECIFIED\020\000\022\016\n\n" @@ -220,13 +233,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023disable_attribution\030\003 \001(\010B\005\030\001\340A\001B\010\n" + "\006source\"\252\003\n" + "\016VertexRagStore\022R\n\r" - + "rag_resources\030\004 \003(\01326.google" - + ".cloud.aiplatform.v1.VertexRagStore.RagResourceB\003\340A\001\022$\n" + + "rag_resources\030\004 \003(\01326.google.cloud.aip" + + "latform.v1.VertexRagStore.RagResourceB\003\340A\001\022$\n" + "\020similarity_top_k\030\002 \001(\005B\005\030\001\340A\001H\000\210\001\001\022-\n" + "\031vector_distance_threshold\030\003" + " \001(\001B\005\030\001\340A\001H\001\210\001\001\022Q\n" - + "\024rag_retrieval_config\030\006" - + " \001(\0132..google.cloud.aiplatform.v1.RagRetrievalConfigB\003\340A\001\032i\n" + + "\024rag_retrieval_config\030\006 \001(\0132.." + + "google.cloud.aiplatform.v1.RagRetrievalConfigB\003\340A\001\032i\n" + "\013RagResource\022?\n\n" + "rag_corpus\030\001 \001(\tB+\340A\001\372A%\n" + "#aiplatform.googleapis.com/RagCorpus\022\031\n" @@ -238,33 +251,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006engine\030\002 \001(\tB\003\340A\001\022\030\n" + "\013max_results\030\003 \001(\005B\003\340A\001\022\023\n" + "\006filter\030\004 \001(\tB\003\340A\001\022R\n" - + "\020data_store_specs\030\005 \003(\01328.go" - + "ogle.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec\0328\n\r" + + "\020data_store_specs\030\005 \003(\01328.google.cloud" + + ".aiplatform.v1.VertexAISearch.DataStoreSpec\0328\n\r" + "DataStoreSpec\022\022\n\n" + "data_store\030\001 \001(\t\022\023\n" + "\006filter\030\002 \001(\tB\003\340A\001\"m\n" + "\025GoogleSearchRetrieval\022T\n" - + "\030dynamic_retrieval_config\030\002" - + " \001(\01322.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"\014\n\n" - + "GoogleMaps\"3\n" + + "\030dynamic_retrieval_config\030\002 \001(\013" + + "22.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"(\n\n" + + "GoogleMaps\022\032\n\r" + + "enable_widget\030\001 \001(\010B\003\340A\001\"\250\001\n" + "\023EnterpriseWebSearch\022\034\n" - + "\017exclude_domains\030\001 \003(\tB\003\340A\001\"\312\001\n" + + "\017exclude_domains\030\001 \003(\tB\003\340A\001\022[\n" + + "\023blocking_confidence\030\002 \001(\01624.google.cloud.aiplatf" + + "orm.v1.Tool.PhishBlockThresholdB\003\340A\001H\000\210\001\001B\026\n" + + "\024_blocking_confidence\"\312\001\n" + "\026DynamicRetrievalConfig\022E\n" - + "\004mode\030\001" - + " \001(\01627.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\022#\n" + + "\004mode\030\001 \001(\01627.google.clou" + + "d.aiplatform.v1.DynamicRetrievalConfig.Mode\022#\n" + "\021dynamic_threshold\030\002 \001(\002B\003\340A\001H\000\210\001\001\".\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\020\n" + "\014MODE_DYNAMIC\020\001B\024\n" + "\022_dynamic_threshold\"\261\001\n\n" + "ToolConfig\022W\n" - + "\027function_calling_config\030\001 \001(\01321.google.cloud.ai" - + "platform.v1.FunctionCallingConfigB\003\340A\001\022J\n" - + "\020retrieval_config\030\002" - + " \001(\0132+.google.cloud.aiplatform.v1.RetrievalConfigB\003\340A\001\"\302\001\n" + + "\027function_calling_config\030\001 \001(\01321" + + ".google.cloud.aiplatform.v1.FunctionCallingConfigB\003\340A\001\022J\n" + + "\020retrieval_config\030\002 \001(\013" + + "2+.google.cloud.aiplatform.v1.RetrievalConfigB\003\340A\001\"\302\001\n" + "\025FunctionCallingConfig\022I\n" - + "\004mode\030\001 \001(\01626.goo" - + "gle.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\003\340A\001\022#\n" + + "\004mode\030\001" + + " \001(\01626.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\003\340A\001\022#\n" + "\026allowed_function_names\030\002 \003(\tB\003\340A\001\"9\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\010\n" @@ -278,20 +295,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_language_code\"\252\005\n" + "\022RagRetrievalConfig\022\022\n" + "\005top_k\030\001 \001(\005B\003\340A\001\022J\n" - + "\006filter\030\003" - + " \001(\01325.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\003\340A\001\022L\n" - + "\007ranking\030\004" - + " \001(\01326.google.cloud.aiplatform.v1.RagRetrievalConfig.RankingB\003\340A\001\032\223\001\n" + + "\006filter\030\003 \001(\01325.google.clou" + + "d.aiplatform.v1.RagRetrievalConfig.FilterB\003\340A\001\022L\n" + + "\007ranking\030\004 \001(\01326.google.cloud.a" + + "iplatform.v1.RagRetrievalConfig.RankingB\003\340A\001\032\223\001\n" + "\006Filter\022(\n" + "\031vector_distance_threshold\030\003 \001(\001B\003\340A\001H\000\022*\n" + "\033vector_similarity_threshold\030\004 \001(\001B\003\340A\001H\000\022\034\n" + "\017metadata_filter\030\002 \001(\tB\003\340A\001B\025\n" + "\023vector_db_threshold\032\317\002\n" + "\007Ranking\022_\n" - + "\014rank_service\030\001 \001(\0132B.google.cloud.aiplatform.v" - + "1.RagRetrievalConfig.Ranking.RankServiceB\003\340A\001H\000\022[\n\n" - + "llm_ranker\030\003 \001(\0132@.google.clo" - + "ud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\003\340A\001H\000\032:\n" + + "\014rank_service\030\001 \001(\0132B.google.cl" + + "oud.aiplatform.v1.RagRetrievalConfig.Ranking.RankServiceB\003\340A\001H\000\022[\n\n" + + "llm_ranker\030\003 " + + "\001(\0132@.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\003\340A\001H\000\032:\n" + "\013RankService\022\034\n\n" + "model_name\030\001 \001(\tB\003\340A\001H\000\210\001\001B\r\n" + "\013_model_name\0328\n" @@ -299,11 +316,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "model_name\030\001 \001(\tB\003\340A\001H\000\210\001\001B\r\n" + "\013_model_nameB\020\n" + "\016ranking_configB\307\001\n" - + "\036com.google.cloud.aiplatform.v1B\tToolPro" - + "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" + + "\036com.google.cloud.aiplatform.v1B\tToolProtoP\001Z>cloud.google.com/g" + + "o/aiplatform/apiv1/aiplatformpb;aiplatfo" + + "rmpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -337,7 +353,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_Tool_GoogleSearch_descriptor, new java.lang.String[] { - "ExcludeDomains", + "ExcludeDomains", "BlockingConfidence", }); internal_static_google_cloud_aiplatform_v1_Tool_CodeExecution_descriptor = internal_static_google_cloud_aiplatform_v1_Tool_descriptor.getNestedTypes().get(1); @@ -461,14 +477,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1_GoogleMaps_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GoogleMaps_descriptor, - new java.lang.String[] {}); + new java.lang.String[] { + "EnableWidget", + }); internal_static_google_cloud_aiplatform_v1_EnterpriseWebSearch_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_aiplatform_v1_EnterpriseWebSearch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_EnterpriseWebSearch_descriptor, new java.lang.String[] { - "ExcludeDomains", + "ExcludeDomains", "BlockingConfidence", }); internal_static_google_cloud_aiplatform_v1_DynamicRetrievalConfig_descriptor = getDescriptor().getMessageTypes().get(13); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStore.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStore.java index 94810907bc54..557bdfa16c0b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStore.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStore.java @@ -1234,7 +1234,7 @@ public com.google.cloud.aiplatform.v1.VertexRagStore.RagResource getRagResources * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return Whether the similarityTopK field is set. */ @java.lang.Override @@ -1255,7 +1255,7 @@ public boolean hasSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return The similarityTopK. */ @java.lang.Override @@ -1280,7 +1280,7 @@ public int getSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is deprecated. - * See google/cloud/aiplatform/v1/tool.proto;l=319 + * See google/cloud/aiplatform/v1/tool.proto;l=350 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Override @@ -1302,7 +1302,7 @@ public boolean hasVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is deprecated. - * See google/cloud/aiplatform/v1/tool.proto;l=319 + * See google/cloud/aiplatform/v1/tool.proto;l=350 * @return The vectorDistanceThreshold. */ @java.lang.Override @@ -2357,7 +2357,7 @@ public com.google.cloud.aiplatform.v1.VertexRagStore.RagResource.Builder addRagR * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return Whether the similarityTopK field is set. */ @java.lang.Override @@ -2378,7 +2378,7 @@ public boolean hasSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return The similarityTopK. */ @java.lang.Override @@ -2399,7 +2399,7 @@ public int getSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @param value The similarityTopK to set. * @return This builder for chaining. */ @@ -2424,7 +2424,7 @@ public Builder setSimilarityTopK(int value) { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2450,7 +2450,7 @@ public Builder clearSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=319 + * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=350 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Override @@ -2472,7 +2472,7 @@ public boolean hasVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=319 + * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=350 * @return The vectorDistanceThreshold. */ @java.lang.Override @@ -2494,7 +2494,7 @@ public double getVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=319 + * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=350 * @param value The vectorDistanceThreshold to set. * @return This builder for chaining. */ @@ -2520,7 +2520,7 @@ public Builder setVectorDistanceThreshold(double value) { * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=319 + * deprecated. See google/cloud/aiplatform/v1/tool.proto;l=350 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStoreOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStoreOrBuilder.java index 8a0b80e3effe..c445414f41a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStoreOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VertexRagStoreOrBuilder.java @@ -118,7 +118,7 @@ com.google.cloud.aiplatform.v1.VertexRagStore.RagResourceOrBuilder getRagResourc * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return Whether the similarityTopK field is set. */ @java.lang.Deprecated @@ -136,7 +136,7 @@ com.google.cloud.aiplatform.v1.VertexRagStore.RagResourceOrBuilder getRagResourc * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1/tool.proto;l=314 + * google/cloud/aiplatform/v1/tool.proto;l=345 * @return The similarityTopK. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ com.google.cloud.aiplatform.v1.VertexRagStore.RagResourceOrBuilder getRagResourc * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is deprecated. - * See google/cloud/aiplatform/v1/tool.proto;l=319 + * See google/cloud/aiplatform/v1/tool.proto;l=350 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Deprecated @@ -174,7 +174,7 @@ com.google.cloud.aiplatform.v1.VertexRagStore.RagResourceOrBuilder getRagResourc * * * @deprecated google.cloud.aiplatform.v1.VertexRagStore.vector_distance_threshold is deprecated. - * See google/cloud/aiplatform/v1/tool.proto;l=319 + * See google/cloud/aiplatform/v1/tool.proto;l=350 * @return The vectorDistanceThreshold. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto index 27070f8acb4a..c2e5d022df0a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto @@ -24,7 +24,6 @@ option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; -// LINT: LEGACY_NAMES // Represents a hardware accelerator type. enum AcceleratorType { // Unspecified accelerator type, which means no accelerator. @@ -70,6 +69,9 @@ enum AcceleratorType { // Nvidia GB200 GPU. NVIDIA_GB200 = 17; + // Nvidia RTX Pro 6000 GPU. + NVIDIA_RTX_PRO_6000 = 18; + // TPU v2. TPU_V2 = 6; 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 dfc2a8c2af1c..0856df030a0e 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 @@ -667,6 +667,22 @@ message GroundingChunk { // Chunk from Google Maps. message Maps { + message PlaceAnswerSources { + // Encapsulates a review snippet. + message ReviewSnippet { + // Id of the review referencing the place. + string review_id = 1; + + // A link to show the review on Google Maps. + string google_maps_uri = 2; + + // Title of the review. + string title = 3; + } + + // Snippets of reviews that are used to generate the answer. + repeated ReviewSnippet review_snippets = 1; + } // URI reference of the chunk. optional string uri = 1; @@ -679,6 +695,11 @@ message GroundingChunk { // This Place's resource name, in `places/{place_id}` format. Can be used // to look up the Place. optional string place_id = 4; + + // Sources used to generate the place answer. + // This includes review snippets and photos that were used to generate the + // answer, as well as uris to flag content. + PlaceAnswerSources place_answer_sources = 5; } // Chunk type. @@ -741,6 +762,23 @@ message GroundingMetadata { (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = OUTPUT_ONLY ]; + + // Source content flagging uri for a place or review. This is currently + // populated only for Google Maps grounding. + message SourceFlaggingUri { + // Id of the place or review. + string source_id = 1; + + // A link where users can flag a problem with the source (place or review). + // (-- The link is generated by Google and it does not contain + // information from the user query. It may contain information of the + // content it is flagging, which can be used to identify places. --) + string flag_content_uri = 2; + } + + // List of source flagging uris. This is currently populated only for Google + // Maps grounding. + repeated SourceFlaggingUri source_flagging_uris = 9; } // Google search entry point. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto index 8601d28391d9..e26573905beb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto @@ -138,6 +138,15 @@ message IndexEndpoint { // A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. message DeployedIndex { + // Tiers encapsulate serving time attributes like latency and throughput. + enum DeploymentTier { + // Default deployment tier. + DEPLOYMENT_TIER_UNSPECIFIED = 0; + + // Optimized for costs. + STORAGE = 2; + } + // Required. The user specified ID of the DeployedIndex. // The ID can be up to 128 characters long and must start with a letter and // only contain letters, numbers, and underscores. @@ -274,6 +283,10 @@ message DeployedIndex { // Note: we only support up to 5 deployment groups(not including 'default'). string deployment_group = 11 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The deployment tier that the index is deployed to. + // DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. + DeploymentTier deployment_tier = 18 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set for PSC deployed index, PSC connection will be // automatically created after deployment is done and the endpoint information // is populated in private_endpoints.psc_automated_endpoints. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto index a019fe2df018..9e000382be07 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto @@ -241,6 +241,10 @@ message PredictRequest { // [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] // [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. google.protobuf.Value parameters = 3; + + // Optional. The user labels for Imagen billing usage only. Only Imagen + // supports labels. For other use cases, it will be ignored. + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tool.proto index 9c64028c9d03..7d861c4622b3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tool.proto @@ -38,6 +38,32 @@ option ruby_package = "Google::Cloud::AIPlatform::V1"; // one type of Tool (e.g FunctionDeclaration, Retrieval or // GoogleSearchRetrieval). message Tool { + // These are available confidence level user can set to block malicious urls + // with chosen confidence and above. For understanding different confidence of + // webrisk, please refer to + // https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel + enum PhishBlockThreshold { + // Defaults to unspecified. + PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + + // Blocks Low and above confidence URL that is risky. + BLOCK_LOW_AND_ABOVE = 30; + + // Blocks Medium and above confidence URL that is risky. + BLOCK_MEDIUM_AND_ABOVE = 40; + + // Blocks High and above confidence URL that is risky. + BLOCK_HIGH_AND_ABOVE = 50; + + // Blocks Higher and above confidence URL that is risky. + BLOCK_HIGHER_AND_ABOVE = 55; + + // Blocks Very high and above confidence URL that is risky. + BLOCK_VERY_HIGH_AND_ABOVE = 60; + + // Blocks Extremely high confidence URL that is risky. + BLOCK_ONLY_EXTREMELY_HIGH = 100; + } // GoogleSearch tool type. // Tool to support Google Search in Model. Powered by Google. message GoogleSearch { @@ -46,6 +72,11 @@ message Tool { // Example: ["amazon.com", "facebook.com"]. repeated string exclude_domains = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Sites with confidence level chosen & above this value will be + // blocked from the search results. + optional PhishBlockThreshold blocking_confidence = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Tool that executes code generated by the model, and automatically returns @@ -376,7 +407,10 @@ message GoogleSearchRetrieval { } // Tool to retrieve public maps data for grounding, powered by Google. -message GoogleMaps {} +message GoogleMaps { + // If true, include the widget context token in the response. + bool enable_widget = 1 [(google.api.field_behavior) = OPTIONAL]; +} // Tool to search public web data, powered by Vertex AI Search and Sec4 // compliance. @@ -384,6 +418,11 @@ message EnterpriseWebSearch { // Optional. List of domains to be excluded from the search results. // The default limit is 2000 domains. repeated string exclude_domains = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Sites with confidence level chosen & above this value will be + // blocked from the search results. + optional Tool.PhishBlockThreshold blocking_confidence = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Describes the options to customize dynamic retrieval. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorType.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorType.java index d4c597b16e64..ca52ec98e923 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorType.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorType.java @@ -23,7 +23,6 @@ * * *
- * LINT: LEGACY_NAMES
  * Represents a hardware accelerator type.
  * 
* @@ -172,6 +171,16 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { * NVIDIA_GB200 = 17; */ NVIDIA_GB200(17), + /** + * + * + *
+   * Nvidia RTX Pro 6000 GPU.
+   * 
+ * + * NVIDIA_RTX_PRO_6000 = 18; + */ + NVIDIA_RTX_PRO_6000(18), /** * * @@ -370,6 +379,17 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NVIDIA_GB200_VALUE = 17; + /** + * + * + *
+   * Nvidia RTX Pro 6000 GPU.
+   * 
+ * + * NVIDIA_RTX_PRO_6000 = 18; + */ + public static final int NVIDIA_RTX_PRO_6000_VALUE = 18; + /** * * @@ -466,6 +486,8 @@ public static AcceleratorType forNumber(int value) { return NVIDIA_B200; case 17: return NVIDIA_GB200; + case 18: + return NVIDIA_RTX_PRO_6000; case 6: return TPU_V2; case 7: diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java index 20e2fde54a36..25b265d76198 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java @@ -38,7 +38,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n6google/cloud/aiplatform/v1beta1/accele" + "rator_type.proto\022\037google.cloud.aiplatfor" - + "m.v1beta1*\210\003\n\017AcceleratorType\022 \n\034ACCELER" + + "m.v1beta1*\241\003\n\017AcceleratorType\022 \n\034ACCELER" + "ATOR_TYPE_UNSPECIFIED\020\000\022\030\n\020NVIDIA_TESLA_" + "K80\020\001\032\002\010\001\022\025\n\021NVIDIA_TESLA_P100\020\002\022\025\n\021NVID" + "IA_TESLA_V100\020\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022\023\n\017" @@ -46,15 +46,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\024\n\020NVIDIA_A100_80GB\020\t\022\r\n\tNVIDIA_L4\020\013\022\024\n" + "\020NVIDIA_H100_80GB\020\r\022\031\n\025NVIDIA_H100_MEGA_" + "80GB\020\016\022\025\n\021NVIDIA_H200_141GB\020\017\022\017\n\013NVIDIA_" - + "B200\020\020\022\020\n\014NVIDIA_GB200\020\021\022\n\n\006TPU_V2\020\006\022\n\n\006" - + "TPU_V3\020\007\022\016\n\nTPU_V4_POD\020\n\022\022\n\016TPU_V5_LITEP" - + "OD\020\014B\353\001\n#com.google.cloud.aiplatform.v1b" - + "eta1B\024AcceleratorTypeProtoP\001ZCcloud.goog" - + "le.com/go/aiplatform/apiv1beta1/aiplatfo" - + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" - + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" - + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" - + "a1b\006proto3" + + "B200\020\020\022\020\n\014NVIDIA_GB200\020\021\022\027\n\023NVIDIA_RTX_P" + + "RO_6000\020\022\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3\020\007\022\016\n\nTPU" + + "_V4_POD\020\n\022\022\n\016TPU_V5_LITEPOD\020\014B\353\001\n#com.go" + + "ogle.cloud.aiplatform.v1beta1B\024Accelerat" + + "orTypeProtoP\001ZCcloud.google.com/go/aipla" + + "tform/apiv1beta1/aiplatformpb;aiplatform" + + "pb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google:" + + ":Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 46bc32fc9e3f..8fc4c1867d3f 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 @@ -144,6 +144,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_GroundingSupport_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -152,6 +160,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_SearchEntryPoint_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -432,7 +444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "part_index\030\001 \001(\005B\003\340A\003\022\030\n" + "\013start_index\030\002 \001(\005B\003\340A\003\022\026\n" + "\tend_index\030\003 \001(\005B\003\340A\003\022\021\n" - + "\004text\030\004 \001(\tB\003\340A\003\"\265\005\n" + + "\004text\030\004 \001(\tB\003\340A\003\"\360\007\n" + "\016GroundingChunk\022B\n" + "\003web\030\001" + " \001(\01323.google.cloud.aiplatform.v1beta1.GroundingChunk.WebH\000\022]\n" @@ -456,12 +468,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_uriB\010\n" + "\006_titleB\007\n" + "\005_textB\020\n" - + "\016_document_name\032~\n" + + "\016_document_name\032\270\003\n" + "\004Maps\022\020\n" + "\003uri\030\001 \001(\tH\000\210\001\001\022\022\n" + "\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\001B\006\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" + + "\022PlaceAnswerSources\022n\n" + + "\017review_snippets\030\001 \003(\0132U.google.cloud.aiplatform.v1b" + + "eta1.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" + + "\005title\030\003 \001(\tB\006\n" + "\004_uriB\010\n" + "\006_titleB\007\n" + "\005_textB\013\n" @@ -472,20 +494,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132(.google.cloud.aiplatform.v1beta1.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\"\263\004\n" + + "\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.googl" - + "e.cloud.aiplatform.v1beta1.SearchEntryPointB\003\340A\001H\000\210\001\001\022\036\n" + + "\022search_entry_point\030\004 \001(\01321.google.clo" + + "ud.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.cl" - + "oud.aiplatform.v1beta1.GroundingSupportB\003\340A\001\022[\n" - + "\022retrieval_metadata\030\007 \001(\01322.googl" - + "e.cloud.aiplatform.v1beta1.RetrievalMetadataB\006\340A\001\340A\003H\001\210\001\001\0225\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" + " google_maps_widget_context_token\030\010 \001(" - + "\tB\006\340A\001\340A\003H\002\210\001\001B\025\n" + + "\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" + + "\021SourceFlaggingUri\022\021\n" + + "\tsource_id\030\001 \001(\t\022\030\n" + + "\020flag_content_uri\030\002 \001(\tB\025\n" + "\023_search_entry_pointB\025\n" + "\023_retrieval_metadataB#\n" + "!_google_maps_widget_context_token\"H\n" @@ -516,13 +543,13 @@ 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.go" - + "ogle.com/go/aiplatform/apiv1beta1/aiplat" - + "formpb;aiplatformpb\252\002\037Google.Cloud.AIPla" - + "tform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\" - + "V1beta1\352\002\"Google::Cloud::AIPlatform::V1beta1\352Ab\n" - + "\"modelarmor.googleapis.com/Template\022 bu private EnterpriseWebSearch() { excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; } @java.lang.Override @@ -65,6 +66,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.EnterpriseWebSearch.Builder.class); } + private int bitField0_; public static final int EXCLUDE_DOMAINS_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -137,6 +139,70 @@ public com.google.protobuf.ByteString getExcludeDomainsBytes(int index) { return excludeDomains_.getByteString(index); } + public static final int BLOCKING_CONFIDENCE_FIELD_NUMBER = 4; + private int blockingConfidence_ = 0; + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.forNumber(blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -154,6 +220,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < excludeDomains_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, excludeDomains_.getRaw(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(4, blockingConfidence_); + } getUnknownFields().writeTo(output); } @@ -171,6 +240,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getExcludeDomainsList().size(); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, blockingConfidence_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -188,6 +260,10 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1beta1.EnterpriseWebSearch) obj; if (!getExcludeDomainsList().equals(other.getExcludeDomainsList())) return false; + if (hasBlockingConfidence() != other.hasBlockingConfidence()) return false; + if (hasBlockingConfidence()) { + if (blockingConfidence_ != other.blockingConfidence_) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,6 +279,10 @@ public int hashCode() { hash = (37 * hash) + EXCLUDE_DOMAINS_FIELD_NUMBER; hash = (53 * hash) + getExcludeDomainsList().hashCode(); } + if (hasBlockingConfidence()) { + hash = (37 * hash) + BLOCKING_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + blockingConfidence_; + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -346,6 +426,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; return this; } @@ -386,6 +467,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.EnterpriseWebSear excludeDomains_.makeImmutable(); result.excludeDomains_ = excludeDomains_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.blockingConfidence_ = blockingConfidence_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -444,6 +531,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.EnterpriseWebSearch } onChanged(); } + if (other.hasBlockingConfidence()) { + setBlockingConfidence(other.getBlockingConfidence()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -477,6 +567,12 @@ public Builder mergeFrom( excludeDomains_.add(s); break; } // case 10 + case 32: + { + blockingConfidence_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -688,6 +784,139 @@ public Builder addExcludeDomainsBytes(com.google.protobuf.ByteString value) { return this; } + private int blockingConfidence_ = 0; + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidenceValue(int value) { + blockingConfidence_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.forNumber( + blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidence( + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + blockingConfidence_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearBlockingConfidence() { + bitField0_ = (bitField0_ & ~0x00000002); + blockingConfidence_ = 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EnterpriseWebSearchOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EnterpriseWebSearchOrBuilder.java index 1e80dbc7d758..737023c6f412 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EnterpriseWebSearchOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EnterpriseWebSearchOrBuilder.java @@ -81,4 +81,52 @@ public interface EnterpriseWebSearchOrBuilder * @return The bytes of the excludeDomains at the given index. */ com.google.protobuf.ByteString getExcludeDomainsBytes(int index); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + boolean hasBlockingConfidence(); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + int getBlockingConfidenceValue(); + + /** + * + * + *
+   * Optional. Sites with confidence level chosen & above this value will be
+   * blocked from the search results.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMaps.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMaps.java index 010e272120c8..19ca398b3058 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMaps.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMaps.java @@ -62,6 +62,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.GoogleMaps.Builder.class); } + public static final int ENABLE_WIDGET_FIELD_NUMBER = 1; + private boolean enableWidget_ = false; + + /** + * + * + *
+   * If true, include the widget context token in the response.
+   * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + @java.lang.Override + public boolean getEnableWidget() { + return enableWidget_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -76,6 +95,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (enableWidget_ != false) { + output.writeBool(1, enableWidget_); + } getUnknownFields().writeTo(output); } @@ -85,6 +107,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (enableWidget_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableWidget_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -101,6 +126,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.aiplatform.v1beta1.GoogleMaps other = (com.google.cloud.aiplatform.v1beta1.GoogleMaps) obj; + if (getEnableWidget() != other.getEnableWidget()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -112,6 +138,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLE_WIDGET_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWidget()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -251,6 +279,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + enableWidget_ = false; return this; } @@ -278,10 +308,20 @@ public com.google.cloud.aiplatform.v1beta1.GoogleMaps build() { public com.google.cloud.aiplatform.v1beta1.GoogleMaps buildPartial() { com.google.cloud.aiplatform.v1beta1.GoogleMaps result = new com.google.cloud.aiplatform.v1beta1.GoogleMaps(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GoogleMaps result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enableWidget_ = enableWidget_; + } + } + @java.lang.Override public Builder clone() { return super.clone(); @@ -327,6 +367,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GoogleMaps other) { if (other == com.google.cloud.aiplatform.v1beta1.GoogleMaps.getDefaultInstance()) return this; + if (other.getEnableWidget() != false) { + setEnableWidget(other.getEnableWidget()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -353,6 +396,12 @@ public Builder mergeFrom( case 0: done = true; break; + case 8: + { + enableWidget_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -370,6 +419,64 @@ public Builder mergeFrom( return this; } + private int bitField0_; + + private boolean enableWidget_; + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + @java.lang.Override + public boolean getEnableWidget() { + return enableWidget_; + } + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableWidget to set. + * @return This builder for chaining. + */ + public Builder setEnableWidget(boolean value) { + + enableWidget_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * If true, include the widget context token in the response.
+     * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnableWidget() { + bitField0_ = (bitField0_ & ~0x00000001); + enableWidget_ = 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMapsOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMapsOrBuilder.java index 00d6e34af77b..9f35d84c1700 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMapsOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GoogleMapsOrBuilder.java @@ -22,4 +22,18 @@ public interface GoogleMapsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GoogleMaps) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, include the widget context token in the response.
+   * 
+ * + * bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableWidget. + */ + boolean getEnableWidget(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java index 970a41bb3ae0..af556d40f77a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingChunk.java @@ -3171,54 +3171,2427 @@ public interface MapsOrBuilder * @return The bytes for placeId. */ com.google.protobuf.ByteString getPlaceIdBytes(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + boolean hasPlaceAnswerSources(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + getPlaceAnswerSources(); + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder(); } - /** - * - * - *
-   * Chunk from Google Maps.
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.Maps} - */ - public static final class Maps extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps) - MapsOrBuilder { - private static final long serialVersionUID = 0L; + /** + * + * + *
+   * Chunk from Google Maps.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.Maps} + */ + public static final class Maps extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps) + MapsOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Maps.newBuilder() to construct. + private Maps(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Maps() { + uri_ = ""; + title_ = ""; + text_ = ""; + placeId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Maps(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.Builder.class); + } + + public interface PlaceAnswerSourcesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + getReviewSnippetsList(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + getReviewSnippets(int index); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + int getReviewSnippetsCount(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList(); + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index); + } + + /** + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources} + */ + public static final class PlaceAnswerSources extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) + PlaceAnswerSourcesOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PlaceAnswerSources.newBuilder() to construct. + private PlaceAnswerSources(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PlaceAnswerSources() { + reviewSnippets_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PlaceAnswerSources(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder + .class); + } + + public interface ReviewSnippetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + java.lang.String getReviewId(); + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + com.google.protobuf.ByteString getReviewIdBytes(); + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + java.lang.String getGoogleMapsUri(); + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + com.google.protobuf.ByteString getGoogleMapsUriBytes(); + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The title. + */ + java.lang.String getTitle(); + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + com.google.protobuf.ByteString getTitleBytes(); + } + + /** + * + * + *
+       * Encapsulates a review snippet.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet} + */ + public static final class ReviewSnippet extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + ReviewSnippetOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ReviewSnippet.newBuilder() to construct. + private ReviewSnippet(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReviewSnippet() { + reviewId_ = ""; + googleMapsUri_ = ""; + title_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReviewSnippet(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder.class); + } + + public static final int REVIEW_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object reviewId_ = ""; + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + @java.lang.Override + public java.lang.String getReviewId() { + java.lang.Object ref = reviewId_; + 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(); + reviewId_ = s; + return s; + } + } + + /** + * + * + *
+         * Id of the review referencing the place.
+         * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReviewIdBytes() { + java.lang.Object ref = reviewId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reviewId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GOOGLE_MAPS_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object googleMapsUri_ = ""; + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + @java.lang.Override + public java.lang.String getGoogleMapsUri() { + java.lang.Object ref = googleMapsUri_; + 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(); + googleMapsUri_ = s; + return s; + } + } + + /** + * + * + *
+         * A link to show the review on Google Maps.
+         * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGoogleMapsUriBytes() { + java.lang.Object ref = googleMapsUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TITLE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object title_ = ""; + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The title. + */ + @java.lang.Override + public java.lang.String getTitle() { + java.lang.Object ref = title_; + 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(); + title_ = s; + return s; + } + } + + /** + * + * + *
+         * Title of the review.
+         * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = 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(reviewId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reviewId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleMapsUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, googleMapsUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, title_); + } + 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(reviewId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reviewId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleMapsUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, googleMapsUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, title_); + } + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + other = + (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) + obj; + + if (!getReviewId().equals(other.getReviewId())) return false; + if (!getGoogleMapsUri().equals(other.getGoogleMapsUri())) return false; + if (!getTitle().equals(other.getTitle())) 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) + REVIEW_ID_FIELD_NUMBER; + hash = (53 * hash) + getReviewId().hashCode(); + hash = (37 * hash) + GOOGLE_MAPS_URI_FIELD_NUMBER; + hash = (53 * hash) + getGoogleMapsUri().hashCode(); + hash = (37 * hash) + TITLE_FIELD_NUMBER; + hash = (53 * hash) + getTitle().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + 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.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + 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; + } + + /** + * + * + *
+         * Encapsulates a review snippet.
+         * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + reviewId_ = ""; + googleMapsUri_ = ""; + title_ = ""; + 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_GroundingChunk_Maps_PlaceAnswerSources_ReviewSnippet_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + build() { + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + buildPartial() { + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + result = + new com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reviewId_ = reviewId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.googleMapsUri_ = googleMapsUri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.title_ = title_; + } + } + + @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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()) return this; + if (!other.getReviewId().isEmpty()) { + reviewId_ = other.reviewId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getGoogleMapsUri().isEmpty()) { + googleMapsUri_ = other.googleMapsUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTitle().isEmpty()) { + title_ = other.title_; + bitField0_ |= 0x00000004; + 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: + { + reviewId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + googleMapsUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + title_ = input.readStringRequireUtf8(); + 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 reviewId_ = ""; + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return The reviewId. + */ + public java.lang.String getReviewId() { + java.lang.Object ref = reviewId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reviewId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return The bytes for reviewId. + */ + public com.google.protobuf.ByteString getReviewIdBytes() { + java.lang.Object ref = reviewId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reviewId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @param value The reviewId to set. + * @return This builder for chaining. + */ + public Builder setReviewId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + reviewId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearReviewId() { + reviewId_ = getDefaultInstance().getReviewId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+           * Id of the review referencing the place.
+           * 
+ * + * string review_id = 1; + * + * @param value The bytes for reviewId to set. + * @return This builder for chaining. + */ + public Builder setReviewIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reviewId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object googleMapsUri_ = ""; + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return The googleMapsUri. + */ + public java.lang.String getGoogleMapsUri() { + java.lang.Object ref = googleMapsUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + googleMapsUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return The bytes for googleMapsUri. + */ + public com.google.protobuf.ByteString getGoogleMapsUriBytes() { + java.lang.Object ref = googleMapsUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @param value The googleMapsUri to set. + * @return This builder for chaining. + */ + public Builder setGoogleMapsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + googleMapsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearGoogleMapsUri() { + googleMapsUri_ = getDefaultInstance().getGoogleMapsUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+           * A link to show the review on Google Maps.
+           * 
+ * + * string google_maps_uri = 2; + * + * @param value The bytes for googleMapsUri to set. + * @return This builder for chaining. + */ + public Builder setGoogleMapsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleMapsUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object title_ = ""; + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return The title. + */ + public java.lang.String getTitle() { + java.lang.Object ref = title_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + title_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return The bytes for title. + */ + public com.google.protobuf.ByteString getTitleBytes() { + java.lang.Object ref = title_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + title_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @param value The title to set. + * @return This builder for chaining. + */ + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + title_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @return This builder for chaining. + */ + public Builder clearTitle() { + title_ = getDefaultInstance().getTitle(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+           * Title of the review.
+           * 
+ * + * string title = 3; + * + * @param value The bytes for title to set. + * @return This builder for chaining. + */ + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; + bitField0_ |= 0x00000004; + 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.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet) + private static final com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps + .PlaceAnswerSources.ReviewSnippet + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet(); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReviewSnippet 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.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int REVIEW_SNIPPETS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + reviewSnippets_; + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + getReviewSnippetsList() { + return reviewSnippets_; + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList() { + return reviewSnippets_; + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public int getReviewSnippetsCount() { + return reviewSnippets_.size(); + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getReviewSnippets(int index) { + return reviewSnippets_.get(index); + } + + /** + * + * + *
+       * Snippets of reviews that are used to generate the answer.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index) { + return reviewSnippets_.get(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 < reviewSnippets_.size(); i++) { + output.writeMessage(1, reviewSnippets_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < reviewSnippets_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, reviewSnippets_.get(i)); + } + 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.GroundingChunk.Maps.PlaceAnswerSources)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources other = + (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) obj; + + if (!getReviewSnippetsList().equals(other.getReviewSnippetsList())) 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 (getReviewSnippetsCount() > 0) { + hash = (37 * hash) + REVIEW_SNIPPETS_FIELD_NUMBER; + hash = (53 * hash) + getReviewSnippetsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources + 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.GroundingChunk.Maps.PlaceAnswerSources 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; + } + + /** + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_PlaceAnswerSources_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.class, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (reviewSnippetsBuilder_ == null) { + reviewSnippets_ = java.util.Collections.emptyList(); + } else { + reviewSnippets_ = null; + reviewSnippetsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + 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_GroundingChunk_Maps_PlaceAnswerSources_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources build() { + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + buildPartial() { + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources result = + new com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources result) { + if (reviewSnippetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reviewSnippets_ = java.util.Collections.unmodifiableList(reviewSnippets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reviewSnippets_ = reviewSnippets_; + } else { + result.reviewSnippets_ = reviewSnippetsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources result) { + int from_bitField0_ = 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.GroundingChunk.Maps.PlaceAnswerSources) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources other) { + if (other + == com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance()) return this; + if (reviewSnippetsBuilder_ == null) { + if (!other.reviewSnippets_.isEmpty()) { + if (reviewSnippets_.isEmpty()) { + reviewSnippets_ = other.reviewSnippets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.addAll(other.reviewSnippets_); + } + onChanged(); + } + } else { + if (!other.reviewSnippets_.isEmpty()) { + if (reviewSnippetsBuilder_.isEmpty()) { + reviewSnippetsBuilder_.dispose(); + reviewSnippetsBuilder_ = null; + reviewSnippets_ = other.reviewSnippets_; + bitField0_ = (bitField0_ & ~0x00000001); + reviewSnippetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReviewSnippetsFieldBuilder() + : null; + } else { + reviewSnippetsBuilder_.addAllMessages(other.reviewSnippets_); + } + } + } + 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: + { + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps + .PlaceAnswerSources.ReviewSnippet.parser(), + extensionRegistry); + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(m); + } else { + reviewSnippetsBuilder_.addMessage(m); + } + 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.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + reviewSnippets_ = java.util.Collections.emptyList(); + + private void ensureReviewSnippetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reviewSnippets_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet>(reviewSnippets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + reviewSnippetsBuilder_; + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + getReviewSnippetsList() { + if (reviewSnippetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reviewSnippets_); + } else { + return reviewSnippetsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public int getReviewSnippetsCount() { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.size(); + } else { + return reviewSnippetsBuilder_.getCount(); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet + getReviewSnippets(int index) { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.get(index); + } else { + return reviewSnippetsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder setReviewSnippets( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.set(index, value); + onChanged(); + } else { + reviewSnippetsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder setReviewSnippets( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.set(index, builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(value); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + value) { + if (reviewSnippetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(index, value); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addReviewSnippets( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + .Builder + builderForValue) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.add(index, builderForValue.build()); + onChanged(); + } else { + reviewSnippetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder addAllReviewSnippets( + java.lang.Iterable< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet> + values) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reviewSnippets_); + onChanged(); + } else { + reviewSnippetsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder clearReviewSnippets() { + if (reviewSnippetsBuilder_ == null) { + reviewSnippets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + reviewSnippetsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public Builder removeReviewSnippets(int index) { + if (reviewSnippetsBuilder_ == null) { + ensureReviewSnippetsIsMutable(); + reviewSnippets_.remove(index); + onChanged(); + } else { + reviewSnippetsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder + getReviewSnippetsBuilder(int index) { + return getReviewSnippetsFieldBuilder().getBuilder(index); + } - // Use Maps.newBuilder() to construct. - private Maps(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder + getReviewSnippetsOrBuilder(int index) { + if (reviewSnippetsBuilder_ == null) { + return reviewSnippets_.get(index); + } else { + return reviewSnippetsBuilder_.getMessageOrBuilder(index); + } + } - private Maps() { - uri_ = ""; - title_ = ""; - text_ = ""; - placeId_ = ""; - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsOrBuilderList() { + if (reviewSnippetsBuilder_ != null) { + return reviewSnippetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reviewSnippets_); + } + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Maps(); - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder + addReviewSnippetsBuilder() { + return getReviewSnippetsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.ContentProto - .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_descriptor; - } + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder + addReviewSnippetsBuilder(int index) { + return getReviewSnippetsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.getDefaultInstance()); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.ContentProto - .internal_static_google_cloud_aiplatform_v1beta1_GroundingChunk_Maps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.class, - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.Builder.class); + /** + * + * + *
+         * Snippets of reviews that are used to generate the answer.
+         * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * + */ + public java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder> + getReviewSnippetsBuilderList() { + return getReviewSnippetsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder> + getReviewSnippetsFieldBuilder() { + if (reviewSnippetsBuilder_ == null) { + reviewSnippetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippet.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .ReviewSnippetOrBuilder>( + reviewSnippets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + reviewSnippets_ = null; + } + return reviewSnippetsBuilder_; + } + + @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.GroundingChunk.Maps.PlaceAnswerSources) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources) + private static final com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps + .PlaceAnswerSources + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources(); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlaceAnswerSources 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.GroundingChunk.Maps.PlaceAnswerSources + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } private int bitField0_; @@ -3501,6 +5874,76 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { } } + public static final int PLACE_ANSWER_SOURCES_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + placeAnswerSources_; + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + @java.lang.Override + public boolean hasPlaceAnswerSources() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + getPlaceAnswerSources() { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + + /** + * + * + *
+     * Sources used to generate the place answer.
+     * This includes review snippets and photos that were used to generate the
+     * answer, as well as uris to flag content.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder() { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3527,6 +5970,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, placeId_); } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getPlaceAnswerSources()); + } getUnknownFields().writeTo(output); } @@ -3548,6 +5994,10 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, placeId_); } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPlaceAnswerSources()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3580,6 +6030,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPlaceId()) { if (!getPlaceId().equals(other.getPlaceId())) return false; } + if (hasPlaceAnswerSources() != other.hasPlaceAnswerSources()) return false; + if (hasPlaceAnswerSources()) { + if (!getPlaceAnswerSources().equals(other.getPlaceAnswerSources())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3607,6 +6061,10 @@ public int hashCode() { hash = (37 * hash) + PLACE_ID_FIELD_NUMBER; hash = (53 * hash) + getPlaceId().hashCode(); } + if (hasPlaceAnswerSources()) { + hash = (37 * hash) + PLACE_ANSWER_SOURCES_FIELD_NUMBER; + hash = (53 * hash) + getPlaceAnswerSources().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3740,10 +6198,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.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) { + getPlaceAnswerSourcesFieldBuilder(); + } } @java.lang.Override @@ -3754,6 +6221,11 @@ public Builder clear() { title_ = ""; text_ = ""; placeId_ = ""; + placeAnswerSources_ = null; + if (placeAnswerSourcesBuilder_ != null) { + placeAnswerSourcesBuilder_.dispose(); + placeAnswerSourcesBuilder_ = null; + } return this; } @@ -3807,6 +6279,13 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GroundingChunk.Ma result.placeId_ = placeId_; to_bitField0_ |= 0x00000008; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.placeAnswerSources_ = + placeAnswerSourcesBuilder_ == null + ? placeAnswerSources_ + : placeAnswerSourcesBuilder_.build(); + to_bitField0_ |= 0x00000010; + } result.bitField0_ |= to_bitField0_; } @@ -3878,6 +6357,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps bitField0_ |= 0x00000008; onChanged(); } + if (other.hasPlaceAnswerSources()) { + mergePlaceAnswerSources(other.getPlaceAnswerSources()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3928,6 +6410,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 42: + { + input.readMessage( + getPlaceAnswerSourcesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4457,6 +6946,250 @@ public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + placeAnswerSources_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder> + placeAnswerSourcesBuilder_; + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return Whether the placeAnswerSources field is set. + */ + public boolean hasPlaceAnswerSources() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + * + * @return The placeAnswerSources. + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + getPlaceAnswerSources() { + if (placeAnswerSourcesBuilder_ == null) { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } else { + return placeAnswerSourcesBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder setPlaceAnswerSources( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources value) { + if (placeAnswerSourcesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + placeAnswerSources_ = value; + } else { + placeAnswerSourcesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder setPlaceAnswerSources( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder + builderForValue) { + if (placeAnswerSourcesBuilder_ == null) { + placeAnswerSources_ = builderForValue.build(); + } else { + placeAnswerSourcesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder mergePlaceAnswerSources( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources value) { + if (placeAnswerSourcesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && placeAnswerSources_ != null + && placeAnswerSources_ + != com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance()) { + getPlaceAnswerSourcesBuilder().mergeFrom(value); + } else { + placeAnswerSources_ = value; + } + } else { + placeAnswerSourcesBuilder_.mergeFrom(value); + } + if (placeAnswerSources_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public Builder clearPlaceAnswerSources() { + bitField0_ = (bitField0_ & ~0x00000010); + placeAnswerSources_ = null; + if (placeAnswerSourcesBuilder_ != null) { + placeAnswerSourcesBuilder_.dispose(); + placeAnswerSourcesBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder + getPlaceAnswerSourcesBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getPlaceAnswerSourcesFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder + getPlaceAnswerSourcesOrBuilder() { + if (placeAnswerSourcesBuilder_ != null) { + return placeAnswerSourcesBuilder_.getMessageOrBuilder(); + } else { + return placeAnswerSources_ == null + ? com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .getDefaultInstance() + : placeAnswerSources_; + } + } + + /** + * + * + *
+       * Sources used to generate the place answer.
+       * This includes review snippets and photos that were used to generate the
+       * answer, as well as uris to flag content.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder> + getPlaceAnswerSourcesFieldBuilder() { + if (placeAnswerSourcesBuilder_ == null) { + placeAnswerSourcesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps.PlaceAnswerSources + .Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps + .PlaceAnswerSourcesOrBuilder>( + getPlaceAnswerSources(), getParentForChildren(), isClean()); + placeAnswerSources_ = null; + } + return placeAnswerSourcesBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java index cd82f43f2c67..8b88436b6841 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadata.java @@ -45,6 +45,7 @@ private GroundingMetadata() { groundingChunks_ = java.util.Collections.emptyList(); groundingSupports_ = java.util.Collections.emptyList(); googleMapsWidgetContextToken_ = ""; + sourceFlaggingUris_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -68,1263 +69,2750 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.GroundingMetadata.Builder.class); } - private int bitField0_; - public static final int WEB_SEARCH_QUERIES_FIELD_NUMBER = 1; + public interface SourceFlaggingUriOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) + com.google.protobuf.MessageOrBuilder { - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList webSearchQueries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + java.lang.String getSourceId(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the webSearchQueries. - */ - public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { - return webSearchQueries_; - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + com.google.protobuf.ByteString getSourceIdBytes(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of webSearchQueries. - */ - public int getWebSearchQueriesCount() { - return webSearchQueries_.size(); - } + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + java.lang.String getFlagContentUri(); - /** - * - * - *
-   * Optional. Web search queries for the following-up web search.
-   * 
- * - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The webSearchQueries at the given index. - */ - public java.lang.String getWebSearchQueries(int index) { - return webSearchQueries_.get(index); + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + com.google.protobuf.ByteString getFlagContentUriBytes(); } /** * * *
-   * Optional. Web search queries for the following-up web search.
+   * Source content flagging uri for a place or review. This is currently
+   * populated only for Google Maps grounding.
    * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the webSearchQueries at the given index. + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri} */ - public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { - return webSearchQueries_.getByteString(index); - } - - public static final int SEARCH_ENTRY_POINT_FIELD_NUMBER = 4; - private com.google.cloud.aiplatform.v1beta1.SearchEntryPoint searchEntryPoint_; + public static final class SourceFlaggingUri extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) + SourceFlaggingUriOrBuilder { + private static final long serialVersionUID = 0L; - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the searchEntryPoint field is set. - */ - @java.lang.Override - public boolean hasSearchEntryPoint() { - return ((bitField0_ & 0x00000001) != 0); - } + // Use SourceFlaggingUri.newBuilder() to construct. + private SourceFlaggingUri(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The searchEntryPoint. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint getSearchEntryPoint() { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; - } + private SourceFlaggingUri() { + sourceId_ = ""; + flagContentUri_ = ""; + } - /** - * - * - *
-   * Optional. Google search entry for the following-up web searches.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder - getSearchEntryPointOrBuilder() { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; - } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceFlaggingUri(); + } - public static final int RETRIEVAL_QUERIES_FIELD_NUMBER = 3; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_descriptor; + } - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList retrievalQueries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.class, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + .class); + } - /** - * - * - *
-   * Optional. Queries executed by the retrieval tools.
-   * 
- * - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the retrievalQueries. - */ - public com.google.protobuf.ProtocolStringList getRetrievalQueriesList() { - return retrievalQueries_; - } + public static final int SOURCE_ID_FIELD_NUMBER = 1; - /** - * - * - *
-   * Optional. Queries executed by the retrieval tools.
-   * 
- * - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of retrievalQueries. - */ - public int getRetrievalQueriesCount() { - return retrievalQueries_.size(); - } + @SuppressWarnings("serial") + private volatile java.lang.Object sourceId_ = ""; - /** - * - * - *
-   * Optional. Queries executed by the retrieval tools.
-   * 
- * - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The retrievalQueries at the given index. - */ - public java.lang.String getRetrievalQueries(int index) { - return retrievalQueries_.get(index); - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + @java.lang.Override + public java.lang.String getSourceId() { + java.lang.Object ref = sourceId_; + 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(); + sourceId_ = s; + return s; + } + } - /** - * - * - *
-   * Optional. Queries executed by the retrieval tools.
-   * 
- * - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the retrievalQueries at the given index. - */ - public com.google.protobuf.ByteString getRetrievalQueriesBytes(int index) { - return retrievalQueries_.getByteString(index); - } + /** + * + * + *
+     * Id of the place or review.
+     * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceIdBytes() { + java.lang.Object ref = sourceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static final int GROUNDING_CHUNKS_FIELD_NUMBER = 5; + public static final int FLAG_CONTENT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List groundingChunks_; + @SuppressWarnings("serial") + private volatile java.lang.Object flagContentUri_ = ""; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public java.util.List - getGroundingChunksList() { - return groundingChunks_; - } + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + @java.lang.Override + public java.lang.String getFlagContentUri() { + java.lang.Object ref = flagContentUri_; + 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(); + flagContentUri_ = s; + return s; + } + } - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public java.util.List - getGroundingChunksOrBuilderList() { - return groundingChunks_; - } + /** + * + * + *
+     * A link where users can flag a problem with the source (place or review).
+     * (-- The link is generated by Google and it does not contain
+     * information from the user query. It may contain information of the
+     * content it is flagging, which can be used to identify places. --)
+     * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFlagContentUriBytes() { + java.lang.Object ref = flagContentUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flagContentUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public int getGroundingChunksCount() { - return groundingChunks_.size(); - } + private byte memoizedIsInitialized = -1; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) { - return groundingChunks_.get(index); - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * - * - *
-   * List of supporting references retrieved from specified grounding source.
-   * 
- * - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( - int index) { - return groundingChunks_.get(index); - } + memoizedIsInitialized = 1; + return true; + } - public static final int GROUNDING_SUPPORTS_FIELD_NUMBER = 6; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagContentUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagContentUri_); + } + getUnknownFields().writeTo(output); + } - @SuppressWarnings("serial") - private java.util.List groundingSupports_; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - /** - * - * - *
-   * Optional. List of grounding support.
-   * 
- * - * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public java.util.List - getGroundingSupportsList() { - return groundingSupports_; - } + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagContentUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagContentUri_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * - * - *
-   * Optional. List of grounding support.
-   * 
- * - * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public java.util.List - getGroundingSupportsOrBuilderList() { - return groundingSupports_; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri other = + (com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) obj; - /** - * - * - *
-   * Optional. List of grounding support.
-   * 
- * - * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public int getGroundingSupportsCount() { - return groundingSupports_.size(); - } + if (!getSourceId().equals(other.getSourceId())) return false; + if (!getFlagContentUri().equals(other.getFlagContentUri())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * - * - *
-   * Optional. List of grounding support.
-   * 
- * - * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) { - return groundingSupports_.get(index); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SOURCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getSourceId().hashCode(); + hash = (37 * hash) + FLAG_CONTENT_URI_FIELD_NUMBER; + hash = (53 * hash) + getFlagContentUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * - * - *
-   * Optional. List of grounding support.
-   * 
- * - * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder - getGroundingSupportsOrBuilder(int index) { - return groundingSupports_.get(index); - } + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static final int RETRIEVAL_METADATA_FIELD_NUMBER = 7; - private com.google.cloud.aiplatform.v1beta1.RetrievalMetadata retrievalMetadata_; + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * - * - *
-   * Optional. Output only. Retrieval metadata.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the retrievalMetadata field is set. - */ - @java.lang.Override - public boolean hasRetrievalMetadata() { - return ((bitField0_ & 0x00000002) != 0); - } + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - * - * - *
-   * Optional. Output only. Retrieval metadata.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The retrievalMetadata. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata getRetrievalMetadata() { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; - } + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * - * - *
-   * Optional. Output only. Retrieval metadata.
-   * 
- * - * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder - getRetrievalMetadataOrBuilder() { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + 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.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri 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; + } + + /** + * + * + *
+     * Source content flagging uri for a place or review. This is currently
+     * populated only for Google Maps grounding.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_SourceFlaggingUri_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.class, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sourceId_ = ""; + flagContentUri_ = ""; + 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_GroundingMetadata_SourceFlaggingUri_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri build() { + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + buildPartial() { + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri result = + new com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sourceId_ = sourceId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flagContentUri_ = flagContentUri_; + } + } + + @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.GroundingMetadata.SourceFlaggingUri) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri other) { + if (other + == com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()) return this; + if (!other.getSourceId().isEmpty()) { + sourceId_ = other.sourceId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFlagContentUri().isEmpty()) { + flagContentUri_ = other.flagContentUri_; + bitField0_ |= 0x00000002; + 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: + { + sourceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + flagContentUri_ = input.readStringRequireUtf8(); + 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 java.lang.Object sourceId_ = ""; + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return The sourceId. + */ + public java.lang.String getSourceId() { + java.lang.Object ref = sourceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return The bytes for sourceId. + */ + public com.google.protobuf.ByteString getSourceIdBytes() { + java.lang.Object ref = sourceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @param value The sourceId to set. + * @return This builder for chaining. + */ + public Builder setSourceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearSourceId() { + sourceId_ = getDefaultInstance().getSourceId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Id of the place or review.
+       * 
+ * + * string source_id = 1; + * + * @param value The bytes for sourceId to set. + * @return This builder for chaining. + */ + public Builder setSourceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object flagContentUri_ = ""; + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return The flagContentUri. + */ + public java.lang.String getFlagContentUri() { + java.lang.Object ref = flagContentUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flagContentUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return The bytes for flagContentUri. + */ + public com.google.protobuf.ByteString getFlagContentUriBytes() { + java.lang.Object ref = flagContentUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + flagContentUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @param value The flagContentUri to set. + * @return This builder for chaining. + */ + public Builder setFlagContentUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + flagContentUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearFlagContentUri() { + flagContentUri_ = getDefaultInstance().getFlagContentUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * A link where users can flag a problem with the source (place or review).
+       * (-- The link is generated by Google and it does not contain
+       * information from the user query. It may contain information of the
+       * content it is flagging, which can be used to identify places. --)
+       * 
+ * + * string flag_content_uri = 2; + * + * @param value The bytes for flagContentUri to set. + * @return This builder for chaining. + */ + public Builder setFlagContentUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + flagContentUri_ = value; + bitField0_ |= 0x00000002; + 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.GroundingMetadata.SourceFlaggingUri) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri) + private static final com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri(); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceFlaggingUri 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.GroundingMetadata.SourceFlaggingUri + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } - public static final int GOOGLE_MAPS_WIDGET_CONTEXT_TOKEN_FIELD_NUMBER = 8; + private int bitField0_; + public static final int WEB_SEARCH_QUERIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private volatile java.lang.Object googleMapsWidgetContextToken_ = ""; + private com.google.protobuf.LazyStringArrayList webSearchQueries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
-   * Optional. Output only. Resource name of the Google Maps widget context
-   * token to be used with the PlacesContextElement widget to render contextual
-   * data. This is populated only for Google Maps grounding.
+   * Optional. Web search queries for the following-up web search.
    * 
* - * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; * - * @return Whether the googleMapsWidgetContextToken field is set. + * @return A list containing the webSearchQueries. */ - @java.lang.Override - public boolean hasGoogleMapsWidgetContextToken() { - return ((bitField0_ & 0x00000004) != 0); + public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { + return webSearchQueries_; } /** * * *
-   * Optional. Output only. Resource name of the Google Maps widget context
-   * token to be used with the PlacesContextElement widget to render contextual
-   * data. This is populated only for Google Maps grounding.
+   * Optional. Web search queries for the following-up web search.
    * 
* - * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The googleMapsWidgetContextToken. + * @return The count of webSearchQueries. */ - @java.lang.Override - public java.lang.String getGoogleMapsWidgetContextToken() { - java.lang.Object ref = googleMapsWidgetContextToken_; - 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(); - googleMapsWidgetContextToken_ = s; - return s; - } + public int getWebSearchQueriesCount() { + return webSearchQueries_.size(); } /** * * *
-   * Optional. Output only. Resource name of the Google Maps widget context
-   * token to be used with the PlacesContextElement widget to render contextual
-   * data. This is populated only for Google Maps grounding.
+   * Optional. Web search queries for the following-up web search.
    * 
* - * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The bytes for googleMapsWidgetContextToken. + * @param index The index of the element to return. + * @return The webSearchQueries at the given index. */ - @java.lang.Override - public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - googleMapsWidgetContextToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public java.lang.String getWebSearchQueries(int index) { + return webSearchQueries_.get(index); } - private byte memoizedIsInitialized = -1; + /** + * + * + *
+   * Optional. Web search queries for the following-up web search.
+   * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the webSearchQueries at the given index. + */ + public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { + return webSearchQueries_.getByteString(index); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public static final int SEARCH_ENTRY_POINT_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.SearchEntryPoint searchEntryPoint_; - memoizedIsInitialized = 1; - return true; + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the searchEntryPoint field is set. + */ + @java.lang.Override + public boolean hasSearchEntryPoint() { + return ((bitField0_ & 0x00000001) != 0); } + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The searchEntryPoint. + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < webSearchQueries_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, webSearchQueries_.getRaw(i)); - } - for (int i = 0; i < retrievalQueries_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, retrievalQueries_.getRaw(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(4, getSearchEntryPoint()); - } - for (int i = 0; i < groundingChunks_.size(); i++) { - output.writeMessage(5, groundingChunks_.get(i)); - } - for (int i = 0; i < groundingSupports_.size(); i++) { - output.writeMessage(6, groundingSupports_.get(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(7, getRetrievalMetadata()); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, googleMapsWidgetContextToken_); - } - getUnknownFields().writeTo(output); + public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint getSearchEntryPoint() { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; } + /** + * + * + *
+   * Optional. Google search entry for the following-up web searches.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < webSearchQueries_.size(); i++) { - dataSize += computeStringSizeNoTag(webSearchQueries_.getRaw(i)); - } - size += dataSize; - size += 1 * getWebSearchQueriesList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < retrievalQueries_.size(); i++) { - dataSize += computeStringSizeNoTag(retrievalQueries_.getRaw(i)); - } - size += dataSize; - size += 1 * getRetrievalQueriesList().size(); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSearchEntryPoint()); - } - for (int i = 0; i < groundingChunks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, groundingChunks_.get(i)); - } - for (int i = 0; i < groundingSupports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, groundingSupports_.get(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRetrievalMetadata()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 8, googleMapsWidgetContextToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; + public com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder + getSearchEntryPointOrBuilder() { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.GroundingMetadata)) { - return super.equals(obj); - } - com.google.cloud.aiplatform.v1beta1.GroundingMetadata other = - (com.google.cloud.aiplatform.v1beta1.GroundingMetadata) obj; + public static final int RETRIEVAL_QUERIES_FIELD_NUMBER = 3; - if (!getWebSearchQueriesList().equals(other.getWebSearchQueriesList())) return false; - if (hasSearchEntryPoint() != other.hasSearchEntryPoint()) return false; - if (hasSearchEntryPoint()) { - if (!getSearchEntryPoint().equals(other.getSearchEntryPoint())) return false; - } - if (!getRetrievalQueriesList().equals(other.getRetrievalQueriesList())) return false; - if (!getGroundingChunksList().equals(other.getGroundingChunksList())) return false; - if (!getGroundingSupportsList().equals(other.getGroundingSupportsList())) return false; - if (hasRetrievalMetadata() != other.hasRetrievalMetadata()) return false; - if (hasRetrievalMetadata()) { - if (!getRetrievalMetadata().equals(other.getRetrievalMetadata())) return false; - } - if (hasGoogleMapsWidgetContextToken() != other.hasGoogleMapsWidgetContextToken()) return false; - if (hasGoogleMapsWidgetContextToken()) { - if (!getGoogleMapsWidgetContextToken().equals(other.getGoogleMapsWidgetContextToken())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList retrievalQueries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getWebSearchQueriesCount() > 0) { - hash = (37 * hash) + WEB_SEARCH_QUERIES_FIELD_NUMBER; - hash = (53 * hash) + getWebSearchQueriesList().hashCode(); - } - if (hasSearchEntryPoint()) { - hash = (37 * hash) + SEARCH_ENTRY_POINT_FIELD_NUMBER; - hash = (53 * hash) + getSearchEntryPoint().hashCode(); - } - if (getRetrievalQueriesCount() > 0) { - hash = (37 * hash) + RETRIEVAL_QUERIES_FIELD_NUMBER; - hash = (53 * hash) + getRetrievalQueriesList().hashCode(); - } - if (getGroundingChunksCount() > 0) { - hash = (37 * hash) + GROUNDING_CHUNKS_FIELD_NUMBER; - hash = (53 * hash) + getGroundingChunksList().hashCode(); - } - if (getGroundingSupportsCount() > 0) { - hash = (37 * hash) + GROUNDING_SUPPORTS_FIELD_NUMBER; - hash = (53 * hash) + getGroundingSupportsList().hashCode(); - } - if (hasRetrievalMetadata()) { - hash = (37 * hash) + RETRIEVAL_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getRetrievalMetadata().hashCode(); - } - if (hasGoogleMapsWidgetContextToken()) { - hash = (37 * hash) + GOOGLE_MAPS_WIDGET_CONTEXT_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getGoogleMapsWidgetContextToken().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; + /** + * + * + *
+   * Optional. Queries executed by the retrieval tools.
+   * 
+ * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the retrievalQueries. + */ + public com.google.protobuf.ProtocolStringList getRetrievalQueriesList() { + return retrievalQueries_; } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + /** + * + * + *
+   * Optional. Queries executed by the retrieval tools.
+   * 
+ * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of retrievalQueries. + */ + public int getRetrievalQueriesCount() { + return retrievalQueries_.size(); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + /** + * + * + *
+   * Optional. Queries executed by the retrieval tools.
+   * 
+ * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The retrievalQueries at the given index. + */ + public java.lang.String getRetrievalQueries(int index) { + return retrievalQueries_.get(index); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + /** + * + * + *
+   * Optional. Queries executed by the retrieval tools.
+   * 
+ * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the retrievalQueries at the given index. + */ + public com.google.protobuf.ByteString getRetrievalQueriesBytes(int index) { + return retrievalQueries_.getByteString(index); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int GROUNDING_CHUNKS_FIELD_NUMBER = 5; - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @SuppressWarnings("serial") + private java.util.List groundingChunks_; - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public java.util.List + getGroundingChunksList() { + return groundingChunks_; } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public java.util.List + getGroundingChunksOrBuilderList() { + return groundingChunks_; } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public int getGroundingChunksCount() { + return groundingChunks_.size(); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) { + return groundingChunks_.get(index); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + /** + * + * + *
+   * List of supporting references retrieved from specified grounding source.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( + int index) { + return groundingChunks_.get(index); } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static final int GROUNDING_SUPPORTS_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private java.util.List groundingSupports_; + + /** + * + * + *
+   * Optional. List of grounding support.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getGroundingSupportsList() { + return groundingSupports_; } - public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + /** + * + * + *
+   * Optional. List of grounding support.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getGroundingSupportsOrBuilderList() { + return groundingSupports_; } + /** + * + * + *
+   * Optional. List of grounding support.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + public int getGroundingSupportsCount() { + return groundingSupports_.size(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + /** + * + * + *
+   * Optional. List of grounding support.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) { + return groundingSupports_.get(index); } - public static Builder newBuilder( - com.google.cloud.aiplatform.v1beta1.GroundingMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + /** + * + * + *
+   * Optional. List of grounding support.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder + getGroundingSupportsOrBuilder(int index) { + return groundingSupports_.get(index); } + public static final int RETRIEVAL_METADATA_FIELD_NUMBER = 7; + private com.google.cloud.aiplatform.v1beta1.RetrievalMetadata retrievalMetadata_; + + /** + * + * + *
+   * Optional. Output only. Retrieval metadata.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the retrievalMetadata field is set. + */ @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + public boolean hasRetrievalMetadata() { + return ((bitField0_ & 0x00000002) != 0); } + /** + * + * + *
+   * Optional. Output only. Retrieval metadata.
+   * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The retrievalMetadata. + */ @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata getRetrievalMetadata() { + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; } /** * * *
-   * Metadata returned to client when grounding is enabled.
+   * Optional. Output only. Retrieval metadata.
    * 
* - * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingMetadata} + * + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GroundingMetadata) - com.google.cloud.aiplatform.v1beta1.GroundingMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.ContentProto - .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor; + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder + getRetrievalMetadataOrBuilder() { + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; + } + + public static final int GOOGLE_MAPS_WIDGET_CONTEXT_TOKEN_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private volatile java.lang.Object googleMapsWidgetContextToken_ = ""; + + /** + * + * + *
+   * Optional. Output only. Resource name of the Google Maps widget context
+   * token to be used with the PlacesContextElement widget to render contextual
+   * data. This is populated only for Google Maps grounding.
+   * 
+ * + * + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the googleMapsWidgetContextToken field is set. + */ + @java.lang.Override + public boolean hasGoogleMapsWidgetContextToken() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Optional. Output only. Resource name of the Google Maps widget context
+   * token to be used with the PlacesContextElement widget to render contextual
+   * data. This is populated only for Google Maps grounding.
+   * 
+ * + * + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The googleMapsWidgetContextToken. + */ + @java.lang.Override + public java.lang.String getGoogleMapsWidgetContextToken() { + java.lang.Object ref = googleMapsWidgetContextToken_; + 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(); + googleMapsWidgetContextToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Output only. Resource name of the Google Maps widget context
+   * token to be used with the PlacesContextElement widget to render contextual
+   * data. This is populated only for Google Maps grounding.
+   * 
+ * + * + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for googleMapsWidgetContextToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsWidgetContextToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_FLAGGING_URIS_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private java.util.List + sourceFlaggingUris_; + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public java.util.List + getSourceFlaggingUrisList() { + return sourceFlaggingUris_; + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList() { + return sourceFlaggingUris_; + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public int getSourceFlaggingUrisCount() { + return sourceFlaggingUris_.size(); + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + getSourceFlaggingUris(int index) { + return sourceFlaggingUris_.get(index); + } + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index) { + return sourceFlaggingUris_.get(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 < webSearchQueries_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, webSearchQueries_.getRaw(i)); + } + for (int i = 0; i < retrievalQueries_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, retrievalQueries_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getSearchEntryPoint()); + } + for (int i = 0; i < groundingChunks_.size(); i++) { + output.writeMessage(5, groundingChunks_.get(i)); + } + for (int i = 0; i < groundingSupports_.size(); i++) { + output.writeMessage(6, groundingSupports_.get(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(7, getRetrievalMetadata()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, googleMapsWidgetContextToken_); + } + for (int i = 0; i < sourceFlaggingUris_.size(); i++) { + output.writeMessage(9, sourceFlaggingUris_.get(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 < webSearchQueries_.size(); i++) { + dataSize += computeStringSizeNoTag(webSearchQueries_.getRaw(i)); + } + size += dataSize; + size += 1 * getWebSearchQueriesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < retrievalQueries_.size(); i++) { + dataSize += computeStringSizeNoTag(retrievalQueries_.getRaw(i)); + } + size += dataSize; + size += 1 * getRetrievalQueriesList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSearchEntryPoint()); + } + for (int i = 0; i < groundingChunks_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, groundingChunks_.get(i)); + } + for (int i = 0; i < groundingSupports_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, groundingSupports_.get(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRetrievalMetadata()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 8, googleMapsWidgetContextToken_); + } + for (int i = 0; i < sourceFlaggingUris_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, sourceFlaggingUris_.get(i)); + } + 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.GroundingMetadata)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GroundingMetadata other = + (com.google.cloud.aiplatform.v1beta1.GroundingMetadata) obj; + + if (!getWebSearchQueriesList().equals(other.getWebSearchQueriesList())) return false; + if (hasSearchEntryPoint() != other.hasSearchEntryPoint()) return false; + if (hasSearchEntryPoint()) { + if (!getSearchEntryPoint().equals(other.getSearchEntryPoint())) return false; + } + if (!getRetrievalQueriesList().equals(other.getRetrievalQueriesList())) return false; + if (!getGroundingChunksList().equals(other.getGroundingChunksList())) return false; + if (!getGroundingSupportsList().equals(other.getGroundingSupportsList())) return false; + if (hasRetrievalMetadata() != other.hasRetrievalMetadata()) return false; + if (hasRetrievalMetadata()) { + if (!getRetrievalMetadata().equals(other.getRetrievalMetadata())) return false; + } + if (hasGoogleMapsWidgetContextToken() != other.hasGoogleMapsWidgetContextToken()) return false; + if (hasGoogleMapsWidgetContextToken()) { + if (!getGoogleMapsWidgetContextToken().equals(other.getGoogleMapsWidgetContextToken())) + return false; + } + if (!getSourceFlaggingUrisList().equals(other.getSourceFlaggingUrisList())) 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 (getWebSearchQueriesCount() > 0) { + hash = (37 * hash) + WEB_SEARCH_QUERIES_FIELD_NUMBER; + hash = (53 * hash) + getWebSearchQueriesList().hashCode(); + } + if (hasSearchEntryPoint()) { + hash = (37 * hash) + SEARCH_ENTRY_POINT_FIELD_NUMBER; + hash = (53 * hash) + getSearchEntryPoint().hashCode(); + } + if (getRetrievalQueriesCount() > 0) { + hash = (37 * hash) + RETRIEVAL_QUERIES_FIELD_NUMBER; + hash = (53 * hash) + getRetrievalQueriesList().hashCode(); + } + if (getGroundingChunksCount() > 0) { + hash = (37 * hash) + GROUNDING_CHUNKS_FIELD_NUMBER; + hash = (53 * hash) + getGroundingChunksList().hashCode(); + } + if (getGroundingSupportsCount() > 0) { + hash = (37 * hash) + GROUNDING_SUPPORTS_FIELD_NUMBER; + hash = (53 * hash) + getGroundingSupportsList().hashCode(); + } + if (hasRetrievalMetadata()) { + hash = (37 * hash) + RETRIEVAL_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getRetrievalMetadata().hashCode(); + } + if (hasGoogleMapsWidgetContextToken()) { + hash = (37 * hash) + GOOGLE_MAPS_WIDGET_CONTEXT_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getGoogleMapsWidgetContextToken().hashCode(); + } + if (getSourceFlaggingUrisCount() > 0) { + hash = (37 * hash) + SOURCE_FLAGGING_URIS_FIELD_NUMBER; + hash = (53 * hash) + getSourceFlaggingUrisList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata 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.GroundingMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata 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.GroundingMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata 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.GroundingMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata 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.GroundingMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GroundingMetadata 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.GroundingMetadata 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.GroundingMetadata 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.GroundingMetadata 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; + } + + /** + * + * + *
+   * Metadata returned to client when grounding is enabled.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GroundingMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GroundingMetadata) + com.google.cloud.aiplatform.v1beta1.GroundingMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ContentProto + .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.class, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.GroundingMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSearchEntryPointFieldBuilder(); + getGroundingChunksFieldBuilder(); + getGroundingSupportsFieldBuilder(); + getRetrievalMetadataFieldBuilder(); + getSourceFlaggingUrisFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + searchEntryPoint_ = null; + if (searchEntryPointBuilder_ != null) { + searchEntryPointBuilder_.dispose(); + searchEntryPointBuilder_ = null; + } + retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + if (groundingChunksBuilder_ == null) { + groundingChunks_ = java.util.Collections.emptyList(); + } else { + groundingChunks_ = null; + groundingChunksBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (groundingSupportsBuilder_ == null) { + groundingSupports_ = java.util.Collections.emptyList(); + } else { + groundingSupports_ = null; + groundingSupportsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + retrievalMetadata_ = null; + if (retrievalMetadataBuilder_ != null) { + retrievalMetadataBuilder_.dispose(); + retrievalMetadataBuilder_ = null; + } + googleMapsWidgetContextToken_ = ""; + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUris_ = java.util.Collections.emptyList(); + } else { + sourceFlaggingUris_ = null; + sourceFlaggingUrisBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + 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_GroundingMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GroundingMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata build() { + com.google.cloud.aiplatform.v1beta1.GroundingMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata buildPartial() { + com.google.cloud.aiplatform.v1beta1.GroundingMetadata result = + new com.google.cloud.aiplatform.v1beta1.GroundingMetadata(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata result) { + if (groundingChunksBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.groundingChunks_ = groundingChunks_; + } else { + result.groundingChunks_ = groundingChunksBuilder_.build(); + } + if (groundingSupportsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.groundingSupports_ = groundingSupports_; + } else { + result.groundingSupports_ = groundingSupportsBuilder_.build(); + } + if (sourceFlaggingUrisBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + sourceFlaggingUris_ = java.util.Collections.unmodifiableList(sourceFlaggingUris_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.sourceFlaggingUris_ = sourceFlaggingUris_; + } else { + result.sourceFlaggingUris_ = sourceFlaggingUrisBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GroundingMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + webSearchQueries_.makeImmutable(); + result.webSearchQueries_ = webSearchQueries_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.searchEntryPoint_ = + searchEntryPointBuilder_ == null ? searchEntryPoint_ : searchEntryPointBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + retrievalQueries_.makeImmutable(); + result.retrievalQueries_ = retrievalQueries_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.retrievalMetadata_ = + retrievalMetadataBuilder_ == null + ? retrievalMetadata_ + : retrievalMetadataBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.googleMapsWidgetContextToken_ = googleMapsWidgetContextToken_; + 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.cloud.aiplatform.v1beta1.GroundingMetadata) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.GroundingMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GroundingMetadata other) { + if (other == com.google.cloud.aiplatform.v1beta1.GroundingMetadata.getDefaultInstance()) + return this; + if (!other.webSearchQueries_.isEmpty()) { + if (webSearchQueries_.isEmpty()) { + webSearchQueries_ = other.webSearchQueries_; + bitField0_ |= 0x00000001; + } else { + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.addAll(other.webSearchQueries_); + } + onChanged(); + } + if (other.hasSearchEntryPoint()) { + mergeSearchEntryPoint(other.getSearchEntryPoint()); + } + if (!other.retrievalQueries_.isEmpty()) { + if (retrievalQueries_.isEmpty()) { + retrievalQueries_ = other.retrievalQueries_; + bitField0_ |= 0x00000004; + } else { + ensureRetrievalQueriesIsMutable(); + retrievalQueries_.addAll(other.retrievalQueries_); + } + onChanged(); + } + if (groundingChunksBuilder_ == null) { + if (!other.groundingChunks_.isEmpty()) { + if (groundingChunks_.isEmpty()) { + groundingChunks_ = other.groundingChunks_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureGroundingChunksIsMutable(); + groundingChunks_.addAll(other.groundingChunks_); + } + onChanged(); + } + } else { + if (!other.groundingChunks_.isEmpty()) { + if (groundingChunksBuilder_.isEmpty()) { + groundingChunksBuilder_.dispose(); + groundingChunksBuilder_ = null; + groundingChunks_ = other.groundingChunks_; + bitField0_ = (bitField0_ & ~0x00000008); + groundingChunksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroundingChunksFieldBuilder() + : null; + } else { + groundingChunksBuilder_.addAllMessages(other.groundingChunks_); + } + } + } + if (groundingSupportsBuilder_ == null) { + if (!other.groundingSupports_.isEmpty()) { + if (groundingSupports_.isEmpty()) { + groundingSupports_ = other.groundingSupports_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureGroundingSupportsIsMutable(); + groundingSupports_.addAll(other.groundingSupports_); + } + onChanged(); + } + } else { + if (!other.groundingSupports_.isEmpty()) { + if (groundingSupportsBuilder_.isEmpty()) { + groundingSupportsBuilder_.dispose(); + groundingSupportsBuilder_ = null; + groundingSupports_ = other.groundingSupports_; + bitField0_ = (bitField0_ & ~0x00000010); + groundingSupportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroundingSupportsFieldBuilder() + : null; + } else { + groundingSupportsBuilder_.addAllMessages(other.groundingSupports_); + } + } + } + if (other.hasRetrievalMetadata()) { + mergeRetrievalMetadata(other.getRetrievalMetadata()); + } + if (other.hasGoogleMapsWidgetContextToken()) { + googleMapsWidgetContextToken_ = other.googleMapsWidgetContextToken_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (sourceFlaggingUrisBuilder_ == null) { + if (!other.sourceFlaggingUris_.isEmpty()) { + if (sourceFlaggingUris_.isEmpty()) { + sourceFlaggingUris_ = other.sourceFlaggingUris_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.addAll(other.sourceFlaggingUris_); + } + onChanged(); + } + } else { + if (!other.sourceFlaggingUris_.isEmpty()) { + if (sourceFlaggingUrisBuilder_.isEmpty()) { + sourceFlaggingUrisBuilder_.dispose(); + sourceFlaggingUrisBuilder_ = null; + sourceFlaggingUris_ = other.sourceFlaggingUris_; + bitField0_ = (bitField0_ & ~0x00000080); + sourceFlaggingUrisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSourceFlaggingUrisFieldBuilder() + : null; + } else { + sourceFlaggingUrisBuilder_.addAllMessages(other.sourceFlaggingUris_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.ContentProto - .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.GroundingMetadata.class, - com.google.cloud.aiplatform.v1beta1.GroundingMetadata.Builder.class); + public final boolean isInitialized() { + return true; } - // Construct using com.google.cloud.aiplatform.v1beta1.GroundingMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + @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(); + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(s); + break; + } // case 10 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRetrievalQueriesIsMutable(); + retrievalQueries_.add(s); + break; + } // case 26 + case 34: + { + input.readMessage( + getSearchEntryPointFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 34 + case 42: + { + com.google.cloud.aiplatform.v1beta1.GroundingChunk m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.parser(), + extensionRegistry); + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(m); + } else { + groundingChunksBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: + { + com.google.cloud.aiplatform.v1beta1.GroundingSupport m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.GroundingSupport.parser(), + extensionRegistry); + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(m); + } else { + groundingSupportsBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: + { + input.readMessage( + getRetrievalMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + googleMapsWidgetContextToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + .parser(), + extensionRegistry); + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(m); + } else { + sourceFlaggingUrisBuilder_.addMessage(m); + } + break; + } // case 74 + 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 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + private int bitField0_; - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSearchEntryPointFieldBuilder(); - getGroundingChunksFieldBuilder(); - getGroundingSupportsFieldBuilder(); - getRetrievalMetadataFieldBuilder(); + private com.google.protobuf.LazyStringArrayList webSearchQueries_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureWebSearchQueriesIsMutable() { + if (!webSearchQueries_.isModifiable()) { + webSearchQueries_ = new com.google.protobuf.LazyStringArrayList(webSearchQueries_); } + bitField0_ |= 0x00000001; } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - searchEntryPoint_ = null; - if (searchEntryPointBuilder_ != null) { - searchEntryPointBuilder_.dispose(); - searchEntryPointBuilder_ = null; - } - retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (groundingChunksBuilder_ == null) { - groundingChunks_ = java.util.Collections.emptyList(); - } else { - groundingChunks_ = null; - groundingChunksBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (groundingSupportsBuilder_ == null) { - groundingSupports_ = java.util.Collections.emptyList(); - } else { - groundingSupports_ = null; - groundingSupportsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - retrievalMetadata_ = null; - if (retrievalMetadataBuilder_ != null) { - retrievalMetadataBuilder_.dispose(); - retrievalMetadataBuilder_ = null; - } - googleMapsWidgetContextToken_ = ""; - return this; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the webSearchQueries. + */ + public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { + webSearchQueries_.makeImmutable(); + return webSearchQueries_; } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.aiplatform.v1beta1.ContentProto - .internal_static_google_cloud_aiplatform_v1beta1_GroundingMetadata_descriptor; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of webSearchQueries. + */ + public int getWebSearchQueriesCount() { + return webSearchQueries_.size(); } - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingMetadata getDefaultInstanceForType() { - return com.google.cloud.aiplatform.v1beta1.GroundingMetadata.getDefaultInstance(); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The webSearchQueries at the given index. + */ + public java.lang.String getWebSearchQueries(int index) { + return webSearchQueries_.get(index); } - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingMetadata build() { - com.google.cloud.aiplatform.v1beta1.GroundingMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the webSearchQueries at the given index. + */ + public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { + return webSearchQueries_.getByteString(index); } - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.GroundingMetadata buildPartial() { - com.google.cloud.aiplatform.v1beta1.GroundingMetadata result = - new com.google.cloud.aiplatform.v1beta1.GroundingMetadata(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The webSearchQueries to set. + * @return This builder for chaining. + */ + public Builder setWebSearchQueries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - onBuilt(); - return result; + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - private void buildPartialRepeatedFields( - com.google.cloud.aiplatform.v1beta1.GroundingMetadata result) { - if (groundingChunksBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - groundingChunks_ = java.util.Collections.unmodifiableList(groundingChunks_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.groundingChunks_ = groundingChunks_; - } else { - result.groundingChunks_ = groundingChunksBuilder_.build(); - } - if (groundingSupportsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - groundingSupports_ = java.util.Collections.unmodifiableList(groundingSupports_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.groundingSupports_ = groundingSupports_; - } else { - result.groundingSupports_ = groundingSupportsBuilder_.build(); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addWebSearchQueries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GroundingMetadata result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - webSearchQueries_.makeImmutable(); - result.webSearchQueries_ = webSearchQueries_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.searchEntryPoint_ = - searchEntryPointBuilder_ == null ? searchEntryPoint_ : searchEntryPointBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - retrievalQueries_.makeImmutable(); - result.retrievalQueries_ = retrievalQueries_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.retrievalMetadata_ = - retrievalMetadataBuilder_ == null - ? retrievalMetadata_ - : retrievalMetadataBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.googleMapsWidgetContextToken_ = googleMapsWidgetContextToken_; - to_bitField0_ |= 0x00000004; - } - result.bitField0_ |= to_bitField0_; + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addAllWebSearchQueries(java.lang.Iterable values) { + ensureWebSearchQueriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webSearchQueries_); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder clone() { - return super.clone(); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearWebSearchQueries() { + webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + /** + * + * + *
+     * Optional. Web search queries for the following-up web search.
+     * 
+ * + * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the webSearchQueries to add. + * @return This builder for chaining. + */ + public Builder addWebSearchQueriesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureWebSearchQueriesIsMutable(); + webSearchQueries_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } + private com.google.cloud.aiplatform.v1beta1.SearchEntryPoint searchEntryPoint_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder> + searchEntryPointBuilder_; - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the searchEntryPoint field is set. + */ + public boolean hasSearchEntryPoint() { + return ((bitField0_ & 0x00000002) != 0); } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The searchEntryPoint. + */ + public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint getSearchEntryPoint() { + if (searchEntryPointBuilder_ == null) { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; + } else { + return searchEntryPointBuilder_.getMessage(); + } } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSearchEntryPoint(com.google.cloud.aiplatform.v1beta1.SearchEntryPoint value) { + if (searchEntryPointBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchEntryPoint_ = value; + } else { + searchEntryPointBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.aiplatform.v1beta1.GroundingMetadata) { - return mergeFrom((com.google.cloud.aiplatform.v1beta1.GroundingMetadata) other); + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSearchEntryPoint( + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder builderForValue) { + if (searchEntryPointBuilder_ == null) { + searchEntryPoint_ = builderForValue.build(); } else { - super.mergeFrom(other); - return this; + searchEntryPointBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000002; + onChanged(); + return this; } - public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GroundingMetadata other) { - if (other == com.google.cloud.aiplatform.v1beta1.GroundingMetadata.getDefaultInstance()) - return this; - if (!other.webSearchQueries_.isEmpty()) { - if (webSearchQueries_.isEmpty()) { - webSearchQueries_ = other.webSearchQueries_; - bitField0_ |= 0x00000001; - } else { - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.addAll(other.webSearchQueries_); - } - onChanged(); - } - if (other.hasSearchEntryPoint()) { - mergeSearchEntryPoint(other.getSearchEntryPoint()); - } - if (!other.retrievalQueries_.isEmpty()) { - if (retrievalQueries_.isEmpty()) { - retrievalQueries_ = other.retrievalQueries_; - bitField0_ |= 0x00000004; + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeSearchEntryPoint( + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint value) { + if (searchEntryPointBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && searchEntryPoint_ != null + && searchEntryPoint_ + != com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance()) { + getSearchEntryPointBuilder().mergeFrom(value); } else { - ensureRetrievalQueriesIsMutable(); - retrievalQueries_.addAll(other.retrievalQueries_); - } - onChanged(); - } - if (groundingChunksBuilder_ == null) { - if (!other.groundingChunks_.isEmpty()) { - if (groundingChunks_.isEmpty()) { - groundingChunks_ = other.groundingChunks_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureGroundingChunksIsMutable(); - groundingChunks_.addAll(other.groundingChunks_); - } - onChanged(); - } - } else { - if (!other.groundingChunks_.isEmpty()) { - if (groundingChunksBuilder_.isEmpty()) { - groundingChunksBuilder_.dispose(); - groundingChunksBuilder_ = null; - groundingChunks_ = other.groundingChunks_; - bitField0_ = (bitField0_ & ~0x00000008); - groundingChunksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroundingChunksFieldBuilder() - : null; - } else { - groundingChunksBuilder_.addAllMessages(other.groundingChunks_); - } - } - } - if (groundingSupportsBuilder_ == null) { - if (!other.groundingSupports_.isEmpty()) { - if (groundingSupports_.isEmpty()) { - groundingSupports_ = other.groundingSupports_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureGroundingSupportsIsMutable(); - groundingSupports_.addAll(other.groundingSupports_); - } - onChanged(); + searchEntryPoint_ = value; } } else { - if (!other.groundingSupports_.isEmpty()) { - if (groundingSupportsBuilder_.isEmpty()) { - groundingSupportsBuilder_.dispose(); - groundingSupportsBuilder_ = null; - groundingSupports_ = other.groundingSupports_; - bitField0_ = (bitField0_ & ~0x00000010); - groundingSupportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroundingSupportsFieldBuilder() - : null; - } else { - groundingSupportsBuilder_.addAllMessages(other.groundingSupports_); - } - } - } - if (other.hasRetrievalMetadata()) { - mergeRetrievalMetadata(other.getRetrievalMetadata()); + searchEntryPointBuilder_.mergeFrom(value); } - if (other.hasGoogleMapsWidgetContextToken()) { - googleMapsWidgetContextToken_ = other.googleMapsWidgetContextToken_; - bitField0_ |= 0x00000040; + if (searchEntryPoint_ != null) { + bitField0_ |= 0x00000002; 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(); + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearSearchEntryPoint() { + bitField0_ = (bitField0_ & ~0x00000002); + searchEntryPoint_ = null; + if (searchEntryPointBuilder_ != null) { + searchEntryPointBuilder_.dispose(); + searchEntryPointBuilder_ = null; } - 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(); - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(s); - break; - } // case 10 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRetrievalQueriesIsMutable(); - retrievalQueries_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage( - getSearchEntryPointFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 34 - case 42: - { - com.google.cloud.aiplatform.v1beta1.GroundingChunk m = - input.readMessage( - com.google.cloud.aiplatform.v1beta1.GroundingChunk.parser(), - extensionRegistry); - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(m); - } else { - groundingChunksBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - com.google.cloud.aiplatform.v1beta1.GroundingSupport m = - input.readMessage( - com.google.cloud.aiplatform.v1beta1.GroundingSupport.parser(), - extensionRegistry); - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(m); - } else { - groundingSupportsBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: - { - input.readMessage( - getRetrievalMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - googleMapsWidgetContextToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - 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 + onChanged(); return this; } - private int bitField0_; + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder + getSearchEntryPointBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSearchEntryPointFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder + getSearchEntryPointOrBuilder() { + if (searchEntryPointBuilder_ != null) { + return searchEntryPointBuilder_.getMessageOrBuilder(); + } else { + return searchEntryPoint_ == null + ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() + : searchEntryPoint_; + } + } - private com.google.protobuf.LazyStringArrayList webSearchQueries_ = + /** + * + * + *
+     * Optional. Google search entry for the following-up web searches.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder> + getSearchEntryPointFieldBuilder() { + if (searchEntryPointBuilder_ == null) { + searchEntryPointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, + com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, + com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder>( + getSearchEntryPoint(), getParentForChildren(), isClean()); + searchEntryPoint_ = null; + } + return searchEntryPointBuilder_; + } + + private com.google.protobuf.LazyStringArrayList retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureWebSearchQueriesIsMutable() { - if (!webSearchQueries_.isModifiable()) { - webSearchQueries_ = new com.google.protobuf.LazyStringArrayList(webSearchQueries_); + private void ensureRetrievalQueriesIsMutable() { + if (!retrievalQueries_.isModifiable()) { + retrievalQueries_ = new com.google.protobuf.LazyStringArrayList(retrievalQueries_); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000004; } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * - * @return A list containing the webSearchQueries. + * @return A list containing the retrievalQueries. */ - public com.google.protobuf.ProtocolStringList getWebSearchQueriesList() { - webSearchQueries_.makeImmutable(); - return webSearchQueries_; + public com.google.protobuf.ProtocolStringList getRetrievalQueriesList() { + retrievalQueries_.makeImmutable(); + return retrievalQueries_; } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The count of webSearchQueries. + * @return The count of retrievalQueries. */ - public int getWebSearchQueriesCount() { - return webSearchQueries_.size(); + public int getRetrievalQueriesCount() { + return retrievalQueries_.size(); } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. - * @return The webSearchQueries at the given index. + * @return The retrievalQueries at the given index. */ - public java.lang.String getWebSearchQueries(int index) { - return webSearchQueries_.get(index); + public java.lang.String getRetrievalQueries(int index) { + return retrievalQueries_.get(index); } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. - * @return The bytes of the webSearchQueries at the given index. + * @return The bytes of the retrievalQueries at the given index. */ - public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) { - return webSearchQueries_.getByteString(index); + public com.google.protobuf.ByteString getRetrievalQueriesBytes(int index) { + return retrievalQueries_.getByteString(index); } /** * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. - * @param value The webSearchQueries to set. + * @param value The retrievalQueries to set. * @return This builder for chaining. */ - public Builder setWebSearchQueries(int index, java.lang.String value) { + public Builder setRetrievalQueries(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.set(index, value); - bitField0_ |= 0x00000001; + ensureRetrievalQueriesIsMutable(); + retrievalQueries_.set(index, value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1333,22 +2821,21 @@ public Builder setWebSearchQueries(int index, java.lang.String value) { * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The webSearchQueries to add. + * @param value The retrievalQueries to add. * @return This builder for chaining. */ - public Builder addWebSearchQueries(java.lang.String value) { + public Builder addRetrievalQueries(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(value); - bitField0_ |= 0x00000001; + ensureRetrievalQueriesIsMutable(); + retrievalQueries_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1357,19 +2844,18 @@ public Builder addWebSearchQueries(java.lang.String value) { * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * - * @param values The webSearchQueries to add. + * @param values The retrievalQueries to add. * @return This builder for chaining. */ - public Builder addAllWebSearchQueries(java.lang.Iterable values) { - ensureWebSearchQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, webSearchQueries_); - bitField0_ |= 0x00000001; + public Builder addAllRetrievalQueries(java.lang.Iterable values) { + ensureRetrievalQueriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, retrievalQueries_); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1378,17 +2864,16 @@ public Builder addAllWebSearchQueries(java.lang.Iterable value * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ - public Builder clearWebSearchQueries() { - webSearchQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder clearRetrievalQueries() { + retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); ; onChanged(); return this; @@ -1398,71 +2883,76 @@ public Builder clearWebSearchQueries() { * * *
-     * Optional. Web search queries for the following-up web search.
+     * Optional. Queries executed by the retrieval tools.
      * 
* - * repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The bytes of the webSearchQueries to add. + * @param value The bytes of the retrievalQueries to add. * @return This builder for chaining. */ - public Builder addWebSearchQueriesBytes(com.google.protobuf.ByteString value) { + public Builder addRetrievalQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureWebSearchQueriesIsMutable(); - webSearchQueries_.add(value); - bitField0_ |= 0x00000001; + ensureRetrievalQueriesIsMutable(); + retrievalQueries_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } - private com.google.cloud.aiplatform.v1beta1.SearchEntryPoint searchEntryPoint_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder> - searchEntryPointBuilder_; + private java.util.List groundingChunks_ = + java.util.Collections.emptyList(); + + private void ensureGroundingChunksIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + groundingChunks_ = + new java.util.ArrayList( + groundingChunks_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder> + groundingChunksBuilder_; /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the searchEntryPoint field is set. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public boolean hasSearchEntryPoint() { - return ((bitField0_ & 0x00000002) != 0); + public java.util.List + getGroundingChunksList() { + if (groundingChunksBuilder_ == null) { + return java.util.Collections.unmodifiableList(groundingChunks_); + } else { + return groundingChunksBuilder_.getMessageList(); + } } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The searchEntryPoint. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint getSearchEntryPoint() { - if (searchEntryPointBuilder_ == null) { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; + public int getGroundingChunksCount() { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.size(); } else { - return searchEntryPointBuilder_.getMessage(); + return groundingChunksBuilder_.getCount(); } } @@ -1470,47 +2960,40 @@ public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint getSearchEntryPoint( * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder setSearchEntryPoint(com.google.cloud.aiplatform.v1beta1.SearchEntryPoint value) { - if (searchEntryPointBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - searchEntryPoint_ = value; + public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.get(index); } else { - searchEntryPointBuilder_.setMessage(value); + return groundingChunksBuilder_.getMessage(index); } - bitField0_ |= 0x00000002; - onChanged(); - return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder setSearchEntryPoint( - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder builderForValue) { - if (searchEntryPointBuilder_ == null) { - searchEntryPoint_ = builderForValue.build(); + public Builder setGroundingChunks( + int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.set(index, value); + onChanged(); } else { - searchEntryPointBuilder_.setMessage(builderForValue.build()); + groundingChunksBuilder_.setMessage(index, value); } - bitField0_ |= 0x00000002; - onChanged(); return this; } @@ -1518,30 +3001,19 @@ public Builder setSearchEntryPoint( * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder mergeSearchEntryPoint( - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint value) { - if (searchEntryPointBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && searchEntryPoint_ != null - && searchEntryPoint_ - != com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance()) { - getSearchEntryPointBuilder().mergeFrom(value); - } else { - searchEntryPoint_ = value; - } - } else { - searchEntryPointBuilder_.mergeFrom(value); - } - if (searchEntryPoint_ != null) { - bitField0_ |= 0x00000002; + public Builder setGroundingChunks( + int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.set(index, builderForValue.build()); onChanged(); + } else { + groundingChunksBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -1550,21 +3022,22 @@ public Builder mergeSearchEntryPoint( * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder clearSearchEntryPoint() { - bitField0_ = (bitField0_ & ~0x00000002); - searchEntryPoint_ = null; - if (searchEntryPointBuilder_ != null) { - searchEntryPointBuilder_.dispose(); - searchEntryPointBuilder_ = null; + public Builder addGroundingChunks(com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.add(value); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(value); } - onChanged(); return this; } @@ -1572,286 +3045,278 @@ public Builder clearSearchEntryPoint() { * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder - getSearchEntryPointBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getSearchEntryPointFieldBuilder().getBuilder(); + public Builder addGroundingChunks( + int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { + if (groundingChunksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroundingChunksIsMutable(); + groundingChunks_.add(index, value); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(index, value); + } + return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder - getSearchEntryPointOrBuilder() { - if (searchEntryPointBuilder_ != null) { - return searchEntryPointBuilder_.getMessageOrBuilder(); + public Builder addGroundingChunks( + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(builderForValue.build()); + onChanged(); } else { - return searchEntryPoint_ == null - ? com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.getDefaultInstance() - : searchEntryPoint_; + groundingChunksBuilder_.addMessage(builderForValue.build()); } + return this; } /** * * *
-     * Optional. Google search entry for the following-up web searches.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * - * optional .google.cloud.aiplatform.v1beta1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder> - getSearchEntryPointFieldBuilder() { - if (searchEntryPointBuilder_ == null) { - searchEntryPointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint, - com.google.cloud.aiplatform.v1beta1.SearchEntryPoint.Builder, - com.google.cloud.aiplatform.v1beta1.SearchEntryPointOrBuilder>( - getSearchEntryPoint(), getParentForChildren(), isClean()); - searchEntryPoint_ = null; - } - return searchEntryPointBuilder_; - } - - private com.google.protobuf.LazyStringArrayList retrievalQueries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureRetrievalQueriesIsMutable() { - if (!retrievalQueries_.isModifiable()) { - retrievalQueries_ = new com.google.protobuf.LazyStringArrayList(retrievalQueries_); + public Builder addGroundingChunks( + int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.add(index, builderForValue.build()); + onChanged(); + } else { + groundingChunksBuilder_.addMessage(index, builderForValue.build()); } - bitField0_ |= 0x00000004; + return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the retrievalQueries. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public com.google.protobuf.ProtocolStringList getRetrievalQueriesList() { - retrievalQueries_.makeImmutable(); - return retrievalQueries_; + public Builder addAllGroundingChunks( + java.lang.Iterable values) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunks_); + onChanged(); + } else { + groundingChunksBuilder_.addAllMessages(values); + } + return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of retrievalQueries. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public int getRetrievalQueriesCount() { - return retrievalQueries_.size(); + public Builder clearGroundingChunks() { + if (groundingChunksBuilder_ == null) { + groundingChunks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + groundingChunksBuilder_.clear(); + } + return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The retrievalQueries at the given index. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public java.lang.String getRetrievalQueries(int index) { - return retrievalQueries_.get(index); + public Builder removeGroundingChunks(int index) { + if (groundingChunksBuilder_ == null) { + ensureGroundingChunksIsMutable(); + groundingChunks_.remove(index); + onChanged(); + } else { + groundingChunksBuilder_.remove(index); + } + return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the retrievalQueries at the given index. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public com.google.protobuf.ByteString getRetrievalQueriesBytes(int index) { - return retrievalQueries_.getByteString(index); + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder getGroundingChunksBuilder( + int index) { + return getGroundingChunksFieldBuilder().getBuilder(index); } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index to set the value at. - * @param value The retrievalQueries to set. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder setRetrievalQueries(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( + int index) { + if (groundingChunksBuilder_ == null) { + return groundingChunks_.get(index); + } else { + return groundingChunksBuilder_.getMessageOrBuilder(index); } - ensureRetrievalQueriesIsMutable(); - retrievalQueries_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
-     * 
- * - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; + * List of supporting references retrieved from specified grounding source. + * * - * @param value The retrievalQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder addRetrievalQueries(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public java.util.List + getGroundingChunksOrBuilderList() { + if (groundingChunksBuilder_ != null) { + return groundingChunksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(groundingChunks_); } - ensureRetrievalQueriesIsMutable(); - retrievalQueries_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param values The retrievalQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder addAllRetrievalQueries(java.lang.Iterable values) { - ensureRetrievalQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, retrievalQueries_); - bitField0_ |= 0x00000004; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder() { + return getGroundingChunksFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance()); } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder clearRetrievalQueries() { - retrievalQueries_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder( + int index) { + return getGroundingChunksFieldBuilder() + .addBuilder( + index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance()); } /** * * *
-     * Optional. Queries executed by the retrieval tools.
+     * List of supporting references retrieved from specified grounding source.
      * 
* - * repeated string retrieval_queries = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes of the retrievalQueries to add. - * @return This builder for chaining. + * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; */ - public Builder addRetrievalQueriesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public java.util.List + getGroundingChunksBuilderList() { + return getGroundingChunksFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder> + getGroundingChunksFieldBuilder() { + if (groundingChunksBuilder_ == null) { + groundingChunksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingChunk, + com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder>( + groundingChunks_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + groundingChunks_ = null; } - checkByteStringIsUtf8(value); - ensureRetrievalQueriesIsMutable(); - retrievalQueries_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; + return groundingChunksBuilder_; } - private java.util.List groundingChunks_ = - java.util.Collections.emptyList(); + private java.util.List + groundingSupports_ = java.util.Collections.emptyList(); - private void ensureGroundingChunksIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - groundingChunks_ = - new java.util.ArrayList( - groundingChunks_); - bitField0_ |= 0x00000008; + private void ensureGroundingSupportsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + groundingSupports_ = + new java.util.ArrayList( + groundingSupports_); + bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingChunk, - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder> - groundingChunksBuilder_; + com.google.cloud.aiplatform.v1beta1.GroundingSupport, + com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder> + groundingSupportsBuilder_; /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getGroundingChunksList() { - if (groundingChunksBuilder_ == null) { - return java.util.Collections.unmodifiableList(groundingChunks_); + public java.util.List + getGroundingSupportsList() { + if (groundingSupportsBuilder_ == null) { + return java.util.Collections.unmodifiableList(groundingSupports_); } else { - return groundingChunksBuilder_.getMessageList(); + return groundingSupportsBuilder_.getMessageList(); } } @@ -1859,16 +3324,18 @@ private void ensureGroundingChunksIsMutable() { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public int getGroundingChunksCount() { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.size(); + public int getGroundingSupportsCount() { + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.size(); } else { - return groundingChunksBuilder_.getCount(); + return groundingSupportsBuilder_.getCount(); } } @@ -1876,16 +3343,18 @@ public int getGroundingChunksCount() { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int index) { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.get(index); + public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) { + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.get(index); } else { - return groundingChunksBuilder_.getMessage(index); + return groundingSupportsBuilder_.getMessage(index); } } @@ -1893,22 +3362,24 @@ public com.google.cloud.aiplatform.v1beta1.GroundingChunk getGroundingChunks(int * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGroundingChunks( - int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder setGroundingSupports( + int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.set(index, value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.set(index, value); onChanged(); } else { - groundingChunksBuilder_.setMessage(index, value); + groundingSupportsBuilder_.setMessage(index, value); } return this; } @@ -1917,19 +3388,21 @@ public Builder setGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGroundingChunks( - int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.set(index, builderForValue.build()); + public Builder setGroundingSupports( + int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.set(index, builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.setMessage(index, builderForValue.build()); + groundingSupportsBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -1938,21 +3411,24 @@ public Builder setGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks(com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder addGroundingSupports( + com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.add(value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(value); onChanged(); } else { - groundingChunksBuilder_.addMessage(value); + groundingSupportsBuilder_.addMessage(value); } return this; } @@ -1961,22 +3437,24 @@ public Builder addGroundingChunks(com.google.cloud.aiplatform.v1beta1.GroundingC * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks( - int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk value) { - if (groundingChunksBuilder_ == null) { + public Builder addGroundingSupports( + int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { + if (groundingSupportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureGroundingChunksIsMutable(); - groundingChunks_.add(index, value); + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(index, value); onChanged(); } else { - groundingChunksBuilder_.addMessage(index, value); + groundingSupportsBuilder_.addMessage(index, value); } return this; } @@ -1985,19 +3463,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addGroundingChunks( - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(builderForValue.build()); + public Builder addGroundingSupports( + com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.addMessage(builderForValue.build()); + groundingSupportsBuilder_.addMessage(builderForValue.build()); } return this; } @@ -2006,19 +3486,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; - */ - public Builder addGroundingChunks( - int index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder builderForValue) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.add(index, builderForValue.build()); + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addGroundingSupports( + int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.add(index, builderForValue.build()); onChanged(); } else { - groundingChunksBuilder_.addMessage(index, builderForValue.build()); + groundingSupportsBuilder_.addMessage(index, builderForValue.build()); } return this; } @@ -2027,19 +3509,21 @@ public Builder addGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAllGroundingChunks( - java.lang.Iterable values) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingChunks_); + public Builder addAllGroundingSupports( + java.lang.Iterable values) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingSupports_); onChanged(); } else { - groundingChunksBuilder_.addAllMessages(values); + groundingSupportsBuilder_.addAllMessages(values); } return this; } @@ -2048,18 +3532,20 @@ public Builder addAllGroundingChunks( * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder clearGroundingChunks() { - if (groundingChunksBuilder_ == null) { - groundingChunks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + public Builder clearGroundingSupports() { + if (groundingSupportsBuilder_ == null) { + groundingSupports_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { - groundingChunksBuilder_.clear(); + groundingSupportsBuilder_.clear(); } return this; } @@ -2068,18 +3554,20 @@ public Builder clearGroundingChunks() { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeGroundingChunks(int index) { - if (groundingChunksBuilder_ == null) { - ensureGroundingChunksIsMutable(); - groundingChunks_.remove(index); + public Builder removeGroundingSupports(int index) { + if (groundingSupportsBuilder_ == null) { + ensureGroundingSupportsIsMutable(); + groundingSupports_.remove(index); onChanged(); } else { - groundingChunksBuilder_.remove(index); + groundingSupportsBuilder_.remove(index); } return this; } @@ -2088,31 +3576,35 @@ public Builder removeGroundingChunks(int index) { * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder getGroundingChunksBuilder( + public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder getGroundingSupportsBuilder( int index) { - return getGroundingChunksFieldBuilder().getBuilder(index); + return getGroundingSupportsFieldBuilder().getBuilder(index); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingChunksOrBuilder( - int index) { - if (groundingChunksBuilder_ == null) { - return groundingChunks_.get(index); + public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder + getGroundingSupportsOrBuilder(int index) { + if (groundingSupportsBuilder_ == null) { + return groundingSupports_.get(index); } else { - return groundingChunksBuilder_.getMessageOrBuilder(index); + return groundingSupportsBuilder_.getMessageOrBuilder(index); } } @@ -2120,17 +3612,19 @@ public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingC * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getGroundingChunksOrBuilderList() { - if (groundingChunksBuilder_ != null) { - return groundingChunksBuilder_.getMessageOrBuilderList(); + public java.util.List + getGroundingSupportsOrBuilderList() { + if (groundingSupportsBuilder_ != null) { + return groundingSupportsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(groundingChunks_); + return java.util.Collections.unmodifiableList(groundingSupports_); } } @@ -2138,120 +3632,117 @@ public com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder getGroundingC * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder() { - return getGroundingChunksFieldBuilder() - .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance()); + public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder + addGroundingSupportsBuilder() { + return getGroundingSupportsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance()); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder addGroundingChunksBuilder( + public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder addGroundingSupportsBuilder( int index) { - return getGroundingChunksFieldBuilder() + return getGroundingSupportsFieldBuilder() .addBuilder( - index, com.google.cloud.aiplatform.v1beta1.GroundingChunk.getDefaultInstance()); + index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance()); } /** * * *
-     * List of supporting references retrieved from specified grounding source.
+     * Optional. List of grounding support.
      * 
* - * repeated .google.cloud.aiplatform.v1beta1.GroundingChunk grounding_chunks = 5; + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getGroundingChunksBuilderList() { - return getGroundingChunksFieldBuilder().getBuilderList(); + public java.util.List + getGroundingSupportsBuilderList() { + return getGroundingSupportsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingChunk, - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder> - getGroundingChunksFieldBuilder() { - if (groundingChunksBuilder_ == null) { - groundingChunksBuilder_ = + com.google.cloud.aiplatform.v1beta1.GroundingSupport, + com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder> + getGroundingSupportsFieldBuilder() { + if (groundingSupportsBuilder_ == null) { + groundingSupportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingChunk, - com.google.cloud.aiplatform.v1beta1.GroundingChunk.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingChunkOrBuilder>( - groundingChunks_, - ((bitField0_ & 0x00000008) != 0), + com.google.cloud.aiplatform.v1beta1.GroundingSupport, + com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder>( + groundingSupports_, + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - groundingChunks_ = null; - } - return groundingChunksBuilder_; - } - - private java.util.List - groundingSupports_ = java.util.Collections.emptyList(); - - private void ensureGroundingSupportsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - groundingSupports_ = - new java.util.ArrayList( - groundingSupports_); - bitField0_ |= 0x00000010; + groundingSupports_ = null; } + return groundingSupportsBuilder_; } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingSupport, - com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder> - groundingSupportsBuilder_; + private com.google.cloud.aiplatform.v1beta1.RetrievalMetadata retrievalMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder> + retrievalMetadataBuilder_; /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the retrievalMetadata field is set. */ - public java.util.List - getGroundingSupportsList() { - if (groundingSupportsBuilder_ == null) { - return java.util.Collections.unmodifiableList(groundingSupports_); - } else { - return groundingSupportsBuilder_.getMessageList(); - } + public boolean hasRetrievalMetadata() { + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The retrievalMetadata. */ - public int getGroundingSupportsCount() { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.size(); + public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata getRetrievalMetadata() { + if (retrievalMetadataBuilder_ == null) { + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; } else { - return groundingSupportsBuilder_.getCount(); + return retrievalMetadataBuilder_.getMessage(); } } @@ -2259,44 +3750,48 @@ public int getGroundingSupportsCount() { * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.aiplatform.v1beta1.GroundingSupport getGroundingSupports(int index) { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.get(index); + public Builder setRetrievalMetadata( + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata value) { + if (retrievalMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + retrievalMetadata_ = value; } else { - return groundingSupportsBuilder_.getMessage(index); + retrievalMetadataBuilder_.setMessage(value); } + bitField0_ |= 0x00000020; + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setGroundingSupports( - int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.set(index, value); - onChanged(); + public Builder setRetrievalMetadata( + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder builderForValue) { + if (retrievalMetadataBuilder_ == null) { + retrievalMetadata_ = builderForValue.build(); } else { - groundingSupportsBuilder_.setMessage(index, value); + retrievalMetadataBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000020; + onChanged(); return this; } @@ -2304,21 +3799,30 @@ public Builder setGroundingSupports( * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setGroundingSupports( - int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.set(index, builderForValue.build()); - onChanged(); + public Builder mergeRetrievalMetadata( + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata value) { + if (retrievalMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && retrievalMetadata_ != null + && retrievalMetadata_ + != com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance()) { + getRetrievalMetadataBuilder().mergeFrom(value); + } else { + retrievalMetadata_ = value; + } } else { - groundingSupportsBuilder_.setMessage(index, builderForValue.build()); + retrievalMetadataBuilder_.mergeFrom(value); + } + if (retrievalMetadata_ != null) { + bitField0_ |= 0x00000020; + onChanged(); } return this; } @@ -2327,25 +3831,21 @@ public Builder setGroundingSupports( * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(value); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(value); + public Builder clearRetrievalMetadata() { + bitField0_ = (bitField0_ & ~0x00000020); + retrievalMetadata_ = null; + if (retrievalMetadataBuilder_ != null) { + retrievalMetadataBuilder_.dispose(); + retrievalMetadataBuilder_ = null; } + onChanged(); return this; } @@ -2353,338 +3853,378 @@ public Builder addGroundingSupports( * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport value) { - if (groundingSupportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(index, value); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(index, value); - } - return this; + public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder + getRetrievalMetadataBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getRetrievalMetadataFieldBuilder().getBuilder(); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(builderForValue.build()); - onChanged(); + public com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder + getRetrievalMetadataOrBuilder() { + if (retrievalMetadataBuilder_ != null) { + return retrievalMetadataBuilder_.getMessageOrBuilder(); } else { - groundingSupportsBuilder_.addMessage(builderForValue.build()); + return retrievalMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() + : retrievalMetadata_; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Retrieval metadata.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder addGroundingSupports( - int index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder builderForValue) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.add(index, builderForValue.build()); - onChanged(); - } else { - groundingSupportsBuilder_.addMessage(index, builderForValue.build()); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder> + getRetrievalMetadataFieldBuilder() { + if (retrievalMetadataBuilder_ == null) { + retrievalMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder>( + getRetrievalMetadata(), getParentForChildren(), isClean()); + retrievalMetadata_ = null; } - return this; + return retrievalMetadataBuilder_; } + private java.lang.Object googleMapsWidgetContextToken_ = ""; + /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return Whether the googleMapsWidgetContextToken field is set. */ - public Builder addAllGroundingSupports( - java.lang.Iterable values) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groundingSupports_); - onChanged(); - } else { - groundingSupportsBuilder_.addAllMessages(values); - } - return this; + public boolean hasGoogleMapsWidgetContextToken() { + return ((bitField0_ & 0x00000040) != 0); } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The googleMapsWidgetContextToken. */ - public Builder clearGroundingSupports() { - if (groundingSupportsBuilder_ == null) { - groundingSupports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); + public java.lang.String getGoogleMapsWidgetContextToken() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + googleMapsWidgetContextToken_ = s; + return s; } else { - groundingSupportsBuilder_.clear(); + return (java.lang.String) ref; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return The bytes for googleMapsWidgetContextToken. */ - public Builder removeGroundingSupports(int index) { - if (groundingSupportsBuilder_ == null) { - ensureGroundingSupportsIsMutable(); - groundingSupports_.remove(index); - onChanged(); + public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { + java.lang.Object ref = googleMapsWidgetContextToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleMapsWidgetContextToken_ = b; + return b; } else { - groundingSupportsBuilder_.remove(index); + return (com.google.protobuf.ByteString) ref; } - return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The googleMapsWidgetContextToken to set. + * @return This builder for chaining. */ - public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder getGroundingSupportsBuilder( - int index) { - return getGroundingSupportsFieldBuilder().getBuilder(index); + public Builder setGoogleMapsWidgetContextToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + googleMapsWidgetContextToken_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @return This builder for chaining. */ - public com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder - getGroundingSupportsOrBuilder(int index) { - if (groundingSupportsBuilder_ == null) { - return groundingSupports_.get(index); - } else { - return groundingSupportsBuilder_.getMessageOrBuilder(index); - } + public Builder clearGoogleMapsWidgetContextToken() { + googleMapsWidgetContextToken_ = getDefaultInstance().getGoogleMapsWidgetContextToken(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; } /** * * *
-     * Optional. List of grounding support.
+     * Optional. Output only. Resource name of the Google Maps widget context
+     * token to be used with the PlacesContextElement widget to render contextual
+     * data. This is populated only for Google Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; * + * + * @param value The bytes for googleMapsWidgetContextToken to set. + * @return This builder for chaining. */ - public java.util.List - getGroundingSupportsOrBuilderList() { - if (groundingSupportsBuilder_ != null) { - return groundingSupportsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(groundingSupports_); + public Builder setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleMapsWidgetContextToken_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.util.List + sourceFlaggingUris_ = java.util.Collections.emptyList(); + + private void ensureSourceFlaggingUrisIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + sourceFlaggingUris_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri>( + sourceFlaggingUris_); + bitField0_ |= 0x00000080; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder> + sourceFlaggingUrisBuilder_; + /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder - addGroundingSupportsBuilder() { - return getGroundingSupportsFieldBuilder() - .addBuilder(com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance()); + public java.util.List + getSourceFlaggingUrisList() { + if (sourceFlaggingUrisBuilder_ == null) { + return java.util.Collections.unmodifiableList(sourceFlaggingUris_); + } else { + return sourceFlaggingUrisBuilder_.getMessageList(); + } } /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder addGroundingSupportsBuilder( - int index) { - return getGroundingSupportsFieldBuilder() - .addBuilder( - index, com.google.cloud.aiplatform.v1beta1.GroundingSupport.getDefaultInstance()); + public int getSourceFlaggingUrisCount() { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.size(); + } else { + return sourceFlaggingUrisBuilder_.getCount(); + } } /** * * *
-     * Optional. List of grounding support.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public java.util.List - getGroundingSupportsBuilderList() { - return getGroundingSupportsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingSupport, - com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder> - getGroundingSupportsFieldBuilder() { - if (groundingSupportsBuilder_ == null) { - groundingSupportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.GroundingSupport, - com.google.cloud.aiplatform.v1beta1.GroundingSupport.Builder, - com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder>( - groundingSupports_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - groundingSupports_ = null; + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + getSourceFlaggingUris(int index) { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.get(index); + } else { + return sourceFlaggingUrisBuilder_.getMessage(index); } - return groundingSupportsBuilder_; } - private com.google.cloud.aiplatform.v1beta1.RetrievalMetadata retrievalMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder> - retrievalMetadataBuilder_; - /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return Whether the retrievalMetadata field is set. */ - public boolean hasRetrievalMetadata() { - return ((bitField0_ & 0x00000020) != 0); + public Builder setSourceFlaggingUris( + int index, com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.set(index, value); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.setMessage(index, value); + } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The retrievalMetadata. */ - public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata getRetrievalMetadata() { - if (retrievalMetadataBuilder_ == null) { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; + public Builder setSourceFlaggingUris( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.set(index, builderForValue.build()); + onChanged(); } else { - return retrievalMetadataBuilder_.getMessage(); + sourceFlaggingUrisBuilder_.setMessage(index, builderForValue.build()); } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder setRetrievalMetadata( - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata value) { - if (retrievalMetadataBuilder_ == null) { + public Builder addSourceFlaggingUris( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - retrievalMetadata_ = value; + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(value); + onChanged(); } else { - retrievalMetadataBuilder_.setMessage(value); + sourceFlaggingUrisBuilder_.addMessage(value); } - bitField0_ |= 0x00000020; - onChanged(); return this; } @@ -2692,22 +4232,26 @@ public Builder setRetrievalMetadata( * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder setRetrievalMetadata( - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder builderForValue) { - if (retrievalMetadataBuilder_ == null) { - retrievalMetadata_ = builderForValue.build(); + public Builder addSourceFlaggingUris( + int index, com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri value) { + if (sourceFlaggingUrisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(index, value); + onChanged(); } else { - retrievalMetadataBuilder_.setMessage(builderForValue.build()); + sourceFlaggingUrisBuilder_.addMessage(index, value); } - bitField0_ |= 0x00000020; - onChanged(); return this; } @@ -2715,30 +4259,23 @@ public Builder setRetrievalMetadata( * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder mergeRetrievalMetadata( - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata value) { - if (retrievalMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && retrievalMetadata_ != null - && retrievalMetadata_ - != com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance()) { - getRetrievalMetadataBuilder().mergeFrom(value); - } else { - retrievalMetadata_ = value; - } - } else { - retrievalMetadataBuilder_.mergeFrom(value); - } - if (retrievalMetadata_ != null) { - bitField0_ |= 0x00000020; + public Builder addSourceFlaggingUris( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(builderForValue.build()); onChanged(); + } else { + sourceFlaggingUrisBuilder_.addMessage(builderForValue.build()); } return this; } @@ -2747,21 +4284,25 @@ public Builder mergeRetrievalMetadata( * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public Builder clearRetrievalMetadata() { - bitField0_ = (bitField0_ & ~0x00000020); - retrievalMetadata_ = null; - if (retrievalMetadataBuilder_ != null) { - retrievalMetadataBuilder_.dispose(); - retrievalMetadataBuilder_ = null; + public Builder addSourceFlaggingUris( + int index, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + builderForValue) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.add(index, builderForValue.build()); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.addMessage(index, builderForValue.build()); } - onChanged(); return this; } @@ -2769,115 +4310,109 @@ public Builder clearRetrievalMetadata() { * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder - getRetrievalMetadataBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getRetrievalMetadataFieldBuilder().getBuilder(); + public Builder addAllSourceFlaggingUris( + java.lang.Iterable< + ? extends com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri> + values) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourceFlaggingUris_); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.addAllMessages(values); + } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - public com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder - getRetrievalMetadataOrBuilder() { - if (retrievalMetadataBuilder_ != null) { - return retrievalMetadataBuilder_.getMessageOrBuilder(); + public Builder clearSourceFlaggingUris() { + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUris_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); } else { - return retrievalMetadata_ == null - ? com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.getDefaultInstance() - : retrievalMetadata_; + sourceFlaggingUrisBuilder_.clear(); } + return this; } /** * * *
-     * Optional. Output only. Retrieval metadata.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional .google.cloud.aiplatform.v1beta1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder> - getRetrievalMetadataFieldBuilder() { - if (retrievalMetadataBuilder_ == null) { - retrievalMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadata.Builder, - com.google.cloud.aiplatform.v1beta1.RetrievalMetadataOrBuilder>( - getRetrievalMetadata(), getParentForChildren(), isClean()); - retrievalMetadata_ = null; + public Builder removeSourceFlaggingUris(int index) { + if (sourceFlaggingUrisBuilder_ == null) { + ensureSourceFlaggingUrisIsMutable(); + sourceFlaggingUris_.remove(index); + onChanged(); + } else { + sourceFlaggingUrisBuilder_.remove(index); } - return retrievalMetadataBuilder_; + return this; } - private java.lang.Object googleMapsWidgetContextToken_ = ""; - /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return Whether the googleMapsWidgetContextToken field is set. */ - public boolean hasGoogleMapsWidgetContextToken() { - return ((bitField0_ & 0x00000040) != 0); + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + getSourceFlaggingUrisBuilder(int index) { + return getSourceFlaggingUrisFieldBuilder().getBuilder(index); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The googleMapsWidgetContextToken. */ - public java.lang.String getGoogleMapsWidgetContextToken() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - googleMapsWidgetContextToken_ = s; - return s; + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index) { + if (sourceFlaggingUrisBuilder_ == null) { + return sourceFlaggingUris_.get(index); } else { - return (java.lang.String) ref; + return sourceFlaggingUrisBuilder_.getMessageOrBuilder(index); } } @@ -2885,26 +4420,22 @@ public java.lang.String getGoogleMapsWidgetContextToken() { * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return The bytes for googleMapsWidgetContextToken. */ - public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { - java.lang.Object ref = googleMapsWidgetContextToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - googleMapsWidgetContextToken_ = b; - return b; + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList() { + if (sourceFlaggingUrisBuilder_ != null) { + return sourceFlaggingUrisBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(sourceFlaggingUris_); } } @@ -2912,75 +4443,79 @@ public com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes() { * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @param value The googleMapsWidgetContextToken to set. - * @return This builder for chaining. */ - public Builder setGoogleMapsWidgetContextToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - googleMapsWidgetContextToken_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + addSourceFlaggingUrisBuilder() { + return getSourceFlaggingUrisFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @return This builder for chaining. */ - public Builder clearGoogleMapsWidgetContextToken() { - googleMapsWidgetContextToken_ = getDefaultInstance().getGoogleMapsWidgetContextToken(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; + public com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder + addSourceFlaggingUrisBuilder(int index) { + return getSourceFlaggingUrisFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri + .getDefaultInstance()); } /** * * *
-     * Optional. Output only. Resource name of the Google Maps widget context
-     * token to be used with the PlacesContextElement widget to render contextual
-     * data. This is populated only for Google Maps grounding.
+     * List of source flagging uris. This is currently populated only for Google
+     * Maps grounding.
      * 
* * - * optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; * - * - * @param value The bytes for googleMapsWidgetContextToken to set. - * @return This builder for chaining. */ - public Builder setGoogleMapsWidgetContextTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public java.util.List< + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder> + getSourceFlaggingUrisBuilderList() { + return getSourceFlaggingUrisFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisFieldBuilder() { + if (sourceFlaggingUrisBuilder_ == null) { + sourceFlaggingUrisBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri.Builder, + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder>( + sourceFlaggingUris_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + sourceFlaggingUris_ = null; } - checkByteStringIsUtf8(value); - googleMapsWidgetContextToken_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; + return sourceFlaggingUrisBuilder_; } @java.lang.Override diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadataOrBuilder.java index 331073a357b4..8c93ae8398e7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadataOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GroundingMetadataOrBuilder.java @@ -392,4 +392,80 @@ com.google.cloud.aiplatform.v1beta1.GroundingSupportOrBuilder getGroundingSuppor * @return The bytes for googleMapsWidgetContextToken. */ com.google.protobuf.ByteString getGoogleMapsWidgetContextTokenBytes(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + java.util.List + getSourceFlaggingUrisList(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri getSourceFlaggingUris( + int index); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + int getSourceFlaggingUrisCount(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + java.util.List< + ? extends + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder> + getSourceFlaggingUrisOrBuilderList(); + + /** + * + * + *
+   * List of source flagging uris. This is currently populated only for Google
+   * Maps grounding.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * + */ + com.google.cloud.aiplatform.v1beta1.GroundingMetadata.SourceFlaggingUriOrBuilder + getSourceFlaggingUrisOrBuilder(int index); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequest.java index 9bb2612b2596..273ee8dc9905 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequest.java @@ -56,6 +56,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -314,6 +326,117 @@ public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() { return parameters_ == null ? com.google.protobuf.Value.getDefaultInstance() : parameters_; } + public static final int LABELS_FIELD_NUMBER = 4; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1beta1.PredictionServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_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(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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 @@ -337,6 +460,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getParameters()); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -355,6 +480,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getParameters()); } + 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(4, labels__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -377,6 +512,7 @@ public boolean equals(final java.lang.Object obj) { if (hasParameters()) { if (!getParameters().equals(other.getParameters())) return false; } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -398,6 +534,10 @@ public int hashCode() { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParameters().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; @@ -518,6 +658,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -562,6 +724,7 @@ public Builder clear() { parametersBuilder_.dispose(); parametersBuilder_ = null; } + internalGetMutableLabels().clear(); return this; } @@ -620,6 +783,10 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.PredictRequest re result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } result.bitField0_ |= to_bitField0_; } @@ -704,6 +871,8 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.PredictRequest othe if (other.hasParameters()) { mergeParameters(other.getParameters()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -754,6 +923,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1689,6 +1870,185 @@ public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() { return parametersBuilder_; } + 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_ |= 0x00000008; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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_ & ~0x00000008); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00000008; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00000008; + return this; + } + + /** + * + * + *
+     * Optional. The user labels for Imagen billing usage only. Only Imagen
+     * supports labels. For other use cases, it will be ignored.
+     * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000008; + 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/PredictRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequestOrBuilder.java index 71dedd3ab040..8df626611b07 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictRequestOrBuilder.java @@ -211,4 +211,72 @@ public interface PredictRequestOrBuilder * .google.protobuf.Value parameters = 3; */ com.google.protobuf.ValueOrBuilder getParametersOrBuilder(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Optional. The user labels for Imagen billing usage only. Only Imagen
+   * supports labels. For other use cases, it will be ignored.
+   * 
+ * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java index 35ecb377c17f..91fa40213fc8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java @@ -32,6 +32,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_PredictRequest_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_PredictResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -165,288 +169,295 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n" - + "8google/cloud/aiplatform/v1beta1/prediction_service.proto\022\037google.cloud.aiplatf" + "\n8google/cloud/aiplatform/v1beta1/predic" + + "tion_service.proto\022\037google.cloud.aiplatf" + "orm.v1beta1\032\034google/api/annotations.prot" + "o\032\027google/api/client.proto\032\037google/api/f" + "ield_behavior.proto\032\031google/api/httpbody" + ".proto\032\031google/api/resource.proto\032-googl" - + "e/cloud/aiplatform/v1beta1/content.proto\0321google/cloud/aiplatform/v1beta1/explan" - + "ation.proto\032*google/cloud/aiplatform/v1beta1/tool.proto\032+google/cloud/aiplatform" + + "e/cloud/aiplatform/v1beta1/content.proto" + + "\0321google/cloud/aiplatform/v1beta1/explan" + + "ation.proto\032*google/cloud/aiplatform/v1b" + + "eta1/tool.proto\032+google/cloud/aiplatform" + "/v1beta1/types.proto\032\034google/protobuf/st" - + "ruct.proto\032\037google/protobuf/timestamp.proto\"\252\001\n" - + "\016PredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022.\n" - + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002\022*\n\n" - + "parameters\030\003 \001(\0132\026.google.protobuf.Value\"\200\002\n" - + "\017PredictResponse\022+\n" - + "\013predictions\030\001 \003(\0132\026.google.protobuf.Value\022\031\n" - + "\021deployed_model_id\030\002 \001(\t\0226\n" - + "\005model\030\003 \001(\tB\'\340A\003\372A!\n" - + "\037aiplatform.googleapis.com/Model\022\035\n" - + "\020model_version_id\030\005 \001(\tB\003\340A\003\022\037\n" - + "\022model_display_name\030\004 \001(\tB\003\340A\003\022-\n" - + "\010metadata\030\006 \001(\0132\026.google.protobuf.ValueB\003\340A\003\"z\n" - + "\021RawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\'\n" - + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBody\"\200\001\n" - + "\027StreamRawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\'\n" - + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBody\"\312\001\n" - + "\024DirectPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\0227\n" - + "\006inputs\030\002 \003(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\022;\n\n" - + "parameters\030\003 \001(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\"\216\001\n" - + "\025DirectPredictResponse\0228\n" - + "\007outputs\030\001 \003(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\022;\n\n" - + "parameters\030\002 \001(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\"{\n" - + "\027DirectRawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\023\n" - + "\013method_name\030\002 \001(\t\022\r\n" - + "\005input\030\003 \001(\014\"*\n" - + "\030DirectRawPredictResponse\022\016\n" - + "\006output\030\001 \001(\014\"\332\001\n" - + "\032StreamDirectPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022<\n" - + "\006inputs\030\002 \003(\0132\'" - + ".google.cloud.aiplatform.v1beta1.TensorB\003\340A\001\022@\n\n" - + "parameters\030\003" - + " \001(\0132\'.google.cloud.aiplatform.v1beta1.TensorB\003\340A\001\"\224\001\n" - + "\033StreamDirectPredictResponse\0228\n" - + "\007outputs\030\001 \003(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\022;\n\n" - + "parameters\030\002 \001(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\"\213\001\n" - + "\035StreamDirectRawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\030\n" - + "\013method_name\030\002 \001(\tB\003\340A\001\022\022\n" - + "\005input\030\003 \001(\014B\003\340A\001\"0\n" - + "\036StreamDirectRawPredictResponse\022\016\n" - + "\006output\030\001 \001(\014\"\315\001\n" - + "\027StreamingPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\0227\n" - + "\006inputs\030\002 \003(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\022;\n\n" - + "parameters\030\003 \001(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\"\221\001\n" - + "\030StreamingPredictResponse\0228\n" - + "\007outputs\030\001 \003(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\022;\n\n" - + "parameters\030\002 \001(\0132\'.google.cloud.aiplatform.v1beta1.Tensor\"~\n" - + "\032StreamingRawPredictRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\023\n" - + "\013method_name\030\002 \001(\t\022\r\n" - + "\005input\030\003 \001(\014\"-\n" - + "\033StreamingRawPredictResponse\022\016\n" - + "\006output\030\001 \001(\014\"\263\004\n" - + "\016ExplainRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022.\n" - + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002\022*\n\n" - + "parameters\030\004 \001(\0132\026.google.protobuf.Value\022[\n" - + "\031explanation_spec_override\030\005 \001(\01328.googl" - + "e.cloud.aiplatform.v1beta1.ExplanationSpecOverride\022\211\001\n" - + "$concurrent_explanation_spec_override\030\006 \003(\0132V.google.cloud.aiplatf" - + "orm.v1beta1.ExplainRequest.ConcurrentExplanationSpecOverrideEntryB\003\340A\001\022\031\n" - + "\021deployed_model_id\030\003 \001(\t\032\202\001\n" - + "&ConcurrentExplanationSpecOverrideEntry\022\013\n" - + "\003key\030\001 \001(\t\022G\n" - + "\005value\030\002" - + " \001(\01328.google.cloud.aiplatform.v1beta1.ExplanationSpecOverride:\0028\001\"\361\003\n" - + "\017ExplainResponse\022B\n" - + "\014explanations\030\001 \003(\0132,.googl" - + "e.cloud.aiplatform.v1beta1.Explanation\022m\n" - + "\027concurrent_explanations\030\004 \003(\0132L.google" - + ".cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanationsEntry\022\031\n" - + "\021deployed_model_id\030\002 \001(\t\022+\n" - + "\013predictions\030\003 \003(\0132\026.google.protobuf.Value\032[\n" - + "\025ConcurrentExplanation\022B\n" - + "\014explanations\030\001" - + " \003(\0132,.google.cloud.aiplatform.v1beta1.Explanation\032\205\001\n" - + "\033ConcurrentExplanationsEntry\022\013\n" - + "\003key\030\001 \001(\t\022U\n" - + "\005value\030\002 \001(\0132F.google.cloud.aiplatform" - + ".v1beta1.ExplainResponse.ConcurrentExplanation:\0028\001\"\347\003\n" - + "\022CountTokensRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022\022\n" - + "\005model\030\003 \001(\tB\003\340A\001\022.\n" - + "\tinstances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\001\022?\n" - + "\010contents\030\004" - + " \003(\0132(.google.cloud.aiplatform.v1beta1.ContentB\003\340A\001\022N\n" - + "\022system_instruction\030\005" - + " \001(\0132(.google.cloud.aiplatform.v1beta1.ContentB\003\340A\001H\000\210\001\001\0229\n" - + "\005tools\030\006 " - + "\003(\0132%.google.cloud.aiplatform.v1beta1.ToolB\003\340A\001\022V\n" - + "\021generation_config\030\007 \001(\01321.goo" - + "gle.cloud.aiplatform.v1beta1.GenerationConfigB\003\340A\001H\001\210\001\001B\025\n" - + "\023_system_instructionB\024\n" - + "\022_generation_config\"\247\001\n" - + "\023CountTokensResponse\022\024\n" - + "\014total_tokens\030\001 \001(\005\022!\n" - + "\031total_billable_characters\030\002 \001(\005\022W\n" - + "\025prompt_tokens_details\030\003" - + " \003(\01323.google.cloud.aiplatform.v1beta1.ModalityTokenCountB\003\340A\003\"\235\006\n" - + "\026GenerateContentRequest\022\022\n" - + "\005model\030\005 \001(\tB\003\340A\002\022?\n" - + "\010contents\030\002" - + " \003(\0132(.google.cloud.aiplatform.v1beta1.ContentB\003\340A\002\022N\n" - + "\022system_instruction\030\010" - + " \001(\0132(.google.cloud.aiplatform.v1beta1.ContentB\003\340A\001H\000\210\001\001\022G\n" - + "\016cached_content\030\t \001(\tB/\340A\001\372A)\n" - + "\'aiplatform.googleapis.com/CachedContent\0229\n" - + "\005tools\030\006" - + " \003(\0132%.google.cloud.aiplatform.v1beta1.ToolB\003\340A\001\022E\n" - + "\013tool_config\030\007" - + " \001(\0132+.google.cloud.aiplatform.v1beta1.ToolConfigB\003\340A\001\022X\n" - + "\006labels\030\n" - + " \003(" - + "\0132C.google.cloud.aiplatform.v1beta1.GenerateContentRequest.LabelsEntryB\003\340A\001\022L\n" - + "\017safety_settings\030\003" - + " \003(\0132..google.cloud.aiplatform.v1beta1.SafetySettingB\003\340A\001\022R\n" - + "\022model_armor_config\030\013" - + " \001(\01321.google.cloud.aiplatform.v1beta1.ModelArmorConfigB\003\340A\001\022Q\n" - + "\021generation_config\030\004 \001(\01321.google.cloud." - + "aiplatform.v1beta1.GenerationConfigB\003\340A\001\032-\n" - + "\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001B\025\n" - + "\023_system_instruction\"\310\t\n" - + "\027GenerateContentResponse\022C\n\n" - + "candidates\030\002 \003(\0132*" - + ".google.cloud.aiplatform.v1beta1.CandidateB\003\340A\003\022\032\n\r" - + "model_version\030\013 \001(\tB\003\340A\003\0224\n" - + "\013create_time\030\014" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\030\n" - + "\013response_id\030\r" - + " \001(\tB\003\340A\003\022e\n" - + "\017prompt_feedback\030\003 \001(\0132G.google.cloud.aipl" - + "atform.v1beta1.GenerateContentResponse.PromptFeedbackB\003\340A\003\022^\n" - + "\016usage_metadata\030\004 \001" - + "(\0132F.google.cloud.aiplatform.v1beta1.GenerateContentResponse.UsageMetadata\032\361\002\n" - + "\016PromptFeedback\022p\n" - + "\014block_reason\030\001 \001(\0162U.google.cloud.aiplatform.v1beta1.GenerateCo" - + "ntentResponse.PromptFeedback.BlockedReasonB\003\340A\003\022J\n" - + "\016safety_ratings\030\002 \003(\0132-.google" - + ".cloud.aiplatform.v1beta1.SafetyRatingB\003\340A\003\022!\n" - + "\024block_reason_message\030\003 \001(\tB\003\340A\003\"~\n\r" - + "BlockedReason\022\036\n" - + "\032BLOCKED_REASON_UNSPECIFIED\020\000\022\n\n" - + "\006SAFETY\020\001\022\t\n" - + "\005OTHER\020\002\022\r\n" - + "\tBLOCKLIST\020\003\022\026\n" - + "\022PROHIBITED_CONTENT\020\004\022\017\n" - + "\013MODEL_ARMOR\020\005\032\300\003\n\r" - + "UsageMetadata\022\032\n" - + "\022prompt_token_count\030\001 \001(\005\022\036\n" - + "\026candidates_token_count\030\002 \001(\005\022!\n" - + "\024thoughts_token_count\030\016 \001(\005B\003\340A\003\022\031\n" - + "\021total_token_count\030\003 \001(\005\022\'\n" - + "\032cached_content_token_count\030\005 \001(\005B\003\340A\003\022W\n" - + "\025prompt_tokens_details\030\t" - + " \003(\01323.google.cloud.aiplatform.v1beta1.ModalityTokenCountB\003\340A\003\022V\n" - + "\024cache_tokens_details\030\n" - + " \003(\01323.google.cloud.aiplatform.v1beta1.ModalityTokenCountB\003\340A\003\022[\n" - + "\031candidates_tokens_details\030\013 \003(\0132" - + "3.google.cloud.aiplatform.v1beta1.ModalityTokenCountB\003\340A\003\"\204\001\n" - + "\026ChatCompletionsRequest\022<\n" - + "\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" - + "\"aiplatform.googleapis.com/Endpoint\022,\n" - + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBodyB\003\340A\001\"\203\001\n" - + "\032PredictLongRunningResponse\022Y\n" - + "\027generate_video_response\030\001" - + " \001(\01326.google.cloud.aiplatform.v1beta1.GenerateVideoResponseH\000B\n\n" - + "\010response\"\034\n" - + "\032PredictLongRunningMetadata\"\232\001\n" - + "\025GenerateVideoResponse\022\031\n" - + "\021generated_samples\030\001 \003(\t\022%\n" - + "\030rai_media_filtered_count\030\002 \001(\005H\000\210\001\001\022\"\n" - + "\032rai_media_filtered_reasons\030\003 \003(\tB\033\n" - + "\031_rai_media_filtered_count2\301 \n" - + "\021PredictionService\022\250\002\n" - + "\007Predict\022/.google.cloud.aiplatform.v1beta1.PredictRequest\0320.g" + + "ruct.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\253\002\n\016PredictRequest\022<\n\010endpoint\030\001 \001(\t" + + "B*\340A\002\372A$\n\"aiplatform.googleapis.com/Endp" + + "oint\022.\n\tinstances\030\002 \003(\0132\026.google.protobu" + + "f.ValueB\003\340A\002\022*\n\nparameters\030\003 \001(\0132\026.googl" + + "e.protobuf.Value\022P\n\006labels\030\004 \003(\0132;.googl" + + "e.cloud.aiplatform.v1beta1.PredictReques" + + "t.LabelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\002\n\017PredictRes" + + "ponse\022+\n\013predictions\030\001 \003(\0132\026.google.prot" + + "obuf.Value\022\031\n\021deployed_model_id\030\002 \001(\t\0226\n" + + "\005model\030\003 \001(\tB\'\340A\003\372A!\n\037aiplatform.googlea" + + "pis.com/Model\022\035\n\020model_version_id\030\005 \001(\tB" + + "\003\340A\003\022\037\n\022model_display_name\030\004 \001(\tB\003\340A\003\022-\n" + + "\010metadata\030\006 \001(\0132\026.google.protobuf.ValueB" + + "\003\340A\003\"z\n\021RawPredictRequest\022<\n\010endpoint\030\001 " + + "\001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/E" + + "ndpoint\022\'\n\thttp_body\030\002 \001(\0132\024.google.api." + + "HttpBody\"\200\001\n\027StreamRawPredictRequest\022<\n\010" + + "endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googl" + + "eapis.com/Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024." + + "google.api.HttpBody\"\312\001\n\024DirectPredictReq" + + "uest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatfo" + + "rm.googleapis.com/Endpoint\0227\n\006inputs\030\002 \003" + + "(\0132\'.google.cloud.aiplatform.v1beta1.Ten" + + "sor\022;\n\nparameters\030\003 \001(\0132\'.google.cloud.a" + + "iplatform.v1beta1.Tensor\"\216\001\n\025DirectPredi" + + "ctResponse\0228\n\007outputs\030\001 \003(\0132\'.google.clo" + + "ud.aiplatform.v1beta1.Tensor\022;\n\nparamete" + + "rs\030\002 \001(\0132\'.google.cloud.aiplatform.v1bet" + + "a1.Tensor\"{\n\027DirectRawPredictRequest\022<\n\010" + + "endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googl" + + "eapis.com/Endpoint\022\023\n\013method_name\030\002 \001(\t\022" + + "\r\n\005input\030\003 \001(\014\"*\n\030DirectRawPredictRespon" + + "se\022\016\n\006output\030\001 \001(\014\"\332\001\n\032StreamDirectPredi" + + "ctRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aip" + + "latform.googleapis.com/Endpoint\022<\n\006input" + + "s\030\002 \003(\0132\'.google.cloud.aiplatform.v1beta" + + "1.TensorB\003\340A\001\022@\n\nparameters\030\003 \001(\0132\'.goog" + + "le.cloud.aiplatform.v1beta1.TensorB\003\340A\001\"" + + "\224\001\n\033StreamDirectPredictResponse\0228\n\007outpu" + + "ts\030\001 \003(\0132\'.google.cloud.aiplatform.v1bet" + + "a1.Tensor\022;\n\nparameters\030\002 \001(\0132\'.google.c" + + "loud.aiplatform.v1beta1.Tensor\"\213\001\n\035Strea" + + "mDirectRawPredictRequest\022<\n\010endpoint\030\001 \001" + + "(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/En" + + "dpoint\022\030\n\013method_name\030\002 \001(\tB\003\340A\001\022\022\n\005inpu" + + "t\030\003 \001(\014B\003\340A\001\"0\n\036StreamDirectRawPredictRe" + + "sponse\022\016\n\006output\030\001 \001(\014\"\315\001\n\027StreamingPred" + + "ictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"ai" + + "platform.googleapis.com/Endpoint\0227\n\006inpu" + + "ts\030\002 \003(\0132\'.google.cloud.aiplatform.v1bet" + + "a1.Tensor\022;\n\nparameters\030\003 \001(\0132\'.google.c" + + "loud.aiplatform.v1beta1.Tensor\"\221\001\n\030Strea" + + "mingPredictResponse\0228\n\007outputs\030\001 \003(\0132\'.g" + + "oogle.cloud.aiplatform.v1beta1.Tensor\022;\n" + + "\nparameters\030\002 \001(\0132\'.google.cloud.aiplatf" + + "orm.v1beta1.Tensor\"~\n\032StreamingRawPredic" + + "tRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aipl" + + "atform.googleapis.com/Endpoint\022\023\n\013method" + + "_name\030\002 \001(\t\022\r\n\005input\030\003 \001(\014\"-\n\033StreamingR" + + "awPredictResponse\022\016\n\006output\030\001 \001(\014\"\263\004\n\016Ex" + + "plainRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"" + + "aiplatform.googleapis.com/Endpoint\022.\n\tin" + + "stances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340" + + "A\002\022*\n\nparameters\030\004 \001(\0132\026.google.protobuf" + + ".Value\022[\n\031explanation_spec_override\030\005 \001(" + + "\01328.google.cloud.aiplatform.v1beta1.Expl" + + "anationSpecOverride\022\211\001\n$concurrent_expla" + + "nation_spec_override\030\006 \003(\0132V.google.clou" + + "d.aiplatform.v1beta1.ExplainRequest.Conc" + + "urrentExplanationSpecOverrideEntryB\003\340A\001\022" + + "\031\n\021deployed_model_id\030\003 \001(\t\032\202\001\n&Concurren" + + "tExplanationSpecOverrideEntry\022\013\n\003key\030\001 \001" + + "(\t\022G\n\005value\030\002 \001(\01328.google.cloud.aiplatf" + + "orm.v1beta1.ExplanationSpecOverride:\0028\001\"" + + "\361\003\n\017ExplainResponse\022B\n\014explanations\030\001 \003(" + + "\0132,.google.cloud.aiplatform.v1beta1.Expl" + + "anation\022m\n\027concurrent_explanations\030\004 \003(\013" + + "2L.google.cloud.aiplatform.v1beta1.Expla" + + "inResponse.ConcurrentExplanationsEntry\022\031" + + "\n\021deployed_model_id\030\002 \001(\t\022+\n\013predictions" + + "\030\003 \003(\0132\026.google.protobuf.Value\032[\n\025Concur" + + "rentExplanation\022B\n\014explanations\030\001 \003(\0132,." + + "google.cloud.aiplatform.v1beta1.Explanat" + + "ion\032\205\001\n\033ConcurrentExplanationsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.a" + + "iplatform.v1beta1.ExplainResponse.Concur" + + "rentExplanation:\0028\001\"\347\003\n\022CountTokensReque" + + "st\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform" + + ".googleapis.com/Endpoint\022\022\n\005model\030\003 \001(\tB" + + "\003\340A\001\022.\n\tinstances\030\002 \003(\0132\026.google.protobu" + + "f.ValueB\003\340A\001\022?\n\010contents\030\004 \003(\0132(.google." + + "cloud.aiplatform.v1beta1.ContentB\003\340A\001\022N\n" + + "\022system_instruction\030\005 \001(\0132(.google.cloud" + + ".aiplatform.v1beta1.ContentB\003\340A\001H\000\210\001\001\0229\n" + + "\005tools\030\006 \003(\0132%.google.cloud.aiplatform.v" + + "1beta1.ToolB\003\340A\001\022V\n\021generation_config\030\007 " + + "\001(\01321.google.cloud.aiplatform.v1beta1.Ge" + + "nerationConfigB\003\340A\001H\001\210\001\001B\025\n\023_system_inst" + + "ructionB\024\n\022_generation_config\"\247\001\n\023CountT" + + "okensResponse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031t" + + "otal_billable_characters\030\002 \001(\005\022W\n\025prompt" + + "_tokens_details\030\003 \003(\01323.google.cloud.aip" + + "latform.v1beta1.ModalityTokenCountB\003\340A\003\"" + + "\235\006\n\026GenerateContentRequest\022\022\n\005model\030\005 \001(" + + "\tB\003\340A\002\022?\n\010contents\030\002 \003(\0132(.google.cloud." + + "aiplatform.v1beta1.ContentB\003\340A\002\022N\n\022syste" + + "m_instruction\030\010 \001(\0132(.google.cloud.aipla" + + "tform.v1beta1.ContentB\003\340A\001H\000\210\001\001\022G\n\016cache" + + "d_content\030\t \001(\tB/\340A\001\372A)\n\'aiplatform.goog" + + "leapis.com/CachedContent\0229\n\005tools\030\006 \003(\0132" + + "%.google.cloud.aiplatform.v1beta1.ToolB\003" + + "\340A\001\022E\n\013tool_config\030\007 \001(\0132+.google.cloud." + + "aiplatform.v1beta1.ToolConfigB\003\340A\001\022X\n\006la" + + "bels\030\n \003(\0132C.google.cloud.aiplatform.v1b" + + "eta1.GenerateContentRequest.LabelsEntryB" + + "\003\340A\001\022L\n\017safety_settings\030\003 \003(\0132..google.c" + + "loud.aiplatform.v1beta1.SafetySettingB\003\340" + + "A\001\022R\n\022model_armor_config\030\013 \001(\01321.google." + + "cloud.aiplatform.v1beta1.ModelArmorConfi" + + "gB\003\340A\001\022Q\n\021generation_config\030\004 \001(\01321.goog" + + "le.cloud.aiplatform.v1beta1.GenerationCo" + + "nfigB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001B\025\n\023_system_instruction\"" + + "\310\t\n\027GenerateContentResponse\022C\n\ncandidate" + + "s\030\002 \003(\0132*.google.cloud.aiplatform.v1beta" + + "1.CandidateB\003\340A\003\022\032\n\rmodel_version\030\013 \001(\tB" + + "\003\340A\003\0224\n\013create_time\030\014 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\030\n\013response_id\030\r \001(\tB" + + "\003\340A\003\022e\n\017prompt_feedback\030\003 \001(\0132G.google.c" + + "loud.aiplatform.v1beta1.GenerateContentR" + + "esponse.PromptFeedbackB\003\340A\003\022^\n\016usage_met" + + "adata\030\004 \001(\0132F.google.cloud.aiplatform.v1" + + "beta1.GenerateContentResponse.UsageMetad" + + "ata\032\361\002\n\016PromptFeedback\022p\n\014block_reason\030\001" + + " \001(\0162U.google.cloud.aiplatform.v1beta1.G" + + "enerateContentResponse.PromptFeedback.Bl" + + "ockedReasonB\003\340A\003\022J\n\016safety_ratings\030\002 \003(\013" + + "2-.google.cloud.aiplatform.v1beta1.Safet" + + "yRatingB\003\340A\003\022!\n\024block_reason_message\030\003 \001" + + "(\tB\003\340A\003\"~\n\rBlockedReason\022\036\n\032BLOCKED_REAS" + + "ON_UNSPECIFIED\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\022" + + "\r\n\tBLOCKLIST\020\003\022\026\n\022PROHIBITED_CONTENT\020\004\022\017" + + "\n\013MODEL_ARMOR\020\005\032\300\003\n\rUsageMetadata\022\032\n\022pro" + + "mpt_token_count\030\001 \001(\005\022\036\n\026candidates_toke" + + "n_count\030\002 \001(\005\022!\n\024thoughts_token_count\030\016 " + + "\001(\005B\003\340A\003\022\031\n\021total_token_count\030\003 \001(\005\022\'\n\032c" + + "ached_content_token_count\030\005 \001(\005B\003\340A\003\022W\n\025" + + "prompt_tokens_details\030\t \003(\01323.google.clo" + + "ud.aiplatform.v1beta1.ModalityTokenCount" + + "B\003\340A\003\022V\n\024cache_tokens_details\030\n \003(\01323.go" + + "ogle.cloud.aiplatform.v1beta1.ModalityTo" + + "kenCountB\003\340A\003\022[\n\031candidates_tokens_detai" + + "ls\030\013 \003(\01323.google.cloud.aiplatform.v1bet" + + "a1.ModalityTokenCountB\003\340A\003\"\204\001\n\026ChatCompl" + + "etionsRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Endpoint\022,\n\th" + + "ttp_body\030\002 \001(\0132\024.google.api.HttpBodyB\003\340A" + + "\001\"\203\001\n\032PredictLongRunningResponse\022Y\n\027gene" + + "rate_video_response\030\001 \001(\01326.google.cloud" + + ".aiplatform.v1beta1.GenerateVideoRespons" + + "eH\000B\n\n\010response\"\034\n\032PredictLongRunningMet" + + "adata\"\232\001\n\025GenerateVideoResponse\022\031\n\021gener" + + "ated_samples\030\001 \003(\t\022%\n\030rai_media_filtered" + + "_count\030\002 \001(\005H\000\210\001\001\022\"\n\032rai_media_filtered_" + + "reasons\030\003 \003(\tB\033\n\031_rai_media_filtered_cou" + + "nt2\301 \n\021PredictionService\022\250\002\n\007Predict\022/.g" + "oogle.cloud.aiplatform.v1beta1.PredictRe" - + "sponse\"\271\001\332A\035endpoint,instances,parameter" - + "s\202\323\344\223\002\222\001\">/v1beta1/{endpoint=projects/*/" - + "locations/*/endpoints/*}:predict:\001*ZM\"H/" - + "v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict:\001*\022\215\002\n\n" - + "RawPredict\0222.google.cloud.aiplatform.v1be" - + "ta1.RawPredictRequest\032\024.google.api.HttpB" - + "ody\"\264\001\332A\022endpoint,http_body\202\323\344\223\002\230\001\"A/v1b" - + "eta1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict:\001*ZP\"K/v1beta1/{en" - + "dpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict:\001*\022\247\002\n" - + "\020StreamRawPredict\0228.google.cloud.aiplatform.v1beta" - + "1.StreamRawPredictRequest\032\024.google.api.H" - + "ttpBody\"\300\001\332A\022endpoint,http_body\202\323\344\223\002\244\001\"G" - + "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:streamRawPredict:\001*ZV\"Q/v" - + "1beta1/{endpoint=projects/*/locations/*/" - + "publishers/*/models/*}:streamRawPredict:\001*0\001\022\317\001\n\r" - + "DirectPredict\0225.google.cloud.aiplatform.v1beta1.DirectPredictRequest\0326." - + "google.cloud.aiplatform.v1beta1.DirectPr" - + "edictResponse\"O\202\323\344\223\002I\"D/v1beta1/{endpoin" - + "t=projects/*/locations/*/endpoints/*}:directPredict:\001*\022\333\001\n" - + "\020DirectRawPredict\0228.google.cloud.aiplatform.v1beta1.DirectRawP" - + "redictRequest\0329.google.cloud.aiplatform." - + "v1beta1.DirectRawPredictResponse\"R\202\323\344\223\002L" - + "\"G/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict:\001*\022\226\001\n" - + "\023StreamDirectPredict\022;.google.cloud.aiplatform.v1beta1.StreamDirectPredictReques" - + "t\032<.google.cloud.aiplatform.v1beta1.StreamDirectPredictResponse\"\000(\0010\001\022\237\001\n" - + "\026StreamDirectRawPredict\022>.google.cloud.aiplatfo" - + "rm.v1beta1.StreamDirectRawPredictRequest" - + "\032?.google.cloud.aiplatform.v1beta1.StreamDirectRawPredictResponse\"\000(\0010\001\022\215\001\n" - + "\020StreamingPredict\0228.google.cloud.aiplatform.v" - + "1beta1.StreamingPredictRequest\0329.google." - + "cloud.aiplatform.v1beta1.StreamingPredictResponse\"\000(\0010\001\022\311\002\n" - + "\026ServerStreamingPredict\0228.google.cloud.aiplatform.v1beta1.Str" - + "eamingPredictRequest\0329.google.cloud.aiplatform.v1beta1.StreamingPredictResponse\"" - + "\267\001\202\323\344\223\002\260\001\"M/v1beta1/{endpoint=projects/*" - + "/locations/*/endpoints/*}:serverStreamingPredict:\001*Z\\\"W/v1beta1/{endpoint=projec" - + "ts/*/locations/*/publishers/*/models/*}:serverStreamingPredict:\001*0\001\022\226\001\n" - + "\023StreamingRawPredict\022;.google.cloud.aiplatform.v1" - + "beta1.StreamingRawPredictRequest\032<.googl" - + "e.cloud.aiplatform.v1beta1.StreamingRawPredictResponse\"\000(\0010\001\022\351\001\n" - + "\007Explain\022/.google.cloud.aiplatform.v1beta1.ExplainReques" - + "t\0320.google.cloud.aiplatform.v1beta1.Expl" - + "ainResponse\"{\332A/endpoint,instances,param" - + "eters,deployed_model_id\202\323\344\223\002C\">/v1beta1/" - + "{endpoint=projects/*/locations/*/endpoints/*}:explain:\001*\022\237\003\n" - + "\013CountTokens\0223.google.cloud.aiplatform.v1beta1.CountTokensRe" - + "quest\0324.google.cloud.aiplatform.v1beta1." - + "CountTokensResponse\"\244\002\332A\022endpoint,instan" - + "ces\202\323\344\223\002\210\002\"B/v1beta1/{endpoint=projects/" - + "*/locations/*/endpoints/*}:countTokens:\001*ZQ\"L/v1beta1/{endpoint=projects/*/locat" - + "ions/*/publishers/*/models/*}:countTokens:\001*Z0\"+/v1beta1/{endpoint=endpoints/*}:" - + "countTokens:\001*Z:\"5/v1beta1/{endpoint=publishers/*/models/*}:countTokens:\001*\022\253\003\n" - + "\017GenerateContent\0227.google.cloud.aiplatform" - + ".v1beta1.GenerateContentRequest\0328.google.cloud.aiplatform.v1beta1.GenerateConten" - + "tResponse\"\244\002\332A\016model,contents\202\323\344\223\002\214\002\"C/v" - + "1beta1/{model=projects/*/locations/*/endpoints/*}:generateContent:\001*ZR\"M/v1beta1" - + "/{model=projects/*/locations/*/publishers/*/models/*}:generateContent:\001*Z1\",/v1b" - + "eta1/{model=endpoints/*}:generateContent" - + ":\001*Z;\"6/v1beta1/{model=publishers/*/models/*}:generateContent:\001*\022\313\003\n" - + "\025StreamGenerateContent\0227.google.cloud.aiplatform.v1b" - + "eta1.GenerateContentRequest\0328.google.cloud.aiplatform.v1beta1.GenerateContentRes" - + "ponse\"\274\002\332A\016model,contents\202\323\344\223\002\244\002\"I/v1bet" - + "a1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent:\001*ZX\"S/v1bet" - + "a1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent:\001*" - + "Z7\"2/v1beta1/{model=endpoints/*}:streamGenerateContent:\001*ZA\"/v1beta1/{endpoint=pr" + + "ojects/*/locations/*/endpoints/*}:predic" + + "t:\001*ZM\"H/v1beta1/{endpoint=projects/*/lo" + + "cations/*/publishers/*/models/*}:predict" + + ":\001*\022\215\002\n\nRawPredict\0222.google.cloud.aiplat" + + "form.v1beta1.RawPredictRequest\032\024.google." + + "api.HttpBody\"\264\001\332A\022endpoint,http_body\202\323\344\223" + + "\002\230\001\"A/v1beta1/{endpoint=projects/*/locat" + + "ions/*/endpoints/*}:rawPredict:\001*ZP\"K/v1" + + "beta1/{endpoint=projects/*/locations/*/p" + + "ublishers/*/models/*}:rawPredict:\001*\022\247\002\n\020" + + "StreamRawPredict\0228.google.cloud.aiplatfo" + + "rm.v1beta1.StreamRawPredictRequest\032\024.goo" + + "gle.api.HttpBody\"\300\001\332A\022endpoint,http_body" + + "\202\323\344\223\002\244\001\"G/v1beta1/{endpoint=projects/*/l" + + "ocations/*/endpoints/*}:streamRawPredict" + + ":\001*ZV\"Q/v1beta1/{endpoint=projects/*/loc" + + "ations/*/publishers/*/models/*}:streamRa" + + "wPredict:\001*0\001\022\317\001\n\rDirectPredict\0225.google" + + ".cloud.aiplatform.v1beta1.DirectPredictR" + + "equest\0326.google.cloud.aiplatform.v1beta1" + + ".DirectPredictResponse\"O\202\323\344\223\002I\"D/v1beta1" + + "/{endpoint=projects/*/locations/*/endpoi" + + "nts/*}:directPredict:\001*\022\333\001\n\020DirectRawPre" + + "dict\0228.google.cloud.aiplatform.v1beta1.D" + + "irectRawPredictRequest\0329.google.cloud.ai" + + "platform.v1beta1.DirectRawPredictRespons" + + "e\"R\202\323\344\223\002L\"G/v1beta1/{endpoint=projects/*" + + "/locations/*/endpoints/*}:directRawPredi" + + "ct:\001*\022\226\001\n\023StreamDirectPredict\022;.google.c" + + "loud.aiplatform.v1beta1.StreamDirectPred" + + "ictRequest\032<.google.cloud.aiplatform.v1b" + + "eta1.StreamDirectPredictResponse\"\000(\0010\001\022\237" + + "\001\n\026StreamDirectRawPredict\022>.google.cloud" + + ".aiplatform.v1beta1.StreamDirectRawPredi" + + "ctRequest\032?.google.cloud.aiplatform.v1be" + + "ta1.StreamDirectRawPredictResponse\"\000(\0010\001" + + "\022\215\001\n\020StreamingPredict\0228.google.cloud.aip" + + "latform.v1beta1.StreamingPredictRequest\032" + + "9.google.cloud.aiplatform.v1beta1.Stream" + + "ingPredictResponse\"\000(\0010\001\022\311\002\n\026ServerStrea" + + "mingPredict\0228.google.cloud.aiplatform.v1" + + "beta1.StreamingPredictRequest\0329.google.c" + + "loud.aiplatform.v1beta1.StreamingPredict" + + "Response\"\267\001\202\323\344\223\002\260\001\"M/v1beta1/{endpoint=p" + + "rojects/*/locations/*/endpoints/*}:serve" + + "rStreamingPredict:\001*Z\\\"W/v1beta1/{endpoi" + + "nt=projects/*/locations/*/publishers/*/m" + + "odels/*}:serverStreamingPredict:\001*0\001\022\226\001\n" + + "\023StreamingRawPredict\022;.google.cloud.aipl" + + "atform.v1beta1.StreamingRawPredictReques" + + "t\032<.google.cloud.aiplatform.v1beta1.Stre" + + "amingRawPredictResponse\"\000(\0010\001\022\351\001\n\007Explai" + + "n\022/.google.cloud.aiplatform.v1beta1.Expl" + + "ainRequest\0320.google.cloud.aiplatform.v1b" + + "eta1.ExplainResponse\"{\332A/endpoint,instan" + + "ces,parameters,deployed_model_id\202\323\344\223\002C\">" + + "/v1beta1/{endpoint=projects/*/locations/" + + "*/endpoints/*}:explain:\001*\022\237\003\n\013CountToken" + + "s\0223.google.cloud.aiplatform.v1beta1.Coun" + + "tTokensRequest\0324.google.cloud.aiplatform" + + ".v1beta1.CountTokensResponse\"\244\002\332A\022endpoi" + + "nt,instances\202\323\344\223\002\210\002\"B/v1beta1/{endpoint=" + + "projects/*/locations/*/endpoints/*}:coun" + + "tTokens:\001*ZQ\"L/v1beta1/{endpoint=project" + + "s/*/locations/*/publishers/*/models/*}:c" + + "ountTokens:\001*Z0\"+/v1beta1/{endpoint=endp" + + "oints/*}:countTokens:\001*Z:\"5/v1beta1/{end" + + "point=publishers/*/models/*}:countTokens" + + ":\001*\022\253\003\n\017GenerateContent\0227.google.cloud.a" + + "iplatform.v1beta1.GenerateContentRequest" + + "\0328.google.cloud.aiplatform.v1beta1.Gener" + + "ateContentResponse\"\244\002\332A\016model,contents\202\323" + + "\344\223\002\214\002\"C/v1beta1/{model=projects/*/locati" + + "ons/*/endpoints/*}:generateContent:\001*ZR\"" + + "M/v1beta1/{model=projects/*/locations/*/" + + "publishers/*/models/*}:generateContent:\001" + + "*Z1\",/v1beta1/{model=endpoints/*}:genera" + + "teContent:\001*Z;\"6/v1beta1/{model=publishe" + + "rs/*/models/*}:generateContent:\001*\022\313\003\n\025St" + + "reamGenerateContent\0227.google.cloud.aipla" + + "tform.v1beta1.GenerateContentRequest\0328.g" + + "oogle.cloud.aiplatform.v1beta1.GenerateC" + + "ontentResponse\"\274\002\332A\016model,contents\202\323\344\223\002\244" + + "\002\"I/v1beta1/{model=projects/*/locations/" + + "*/endpoints/*}:streamGenerateContent:\001*Z" + + "X\"S/v1beta1/{model=projects/*/locations/" + + "*/publishers/*/models/*}:streamGenerateC" + + "ontent:\001*Z7\"2/v1beta1/{model=endpoints/*" + + "}:streamGenerateContent:\001*ZA\" * * @deprecated google.cloud.aiplatform.v1beta1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=330 + * google/cloud/aiplatform/v1beta1/tool.proto;l=361 * @return The disableAttribution. */ @java.lang.Override @@ -1149,7 +1149,7 @@ public com.google.cloud.aiplatform.v1beta1.VertexRagStore.Builder getVertexRagSt * * * @deprecated google.cloud.aiplatform.v1beta1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=330 + * google/cloud/aiplatform/v1beta1/tool.proto;l=361 * @return The disableAttribution. */ @java.lang.Override @@ -1170,7 +1170,7 @@ public boolean getDisableAttribution() { * * * @deprecated google.cloud.aiplatform.v1beta1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=330 + * google/cloud/aiplatform/v1beta1/tool.proto;l=361 * @param value The disableAttribution to set. * @return This builder for chaining. */ @@ -1195,7 +1195,7 @@ public Builder setDisableAttribution(boolean value) { * * * @deprecated google.cloud.aiplatform.v1beta1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=330 + * google/cloud/aiplatform/v1beta1/tool.proto;l=361 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RetrievalOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RetrievalOrBuilder.java index e19afef9d5d5..8e69abfaa1ad 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RetrievalOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RetrievalOrBuilder.java @@ -113,7 +113,7 @@ public interface RetrievalOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.Retrieval.disable_attribution is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=330 + * google/cloud/aiplatform/v1beta1/tool.proto;l=361 * @return The disableAttribution. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Tool.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Tool.java index aa76e1ff57e1..24131006ff3e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Tool.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Tool.java @@ -70,6 +70,263 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.Tool.Builder.class); } + /** + * + * + *
+   * These are available confidence level user can set to block malicious urls
+   * with chosen confidence and above. For understanding different confidence of
+   * webrisk, please refer to
+   * https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold} + */ + public enum PhishBlockThreshold implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Defaults to unspecified.
+     * 
+ * + * PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + */ + PHISH_BLOCK_THRESHOLD_UNSPECIFIED(0), + /** + * + * + *
+     * Blocks Low and above confidence URL that is risky.
+     * 
+ * + * BLOCK_LOW_AND_ABOVE = 30; + */ + BLOCK_LOW_AND_ABOVE(30), + /** + * + * + *
+     * Blocks Medium and above confidence URL that is risky.
+     * 
+ * + * BLOCK_MEDIUM_AND_ABOVE = 40; + */ + BLOCK_MEDIUM_AND_ABOVE(40), + /** + * + * + *
+     * Blocks High and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGH_AND_ABOVE = 50; + */ + BLOCK_HIGH_AND_ABOVE(50), + /** + * + * + *
+     * Blocks Higher and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGHER_AND_ABOVE = 55; + */ + BLOCK_HIGHER_AND_ABOVE(55), + /** + * + * + *
+     * Blocks Very high and above confidence URL that is risky.
+     * 
+ * + * BLOCK_VERY_HIGH_AND_ABOVE = 60; + */ + BLOCK_VERY_HIGH_AND_ABOVE(60), + /** + * + * + *
+     * Blocks Extremely high confidence URL that is risky.
+     * 
+ * + * BLOCK_ONLY_EXTREMELY_HIGH = 100; + */ + BLOCK_ONLY_EXTREMELY_HIGH(100), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Defaults to unspecified.
+     * 
+ * + * PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + */ + public static final int PHISH_BLOCK_THRESHOLD_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Blocks Low and above confidence URL that is risky.
+     * 
+ * + * BLOCK_LOW_AND_ABOVE = 30; + */ + public static final int BLOCK_LOW_AND_ABOVE_VALUE = 30; + + /** + * + * + *
+     * Blocks Medium and above confidence URL that is risky.
+     * 
+ * + * BLOCK_MEDIUM_AND_ABOVE = 40; + */ + public static final int BLOCK_MEDIUM_AND_ABOVE_VALUE = 40; + + /** + * + * + *
+     * Blocks High and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGH_AND_ABOVE = 50; + */ + public static final int BLOCK_HIGH_AND_ABOVE_VALUE = 50; + + /** + * + * + *
+     * Blocks Higher and above confidence URL that is risky.
+     * 
+ * + * BLOCK_HIGHER_AND_ABOVE = 55; + */ + public static final int BLOCK_HIGHER_AND_ABOVE_VALUE = 55; + + /** + * + * + *
+     * Blocks Very high and above confidence URL that is risky.
+     * 
+ * + * BLOCK_VERY_HIGH_AND_ABOVE = 60; + */ + public static final int BLOCK_VERY_HIGH_AND_ABOVE_VALUE = 60; + + /** + * + * + *
+     * Blocks Extremely high confidence URL that is risky.
+     * 
+ * + * BLOCK_ONLY_EXTREMELY_HIGH = 100; + */ + public static final int BLOCK_ONLY_EXTREMELY_HIGH_VALUE = 100; + + 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 PhishBlockThreshold 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 PhishBlockThreshold forNumber(int value) { + switch (value) { + case 0: + return PHISH_BLOCK_THRESHOLD_UNSPECIFIED; + case 30: + return BLOCK_LOW_AND_ABOVE; + case 40: + return BLOCK_MEDIUM_AND_ABOVE; + case 50: + return BLOCK_HIGH_AND_ABOVE; + case 55: + return BLOCK_HIGHER_AND_ABOVE; + case 60: + return BLOCK_VERY_HIGH_AND_ABOVE; + case 100: + return BLOCK_ONLY_EXTREMELY_HIGH; + 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 PhishBlockThreshold findValueByNumber(int number) { + return PhishBlockThreshold.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.cloud.aiplatform.v1beta1.Tool.getDescriptor().getEnumTypes().get(0); + } + + private static final PhishBlockThreshold[] VALUES = values(); + + public static PhishBlockThreshold 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 PhishBlockThreshold(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold) + } + public interface GoogleSearchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.Tool.GoogleSearch) @@ -136,6 +393,54 @@ public interface GoogleSearchOrBuilder * @return The bytes of the excludeDomains at the given index. */ com.google.protobuf.ByteString getExcludeDomainsBytes(int index); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + boolean hasBlockingConfidence(); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + int getBlockingConfidenceValue(); + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence(); } /** @@ -161,6 +466,7 @@ private GoogleSearch(com.google.protobuf.GeneratedMessageV3.Builder builder) private GoogleSearch() { excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; } @java.lang.Override @@ -184,6 +490,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.Tool.GoogleSearch.Builder.class); } + private int bitField0_; public static final int EXCLUDE_DOMAINS_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -260,6 +567,71 @@ public com.google.protobuf.ByteString getExcludeDomainsBytes(int index) { return excludeDomains_.getByteString(index); } + public static final int BLOCKING_CONFIDENCE_FIELD_NUMBER = 4; + private int blockingConfidence_ = 0; + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+     * Optional. Sites with confidence level chosen & above this value will be
+     * blocked from the search results.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.forNumber( + blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -277,6 +649,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < excludeDomains_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, excludeDomains_.getRaw(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(4, blockingConfidence_); + } getUnknownFields().writeTo(output); } @@ -294,6 +669,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getExcludeDomainsList().size(); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, blockingConfidence_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -311,6 +689,10 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1beta1.Tool.GoogleSearch) obj; if (!getExcludeDomainsList().equals(other.getExcludeDomainsList())) return false; + if (hasBlockingConfidence() != other.hasBlockingConfidence()) return false; + if (hasBlockingConfidence()) { + if (blockingConfidence_ != other.blockingConfidence_) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,6 +708,10 @@ public int hashCode() { hash = (37 * hash) + EXCLUDE_DOMAINS_FIELD_NUMBER; hash = (53 * hash) + getExcludeDomainsList().hashCode(); } + if (hasBlockingConfidence()) { + hash = (37 * hash) + BLOCKING_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + blockingConfidence_; + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -471,6 +857,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; excludeDomains_ = com.google.protobuf.LazyStringArrayList.emptyList(); + blockingConfidence_ = 0; return this; } @@ -511,6 +898,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Tool.GoogleSearch excludeDomains_.makeImmutable(); result.excludeDomains_ = excludeDomains_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.blockingConfidence_ = blockingConfidence_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -571,6 +964,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Tool.GoogleSearch o } onChanged(); } + if (other.hasBlockingConfidence()) { + setBlockingConfidence(other.getBlockingConfidence()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -604,6 +1000,12 @@ public Builder mergeFrom( excludeDomains_.add(s); break; } // case 26 + case 32: + { + blockingConfidence_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -824,6 +1226,139 @@ public Builder addExcludeDomainsBytes(com.google.protobuf.ByteString value) { return this; } + private int blockingConfidence_ = 0; + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the blockingConfidence field is set. + */ + @java.lang.Override + public boolean hasBlockingConfidence() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for blockingConfidence. + */ + @java.lang.Override + public int getBlockingConfidenceValue() { + return blockingConfidence_; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidenceValue(int value) { + blockingConfidence_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The blockingConfidence. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold getBlockingConfidence() { + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold result = + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.forNumber( + blockingConfidence_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold.UNRECOGNIZED + : result; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The blockingConfidence to set. + * @return This builder for chaining. + */ + public Builder setBlockingConfidence( + com.google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + blockingConfidence_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Sites with confidence level chosen & above this value will be
+       * blocked from the search results.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearBlockingConfidence() { + bitField0_ = (bitField0_ & ~0x00000002); + blockingConfidence_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java index 34c1d993e5c1..c942a1096d13 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java @@ -163,7 +163,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle/api/field_behavior.proto\032\031google/a" + "pi/resource.proto\032-google/cloud/aiplatfo" + "rm/v1beta1/openapi.proto\032\034google/protobu" - + "f/struct.proto\032\030google/type/latlng.proto\"\307\007\n" + + "f/struct.proto\032\030google/type/latlng.proto\"\252\n\n" + "\004Tool\022X\n" + "\025function_declarations\030\001 \003(\013" + "24.google.cloud.aiplatform.v1beta1.FunctionDeclarationB\003\340A\001\022B\n" @@ -182,21 +182,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013url_context\030\010" + " \001(\0132+.google.cloud.aiplatform.v1beta1.UrlContextB\003\340A\001\022L\n" + "\014computer_use\030\013 \001(\01321." - + "google.cloud.aiplatform.v1beta1.Tool.ComputerUseB\003\340A\001\032,\n" + + "google.cloud.aiplatform.v1beta1.Tool.ComputerUseB\003\340A\001\032\246\001\n" + "\014GoogleSearch\022\034\n" - + "\017exclude_domains\030\003 \003(\tB\003\340A\001\032\017\n\r" + + "\017exclude_domains\030\003 \003(\tB\003\340A\001\022`\n" + + "\023blocking_confidence\030\004 \001(\01629.google.cloud.aiplatform.v1be" + + "ta1.Tool.PhishBlockThresholdB\003\340A\001H\000\210\001\001B\026\n" + + "\024_blocking_confidence\032\017\n\r" + "CodeExecution\032\253\001\n" + "\013ComputerUse\022W\n" - + "\013environment\030\001 \001(\0162=.goog" - + "le.cloud.aiplatform.v1beta1.Tool.ComputerUse.EnvironmentB\003\340A\002\"C\n" + + "\013environment\030\001 \001(\0162=.g" + + "oogle.cloud.aiplatform.v1beta1.Tool.ComputerUse.EnvironmentB\003\340A\002\"C\n" + "\013Environment\022\033\n" + "\027ENVIRONMENT_UNSPECIFIED\020\000\022\027\n" - + "\023ENVIRONMENT_BROWSER\020\001\"\014\n\n" + + "\023ENVIRONMENT_BROWSER\020\001\"\345\001\n" + + "\023PhishBlockThreshold\022%\n" + + "!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\020\000\022\027\n" + + "\023BLOCK_LOW_AND_ABOVE\020\036\022\032\n" + + "\026BLOCK_MEDIUM_AND_ABOVE\020(\022\030\n" + + "\024BLOCK_HIGH_AND_ABOVE\0202\022\032\n" + + "\026BLOCK_HIGHER_AND_ABOVE\0207\022\035\n" + + "\031BLOCK_VERY_HIGH_AND_ABOVE\020<\022\035\n" + + "\031BLOCK_ONLY_EXTREMELY_HIGH\020d\"\014\n\n" + "UrlContext\"\260\003\n" + "\016ToolUseExample\022a\n" + "\023extension_operation\030\n" - + " \001(\0132B.googl" - + "e.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperationH\000\022\027\n\r" + + " \001(\0132B.google.clo" + + "ud.aiplatform.v1beta1.ToolUseExample.ExtensionOperationH\000\022\027\n\r" + "function_name\030\013 \001(\tH\000\022\031\n" + "\014display_name\030\001 \001(\tB\003\340A\002\022\022\n" + "\005query\030\002 \001(\tB\003\340A\002\022/\n" @@ -215,8 +226,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\'.google.cloud.aiplatform.v1beta1.SchemaB\003\340A\001\022;\n" + "\026parameters_json_schema\030\005" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001\022>\n" - + "\010response\030\004 \001(\0132\'.goog" - + "le.cloud.aiplatform.v1beta1.SchemaB\003\340A\001\0229\n" + + "\010response\030\004" + + " \001(\0132\'.google.cloud.aiplatform.v1beta1.SchemaB\003\340A\001\0229\n" + "\024response_json_schema\030\006" + " \001(\0132\026.google.protobuf.ValueB\003\340A\001\"^\n" + "\014FunctionCall\022\017\n" @@ -228,15 +239,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB\003\340A\002\022.\n" + "\010response\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\002\"\246\001\n" + "\016ExecutableCode\022O\n" - + "\010language\030\001 \001(\01628.google.cloud.aiplatfor" - + "m.v1beta1.ExecutableCode.LanguageB\003\340A\002\022\021\n" + + "\010language\030\001" + + " \001(\01628.google.cloud.aiplatform.v1beta1.ExecutableCode.LanguageB\003\340A\002\022\021\n" + "\004code\030\002 \001(\tB\003\340A\002\"0\n" + "\010Language\022\030\n" + "\024LANGUAGE_UNSPECIFIED\020\000\022\n\n" + "\006PYTHON\020\001\"\345\001\n" + "\023CodeExecutionResult\022R\n" - + "\007outcome\030\001 \001(\0162<.google.cl" - + "oud.aiplatform.v1beta1.CodeExecutionResult.OutcomeB\003\340A\002\022\023\n" + + "\007outcome\030\001 \001(\0162<.google.cloud.a" + + "iplatform.v1beta1.CodeExecutionResult.OutcomeB\003\340A\002\022\023\n" + "\006output\030\002 \001(\tB\003\340A\001\"e\n" + "\007Outcome\022\027\n" + "\023OUTCOME_UNSPECIFIED\020\000\022\016\n\n" @@ -253,13 +264,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016VertexRagStore\022B\n" + "\013rag_corpora\030\001 \003(\tB-\030\001\340A\001\372A%\n" + "#aiplatform.googleapis.com/RagCorpus\022W\n\r" - + "rag_resources\030\004 \003(\0132;.google.cloud.a" - + "iplatform.v1beta1.VertexRagStore.RagResourceB\003\340A\001\022$\n" + + "rag_resources\030\004 \003(\0132;.google.cloud.aiplat" + + "form.v1beta1.VertexRagStore.RagResourceB\003\340A\001\022$\n" + "\020similarity_top_k\030\002 \001(\005B\005\030\001\340A\001H\000\210\001\001\022-\n" + "\031vector_distance_threshold\030\003" + " \001(\001B\005\030\001\340A\001H\001\210\001\001\022V\n" - + "\024rag_retrieval_config\030\006" - + " \001(\01323.google.cloud.aiplatform.v1beta1.RagRetrievalConfigB\003\340A\001\022\032\n\r" + + "\024rag_retrieval_config\030\006 \001(\0132" + + "3.google.cloud.aiplatform.v1beta1.RagRetrievalConfigB\003\340A\001\022\032\n\r" + "store_context\030\007 \001(\010B\003\340A\001\032i\n" + "\013RagResource\022?\n\n" + "rag_corpus\030\001 \001(\tB+\340A\001\372A%\n" @@ -272,33 +283,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006engine\030\002 \001(\tB\003\340A\001\022\030\n" + "\013max_results\030\003 \001(\005B\003\340A\001\022\023\n" + "\006filter\030\004 \001(\tB\003\340A\001\022W\n" - + "\020data_store_specs\030\005 \003(\0132=.google.cloud" - + ".aiplatform.v1beta1.VertexAISearch.DataStoreSpec\0328\n\r" + + "\020data_store_specs\030\005 \003(\0132=.google.cloud.aipl" + + "atform.v1beta1.VertexAISearch.DataStoreSpec\0328\n\r" + "DataStoreSpec\022\022\n\n" + "data_store\030\001 \001(\t\022\023\n" + "\006filter\030\002 \001(\tB\003\340A\001\"r\n" + "\025GoogleSearchRetrieval\022Y\n" - + "\030dynamic_retrieval_config\030\002" - + " \001(\01327.google.cloud.aiplatform.v1beta1.DynamicRetrievalConfig\"\014\n\n" - + "GoogleMaps\"3\n" + + "\030dynamic_retrieval_config\030\002 \001(\013" + + "27.google.cloud.aiplatform.v1beta1.DynamicRetrievalConfig\"(\n\n" + + "GoogleMaps\022\032\n\r" + + "enable_widget\030\001 \001(\010B\003\340A\001\"\255\001\n" + "\023EnterpriseWebSearch\022\034\n" - + "\017exclude_domains\030\001 \003(\tB\003\340A\001\"\317\001\n" + + "\017exclude_domains\030\001 \003(\tB\003\340A\001\022`\n" + + "\023blocking_confidence\030\004 \001(\01629.google.cloud.ai" + + "platform.v1beta1.Tool.PhishBlockThresholdB\003\340A\001H\000\210\001\001B\026\n" + + "\024_blocking_confidence\"\317\001\n" + "\026DynamicRetrievalConfig\022J\n" - + "\004mode\030\001" - + " \001(\0162<.google.cloud.aiplatform.v1beta1.DynamicRetrievalConfig.Mode\022#\n" + + "\004mode\030\001 \001(\0162<.g" + + "oogle.cloud.aiplatform.v1beta1.DynamicRetrievalConfig.Mode\022#\n" + "\021dynamic_threshold\030\002 \001(\002B\003\340A\001H\000\210\001\001\".\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\020\n" + "\014MODE_DYNAMIC\020\001B\024\n" + "\022_dynamic_threshold\"\273\001\n\n" + "ToolConfig\022\\\n" - + "\027function_calling_config\030\001 \001(\01326.google.clo" - + "ud.aiplatform.v1beta1.FunctionCallingConfigB\003\340A\001\022O\n" - + "\020retrieval_config\030\002 \001(\01320.goo" - + "gle.cloud.aiplatform.v1beta1.RetrievalConfigB\003\340A\001\"\334\001\n" + + "\027function_calling_config\030\001" + + " \001(\01326.google.cloud.aiplatform.v1beta1.FunctionCallingConfigB\003\340A\001\022O\n" + + "\020retrieval_config\030\002" + + " \001(\01320.google.cloud.aiplatform.v1beta1.RetrievalConfigB\003\340A\001\"\334\001\n" + "\025FunctionCallingConfig\022N\n" - + "\004mode\030\001" - + " \001(\0162;.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.ModeB\003\340A\001\022#\n" + + "\004mode\030\001 \001(\0162;.go" + + "ogle.cloud.aiplatform.v1beta1.FunctionCallingConfig.ModeB\003\340A\001\022#\n" + "\026allowed_function_names\030\002 \003(\tB\003\340A\001\"N\n" + "\004Mode\022\024\n" + "\020MODE_UNSPECIFIED\020\000\022\010\n" @@ -313,12 +328,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_language_code\"\317\006\n" + "\022RagRetrievalConfig\022\022\n" + "\005top_k\030\001 \001(\005B\003\340A\001\022\\\n\r" - + "hybrid_search\030\002 \001(\0132@.google.cloud.aiplat" - + "form.v1beta1.RagRetrievalConfig.HybridSearchB\003\340A\001\022O\n" - + "\006filter\030\003 \001(\0132:.google.cloud" - + ".aiplatform.v1beta1.RagRetrievalConfig.FilterB\003\340A\001\022Q\n" - + "\007ranking\030\004 \001(\0132;.google.clo" - + "ud.aiplatform.v1beta1.RagRetrievalConfig.RankingB\003\340A\001\0321\n" + + "hybrid_search\030\002" + + " \001(\0132@.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.HybridSearchB\003\340A\001\022O\n" + + "\006filter\030\003" + + " \001(\0132:.google.cloud.aiplatform.v1beta1.RagRetrievalConfig.FilterB\003\340A\001\022Q\n" + + "\007ranking\030\004 \001(\0132;.google.cloud.aiplatform." + + "v1beta1.RagRetrievalConfig.RankingB\003\340A\001\0321\n" + "\014HybridSearch\022\027\n" + "\005alpha\030\001 \001(\002B\003\340A\001H\000\210\001\001B\010\n" + "\006_alpha\032\223\001\n" @@ -328,10 +343,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017metadata_filter\030\002 \001(\tB\003\340A\001B\025\n" + "\023vector_db_threshold\032\331\002\n" + "\007Ranking\022d\n" - + "\014rank_service\030\001 \001(\0132G.google.cloud.aiplatform.v1bet" - + "a1.RagRetrievalConfig.Ranking.RankServiceB\003\340A\001H\000\022`\n\n" - + "llm_ranker\030\003 \001(\0132E.google.cl" - + "oud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.LlmRankerB\003\340A\001H\000\032:\n" + + "\014rank_service\030\001 \001(\0132G.goo" + + "gle.cloud.aiplatform.v1beta1.RagRetrievalConfig.Ranking.RankServiceB\003\340A\001H\000\022`\n\n" + + "llm_ranker\030\003 \001(\0132E.google.cloud.aiplatform" + + ".v1beta1.RagRetrievalConfig.Ranking.LlmRankerB\003\340A\001H\000\032:\n" + "\013RankService\022\034\n\n" + "model_name\030\001 \001(\tB\003\340A\001H\000\210\001\001B\r\n" + "\013_model_name\0328\n" @@ -339,11 +354,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "model_name\030\001 \001(\tB\003\340A\001H\000\210\001\001B\r\n" + "\013_model_nameB\020\n" + "\016ranking_configB\340\001\n" - + "#com.google.cloud.aiplatform.v1beta1B\tToolProtoP\001ZCcloud.google.com/go/aip" - + "latform/apiv1beta1/aiplatformpb;aiplatfo" - + "rmpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" - + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" - + "e::Cloud::AIPlatform::V1beta1b\006proto3" + + "#com.google.cloud.aiplatform.v1beta1B\tToolProtoP" + + "\001ZCcloud.google.com/go/aiplatform/apiv1b" + + "eta1/aiplatformpb;aiplatformpb\252\002\037Google." + + "Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\" + + "AIPlatform\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -377,7 +392,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_Tool_GoogleSearch_descriptor, new java.lang.String[] { - "ExcludeDomains", + "ExcludeDomains", "BlockingConfidence", }); internal_static_google_cloud_aiplatform_v1beta1_Tool_CodeExecution_descriptor = internal_static_google_cloud_aiplatform_v1beta1_Tool_descriptor.getNestedTypes().get(1); @@ -531,14 +546,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1beta1_GoogleMaps_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GoogleMaps_descriptor, - new java.lang.String[] {}); + new java.lang.String[] { + "EnableWidget", + }); internal_static_google_cloud_aiplatform_v1beta1_EnterpriseWebSearch_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_aiplatform_v1beta1_EnterpriseWebSearch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_EnterpriseWebSearch_descriptor, new java.lang.String[] { - "ExcludeDomains", + "ExcludeDomains", "BlockingConfidence", }); internal_static_google_cloud_aiplatform_v1beta1_DynamicRetrievalConfig_descriptor = getDescriptor().getMessageTypes().get(14); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java index bbd2636932c3..6f248e74747d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStore.java @@ -1141,7 +1141,7 @@ public com.google.protobuf.Parser getParserForType() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return A list containing the ragCorpora. */ @java.lang.Deprecated @@ -1161,7 +1161,7 @@ public com.google.protobuf.ProtocolStringList getRagCorporaList() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return The count of ragCorpora. */ @java.lang.Deprecated @@ -1181,7 +1181,7 @@ public int getRagCorporaCount() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the element to return. * @return The ragCorpora at the given index. */ @@ -1202,7 +1202,7 @@ public java.lang.String getRagCorpora(int index) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the value to return. * @return The bytes of the ragCorpora at the given index. */ @@ -1331,7 +1331,7 @@ public com.google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource getRagReso * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return Whether the similarityTopK field is set. */ @java.lang.Override @@ -1352,7 +1352,7 @@ public boolean hasSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return The similarityTopK. */ @java.lang.Override @@ -1377,7 +1377,7 @@ public int getSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Override @@ -1399,7 +1399,7 @@ public boolean hasVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return The vectorDistanceThreshold. */ @java.lang.Override @@ -2075,7 +2075,7 @@ private void ensureRagCorporaIsMutable() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return A list containing the ragCorpora. */ @java.lang.Deprecated @@ -2096,7 +2096,7 @@ public com.google.protobuf.ProtocolStringList getRagCorporaList() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return The count of ragCorpora. */ @java.lang.Deprecated @@ -2116,7 +2116,7 @@ public int getRagCorporaCount() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the element to return. * @return The ragCorpora at the given index. */ @@ -2137,7 +2137,7 @@ public java.lang.String getRagCorpora(int index) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the value to return. * @return The bytes of the ragCorpora at the given index. */ @@ -2158,7 +2158,7 @@ public com.google.protobuf.ByteString getRagCorporaBytes(int index) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index to set the value at. * @param value The ragCorpora to set. * @return This builder for chaining. @@ -2187,7 +2187,7 @@ public Builder setRagCorpora(int index, java.lang.String value) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param value The ragCorpora to add. * @return This builder for chaining. */ @@ -2215,7 +2215,7 @@ public Builder addRagCorpora(java.lang.String value) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param values The ragCorpora to add. * @return This builder for chaining. */ @@ -2240,7 +2240,7 @@ public Builder addAllRagCorpora(java.lang.Iterable values) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2264,7 +2264,7 @@ public Builder clearRagCorpora() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param value The bytes of the ragCorpora to add. * @return This builder for chaining. */ @@ -2770,7 +2770,7 @@ public Builder removeRagResources(int index) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. - * See google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * See google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return Whether the similarityTopK field is set. */ @java.lang.Override @@ -2791,7 +2791,7 @@ public boolean hasSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. - * See google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * See google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return The similarityTopK. */ @java.lang.Override @@ -2812,7 +2812,7 @@ public int getSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. - * See google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * See google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @param value The similarityTopK to set. * @return This builder for chaining. */ @@ -2837,7 +2837,7 @@ public Builder setSimilarityTopK(int value) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. - * See google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * See google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2863,7 +2863,7 @@ public Builder clearSimilarityTopK() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Override @@ -2885,7 +2885,7 @@ public boolean hasVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return The vectorDistanceThreshold. */ @java.lang.Override @@ -2907,7 +2907,7 @@ public double getVectorDistanceThreshold() { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @param value The vectorDistanceThreshold to set. * @return This builder for chaining. */ @@ -2933,7 +2933,7 @@ public Builder setVectorDistanceThreshold(double value) { * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStoreOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStoreOrBuilder.java index 5d045fcfd5a5..292615197738 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStoreOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VertexRagStoreOrBuilder.java @@ -36,7 +36,7 @@ public interface VertexRagStoreOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return A list containing the ragCorpora. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface VertexRagStoreOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @return The count of ragCorpora. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface VertexRagStoreOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the element to return. * @return The ragCorpora at the given index. */ @@ -91,7 +91,7 @@ public interface VertexRagStoreOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=354 + * google/cloud/aiplatform/v1beta1/tool.proto;l=385 * @param index The index of the value to return. * @return The bytes of the ragCorpora at the given index. */ @@ -193,7 +193,7 @@ com.google.cloud.aiplatform.v1beta1.VertexRagStore.RagResourceOrBuilder getRagRe * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return Whether the similarityTopK field is set. */ @java.lang.Deprecated @@ -211,7 +211,7 @@ com.google.cloud.aiplatform.v1beta1.VertexRagStore.RagResourceOrBuilder getRagRe * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.similarity_top_k is deprecated. See - * google/cloud/aiplatform/v1beta1/tool.proto;l=370 + * google/cloud/aiplatform/v1beta1/tool.proto;l=401 * @return The similarityTopK. */ @java.lang.Deprecated @@ -230,7 +230,7 @@ com.google.cloud.aiplatform.v1beta1.VertexRagStore.RagResourceOrBuilder getRagRe * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return Whether the vectorDistanceThreshold field is set. */ @java.lang.Deprecated @@ -249,7 +249,7 @@ com.google.cloud.aiplatform.v1beta1.VertexRagStore.RagResourceOrBuilder getRagRe * * * @deprecated google.cloud.aiplatform.v1beta1.VertexRagStore.vector_distance_threshold is - * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=375 + * deprecated. See google/cloud/aiplatform/v1beta1/tool.proto;l=406 * @return The vectorDistanceThreshold. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto index a9d5cbcefb3b..3f42541597ec 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto @@ -24,7 +24,6 @@ option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; -// LINT: LEGACY_NAMES // Represents a hardware accelerator type. enum AcceleratorType { // Unspecified accelerator type, which means no accelerator. @@ -70,6 +69,9 @@ enum AcceleratorType { // Nvidia GB200 GPU. NVIDIA_GB200 = 17; + // Nvidia RTX Pro 6000 GPU. + NVIDIA_RTX_PRO_6000 = 18; + // TPU v2. TPU_V2 = 6; 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 b8449e0f3a69..ce3e7448a150 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 @@ -756,6 +756,22 @@ message GroundingChunk { // Chunk from Google Maps. message Maps { + message PlaceAnswerSources { + // Encapsulates a review snippet. + message ReviewSnippet { + // Id of the review referencing the place. + string review_id = 1; + + // A link to show the review on Google Maps. + string google_maps_uri = 2; + + // Title of the review. + string title = 3; + } + + // Snippets of reviews that are used to generate the answer. + repeated ReviewSnippet review_snippets = 1; + } // URI reference of the chunk. optional string uri = 1; @@ -768,6 +784,11 @@ message GroundingChunk { // This Place's resource name, in `places/{place_id}` format. Can be used // to look up the Place. optional string place_id = 4; + + // Sources used to generate the place answer. + // This includes review snippets and photos that were used to generate the + // answer, as well as uris to flag content. + PlaceAnswerSources place_answer_sources = 5; } // Chunk type. @@ -834,6 +855,23 @@ message GroundingMetadata { (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = OUTPUT_ONLY ]; + + // Source content flagging uri for a place or review. This is currently + // populated only for Google Maps grounding. + message SourceFlaggingUri { + // Id of the place or review. + string source_id = 1; + + // A link where users can flag a problem with the source (place or review). + // (-- The link is generated by Google and it does not contain + // information from the user query. It may contain information of the + // content it is flagging, which can be used to identify places. --) + string flag_content_uri = 2; + } + + // List of source flagging uris. This is currently populated only for Google + // Maps grounding. + repeated SourceFlaggingUri source_flagging_uris = 9; } // Google search entry point. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto index 7c10e1e2a85a..c5b7dd890c01 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto @@ -273,6 +273,10 @@ message PredictRequest { // [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] // [parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri]. google.protobuf.Value parameters = 3; + + // Optional. The user labels for Imagen billing usage only. Only Imagen + // supports labels. For other use cases, it will be ignored. + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto index 31c83cf10e3b..f324634d11c7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto @@ -38,6 +38,32 @@ option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; // one type of Tool (e.g FunctionDeclaration, Retrieval or // GoogleSearchRetrieval). message Tool { + // These are available confidence level user can set to block malicious urls + // with chosen confidence and above. For understanding different confidence of + // webrisk, please refer to + // https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel + enum PhishBlockThreshold { + // Defaults to unspecified. + PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0; + + // Blocks Low and above confidence URL that is risky. + BLOCK_LOW_AND_ABOVE = 30; + + // Blocks Medium and above confidence URL that is risky. + BLOCK_MEDIUM_AND_ABOVE = 40; + + // Blocks High and above confidence URL that is risky. + BLOCK_HIGH_AND_ABOVE = 50; + + // Blocks Higher and above confidence URL that is risky. + BLOCK_HIGHER_AND_ABOVE = 55; + + // Blocks Very high and above confidence URL that is risky. + BLOCK_VERY_HIGH_AND_ABOVE = 60; + + // Blocks Extremely high confidence URL that is risky. + BLOCK_ONLY_EXTREMELY_HIGH = 100; + } // GoogleSearch tool type. // Tool to support Google Search in Model. Powered by Google. message GoogleSearch { @@ -46,6 +72,11 @@ message Tool { // Example: ["amazon.com", "facebook.com"]. repeated string exclude_domains = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Sites with confidence level chosen & above this value will be + // blocked from the search results. + optional PhishBlockThreshold blocking_confidence = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Tool that executes code generated by the model, and automatically returns @@ -441,7 +472,10 @@ message GoogleSearchRetrieval { } // Tool to retrieve public maps data for grounding, powered by Google. -message GoogleMaps {} +message GoogleMaps { + // If true, include the widget context token in the response. + bool enable_widget = 1 [(google.api.field_behavior) = OPTIONAL]; +} // Tool to search public web data, powered by Vertex AI Search and Sec4 // compliance. @@ -449,6 +483,11 @@ message EnterpriseWebSearch { // Optional. List of domains to be excluded from the search results. // The default limit is 2000 domains. repeated string exclude_domains = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Sites with confidence level chosen & above this value will be + // blocked from the search results. + optional Tool.PhishBlockThreshold blocking_confidence = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Describes the options to customize dynamic retrieval. diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/AsyncPredict.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/AsyncPredict.java index 6f3450ab09d7..1df20669aab4 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/AsyncPredict.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/AsyncPredict.java @@ -24,6 +24,7 @@ import com.google.cloud.aiplatform.v1.PredictionServiceClient; import com.google.protobuf.Value; import java.util.ArrayList; +import java.util.HashMap; public class AsyncPredict { @@ -46,6 +47,7 @@ public static void asyncPredict() throws Exception { .toString()) .addAllInstances(new ArrayList()) .setParameters(Value.newBuilder().setBoolValue(true).build()) + .putAllLabels(new HashMap()) .build(); ApiFuture future = predictionServiceClient.predictCallable().futureCall(request); diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/SyncPredict.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/SyncPredict.java index b88819f98a93..0a6d1738ba58 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/SyncPredict.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1/predictionservice/predict/SyncPredict.java @@ -23,6 +23,7 @@ import com.google.cloud.aiplatform.v1.PredictionServiceClient; import com.google.protobuf.Value; import java.util.ArrayList; +import java.util.HashMap; public class SyncPredict { @@ -45,6 +46,7 @@ public static void syncPredict() throws Exception { .toString()) .addAllInstances(new ArrayList()) .setParameters(Value.newBuilder().setBoolValue(true).build()) + .putAllLabels(new HashMap()) .build(); PredictResponse response = predictionServiceClient.predict(request); } diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/AsyncPredict.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/AsyncPredict.java index 7ec83f668471..1dfec101f903 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/AsyncPredict.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/AsyncPredict.java @@ -24,6 +24,7 @@ import com.google.cloud.aiplatform.v1beta1.PredictionServiceClient; import com.google.protobuf.Value; import java.util.ArrayList; +import java.util.HashMap; public class AsyncPredict { @@ -46,6 +47,7 @@ public static void asyncPredict() throws Exception { .toString()) .addAllInstances(new ArrayList()) .setParameters(Value.newBuilder().setBoolValue(true).build()) + .putAllLabels(new HashMap()) .build(); ApiFuture future = predictionServiceClient.predictCallable().futureCall(request); diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/SyncPredict.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/SyncPredict.java index 132ca1701992..bee5058b03ea 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/SyncPredict.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/predict/SyncPredict.java @@ -23,6 +23,7 @@ import com.google.cloud.aiplatform.v1beta1.PredictionServiceClient; import com.google.protobuf.Value; import java.util.ArrayList; +import java.util.HashMap; public class SyncPredict { @@ -45,6 +46,7 @@ public static void syncPredict() throws Exception { .toString()) .addAllInstances(new ArrayList()) .setParameters(Value.newBuilder().setBoolValue(true).build()) + .putAllLabels(new HashMap()) .build(); PredictResponse response = predictionServiceClient.predict(request); } diff --git a/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index 23232e881e73..6fa140daf59d 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.52.0 + 0.53.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.52.0' +implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.53.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.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.53.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 3a2e59c3f196..17aee38599df 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb - 0.63.0 + 0.64.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb:0.63.0' +implementation 'com.google.cloud:google-cloud-alloydb:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.64.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.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.64.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/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java index 485f9482e54b..070a12e7ee93 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java @@ -4446,6 +4446,7 @@ public final ExecuteSqlResponse executeSql( * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); * } @@ -4478,6 +4479,7 @@ public final ExecuteSqlResponse executeSql(ExecuteSqlRequest request) { * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ApiFuture future = * alloyDBAdminClient.executeSqlCallable().futureCall(request); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java index 14571d822760..eb7cedfe8865 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java @@ -789,6 +789,25 @@ * * * + *

CreateDatabase + *

Creates a new Database in a given project, location, and cluster. + * + *

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

+ *
    + *
  • createDatabase(CreateDatabaseRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • createDatabase(ClusterName parent, Database database, String databaseId) + *

  • createDatabase(String parent, Database database, String databaseId) + *

+ *

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

+ *
    + *
  • createDatabaseCallable() + *

+ * + * + * *

ListLocations *

Lists information about the supported locations for this service. * @@ -4447,6 +4466,7 @@ public final ExecuteSqlResponse executeSql( * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); * } @@ -4479,6 +4499,7 @@ public final ExecuteSqlResponse executeSql(ExecuteSqlRequest request) { * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ApiFuture future = * alloyDBAdminClient.executeSqlCallable().futureCall(request); @@ -6430,6 +6451,135 @@ public final UnaryCallable listData return stub.listDatabasesCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
+   *   Database database = Database.newBuilder().build();
+   *   String databaseId = "databaseId1688905718";
+   *   Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId);
+   * }
+   * }
+ * + * @param parent Required. Value for parent. + * @param database Required. The resource being created. + * @param databaseId Required. ID of the requesting object. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Database createDatabase(ClusterName parent, Database database, String databaseId) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setDatabase(database) + .setDatabaseId(databaseId) + .build(); + return createDatabase(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString();
+   *   Database database = Database.newBuilder().build();
+   *   String databaseId = "databaseId1688905718";
+   *   Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId);
+   * }
+   * }
+ * + * @param parent Required. Value for parent. + * @param database Required. The resource being created. + * @param databaseId Required. ID of the requesting object. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Database createDatabase(String parent, Database database, String databaseId) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(parent) + .setDatabase(database) + .setDatabaseId(databaseId) + .build(); + return createDatabase(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   CreateDatabaseRequest request =
+   *       CreateDatabaseRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setDatabaseId("databaseId1688905718")
+   *           .setDatabase(Database.newBuilder().build())
+   *           .build();
+   *   Database response = alloyDBAdminClient.createDatabase(request);
+   * }
+   * }
+ * + * @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 Database createDatabase(CreateDatabaseRequest request) { + return createDatabaseCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   CreateDatabaseRequest request =
+   *       CreateDatabaseRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setDatabaseId("databaseId1688905718")
+   *           .setDatabase(Database.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = alloyDBAdminClient.createDatabaseCallable().futureCall(request);
+   *   // Do something.
+   *   Database response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createDatabaseCallable() { + return stub.createDatabaseCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java index 9611bdb9c590..7fb58c8fb633 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java @@ -451,6 +451,11 @@ public UnaryCallSettings deleteUserSettings() { return ((AlloyDBAdminStubSettings) getStubSettings()).listDatabasesSettings(); } + /** Returns the object with the settings used for calls to createDatabase. */ + public UnaryCallSettings createDatabaseSettings() { + return ((AlloyDBAdminStubSettings) getStubSettings()).createDatabaseSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -911,6 +916,11 @@ public UnaryCallSettings.Builder deleteUserSettings() return getStubSettingsBuilder().listDatabasesSettings(); } + /** Returns the builder for the settings used for calls to createDatabase. */ + public UnaryCallSettings.Builder createDatabaseSettings() { + return getStubSettingsBuilder().createDatabaseSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json index 6b71986d2845..593e651642b9 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json @@ -37,6 +37,9 @@ "CreateCluster": { "methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"] }, + "CreateDatabase": { + "methods": ["createDatabase", "createDatabase", "createDatabase", "createDatabaseCallable"] + }, "CreateInstance": { "methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"] }, diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java index d2bb252789cb..2aed89896920 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java @@ -35,10 +35,12 @@ import com.google.cloud.alloydb.v1alpha.ConnectionInfo; import com.google.cloud.alloydb.v1alpha.CreateBackupRequest; import com.google.cloud.alloydb.v1alpha.CreateClusterRequest; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; import com.google.cloud.alloydb.v1alpha.CreateInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateUserRequest; +import com.google.cloud.alloydb.v1alpha.Database; import com.google.cloud.alloydb.v1alpha.DeleteBackupRequest; import com.google.cloud.alloydb.v1alpha.DeleteClusterRequest; import com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest; @@ -400,6 +402,10 @@ public UnaryCallable listDatabasesC throw new UnsupportedOperationException("Not implemented: listDatabasesCallable()"); } + public UnaryCallable createDatabaseCallable() { + throw new UnsupportedOperationException("Not implemented: createDatabaseCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java index a80f26e37c32..7d74e8d5ce59 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java @@ -61,6 +61,7 @@ import com.google.cloud.alloydb.v1alpha.ConnectionInfo; import com.google.cloud.alloydb.v1alpha.CreateBackupRequest; import com.google.cloud.alloydb.v1alpha.CreateClusterRequest; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; import com.google.cloud.alloydb.v1alpha.CreateInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest; @@ -310,6 +311,7 @@ public class AlloyDBAdminStubSettings extends StubSettings listDatabasesSettings; + private final UnaryCallSettings createDatabaseSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -1020,6 +1022,11 @@ public UnaryCallSettings deleteUserSettings() { return listDatabasesSettings; } + /** Returns the object with the settings used for calls to createDatabase. */ + public UnaryCallSettings createDatabaseSettings() { + return createDatabaseSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -1205,6 +1212,7 @@ protected AlloyDBAdminStubSettings(Builder settingsBuilder) throws IOException { updateUserSettings = settingsBuilder.updateUserSettings().build(); deleteUserSettings = settingsBuilder.deleteUserSettings().build(); listDatabasesSettings = settingsBuilder.listDatabasesSettings().build(); + createDatabaseSettings = settingsBuilder.createDatabaseSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); } @@ -1329,6 +1337,7 @@ public static class Builder extends StubSettings.Builder listDatabasesSettings; + private final UnaryCallSettings.Builder createDatabaseSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -1440,6 +1449,7 @@ protected Builder(ClientContext clientContext) { updateUserSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteUserSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listDatabasesSettings = PagedCallSettings.newBuilder(LIST_DATABASES_PAGE_STR_FACT); + createDatabaseSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1482,6 +1492,7 @@ protected Builder(ClientContext clientContext) { updateUserSettings, deleteUserSettings, listDatabasesSettings, + createDatabaseSettings, listLocationsSettings, getLocationSettings); initDefaults(this); @@ -1551,6 +1562,7 @@ protected Builder(AlloyDBAdminStubSettings settings) { updateUserSettings = settings.updateUserSettings.toBuilder(); deleteUserSettings = settings.deleteUserSettings.toBuilder(); listDatabasesSettings = settings.listDatabasesSettings.toBuilder(); + createDatabaseSettings = settings.createDatabaseSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); @@ -1593,6 +1605,7 @@ protected Builder(AlloyDBAdminStubSettings settings) { updateUserSettings, deleteUserSettings, listDatabasesSettings, + createDatabaseSettings, listLocationsSettings, getLocationSettings); } @@ -1807,6 +1820,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .createDatabaseSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -2676,6 +2694,11 @@ public UnaryCallSettings.Builder deleteUserSettings() return listDatabasesSettings; } + /** Returns the builder for the settings used for calls to createDatabase. */ + public UnaryCallSettings.Builder createDatabaseSettings() { + return createDatabaseSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java index 5aab8eeba1d5..0b59025730ed 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java @@ -40,10 +40,12 @@ import com.google.cloud.alloydb.v1alpha.ConnectionInfo; import com.google.cloud.alloydb.v1alpha.CreateBackupRequest; import com.google.cloud.alloydb.v1alpha.CreateClusterRequest; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; import com.google.cloud.alloydb.v1alpha.CreateInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateUserRequest; +import com.google.cloud.alloydb.v1alpha.Database; import com.google.cloud.alloydb.v1alpha.DeleteBackupRequest; import com.google.cloud.alloydb.v1alpha.DeleteClusterRequest; import com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest; @@ -507,6 +509,17 @@ public class GrpcAlloyDBAdminStub extends AlloyDBAdminStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor + createDatabaseMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.alloydb.v1alpha.AlloyDBAdmin/CreateDatabase") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateDatabaseRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Database.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -624,6 +637,7 @@ public class GrpcAlloyDBAdminStub extends AlloyDBAdminStub { private final UnaryCallable listDatabasesCallable; private final UnaryCallable listDatabasesPagedCallable; + private final UnaryCallable createDatabaseCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -1047,6 +1061,16 @@ protected GrpcAlloyDBAdminStub( return builder.build(); }) .build(); + GrpcCallSettings createDatabaseTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createDatabaseMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -1339,6 +1363,9 @@ protected GrpcAlloyDBAdminStub( this.listDatabasesPagedCallable = callableFactory.createPagedCallable( listDatabasesTransportSettings, settings.listDatabasesSettings(), clientContext); + this.createDatabaseCallable = + callableFactory.createUnaryCallable( + createDatabaseTransportSettings, settings.createDatabaseSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -1705,6 +1732,11 @@ public UnaryCallable listDatabasesC return listDatabasesPagedCallable; } + @Override + public UnaryCallable createDatabaseCallable() { + return createDatabaseCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java index 38ac5c4acd67..4a4c1aa8897e 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java @@ -48,10 +48,12 @@ import com.google.cloud.alloydb.v1alpha.ConnectionInfo; import com.google.cloud.alloydb.v1alpha.CreateBackupRequest; import com.google.cloud.alloydb.v1alpha.CreateClusterRequest; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; import com.google.cloud.alloydb.v1alpha.CreateInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1alpha.CreateUserRequest; +import com.google.cloud.alloydb.v1alpha.Database; import com.google.cloud.alloydb.v1alpha.DeleteBackupRequest; import com.google.cloud.alloydb.v1alpha.DeleteClusterRequest; import com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest; @@ -1609,6 +1611,44 @@ public class HttpJsonAlloyDBAdminStub extends AlloyDBAdminStub { .build()) .build(); + private static final ApiMethodDescriptor + createDatabaseMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.alloydb.v1alpha.AlloyDBAdmin/CreateDatabase") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "databaseId", request.getDatabaseId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("database", request.getDatabase(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Database.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor listLocationsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1773,6 +1813,7 @@ public class HttpJsonAlloyDBAdminStub extends AlloyDBAdminStub { private final UnaryCallable listDatabasesCallable; private final UnaryCallable listDatabasesPagedCallable; + private final UnaryCallable createDatabaseCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -2265,6 +2306,17 @@ protected HttpJsonAlloyDBAdminStub( return builder.build(); }) .build(); + HttpJsonCallSettings createDatabaseTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createDatabaseMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listLocationsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -2560,6 +2612,9 @@ protected HttpJsonAlloyDBAdminStub( this.listDatabasesPagedCallable = callableFactory.createPagedCallable( listDatabasesTransportSettings, settings.listDatabasesSettings(), clientContext); + this.createDatabaseCallable = + callableFactory.createUnaryCallable( + createDatabaseTransportSettings, settings.createDatabaseSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -2614,6 +2669,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(updateUserMethodDescriptor); methodDescriptors.add(deleteUserMethodDescriptor); methodDescriptors.add(listDatabasesMethodDescriptor); + methodDescriptors.add(createDatabaseMethodDescriptor); methodDescriptors.add(listLocationsMethodDescriptor); methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; @@ -2971,6 +3027,11 @@ public UnaryCallable listDatabasesC return listDatabasesPagedCallable; } + @Override + public UnaryCallable createDatabaseCallable() { + return createDatabaseCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java index 00c1844f1eaa..f3c4379bc8ab 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java @@ -789,6 +789,25 @@ * * * + *

CreateDatabase + *

Creates a new Database in a given project, location, and cluster. + * + *

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

+ *
    + *
  • createDatabase(CreateDatabaseRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • createDatabase(ClusterName parent, Database database, String databaseId) + *

  • createDatabase(String parent, Database database, String databaseId) + *

+ *

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

+ *
    + *
  • createDatabaseCallable() + *

+ * + * + * *

ListLocations *

Lists information about the supported locations for this service. * @@ -4447,6 +4466,7 @@ public final ExecuteSqlResponse executeSql( * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); * } @@ -4479,6 +4499,7 @@ public final ExecuteSqlResponse executeSql(ExecuteSqlRequest request) { * .setDatabase("database1789464955") * .setUser("user3599307") * .setSqlStatement("sqlStatement937767745") + * .setValidateOnly(true) * .build(); * ApiFuture future = * alloyDBAdminClient.executeSqlCallable().futureCall(request); @@ -6430,6 +6451,135 @@ public final UnaryCallable listData return stub.listDatabasesCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
+   *   Database database = Database.newBuilder().build();
+   *   String databaseId = "databaseId1688905718";
+   *   Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId);
+   * }
+   * }
+ * + * @param parent Required. Value for parent. + * @param database Required. The resource being created. + * @param databaseId Required. ID of the requesting object. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Database createDatabase(ClusterName parent, Database database, String databaseId) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setDatabase(database) + .setDatabaseId(databaseId) + .build(); + return createDatabase(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString();
+   *   Database database = Database.newBuilder().build();
+   *   String databaseId = "databaseId1688905718";
+   *   Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId);
+   * }
+   * }
+ * + * @param parent Required. Value for parent. + * @param database Required. The resource being created. + * @param databaseId Required. ID of the requesting object. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Database createDatabase(String parent, Database database, String databaseId) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(parent) + .setDatabase(database) + .setDatabaseId(databaseId) + .build(); + return createDatabase(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   CreateDatabaseRequest request =
+   *       CreateDatabaseRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setDatabaseId("databaseId1688905718")
+   *           .setDatabase(Database.newBuilder().build())
+   *           .build();
+   *   Database response = alloyDBAdminClient.createDatabase(request);
+   * }
+   * }
+ * + * @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 Database createDatabase(CreateDatabaseRequest request) { + return createDatabaseCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Database in a given project, location, and cluster. + * + *

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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
+   *   CreateDatabaseRequest request =
+   *       CreateDatabaseRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setDatabaseId("databaseId1688905718")
+   *           .setDatabase(Database.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = alloyDBAdminClient.createDatabaseCallable().futureCall(request);
+   *   // Do something.
+   *   Database response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createDatabaseCallable() { + return stub.createDatabaseCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java index 98b3769c0fa0..5e02794df8d2 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java @@ -451,6 +451,11 @@ public UnaryCallSettings deleteUserSettings() { return ((AlloyDBAdminStubSettings) getStubSettings()).listDatabasesSettings(); } + /** Returns the object with the settings used for calls to createDatabase. */ + public UnaryCallSettings createDatabaseSettings() { + return ((AlloyDBAdminStubSettings) getStubSettings()).createDatabaseSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -911,6 +916,11 @@ public UnaryCallSettings.Builder deleteUserSettings() return getStubSettingsBuilder().listDatabasesSettings(); } + /** Returns the builder for the settings used for calls to createDatabase. */ + public UnaryCallSettings.Builder createDatabaseSettings() { + return getStubSettingsBuilder().createDatabaseSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json index 6fbcaaa0425e..bfa98fb3a275 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json @@ -37,6 +37,9 @@ "CreateCluster": { "methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"] }, + "CreateDatabase": { + "methods": ["createDatabase", "createDatabase", "createDatabase", "createDatabaseCallable"] + }, "CreateInstance": { "methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"] }, diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java index ab5905297d46..66eba62ed45e 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java @@ -35,10 +35,12 @@ import com.google.cloud.alloydb.v1beta.ConnectionInfo; import com.google.cloud.alloydb.v1beta.CreateBackupRequest; import com.google.cloud.alloydb.v1beta.CreateClusterRequest; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; import com.google.cloud.alloydb.v1beta.CreateInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateUserRequest; +import com.google.cloud.alloydb.v1beta.Database; import com.google.cloud.alloydb.v1beta.DeleteBackupRequest; import com.google.cloud.alloydb.v1beta.DeleteClusterRequest; import com.google.cloud.alloydb.v1beta.DeleteInstanceRequest; @@ -400,6 +402,10 @@ public UnaryCallable listDatabasesC throw new UnsupportedOperationException("Not implemented: listDatabasesCallable()"); } + public UnaryCallable createDatabaseCallable() { + throw new UnsupportedOperationException("Not implemented: createDatabaseCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java index 42b513bf3e3c..d2a190e2d6c8 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java @@ -61,6 +61,7 @@ import com.google.cloud.alloydb.v1beta.ConnectionInfo; import com.google.cloud.alloydb.v1beta.CreateBackupRequest; import com.google.cloud.alloydb.v1beta.CreateClusterRequest; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; import com.google.cloud.alloydb.v1beta.CreateInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest; @@ -310,6 +311,7 @@ public class AlloyDBAdminStubSettings extends StubSettings listDatabasesSettings; + private final UnaryCallSettings createDatabaseSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -1020,6 +1022,11 @@ public UnaryCallSettings deleteUserSettings() { return listDatabasesSettings; } + /** Returns the object with the settings used for calls to createDatabase. */ + public UnaryCallSettings createDatabaseSettings() { + return createDatabaseSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -1205,6 +1212,7 @@ protected AlloyDBAdminStubSettings(Builder settingsBuilder) throws IOException { updateUserSettings = settingsBuilder.updateUserSettings().build(); deleteUserSettings = settingsBuilder.deleteUserSettings().build(); listDatabasesSettings = settingsBuilder.listDatabasesSettings().build(); + createDatabaseSettings = settingsBuilder.createDatabaseSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); } @@ -1329,6 +1337,7 @@ public static class Builder extends StubSettings.Builder listDatabasesSettings; + private final UnaryCallSettings.Builder createDatabaseSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -1440,6 +1449,7 @@ protected Builder(ClientContext clientContext) { updateUserSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteUserSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listDatabasesSettings = PagedCallSettings.newBuilder(LIST_DATABASES_PAGE_STR_FACT); + createDatabaseSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1482,6 +1492,7 @@ protected Builder(ClientContext clientContext) { updateUserSettings, deleteUserSettings, listDatabasesSettings, + createDatabaseSettings, listLocationsSettings, getLocationSettings); initDefaults(this); @@ -1551,6 +1562,7 @@ protected Builder(AlloyDBAdminStubSettings settings) { updateUserSettings = settings.updateUserSettings.toBuilder(); deleteUserSettings = settings.deleteUserSettings.toBuilder(); listDatabasesSettings = settings.listDatabasesSettings.toBuilder(); + createDatabaseSettings = settings.createDatabaseSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); @@ -1593,6 +1605,7 @@ protected Builder(AlloyDBAdminStubSettings settings) { updateUserSettings, deleteUserSettings, listDatabasesSettings, + createDatabaseSettings, listLocationsSettings, getLocationSettings); } @@ -1807,6 +1820,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .createDatabaseSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -2676,6 +2694,11 @@ public UnaryCallSettings.Builder deleteUserSettings() return listDatabasesSettings; } + /** Returns the builder for the settings used for calls to createDatabase. */ + public UnaryCallSettings.Builder createDatabaseSettings() { + return createDatabaseSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java index 5c12623284f5..7dc978f634f5 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java @@ -40,10 +40,12 @@ import com.google.cloud.alloydb.v1beta.ConnectionInfo; import com.google.cloud.alloydb.v1beta.CreateBackupRequest; import com.google.cloud.alloydb.v1beta.CreateClusterRequest; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; import com.google.cloud.alloydb.v1beta.CreateInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateUserRequest; +import com.google.cloud.alloydb.v1beta.Database; import com.google.cloud.alloydb.v1beta.DeleteBackupRequest; import com.google.cloud.alloydb.v1beta.DeleteClusterRequest; import com.google.cloud.alloydb.v1beta.DeleteInstanceRequest; @@ -506,6 +508,17 @@ public class GrpcAlloyDBAdminStub extends AlloyDBAdminStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor + createDatabaseMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.alloydb.v1beta.AlloyDBAdmin/CreateDatabase") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateDatabaseRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Database.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -623,6 +636,7 @@ public class GrpcAlloyDBAdminStub extends AlloyDBAdminStub { private final UnaryCallable listDatabasesCallable; private final UnaryCallable listDatabasesPagedCallable; + private final UnaryCallable createDatabaseCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -1046,6 +1060,16 @@ protected GrpcAlloyDBAdminStub( return builder.build(); }) .build(); + GrpcCallSettings createDatabaseTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createDatabaseMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -1338,6 +1362,9 @@ protected GrpcAlloyDBAdminStub( this.listDatabasesPagedCallable = callableFactory.createPagedCallable( listDatabasesTransportSettings, settings.listDatabasesSettings(), clientContext); + this.createDatabaseCallable = + callableFactory.createUnaryCallable( + createDatabaseTransportSettings, settings.createDatabaseSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -1704,6 +1731,11 @@ public UnaryCallable listDatabasesC return listDatabasesPagedCallable; } + @Override + public UnaryCallable createDatabaseCallable() { + return createDatabaseCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java index a5b855fbcc3b..edf7247cee95 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java @@ -48,10 +48,12 @@ import com.google.cloud.alloydb.v1beta.ConnectionInfo; import com.google.cloud.alloydb.v1beta.CreateBackupRequest; import com.google.cloud.alloydb.v1beta.CreateClusterRequest; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; import com.google.cloud.alloydb.v1beta.CreateInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest; import com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest; import com.google.cloud.alloydb.v1beta.CreateUserRequest; +import com.google.cloud.alloydb.v1beta.Database; import com.google.cloud.alloydb.v1beta.DeleteBackupRequest; import com.google.cloud.alloydb.v1beta.DeleteClusterRequest; import com.google.cloud.alloydb.v1beta.DeleteInstanceRequest; @@ -1608,6 +1610,44 @@ public class HttpJsonAlloyDBAdminStub extends AlloyDBAdminStub { .build()) .build(); + private static final ApiMethodDescriptor + createDatabaseMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.alloydb.v1beta.AlloyDBAdmin/CreateDatabase") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{parent=projects/*/locations/*/clusters/*}/databases", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "databaseId", request.getDatabaseId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("database", request.getDatabase(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Database.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor listLocationsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1772,6 +1812,7 @@ public class HttpJsonAlloyDBAdminStub extends AlloyDBAdminStub { private final UnaryCallable listDatabasesCallable; private final UnaryCallable listDatabasesPagedCallable; + private final UnaryCallable createDatabaseCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -2264,6 +2305,17 @@ protected HttpJsonAlloyDBAdminStub( return builder.build(); }) .build(); + HttpJsonCallSettings createDatabaseTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createDatabaseMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listLocationsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -2559,6 +2611,9 @@ protected HttpJsonAlloyDBAdminStub( this.listDatabasesPagedCallable = callableFactory.createPagedCallable( listDatabasesTransportSettings, settings.listDatabasesSettings(), clientContext); + this.createDatabaseCallable = + callableFactory.createUnaryCallable( + createDatabaseTransportSettings, settings.createDatabaseSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -2613,6 +2668,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(updateUserMethodDescriptor); methodDescriptors.add(deleteUserMethodDescriptor); methodDescriptors.add(listDatabasesMethodDescriptor); + methodDescriptors.add(createDatabaseMethodDescriptor); methodDescriptors.add(listLocationsMethodDescriptor); methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; @@ -2970,6 +3026,11 @@ public UnaryCallable listDatabasesC return listDatabasesPagedCallable; } + @Override + public UnaryCallable createDatabaseCallable() { + return createDatabaseCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json index 0914b13eb8c4..15de9d9a418d 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json @@ -1628,6 +1628,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1.Instance$ConnectionPoolConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1.Instance$ConnectionPoolConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1.Instance$InstanceNetworkConfig", "queryAllDeclaredConstructors": true, @@ -2699,6 +2717,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1.UpgradeClusterStatus$StageStatus$StageSchedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1.UpgradeClusterStatus$StageStatus$StageSchedule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1.User", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json index 6b16887a42db..a7d1fc8c03b5 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json @@ -944,6 +944,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1alpha.CreateInstanceRequest", "queryAllDeclaredConstructors": true, @@ -1709,15 +1727,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.cloud.alloydb.v1alpha.Instance$ConnectionPoolConfig$PoolMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.cloud.alloydb.v1alpha.Instance$InstanceNetworkConfig", "queryAllDeclaredConstructors": true, @@ -2843,6 +2852,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus$StageStatus$StageSchedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus$StageStatus$StageSchedule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1alpha.User", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json index ae316f70bbdd..92063fe2bbc2 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json +++ b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json @@ -944,6 +944,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1beta.CreateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.CreateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1beta.CreateInstanceRequest", "queryAllDeclaredConstructors": true, @@ -1709,15 +1727,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.cloud.alloydb.v1beta.Instance$ConnectionPoolConfig$PoolMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.cloud.alloydb.v1beta.Instance$InstanceNetworkConfig", "queryAllDeclaredConstructors": true, @@ -2843,6 +2852,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.alloydb.v1beta.UpgradeClusterStatus$StageStatus$StageSchedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.alloydb.v1beta.UpgradeClusterStatus$StageStatus$StageSchedule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.alloydb.v1beta.User", "queryAllDeclaredConstructors": true, diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java index f6164dd7deae..cb983798bb6f 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java @@ -1761,6 +1761,7 @@ public void getInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1830,6 +1831,7 @@ public void getInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1901,6 +1903,7 @@ public void createInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1979,6 +1982,7 @@ public void createInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2057,6 +2061,7 @@ public void createSecondaryInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2136,6 +2141,7 @@ public void createSecondaryInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2274,6 +2280,7 @@ public void updateInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2311,6 +2318,7 @@ public void updateInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2368,6 +2376,7 @@ public void updateInstanceExceptionTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateInstanceAsync(instance, updateMask).get(); @@ -2498,6 +2507,7 @@ public void failoverInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2572,6 +2582,7 @@ public void failoverInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2648,6 +2659,7 @@ public void injectFaultTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2724,6 +2736,7 @@ public void injectFaultTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2802,6 +2815,7 @@ public void restartInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2876,6 +2890,7 @@ public void restartInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java index e4531f24bea0..1a0c2051674c 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java @@ -1652,6 +1652,7 @@ public void getInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -1715,6 +1716,7 @@ public void getInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); mockAlloyDBAdmin.addResponse(expectedResponse); @@ -1778,6 +1780,7 @@ public void createInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1855,6 +1858,7 @@ public void createInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1932,6 +1936,7 @@ public void createSecondaryInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2011,6 +2016,7 @@ public void createSecondaryInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2149,6 +2155,7 @@ public void updateInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2307,6 +2314,7 @@ public void failoverInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2378,6 +2386,7 @@ public void failoverInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2449,6 +2458,7 @@ public void injectFaultTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2523,6 +2533,7 @@ public void injectFaultTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2597,6 +2608,7 @@ public void restartInstanceTest() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2668,6 +2680,7 @@ public void restartInstanceTest2() throws Exception { .setPscInstanceConfig(Instance.PscInstanceConfig.newBuilder().build()) .setNetworkConfig(Instance.InstanceNetworkConfig.newBuilder().build()) .addAllOutboundPublicIpAddresses(new ArrayList()) + .setConnectionPoolConfig(Instance.ConnectionPoolConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java index 6edbf73493ad..b3ba4ab75167 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java @@ -4579,6 +4579,116 @@ public void listDatabasesExceptionTest2() throws Exception { } } + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockService.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + 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 createDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9466/locations/location-9466/clusters/cluster-9466"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + 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 createDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9466/locations/location-9466/clusters/cluster-9466"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java index 87dd8d65e730..85fbf5728a3f 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java @@ -4149,6 +4149,108 @@ public void listDatabasesExceptionTest2() throws Exception { } } + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockAlloyDBAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAlloyDBAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAlloyDBAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockAlloyDBAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAlloyDBAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAlloyDBAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java index f0796669259a..02f0d9c6faa7 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java @@ -835,4 +835,25 @@ public void listDatabases( Exception.class.getName()))); } } + + @Override + public void createDatabase( + CreateDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Database) { + requests.add(request); + responseObserver.onNext(((Database) 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 CreateDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Database.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java index 383f9cafb2f0..8d7cb9c59a24 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java @@ -4543,6 +4543,116 @@ public void listDatabasesExceptionTest2() throws Exception { } } + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockService.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + 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 createDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9466/locations/location-9466/clusters/cluster-9466"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + 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 createDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9466/locations/location-9466/clusters/cluster-9466"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java index 34f71c12d7a2..891a942b0205 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java @@ -4119,6 +4119,108 @@ public void listDatabasesExceptionTest2() throws Exception { } } + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockAlloyDBAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAlloyDBAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAlloyDBAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName( + DatabaseName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]", "[DATABASE]").toString()) + .setCharset("charset739074380") + .setCollation("collation1880293257") + .setCharacterType("characterType-1789918717") + .setIsTemplate(true) + .setDatabaseTemplate("databaseTemplate788436757") + .setIsTemplateDatabase(true) + .build(); + mockAlloyDBAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + + Database actualResponse = client.createDatabase(parent, database, databaseId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAlloyDBAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAlloyDBAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + client.createDatabase(parent, database, databaseId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java index 51e56bd29e20..fa5b26c933f7 100644 --- a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java +++ b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java @@ -835,4 +835,25 @@ public void listDatabases( Exception.class.getName()))); } } + + @Override + public void createDatabase( + CreateDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Database) { + requests.add(request); + responseObserver.onNext(((Database) 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 CreateDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Database.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java index ea8231d7fc8e..6e204e2f8e74 100644 --- a/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java +++ b/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java @@ -1694,6 +1694,52 @@ private AlloyDBAdminGrpc() {} return getListDatabasesMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest, + com.google.cloud.alloydb.v1alpha.Database> + getCreateDatabaseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDatabase", + requestType = com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Database.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest, + com.google.cloud.alloydb.v1alpha.Database> + getCreateDatabaseMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest, + com.google.cloud.alloydb.v1alpha.Database> + getCreateDatabaseMethod; + if ((getCreateDatabaseMethod = AlloyDBAdminGrpc.getCreateDatabaseMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateDatabaseMethod = AlloyDBAdminGrpc.getCreateDatabaseMethod) == null) { + AlloyDBAdminGrpc.getCreateDatabaseMethod = + getCreateDatabaseMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateDatabase")) + .build(); + } + } + } + return getCreateDatabaseMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -2305,6 +2351,20 @@ default void listDatabases( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListDatabasesMethod(), responseObserver); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + default void createDatabase( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDatabaseMethod(), responseObserver); + } } /** @@ -2955,6 +3015,22 @@ public void listDatabases( request, responseObserver); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public void createDatabase( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -3486,6 +3562,19 @@ public com.google.cloud.alloydb.v1alpha.ListDatabasesResponse listDatabases( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Database createDatabase( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); + } } /** @@ -4017,6 +4106,19 @@ public com.google.cloud.alloydb.v1alpha.ListDatabasesResponse listDatabases( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Database createDatabase( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); + } } /** @@ -4562,6 +4664,20 @@ public com.google.common.util.concurrent.ListenableFuture + * Creates a new Database in a given project, location, and cluster. + * + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.Database> + createDatabase(com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_CLUSTERS = 0; @@ -4601,6 +4717,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -4821,6 +4938,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_CREATE_DATABASE: + serviceImpl.createDatabase( + (com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; default: throw new AssertionError(); } @@ -5070,6 +5193,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.alloydb.v1alpha.ListDatabasesRequest, com.google.cloud.alloydb.v1alpha.ListDatabasesResponse>( service, METHODID_LIST_DATABASES))) + .addMethod( + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest, + com.google.cloud.alloydb.v1alpha.Database>(service, METHODID_CREATE_DATABASE))) .build(); } @@ -5158,6 +5287,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateUserMethod()) .addMethod(getDeleteUserMethod()) .addMethod(getListDatabasesMethod()) + .addMethod(getCreateDatabaseMethod()) .build(); } } diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java index c04dbf5f89c4..b8f00a237908 100644 --- a/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java +++ b/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java @@ -1682,6 +1682,52 @@ private AlloyDBAdminGrpc() {} return getListDatabasesMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest, + com.google.cloud.alloydb.v1beta.Database> + getCreateDatabaseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDatabase", + requestType = com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Database.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest, + com.google.cloud.alloydb.v1beta.Database> + getCreateDatabaseMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest, + com.google.cloud.alloydb.v1beta.Database> + getCreateDatabaseMethod; + if ((getCreateDatabaseMethod = AlloyDBAdminGrpc.getCreateDatabaseMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateDatabaseMethod = AlloyDBAdminGrpc.getCreateDatabaseMethod) == null) { + AlloyDBAdminGrpc.getCreateDatabaseMethod = + getCreateDatabaseMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Database.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateDatabase")) + .build(); + } + } + } + return getCreateDatabaseMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -2293,6 +2339,20 @@ default void listDatabases( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListDatabasesMethod(), responseObserver); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + default void createDatabase( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDatabaseMethod(), responseObserver); + } } /** @@ -2943,6 +3003,22 @@ public void listDatabases( request, responseObserver); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public void createDatabase( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -3474,6 +3550,19 @@ public com.google.cloud.alloydb.v1beta.ListDatabasesResponse listDatabases( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Database createDatabase( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); + } } /** @@ -4005,6 +4094,19 @@ public com.google.cloud.alloydb.v1beta.ListDatabasesResponse listDatabases( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Creates a new Database in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Database createDatabase( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); + } } /** @@ -4550,6 +4652,20 @@ public com.google.common.util.concurrent.ListenableFuture + * Creates a new Database in a given project, location, and cluster. + * + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.Database> + createDatabase(com.google.cloud.alloydb.v1beta.CreateDatabaseRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_CLUSTERS = 0; @@ -4589,6 +4705,7 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -4806,6 +4923,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_CREATE_DATABASE: + serviceImpl.createDatabase( + (com.google.cloud.alloydb.v1beta.CreateDatabaseRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; default: throw new AssertionError(); } @@ -5055,6 +5178,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.alloydb.v1beta.ListDatabasesRequest, com.google.cloud.alloydb.v1beta.ListDatabasesResponse>( service, METHODID_LIST_DATABASES))) + .addMethod( + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest, + com.google.cloud.alloydb.v1beta.Database>(service, METHODID_CREATE_DATABASE))) .build(); } @@ -5143,6 +5272,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateUserMethod()) .addMethod(getDeleteUserMethod()) .addMethod(getListDatabasesMethod()) + .addMethod(getCreateDatabaseMethod()) .build(); } } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java index b683d1474111..a172368e7f8a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java @@ -124,11 +124,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -237,11 +234,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -1584,7 +1578,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1598,7 +1592,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -1664,7 +1658,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1689,7 +1683,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2065,7 +2059,7 @@ public Builder mergeFrom( * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -2089,7 +2083,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2113,7 +2107,7 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The primaryClusterName to set. * @return This builder for chaining. @@ -2136,7 +2130,7 @@ public Builder setPrimaryClusterName(java.lang.String value) { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -2155,7 +2149,7 @@ public Builder clearPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. @@ -2249,7 +2243,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2265,7 +2259,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2281,7 +2275,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2298,7 +2292,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2369,7 +2363,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2387,7 +2381,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2405,7 +2399,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2424,7 +2418,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2819,7 +2813,7 @@ private void ensureSecondaryClusterNamesIsMutable() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2838,7 +2832,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2856,7 +2850,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2875,7 +2869,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2894,7 +2888,7 @@ public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index to set the value at. @@ -2921,7 +2915,7 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The secondaryClusterNames to add. @@ -2947,7 +2941,7 @@ public Builder addSecondaryClusterNames(java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param values The secondaryClusterNames to add. @@ -2970,7 +2964,7 @@ public Builder addAllSecondaryClusterNames(java.lang.Iterable * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -2992,7 +2986,7 @@ public Builder clearSecondaryClusterNames() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes of the secondaryClusterNames to add. @@ -6317,7 +6311,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The network. */ @java.lang.Override @@ -6350,7 +6344,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The bytes for network. */ @java.lang.Override @@ -6706,7 +6700,7 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -6725,7 +6719,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return The sslConfig. */ @java.lang.Override @@ -11425,7 +11419,7 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The network. */ @java.lang.Deprecated @@ -11457,7 +11451,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The bytes for network. */ @java.lang.Deprecated @@ -11489,7 +11483,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @param value The network to set. * @return This builder for chaining. */ @@ -11520,7 +11514,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11547,7 +11541,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -12424,7 +12418,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -12442,7 +12436,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return The sslConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java index 3ad215a193ac..a0d1f4a35693 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java @@ -570,7 +570,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The network. */ @java.lang.Deprecated @@ -592,7 +592,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=658 + * google/cloud/alloydb/v1/resources.proto;l=674 * @return The bytes for network. */ @java.lang.Deprecated @@ -825,7 +825,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=693 + * google/cloud/alloydb/v1/resources.proto;l=709 * @return The sslConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Database.java index 539935bee776..8be428c1c043 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Database.java @@ -43,6 +43,8 @@ private Database() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + databaseTemplate_ = ""; } @java.lang.Override @@ -66,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.alloydb.v1.Database.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -130,12 +133,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -156,12 +161,14 @@ public java.lang.String getCharset() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -187,12 +194,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -213,12 +222,14 @@ public java.lang.String getCollation() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -235,6 +246,161 @@ public com.google.protobuf.ByteString getCollationBytes() { } } + public static final int CHARACTER_TYPE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object characterType_ = ""; + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + @java.lang.Override + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + 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(); + characterType_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_TEMPLATE_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + @java.lang.Override + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + 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(); + databaseTemplate_ = s; + return s; + } + } + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_TEMPLATE_DATABASE_FIELD_NUMBER = 7; + private boolean isTemplateDatabase_ = false; + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -258,6 +424,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, characterType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(7, isTemplateDatabase_); + } getUnknownFields().writeTo(output); } @@ -276,6 +451,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, characterType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isTemplateDatabase_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -294,6 +478,12 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getCharset().equals(other.getCharset())) return false; if (!getCollation().equals(other.getCollation())) return false; + if (!getCharacterType().equals(other.getCharacterType())) return false; + if (!getDatabaseTemplate().equals(other.getDatabaseTemplate())) return false; + if (hasIsTemplateDatabase() != other.hasIsTemplateDatabase()) return false; + if (hasIsTemplateDatabase()) { + if (getIsTemplateDatabase() != other.getIsTemplateDatabase()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,6 +501,14 @@ public int hashCode() { hash = (53 * hash) + getCharset().hashCode(); hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); + hash = (37 * hash) + CHARACTER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getCharacterType().hashCode(); + hash = (37 * hash) + DATABASE_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseTemplate().hashCode(); + if (hasIsTemplateDatabase()) { + hash = (37 * hash) + IS_TEMPLATE_DATABASE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTemplateDatabase()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -453,6 +651,9 @@ public Builder clear() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + databaseTemplate_ = ""; + isTemplateDatabase_ = false; return this; } @@ -497,6 +698,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Database result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.collation_ = collation_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.characterType_ = characterType_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.databaseTemplate_ = databaseTemplate_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.isTemplateDatabase_ = isTemplateDatabase_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -559,6 +772,19 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Database other) { bitField0_ |= 0x00000004; onChanged(); } + if (!other.getCharacterType().isEmpty()) { + characterType_ = other.characterType_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getDatabaseTemplate().isEmpty()) { + databaseTemplate_ = other.databaseTemplate_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasIsTemplateDatabase()) { + setIsTemplateDatabase(other.getIsTemplateDatabase()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -603,6 +829,24 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + characterType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + databaseTemplate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 56: + { + isTemplateDatabase_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -744,12 +988,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -769,12 +1015,14 @@ public java.lang.String getCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -794,12 +1042,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The charset to set. * @return This builder for chaining. @@ -818,12 +1068,14 @@ public Builder setCharset(java.lang.String value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -838,12 +1090,14 @@ public Builder clearCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for charset to set. * @return This builder for chaining. @@ -865,12 +1119,14 @@ public Builder setCharsetBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -890,12 +1146,14 @@ public java.lang.String getCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -915,12 +1173,14 @@ public com.google.protobuf.ByteString getCollationBytes() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The collation to set. * @return This builder for chaining. @@ -939,12 +1199,14 @@ public Builder setCollation(java.lang.String value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -959,12 +1221,14 @@ public Builder clearCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for collation to set. * @return This builder for chaining. @@ -980,6 +1244,339 @@ public Builder setCollationBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object characterType_ = ""; + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + characterType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearCharacterType() { + characterType_ = getDefaultInstance().getCharacterType(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + databaseTemplate_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearDatabaseTemplate() { + databaseTemplate_ = getDefaultInstance().getDatabaseTemplate(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseTemplate_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private boolean isTemplateDatabase_; + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The isTemplateDatabase to set. + * @return This builder for chaining. + */ + public Builder setIsTemplateDatabase(boolean value) { + + isTemplateDatabase_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIsTemplateDatabase() { + bitField0_ = (bitField0_ & ~0x00000020); + isTemplateDatabase_ = 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-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseOrBuilder.java index e8f49f73460c..c901a1de5c33 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseOrBuilder.java @@ -56,12 +56,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -71,12 +73,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -86,12 +90,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -101,14 +107,108 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ com.google.protobuf.ByteString getCollationBytes(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + java.lang.String getCharacterType(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + com.google.protobuf.ByteString getCharacterTypeBytes(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + java.lang.String getDatabaseTemplate(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + com.google.protobuf.ByteString getDatabaseTemplateBytes(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + boolean hasIsTemplateDatabase(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + boolean getIsTemplateDatabase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java index dfdd3dc07656..b229b286205a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java @@ -80,6 +80,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_16 = 4; */ POSTGRES_16(4), + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + POSTGRES_17(5), UNRECOGNIZED(-1), ; @@ -138,6 +148,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_16_VALUE = 4; + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + public static final int POSTGRES_17_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,6 +193,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_15; case 4: return POSTGRES_16; + case 5: + return POSTGRES_17; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java index 7782ff62feb9..3ffbd9f8e0e6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java @@ -79,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -105,7 +105,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -476,7 +476,7 @@ public Builder mergeFrom( * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -501,7 +501,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -526,7 +526,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The kmsKeyName to set. * @return This builder for chaining. @@ -550,7 +550,7 @@ public Builder setKmsKeyName(java.lang.String value) { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -570,7 +570,7 @@ public Builder clearKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java index 297a10904b3c..219b6fc896d9 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -48,7 +48,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequest.java index 2829df24f46e..2741f4818c67 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequest.java @@ -415,6 +415,26 @@ public com.google.protobuf.ByteString getSqlStatementBytes() { } } + public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; + private boolean validateOnly_ = false; + + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -444,6 +464,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (userCredentialCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userCredential_); } + if (validateOnly_ != false) { + output.writeBool(6, validateOnly_); + } getUnknownFields().writeTo(output); } @@ -468,6 +491,9 @@ public int getSerializedSize() { if (userCredentialCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userCredential_); } + if (validateOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -488,6 +514,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDatabase().equals(other.getDatabase())) return false; if (!getUser().equals(other.getUser())) return false; if (!getSqlStatement().equals(other.getSqlStatement())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUserCredentialCase().equals(other.getUserCredentialCase())) return false; switch (userCredentialCase_) { case 5: @@ -515,6 +542,8 @@ public int hashCode() { hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + SQL_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + getSqlStatement().hashCode(); + hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); switch (userCredentialCase_) { case 5: hash = (37 * hash) + PASSWORD_FIELD_NUMBER; @@ -667,6 +696,7 @@ public Builder clear() { database_ = ""; user_ = ""; sqlStatement_ = ""; + validateOnly_ = false; userCredentialCase_ = 0; userCredential_ = null; return this; @@ -718,6 +748,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ExecuteSqlRequest result) if (((from_bitField0_ & 0x00000010) != 0)) { result.sqlStatement_ = sqlStatement_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.validateOnly_ = validateOnly_; + } } private void buildPartialOneofs(com.google.cloud.alloydb.v1.ExecuteSqlRequest result) { @@ -790,6 +823,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ExecuteSqlRequest other) { bitField0_ |= 0x00000010; onChanged(); } + if (other.getValidateOnly() != false) { + setValidateOnly(other.getValidateOnly()); + } switch (other.getUserCredentialCase()) { case PASSWORD: { @@ -860,6 +896,12 @@ public Builder mergeFrom( userCredential_ = s; break; } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1516,6 +1558,65 @@ public Builder setSqlStatementBytes(com.google.protobuf.ByteString value) { return this; } + private boolean validateOnly_; + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The validateOnly to set. + * @return This builder for chaining. + */ + public Builder setValidateOnly(boolean value) { + + validateOnly_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearValidateOnly() { + bitField0_ = (bitField0_ & ~0x00000020); + validateOnly_ = 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-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequestOrBuilder.java index 57aa0e74ce10..9bf5fe15fea5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ExecuteSqlRequestOrBuilder.java @@ -183,5 +183,19 @@ public interface ExecuteSqlRequestOrBuilder */ com.google.protobuf.ByteString getSqlStatementBytes(); + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + boolean getValidateOnly(); + com.google.cloud.alloydb.v1.ExecuteSqlRequest.UserCredentialCase getUserCredentialCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java index 424ca593df31..18dc68da8935 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java @@ -9915,7 +9915,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -9931,7 +9933,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -10248,7 +10252,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -10275,7 +10281,9 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -11193,7 +11201,8 @@ public Builder mergeFrom( * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The serviceAttachmentLink. @@ -11220,7 +11229,8 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The bytes for serviceAttachmentLink. @@ -11247,7 +11257,8 @@ public com.google.protobuf.ByteString getServiceAttachmentLinkBytes() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The serviceAttachmentLink to set. @@ -11273,7 +11284,8 @@ public Builder setServiceAttachmentLink(java.lang.String value) { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -11295,7 +11307,8 @@ public Builder clearServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes for serviceAttachmentLink to set. @@ -15050,52 +15063,1141 @@ public com.google.protobuf.ByteString getAllocatedIpRangeOverrideBytes() { * * *
-       * Optional. Name of the allocated IP range for the private IP AlloyDB
-       * instance, for example: "google-managed-services-default". If set, the
-       * instance IPs will be created from this allocated range and will override
-       * the IP range used by the parent cluster. The range name must comply with
-       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
-       * the name must be 1-63 characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * Optional. Name of the allocated IP range for the private IP AlloyDB
+       * instance, for example: "google-managed-services-default". If set, the
+       * instance IPs will be created from this allocated range and will override
+       * the IP range used by the parent cluster. The range name must comply with
+       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
+       * the name must be 1-63 characters long and match the regular expression
+       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * 
+ * + * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The allocatedIpRangeOverride to set. + * @return This builder for chaining. + */ + public Builder setAllocatedIpRangeOverride(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + allocatedIpRangeOverride_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Name of the allocated IP range for the private IP AlloyDB
+       * instance, for example: "google-managed-services-default". If set, the
+       * instance IPs will be created from this allocated range and will override
+       * the IP range used by the parent cluster. The range name must comply with
+       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
+       * the name must be 1-63 characters long and match the regular expression
+       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * 
+ * + * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllocatedIpRangeOverride() { + allocatedIpRangeOverride_ = getDefaultInstance().getAllocatedIpRangeOverride(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. Name of the allocated IP range for the private IP AlloyDB
+       * instance, for example: "google-managed-services-default". If set, the
+       * instance IPs will be created from this allocated range and will override
+       * the IP range used by the parent cluster. The range name must comply with
+       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
+       * the name must be 1-63 characters long and match the regular expression
+       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * 
+ * + * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes for allocatedIpRangeOverride to set. + * @return This builder for chaining. + */ + public Builder setAllocatedIpRangeOverrideBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + allocatedIpRangeOverride_ = value; + bitField0_ |= 0x00000010; + 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.alloydb.v1.Instance.InstanceNetworkConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.InstanceNetworkConfig) + private static final com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig(); + } + + public static com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceNetworkConfig 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.alloydb.v1.Instance.InstanceNetworkConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ConnectionPoolConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Whether to enable Managed Connection Pool (MCP).
+     * 
+ * + * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + boolean getEnabled(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getFlagsCount(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsFlags(java.lang.String key); + + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFlags(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getFlagsMap(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getFlagsOrThrow(java.lang.String key); + + /** + * + * + *
+     * Output only. The number of running poolers per instance.
+     * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + int getPoolerCount(); + } + + /** + * + * + *
+   * Configuration for Managed Connection Pool (MCP).
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1.Instance.ConnectionPoolConfig} + */ + public static final class ConnectionPoolConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) + ConnectionPoolConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ConnectionPoolConfig.newBuilder() to construct. + private ConnectionPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ConnectionPoolConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ConnectionPoolConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.class, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 12; + private boolean enabled_ = false; + + /** + * + * + *
+     * Optional. Whether to enable Managed Connection Pool (MCP).
+     * 
+ * + * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int FLAGS_FIELD_NUMBER = 13; + + private static final class FlagsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField flags_; + + private com.google.protobuf.MapField internalGetFlags() { + if (flags_ == null) { + return com.google.protobuf.MapField.emptyMapField(FlagsDefaultEntryHolder.defaultEntry); + } + return flags_; + } + + public int getFlagsCount() { + return internalGetFlags().getMap().size(); + } + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFlags().getMap().containsKey(key); + } + + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlags() { + return getFlagsMap(); + } + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getFlagsMap() { + return internalGetFlags().getMap(); + } + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public /* nullable */ java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getFlagsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int POOLER_COUNT_FIELD_NUMBER = 14; + private int poolerCount_ = 0; + + /** + * + * + *
+     * Output only. The number of running poolers per instance.
+     * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + @java.lang.Override + public int getPoolerCount() { + return poolerCount_; + } + + 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(12, enabled_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFlags(), FlagsDefaultEntryHolder.defaultEntry, 13); + if (poolerCount_ != 0) { + output.writeInt32(14, poolerCount_); + } + 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(12, enabled_); + } + for (java.util.Map.Entry entry : + internalGetFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry flags__ = + FlagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, flags__); + } + if (poolerCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, poolerCount_); + } + 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.alloydb.v1.Instance.ConnectionPoolConfig)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig other = + (com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) obj; + + if (getEnabled() != other.getEnabled()) return false; + if (!internalGetFlags().equals(other.internalGetFlags())) return false; + if (getPoolerCount() != other.getPoolerCount()) 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()); + if (!internalGetFlags().getMap().isEmpty()) { + hash = (37 * hash) + FLAGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFlags().hashCode(); + } + hash = (37 * hash) + POOLER_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPoolerCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig 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.alloydb.v1.Instance.ConnectionPoolConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig 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.alloydb.v1.Instance.ConnectionPoolConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig 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.alloydb.v1.Instance.ConnectionPoolConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig 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.alloydb.v1.Instance.ConnectionPoolConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig 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.alloydb.v1.Instance.ConnectionPoolConfig 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 Managed Connection Pool (MCP).
+     * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1.Instance.ConnectionPoolConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetMutableFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.class, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder.class); + } + + // Construct using com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.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; + internalGetMutableFlags().clear(); + poolerCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig build() { + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig buildPartial() { + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig result = + new com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enabled_ = enabled_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flags_ = internalGetFlags(); + result.flags_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.poolerCount_ = poolerCount_; + } + } + + @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.alloydb.v1.Instance.ConnectionPoolConfig) { + return mergeFrom((com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig other) { + if (other == com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance()) + return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + internalGetMutableFlags().mergeFrom(other.internalGetFlags()); + bitField0_ |= 0x00000002; + if (other.getPoolerCount() != 0) { + setPoolerCount(other.getPoolerCount()); + } + 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 96: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 96 + case 106: + { + com.google.protobuf.MapEntry flags__ = + input.readMessage( + FlagsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableFlags() + .getMutableMap() + .put(flags__.getKey(), flags__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 106 + case 112: + { + poolerCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 112 + 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 to enable Managed Connection Pool (MCP).
+       * 
+ * + * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + /** + * + * + *
+       * Optional. Whether to enable Managed Connection Pool (MCP).
+       * 
+ * + * bool enabled = 12 [(.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 to enable Managed Connection Pool (MCP).
+       * 
+ * + * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000001); + enabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.MapField flags_; + + private com.google.protobuf.MapField internalGetFlags() { + if (flags_ == null) { + return com.google.protobuf.MapField.emptyMapField(FlagsDefaultEntryHolder.defaultEntry); + } + return flags_; + } + + private com.google.protobuf.MapField + internalGetMutableFlags() { + if (flags_ == null) { + flags_ = com.google.protobuf.MapField.newMapField(FlagsDefaultEntryHolder.defaultEntry); + } + if (!flags_.isMutable()) { + flags_ = flags_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return flags_; + } + + public int getFlagsCount() { + return internalGetFlags().getMap().size(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFlags().getMap().containsKey(key); + } + + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlags() { + return getFlagsMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getFlagsMap() { + return internalGetFlags().getMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getFlagsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableFlags().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFlags().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFlags() { + bitField0_ |= 0x00000002; + return internalGetMutableFlags().getMutableMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putFlags(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFlags().getMutableMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllFlags(java.util.Map values) { + internalGetMutableFlags().getMutableMap().putAll(values); + bitField0_ |= 0x00000002; + return this; + } + + private int poolerCount_; + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
        * 
* - * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @param value The allocatedIpRangeOverride to set. - * @return This builder for chaining. + * @return The poolerCount. */ - public Builder setAllocatedIpRangeOverride(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - allocatedIpRangeOverride_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; + @java.lang.Override + public int getPoolerCount() { + return poolerCount_; } /** * * *
-       * Optional. Name of the allocated IP range for the private IP AlloyDB
-       * instance, for example: "google-managed-services-default". If set, the
-       * instance IPs will be created from this allocated range and will override
-       * the IP range used by the parent cluster. The range name must comply with
-       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
-       * the name must be 1-63 characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * Output only. The number of running poolers per instance.
        * 
* - * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * + * @param value The poolerCount to set. * @return This builder for chaining. */ - public Builder clearAllocatedIpRangeOverride() { - allocatedIpRangeOverride_ = getDefaultInstance().getAllocatedIpRangeOverride(); - bitField0_ = (bitField0_ & ~0x00000010); + public Builder setPoolerCount(int value) { + + poolerCount_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -15104,28 +16206,16 @@ public Builder clearAllocatedIpRangeOverride() { * * *
-       * Optional. Name of the allocated IP range for the private IP AlloyDB
-       * instance, for example: "google-managed-services-default". If set, the
-       * instance IPs will be created from this allocated range and will override
-       * the IP range used by the parent cluster. The range name must comply with
-       * [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically,
-       * the name must be 1-63 characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
+       * Output only. The number of running poolers per instance.
        * 
* - * string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @param value The bytes for allocatedIpRangeOverride to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeOverrideBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - allocatedIpRangeOverride_ = value; - bitField0_ |= 0x00000010; + public Builder clearPoolerCount() { + bitField0_ = (bitField0_ & ~0x00000004); + poolerCount_ = 0; onChanged(); return this; } @@ -15142,25 +16232,24 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.InstanceNetworkConfig) + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) } - // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.InstanceNetworkConfig) - private static final com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig - DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.ConnectionPoolConfig) + private static final com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig(); } - public static com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public InstanceNetworkConfig parsePartialFrom( + public ConnectionPoolConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -15180,17 +16269,17 @@ public InstanceNetworkConfig parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } @@ -17019,6 +18108,66 @@ public com.google.cloud.alloydb.v1.Instance.ActivationPolicy getActivationPolicy : result; } + public static final int CONNECTION_POOL_CONFIG_FIELD_NUMBER = 37; + private com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connectionPoolConfig_; + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the connectionPoolConfig field is set. + */ + @java.lang.Override + public boolean hasConnectionPoolConfig() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The connectionPoolConfig. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getConnectionPoolConfig() { + return connectionPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance() + : connectionPoolConfig_; + } + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder + getConnectionPoolConfigOrBuilder() { + return connectionPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance() + : connectionPoolConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -17124,6 +18273,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(35, activationPolicy_); } + if (((bitField0_ & 0x00000800) != 0)) { + output.writeMessage(37, getConnectionPoolConfig()); + } getUnknownFields().writeTo(output); } @@ -17255,6 +18407,10 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(35, activationPolicy_); } + if (((bitField0_ & 0x00000800) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(37, getConnectionPoolConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -17333,6 +18489,10 @@ public boolean equals(final java.lang.Object obj) { if (!getOutboundPublicIpAddressesList().equals(other.getOutboundPublicIpAddressesList())) return false; if (activationPolicy_ != other.activationPolicy_) return false; + if (hasConnectionPoolConfig() != other.hasConnectionPoolConfig()) return false; + if (hasConnectionPoolConfig()) { + if (!getConnectionPoolConfig().equals(other.getConnectionPoolConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -17434,6 +18594,10 @@ public int hashCode() { } hash = (37 * hash) + ACTIVATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + activationPolicy_; + if (hasConnectionPoolConfig()) { + hash = (37 * hash) + CONNECTION_POOL_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getConnectionPoolConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -17617,6 +18781,7 @@ private void maybeForceBuilderInitialization() { getClientConnectionConfigFieldBuilder(); getPscInstanceConfigFieldBuilder(); getNetworkConfigFieldBuilder(); + getConnectionPoolConfigFieldBuilder(); } } @@ -17703,6 +18868,11 @@ public Builder clear() { } outboundPublicIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); activationPolicy_ = 0; + connectionPoolConfig_ = null; + if (connectionPoolConfigBuilder_ != null) { + connectionPoolConfigBuilder_.dispose(); + connectionPoolConfigBuilder_ = null; + } return this; } @@ -17867,6 +19037,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) { if (((from_bitField0_ & 0x10000000) != 0)) { result.activationPolicy_ = activationPolicy_; } + if (((from_bitField0_ & 0x20000000) != 0)) { + result.connectionPoolConfig_ = + connectionPoolConfigBuilder_ == null + ? connectionPoolConfig_ + : connectionPoolConfigBuilder_.build(); + to_bitField0_ |= 0x00000800; + } result.bitField0_ |= to_bitField0_; } @@ -18044,6 +19221,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) { if (other.activationPolicy_ != 0) { setActivationPolicyValue(other.getActivationPolicyValue()); } + if (other.hasConnectionPoolConfig()) { + mergeConnectionPoolConfig(other.getConnectionPoolConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -18274,6 +19454,13 @@ public Builder mergeFrom( bitField0_ |= 0x10000000; break; } // case 280 + case 298: + { + input.readMessage( + getConnectionPoolConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x20000000; + break; + } // case 298 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -23398,6 +24585,224 @@ public Builder clearActivationPolicy() { return this; } + private com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connectionPoolConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder> + connectionPoolConfigBuilder_; + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the connectionPoolConfig field is set. + */ + public boolean hasConnectionPoolConfig() { + return ((bitField0_ & 0x20000000) != 0); + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The connectionPoolConfig. + */ + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getConnectionPoolConfig() { + if (connectionPoolConfigBuilder_ == null) { + return connectionPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance() + : connectionPoolConfig_; + } else { + return connectionPoolConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setConnectionPoolConfig( + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig value) { + if (connectionPoolConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + connectionPoolConfig_ = value; + } else { + connectionPoolConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x20000000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setConnectionPoolConfig( + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder builderForValue) { + if (connectionPoolConfigBuilder_ == null) { + connectionPoolConfig_ = builderForValue.build(); + } else { + connectionPoolConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x20000000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeConnectionPoolConfig( + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig value) { + if (connectionPoolConfigBuilder_ == null) { + if (((bitField0_ & 0x20000000) != 0) + && connectionPoolConfig_ != null + && connectionPoolConfig_ + != com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance()) { + getConnectionPoolConfigBuilder().mergeFrom(value); + } else { + connectionPoolConfig_ = value; + } + } else { + connectionPoolConfigBuilder_.mergeFrom(value); + } + if (connectionPoolConfig_ != null) { + bitField0_ |= 0x20000000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearConnectionPoolConfig() { + bitField0_ = (bitField0_ & ~0x20000000); + connectionPoolConfig_ = null; + if (connectionPoolConfigBuilder_ != null) { + connectionPoolConfigBuilder_.dispose(); + connectionPoolConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder + getConnectionPoolConfigBuilder() { + bitField0_ |= 0x20000000; + onChanged(); + return getConnectionPoolConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder + getConnectionPoolConfigOrBuilder() { + if (connectionPoolConfigBuilder_ != null) { + return connectionPoolConfigBuilder_.getMessageOrBuilder(); + } else { + return connectionPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.getDefaultInstance() + : connectionPoolConfig_; + } + } + + /** + * + * + *
+     * Optional. The configuration for Managed Connection Pool (MCP).
+     * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder> + getConnectionPoolConfigFieldBuilder() { + if (connectionPoolConfigBuilder_ == null) { + connectionPoolConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder>( + getConnectionPoolConfig(), getParentForChildren(), isClean()); + connectionPoolConfig_ = null; + } + return connectionPoolConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java index 601e1e72a616..4fbd6748fed6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java @@ -1279,4 +1279,48 @@ java.lang.String getAnnotationsOrDefault( * @return The activationPolicy. */ com.google.cloud.alloydb.v1.Instance.ActivationPolicy getActivationPolicy(); + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the connectionPoolConfig field is set. + */ + boolean hasConnectionPoolConfig(); + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The connectionPoolConfig. + */ + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig getConnectionPoolConfig(); + + /** + * + * + *
+   * Optional. The configuration for Managed Connection Pool (MCP).
+   * 
+ * + * + * .google.cloud.alloydb.v1.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.alloydb.v1.Instance.ConnectionPoolConfigOrBuilder + getConnectionPoolConfigOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesRequest.java index 56b658598287..c50581fea40f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesRequest.java @@ -23,7 +23,7 @@ * * *
- * Message for requesting list of Databases.
+ * Message for ListDatabases request.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListDatabasesRequest} @@ -448,7 +448,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for requesting list of Databases.
+   * Message for ListDatabases request.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListDatabasesRequest} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponse.java index e62e03cfe740..4eb308a9d15c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponse.java @@ -23,7 +23,7 @@ * * *
- * Message for response to listing Databases.
+ * Message for ListDatabases response.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListDatabasesResponse} @@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -88,7 +88,7 @@ public java.util.List getDatabasesList() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -103,7 +103,7 @@ public java.util.List getDatabasesList() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -117,7 +117,7 @@ public int getDatabasesCount() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -131,7 +131,7 @@ public com.google.cloud.alloydb.v1.Database getDatabases(int index) { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -371,7 +371,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for response to listing Databases.
+   * Message for ListDatabases response.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListDatabasesResponse} @@ -631,7 +631,7 @@ private void ensureDatabasesIsMutable() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -648,7 +648,7 @@ public java.util.List getDatabasesList() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -665,7 +665,7 @@ public int getDatabasesCount() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -682,7 +682,7 @@ public com.google.cloud.alloydb.v1.Database getDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -705,7 +705,7 @@ public Builder setDatabases(int index, com.google.cloud.alloydb.v1.Database valu * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -726,7 +726,7 @@ public Builder setDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -749,7 +749,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1.Database value) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -772,7 +772,7 @@ public Builder addDatabases(int index, com.google.cloud.alloydb.v1.Database valu * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -792,7 +792,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1.Database.Builder builder * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -813,7 +813,7 @@ public Builder addDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -834,7 +834,7 @@ public Builder addAllDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -854,7 +854,7 @@ public Builder clearDatabases() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -874,7 +874,7 @@ public Builder removeDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -887,7 +887,7 @@ public com.google.cloud.alloydb.v1.Database.Builder getDatabasesBuilder(int inde * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -904,7 +904,7 @@ public com.google.cloud.alloydb.v1.DatabaseOrBuilder getDatabasesOrBuilder(int i * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -922,7 +922,7 @@ public com.google.cloud.alloydb.v1.DatabaseOrBuilder getDatabasesOrBuilder(int i * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -936,7 +936,7 @@ public com.google.cloud.alloydb.v1.Database.Builder addDatabasesBuilder() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -950,7 +950,7 @@ public com.google.cloud.alloydb.v1.Database.Builder addDatabasesBuilder(int inde * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponseOrBuilder.java index 21ec86f65314..c6a82389c585 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListDatabasesResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -39,7 +39,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -50,7 +50,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -61,7 +61,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; @@ -73,7 +73,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java index 0a0d4c2a0379..d70a36097210 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java @@ -184,6 +184,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1_Instance_InstanceNetworkConfig_AuthorizedNetwork_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1_Instance_InstanceNetworkConfig_AuthorizedNetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -269,9 +277,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "2<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\003\340A\003\"E\n" + "\023MigrationSourceType\022%\n" + "!MIGRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n" - + "\003DMS\020\001\"(\n" - + "\020EncryptionConfig\022\024\n" - + "\014kms_key_name\030\001 \001(\t\"\206\002\n" + + "\003DMS\020\001\"P\n" + + "\020EncryptionConfig\022<\n" + + "\014kms_key_name\030\001 \001(\tB&\372A#\n" + + "!cloudkms.googleapis.com/CryptoKey\"\206\002\n" + "\016EncryptionInfo\022J\n" + "\017encryption_type\030\001" + " \001(\0162,.google.cloud.alloydb.v1.EncryptionInfo.TypeB\003\340A\003\022J\n" @@ -358,7 +367,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010end_date\030\002 \001(\0132\021.google.type.Date\022$\n" + "\004time\030\003 \001(\0132\026.google.type.TimeOfDay\"J\n" + "\023MaintenanceSchedule\0223\n\n" - + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\332\030\n" + + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\242\031\n" + "\007Cluster\022C\n\r" + "backup_source\030\017 \001(\0132%." + "google.cloud.alloydb.v1.BackupSourceB\003\340A\003H\000\022I\n" @@ -422,11 +431,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "NetworkConfig\0227\n" + "\007network\030\001 \001(\tB&\340A\001\372A \n" + "\036compute.googleapis.com/Network\022\037\n" - + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032/\n" - + "\017SecondaryConfig\022\034\n" - + "\024primary_cluster_name\030\001 \001(\t\0325\n\r" - + "PrimaryConfig\022$\n" - + "\027secondary_cluster_names\030\001 \003(\tB\003\340A\003\032P\n" + + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032T\n" + + "\017SecondaryConfig\022A\n" + + "\024primary_cluster_name\030\001 \001(\tB#\372A \n" + + "\036alloydb.googleapis.com/Cluster\032X\n\r" + + "PrimaryConfig\022G\n" + + "\027secondary_cluster_names\030\001 \003(\tB&\340A\003\372A \n" + + "\036alloydb.googleapis.com/Cluster\032P\n" + "\tPscConfig\022\030\n" + "\013psc_enabled\030\001 \001(\010B\003\340A\001\022)\n" + "\034service_owned_project_number\030\003 \001(\003B\003\340A\003\032\323\001\n\r" @@ -459,9 +470,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007PRIMARY\020\001\022\r\n" + "\tSECONDARY\020\002:u\352Ar\n" - + "\036alloydb.googleapis.com/Cluster\022:pro" - + "jects/{project}/locations/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" - + "\006source\"\356!\n" + + "\036alloydb.googleapis.com/Cluster\022:projects/{p" + + "roject}/locations/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" + + "\006source\"\307$\n" + "\010Instance\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -470,10 +481,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013update_time\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013delete_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022=\n" + "\006labels\030\007 \003(\0132-.google.cloud.alloydb.v1.Instance.LabelsEntry\022;\n" - + "\005state\030\010 \001(\0162" - + "\'.google.cloud.alloydb.v1.Instance.StateB\003\340A\003\022J\n\r" - + "instance_type\030\t \001(\0162..google.cl" - + "oud.alloydb.v1.Instance.InstanceTypeB\003\340A\002\022G\n" + + "\005state\030\010" + + " \001(\0162\'.google.cloud.alloydb.v1.Instance.StateB\003\340A\003\022J\n" + + "\r" + + "instance_type\030\t" + + " \001(\0162..google.cloud.alloydb.v1.Instance.InstanceTypeB\003\340A\002\022G\n" + "\016machine_config\030\n" + " \001(\0132/.google.cloud.alloydb.v1.Instance.MachineConfig\022M\n" + "\021availability_type\030\013" @@ -485,19 +497,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132&.google.cloud.alloydb.v1.Instance.NodeB\003\340A\003\022:\n" + "\005nodes\030\024" + " \003(\0132&.google.cloud.alloydb.v1.Instance.NodeB\003\340A\003\022\\\n" - + "\025query_insights_config\030\025" - + " \001(\0132=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\022[\n" - + "\024observability_config\030\032 \001(\0132=.google.cloud.all" - + "oydb.v1.Instance.ObservabilityInstanceConfig\022J\n" - + "\020read_pool_config\030\016 \001(\01320.google." - + "cloud.alloydb.v1.Instance.ReadPoolConfig\022\027\n\n" + + "\025query_insights_config\030\025 \001(\013" + + "2=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\022[\n" + + "\024observability_config\030\032" + + " \001(\0132=.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig\022J\n" + + "\020read_pool_config\030\016" + + " \001(\01320.google.cloud.alloydb.v1.Instance.ReadPoolConfig\022\027\n\n" + "ip_address\030\017 \001(\tB\003\340A\003\022&\n" + "\021public_ip_address\030\033 \001(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022\030\n" + "\013reconciling\030\020 \001(\010B\003\340A\003\022\014\n" + "\004etag\030\021 \001(\t\022G\n" - + "\013annotations\030\022" - + " \003(\01322.google.cloud.alloydb.v1.Instance.AnnotationsEntry\022_\n" + + "\013annotations\030\022 \003(\01322" + + ".google.cloud.alloydb.v1.Instance.AnnotationsEntry\022_\n" + "\030client_connection_config\030\027" + " \001(\01328.google.cloud.alloydb.v1.Instance.ClientConnectionConfigB\003\340A\001\022\032\n\r" + "satisfies_pzs\030\030 \001(\010B\003\340A\003\022U\n" @@ -507,8 +519,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\01327.google.cloud.alloydb.v1.Instance.InstanceNetworkConfigB\003\340A\001\0221\n" + "\034outbound_public_ip_addresses\030\" \003(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022R\n" - + "\021activation_policy\030# \001(\01622.goo" - + "gle.cloud.alloydb.v1.Instance.ActivationPolicyB\003\340A\001\0328\n\r" + + "\021activation_policy\030# \001(\01622.google.clou" + + "d.alloydb.v1.Instance.ActivationPolicyB\003\340A\001\022[\n" + + "\026connection_pool_config\030% \001(\01326.go" + + "ogle.cloud.alloydb.v1.Instance.ConnectionPoolConfigB\003\340A\001\0328\n\r" + "MachineConfig\022\021\n" + "\tcpu_count\030\001 \001(\005\022\024\n" + "\014machine_type\030\004 \001(\t\032R\n" @@ -556,28 +570,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020consumer_network\030\002 \001(\t\022\037\n\n" + "ip_address\030\003 \001(\tB\013\340A\003\342\214\317\327\010\002\010\002\022\023\n" + "\006status\030\004 \001(\tB\003\340A\003\022$\n" - + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\264\002\n" - + "\021PscInstanceConfig\022$\n" - + "\027service_attachment_link\030\001 \001(\tB\003\340A\003\022&\n" + + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\341\002\n" + + "\021PscInstanceConfig\022Q\n" + + "\027service_attachment_link\030\001 \001(\tB0\340A\003\372A*\n" + + "(compute.googleapis.com/ServiceAttachment\022&\n" + "\031allowed_consumer_projects\030\002 \003(\tB\003\340A\001\022\031\n" + "\014psc_dns_name\030\007 \001(\tB\003\340A\003\022X\n" - + "\025psc_interface_configs\030\010" - + " \003(\01324.google.cloud.alloydb.v1.Instance.PscInterfaceConfigB\003\340A\001\022\\\n" - + "\024psc_auto_connections\030\t \003(\01329.google.cloud.all" - + "oydb.v1.Instance.PscAutoConnectionConfigB\003\340A\001\032\352\002\n" + + "\025psc_interface_configs\030\010 \003(\01324.google.cloud.al" + + "loydb.v1.Instance.PscInterfaceConfigB\003\340A\001\022\\\n" + + "\024psc_auto_connections\030\t \003(\01329.google" + + ".cloud.alloydb.v1.Instance.PscAutoConnectionConfigB\003\340A\001\032\352\002\n" + "\025InstanceNetworkConfig\022t\n" - + "\034authorized_external_networks\030\001 \003(\0132I.google.c" - + "loud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + + "\034authorized_external_networks\030\001 \003(\0132" + + "I.google.cloud.alloydb.v1.Instance.Insta" + + "nceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + "\020enable_public_ip\030\002 \001(\010B\003\340A\001\022&\n" + "\031enable_outbound_public_ip\030\003 \001(\010B\003\340A\001\0227\n" + "\007network\030\004 \001(\tB&\340A\003\372A \n" + "\036compute.googleapis.com/Network\022(\n" + "\033allocated_ip_range_override\030\005 \001(\tB\003\340A\001\0321\n" + "\021AuthorizedNetwork\022\034\n\n" - + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032-\n" + + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032\314\001\n" + + "\024ConnectionPoolConfig\022\024\n" + + "\007enabled\030\014 \001(\010B\003\340A\001\022U\n" + + "\005flags\030\r" + + " \003" + + "(\0132A.google.cloud.alloydb.v1.Instance.ConnectionPoolConfig.FlagsEntryB\003\340A\001\022\031\n" + + "\014pooler_count\030\016 \001(\005B\003\340A\003\032,\n\n" + + "FlagsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032-\n" + "\013LabelsEntry\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\0324\n" + "\022DatabaseFlagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -592,8 +616,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010CREATING\020\003\022\014\n" + "\010DELETING\020\004\022\017\n" + "\013MAINTENANCE\020\005\022\n\n" - + "\006FAILED\020\006\022\021\n" - + "\r" + + "\006FAILED\020\006\022\021\n\r" + "BOOTSTRAPPING\020\010\022\r\n" + "\tPROMOTING\020\t\"X\n" + "\014InstanceType\022\035\n" @@ -609,17 +632,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\035ACTIVATION_POLICY_UNSPECIFIED\020\000\022\n\n" + "\006ALWAYS\020\001\022\t\n" + "\005NEVER\020\002:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Instance\022Oprojects/{project}/locations/{location}" - + "/clusters/{cluster}/instances/{instance}*\tinstances2\010instanceR\001\001\"\251\002\n" + + "\037alloydb.googleapis.com/Instance\022Oprojects/{project}/loc" + + "ations/{location}/clusters/{cluster}/instances/{instance}*" + + "\tinstances2\010instanceR\001\001\"\251\002\n" + "\016ConnectionInfo\022\014\n" + "\004name\030\001 \001(\t\022\027\n\n" + "ip_address\030\002 \001(\tB\003\340A\003\022&\n" + "\021public_ip_address\030\005 \001(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022\031\n" + "\014instance_uid\030\004 \001(\tB\003\340A\003:\254\001\352A\250\001\n" - + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{project}/locations/{location}/clu" - + "sters/{cluster}/instances/{instance}/con" - + "nectionInfo*\017connectionInfos2\016connectionInfo\"\205\r\n" + + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{project}/locatio" + + "ns/{location}/clusters/{cluster}/instanc" + + "es/{instance}/connectionInfo*\017connectionInfos2\016connectionInfo\"\205\r\n" + "\006Backup\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -630,8 +654,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026create_completion_time\030\032" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022;\n" + "\006labels\030\006 \003(\0132+.google.cloud.alloydb.v1.Backup.LabelsEntry\0229\n" - + "\005state\030\007" - + " \001(\0162%.google.cloud.alloydb.v1.Backup.StateB\003\340A\003\0222\n" + + "\005state\030\007 \001(\0162%.goo" + + "gle.cloud.alloydb.v1.Backup.StateB\003\340A\003\0222\n" + "\004type\030\010 \001(\0162$.google.cloud.alloydb.v1.Backup.Type\022\023\n" + "\013description\030\t \001(\t\022\030\n" + "\013cluster_uid\030\022 \001(\tB\003\340A\003\022<\n" @@ -639,20 +663,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB&\340A\002\372A \n" + "\036alloydb.googleapis.com/Cluster\022\030\n" + "\013reconciling\030\013 \001(\010B\003\340A\003\022I\n" - + "\021encryption_config\030\014 \001(\0132).go" - + "ogle.cloud.alloydb.v1.EncryptionConfigB\003\340A\001\022E\n" + + "\021encryption_config\030\014" + + " \001(\0132).google.cloud.alloydb.v1.EncryptionConfigB\003\340A\001\022E\n" + "\017encryption_info\030\r" + " \001(\0132\'.google.cloud.alloydb.v1.EncryptionInfoB\003\340A\003\022\014\n" + "\004etag\030\016 \001(\t\022E\n" - + "\013annotations\030\020 \003(\01320.google.c" - + "loud.alloydb.v1.Backup.AnnotationsEntry\022\027\n\n" + + "\013annotations\030\020" + + " \003(\01320.google.cloud.alloydb.v1.Backup.AnnotationsEntry\022\027\n\n" + "size_bytes\030\021 \001(\003B\003\340A\003\0224\n" + "\013expiry_time\030\023 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022Q\n" - + "\017expiry_quantity\030\024 \001(\01323.google.cloud.a" - + "lloydb.v1.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + + "\017expiry_quantity\030\024 \001(\013" + + "23.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + "satisfies_pzs\030\025 \001(\010B\003\340A\003\022G\n" - + "\020database_version\030\026" - + " \001(\0162(.google.cloud.alloydb.v1.DatabaseVersionB\003\340A\003\022B\n" + + "\020database_version\030\026 \001(\0162(.googl" + + "e.cloud.alloydb.v1.DatabaseVersionB\003\340A\003\022B\n" + "\004tags\030\031 \003(\0132).google.cloud.alloydb.v1.Backup.TagsEntryB" + "\t\340A\004\340A\005\340A\001\032W\n" + "\023QuantityBasedExpiry\022\034\n" @@ -678,21 +702,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tON_DEMAND\020\001\022\r\n" + "\tAUTOMATED\020\002\022\016\n\n" + "CONTINUOUS\020\003:p\352Am\n" - + "\035alloydb.googleapis.com/Backup\0228" - + "projects/{project}/locations/{location}/backups/{backup}*\007backups2\006backupR\001\001\"\374\010\n" + + "\035alloydb.googleapis.com/Backup\0228projects/{project}/loca" + + "tions/{location}/backups/{backup}*\007backups2\006backupR\001\001\"\374\010\n" + "\025SupportedDatabaseFlag\022`\n" - + "\023string_restrictions\030\007 \001(\0132A.google.cloud.alloydb.v1.Su" - + "pportedDatabaseFlag.StringRestrictionsH\000\022b\n" - + "\024integer_restrictions\030\010 \001(\0132B.google." - + "cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + + "\023string_restrictions\030\007 \001(\0132A.google.cl" + + "oud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsH\000\022b\n" + + "\024integer_restrictions\030\010" + + " \001(\0132B.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + "\030recommended_string_value\030\n" + " \001(\tH\001\022@\n" + "\031recommended_integer_value\030\013" + " \001(\0132\033.google.protobuf.Int64ValueH\001\022\014\n" + "\004name\030\001 \001(\t\022\021\n" + "\tflag_name\030\002 \001(\t\022L\n\n" - + "value_type\030\003" - + " \001(\01628.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\022\037\n" + + "value_type\030\003 \001(\01628.googl" + + "e.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\022\037\n" + "\027accepts_multiple_values\030\004 \001(\010\022G\n" + "\025supported_db_versions\030\005" + " \003(\0162(.google.cloud.alloydb.v1.DatabaseVersion\022\033\n" @@ -713,8 +737,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021SCOPE_UNSPECIFIED\020\000\022\014\n" + "\010DATABASE\020\001\022\023\n" + "\017CONNECTION_POOL\020\002:\227\001\352A\223\001\n" - + ",alloydb.googleapis.com/SupportedDatabaseFlag\0224projects/{project}/locations/" - + "{location}/flags/{flag}*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + + ",alloydb.googleapis.com/SupportedDatabaseFlag\0224projects/{pr" + + "oject}/locations/{location}/flags/{flag}" + + "*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + "\014restrictionsB\023\n" + "\021recommended_value\"\372\002\n" + "\004User\022\021\n" @@ -728,14 +753,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025USER_TYPE_UNSPECIFIED\020\000\022\024\n" + "\020ALLOYDB_BUILT_IN\020\001\022\024\n" + "\020ALLOYDB_IAM_USER\020\002:y\352Av\n" - + "\033alloydb.googleapis.com/User\022Gprojects/{project}/locations/{location}" - + "/clusters/{cluster}/users/{user}*\005users2\004userR\001\001\"\334\001\n" + + "\033alloydb.googleapis.com/User\022Gprojects/{project}/loc" + + "ations/{location}/clusters/{cluster}/users/{user}*\005users2\004userR\001\001\"\346\002\n" + "\010Database\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" - + "\007charset\030\002 \001(\tB\003\340A\001\022\026\n" - + "\tcollation\030\003 \001(\tB\003\340A\001:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Database\022Oprojects/{project}/locations/{lo" - + "cation}/clusters/{cluster}/databases/{database}*\tdatabases2\010databaseR\001\001*^\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\027\n" + + "\007charset\030\002 \001(\tB\006\340A\001\340A\005\022\031\n" + + "\tcollation\030\003 \001(\tB\006\340A\001\340A\005\022\036\n" + + "\016character_type\030\004 \001(\tB\006\340A\001\340A\005\022!\n" + + "\021database_template\030\006 \001(\tB\006\340A\004\340A\005\022&\n" + + "\024is_template_database\030\007" + + " \001(\010B\003\340A\001H\000\210\001\001:\216\001\352A\212\001\n" + + "\037alloydb.googleapis.com/Database\022Oprojects/{project}/loc" + + "ations/{location}/clusters/{cluster}/databases/{database}*" + + "\tdatabases2\010databaseR\001\001B\027\n" + + "\025_is_template_database*^\n" + "\014InstanceView\022\035\n" + "\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n" + "\023INSTANCE_VIEW_BASIC\020\001\022\026\n" @@ -743,26 +774,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ClusterView\022\034\n" + "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n" + "\022CLUSTER_VIEW_BASIC\020\001\022\"\n" - + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*{\n" + + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\214\001\n" + "\017DatabaseVersion\022 \n" + "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n" + "\013POSTGRES_13\020\001\032\002\010\001\022\017\n" + "\013POSTGRES_14\020\002\022\017\n" + "\013POSTGRES_15\020\003\022\017\n" - + "\013POSTGRES_16\020\004*N\n" + + "\013POSTGRES_16\020\004\022\017\n" + + "\013POSTGRES_17\020\005*N\n" + "\020SubscriptionType\022!\n" + "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\t\n" - + "\005TRIAL\020\002B\262\003\n" - + "\033com.google.cloud.alloydb.v1B\016Resources" - + "ProtoP\001Z5cloud.google.com/go/alloydb/api" - + "v1/alloydbpb;alloydbpb\252\002\027Google.Cloud.Al" - + "loyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n" - + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/" - + "{project}/locations/{location}/keyRings/" - + "{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" - + "\036compute.googleapis.com/Network\022,projects/{" - + "project}/global/networks/{network}b\006proto3" + + "\005TRIAL\020\002B\247\005\n" + + "\033com.google.cloud.alloydb.v1B\016ResourcesProtoP\001Z5cloud.google.com/g" + + "o/alloydb/apiv1/alloydbpb;alloydbpb\252\002\027Go" + + "ogle.Cloud.AlloyDb.V1\312\002\027Google\\Cloud\\All" + + "oyDb\\V1\352\002\032Google::Cloud::AlloyDB::V1\352A\246\001\n" + + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/locations/{locati" + + "on}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_ve", + "rsion}\352AN\n\036compute.googleapis.com/Networ" + + "k\022,projects/{project}/global/networks/{n" + + "etwork}\352Ax\n!cloudkms.googleapis.com/Cryp" + + "toKey\022Sprojects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}\352Aw\n(compute.googleapis.com/Se" + + "rviceAttachment\022Kprojects/{project}/regi" + + "ons/{region}/serviceAttachments/{service" + + "_attachment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1085,6 +1123,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkConfig", "OutboundPublicIpAddresses", "ActivationPolicy", + "ConnectionPoolConfig", }); internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor = internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(0); @@ -1194,8 +1233,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CidrRange", }); - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor = internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(10); + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor, + new java.lang.String[] { + "Enabled", "Flags", "PoolerCount", + }); + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ConnectionPoolConfig_FlagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(11); internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, @@ -1203,7 +1260,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(11); + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(12); internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, @@ -1211,7 +1268,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(12); + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(13); internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, @@ -1343,7 +1400,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1_Database_descriptor, new java.lang.String[] { - "Name", "Charset", "Collation", + "Name", + "Charset", + "Collation", + "CharacterType", + "DatabaseTemplate", + "IsTemplateDatabase", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java index de2c9dcf46af..541a945ff723 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java @@ -256,6 +256,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_ReadPoolInstancesUpgradeStageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -590,19 +594,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\003 \001(\010B\003\340A\001\022\025\n" - + "\010node_ids\030\004 \003(\tB\003\340A\001\"\300\001\n" + + "\010node_ids\030\004 \003(\tB\003\340A\001\"\334\001\n" + "\021ExecuteSqlRequest\022\027\n" + "\010password\030\005 \001(\tB\003\340A\001H\000\0229\n" + "\010instance\030\001 \001(\tB\'\340A\002\372A!\n" + "\037alloydb.googleapis.com/Instance\022\025\n" + "\010database\030\002 \001(\tB\003\340A\002\022\021\n" + "\004user\030\003 \001(\tB\003\340A\001\022\032\n\r" - + "sql_statement\030\004 \001(\tB\003\340A\002B\021\n" + + "sql_statement\030\004 \001(\tB\003\340A\002\022\032\n\r" + + "validate_only\030\006 \001(\010B\003\340A\001B\021\n" + "\017user_credential\"\214\001\n" + "\022ExecuteSqlResponse\0227\n" + "\013sql_results\030\001 \003(\0132\".google.cloud.alloydb.v1.SqlResult\022=\n" - + "\010metadata\030\003" - + " \001(\0132+.google.cloud.alloydb.v1.ExecuteSqlMetadata\"\210\002\n" + + "\010metadata\030\003 \001(" + + "\0132+.google.cloud.alloydb.v1.ExecuteSqlMetadata\"\210\002\n" + "\022ExecuteSqlMetadata\022\017\n" + "\007message\030\001 \001(\t\022\026\n" + "\016partial_result\030\002 \001(\010\022C\n" @@ -638,8 +643,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "validate_only\030\005 \001(\010B\003\340A\001\"\322\001\n" + "\023UpdateBackupRequest\0224\n" + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0224\n" - + "\006backup\030\002" - + " \001(\0132\037.google.cloud.alloydb.v1.BackupB\003\340A\002\022\027\n\n" + + "\006backup\030\002 \001(\013" + + "2\037.google.cloud.alloydb.v1.BackupB\003\340A\002\022\027\n\n" + "request_id\030\003 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\004 \001(\010B\003\340A\001\022\032\n\r" + "allow_missing\030\005 \001(\010B\003\340A\001\"\222\001\n" @@ -654,11 +659,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tB4\340A\002\372A.\022,alloydb.googleapis.com/SupportedDatabaseFlag\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\022H\n" - + "\005scope\030\006 \001" - + "(\01624.google.cloud.alloydb.v1.SupportedDatabaseFlag.ScopeB\003\340A\001\"\217\001\n" + + "\005scope\030\006 \001(\01624.google." + + "cloud.alloydb.v1.SupportedDatabaseFlag.ScopeB\003\340A\001\"\217\001\n" + "\"ListSupportedDatabaseFlagsResponse\022P\n" - + "\030supported_database_flags\030\001" - + " \003(\0132..google.cloud.alloydb.v1.SupportedDatabaseFlag\022\027\n" + + "\030supported_database_flags\030\001 \003" + + "(\0132..google.cloud.alloydb.v1.SupportedDatabaseFlag\022\027\n" + "\017next_page_token\030\002 \001(\t\"\347\001\n" + " GenerateClientCertificateRequest\0226\n" + "\006parent\030\001 \001(\tB&\340A\002\372A \n" @@ -676,8 +681,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\"\321\003\n" + "\021OperationMetadata\022e\n" - + "\037batch_create_instances_metadata\030\010 \001(\01325.google.c" - + "loud.alloydb.v1.BatchCreateInstancesMetadataB\003\340A\003H\000\022T\n" + + "\037batch_create_instances_metadata\030\010 \001(\01325.google.cloud.alloydb" + + ".v1.BatchCreateInstancesMetadataB\003\340A\003H\000\022T\n" + "\026upgrade_cluster_status\030\n" + " \001(\0132-.google.cloud.alloydb.v1.UpgradeClusterStatusB\003\340A\003H\000\0224\n" + "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" @@ -687,26 +692,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016status_message\030\005 \001(\tB\003\340A\003\022#\n" + "\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n" + "\013api_version\030\007 \001(\tB\003\340A\003B\022\n" - + "\020request_specific\"\331\006\n" + + "\020request_specific\"\251\t\n" + "\024UpgradeClusterStatus\022E\n" - + "\005state\030\001 \001(\01626.goo" - + "gle.cloud.alloydb.v1.UpgradeClusterResponse.Status\022\023\n" + + "\005state\030\001 \001(\01626.google.cloud.al" + + "loydb.v1.UpgradeClusterResponse.Status\022\023\n" + "\013cancellable\030\002 \001(\010\022@\n" + "\016source_version\030\003 \001(\0162(.google.cloud.alloydb.v1.DatabaseVersion\022@\n" + "\016target_version\030\004 \001(\0162(.google.cloud.alloydb.v1.DatabaseVersion\022I\n" - + "\006stages\030\005 \003(\01329.google.cloud.alloy" - + "db.v1.UpgradeClusterStatus.StageStatus\032\255\002\n" + + "\006stages\030\005" + + " \003(\01329.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus\032\375\004\n" + "\013StageStatus\022x\n" - + "\033read_pool_instances_upgrade\030\013 \001(\0132Q.google.cloud.alloydb.v1.Up" - + "gradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\000\022D\n" - + "\005stage\030\001 \001(\01625.google" - + ".cloud.alloydb.v1.UpgradeClusterResponse.Stage\022E\n" + + "\033read_pool_instances_upgrade\030\013 \001(\0132" + + "Q.google.cloud.alloydb.v1.UpgradeCluster" + + "Status.ReadPoolInstancesUpgradeStageStatusH\000\022D\n" + + "\005stage\030\001" + + " \001(\01625.google.cloud.alloydb.v1.UpgradeClusterResponse.Stage\022E\n" + "\005state\030\002" - + " \001(\01626.google.cloud.alloydb.v1.UpgradeClusterResponse.StatusB\027\n" + + " \001(\01626.google.cloud.alloydb.v1.UpgradeClusterResponse.Status\022^\n" + + "\010schedule\030\003 \001(\0132G.google.cloud.alloydb.v1.UpgradeClu" + + "sterStatus.StageStatus.StageScheduleB\003\340A\003\032\355\001\n\r" + + "StageSchedule\0228\n" + + "\024estimated_start_time\030\001 \001(\0132\032.google.protobuf.Timestamp\0225\n" + + "\021actual_start_time\030\002 \001(\0132\032.google.protobuf.Timestamp\0226\n" + + "\022estimated_end_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0223\n" + + "\017actual_end_time\030\004 \001(\0132\032.google.protobuf.TimestampB\027\n" + "\025stage_specific_status\032\345\001\n" + "#ReadPoolInstancesUpgradeStageStatus\022n\n\r" - + "upgrade_stats\030\001 \001(\0132W.google.cloud.alloydb.v1.UpgradeC" - + "lusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + + "upgrade_stats\030\001 \001(\0132W.google.cloud.alloydb.v1.Upgr" + + "adeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + "\005Stats\022\023\n" + "\013not_started\030\001 \001(\005\022\017\n" + "\007ongoing\030\002 \001(\005\022\017\n" @@ -754,191 +767,193 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tdatabases\030\001 \003(\0132!.google.cloud.alloydb.v1.Database\022\027\n" + "\017next_page_token\030\002 \001(\t2\324<\n" + "\014AlloyDBAdmin\022\252\001\n" - + "\014ListClusters\022,.google.cloud.alloydb.v1.ListClustersRequest\032-.google" - + ".cloud.alloydb.v1.ListClustersResponse\"=" - + "\332A\006parent\202\323\344\223\002.\022,/v1/{parent=projects/*/locations/*}/clusters\022\227\001\n\n" + + "\014ListClusters\022,.google.cloud.alloydb.v1.ListClustersRequest\032-.go" + + "ogle.cloud.alloydb.v1.ListClustersRespon" + + "se\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=projects/*/locations/*}/clusters\022\227\001\n\n" + "GetCluster\022*.google.cloud.alloydb.v1.GetClusterRequest\032" - + " .google.cloud.alloydb.v1.Cluster\";\332A\004n" - + "ame\202\323\344\223\002.\022,/v1/{name=projects/*/locations/*/clusters/*}\022\327\001\n\r" - + "CreateCluster\022-.goog" - + "le.cloud.alloydb.v1.CreateClusterRequest\032\035.google.longrunning.Operation\"x\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\031parent,cluste" - + "r,cluster_id\202\323\344\223\0027\",/v1/{parent=projects/*/locations/*}/clusters:\007cluster\022\331\001\n\r" - + "UpdateCluster\022-.google.cloud.alloydb.v1.Up" - + "dateClusterRequest\032\035.google.longrunning.Operation\"z\312A\034\n" - + "\007Cluster\022\021OperationMetada" - + "ta\332A\023cluster,update_mask\202\323\344\223\002?24/v1/{clu" - + "ster.name=projects/*/locations/*/clusters/*}:\007cluster\022\221\002\n\r" - + "ExportCluster\022-.google" - + ".cloud.alloydb.v1.ExportClusterRequest\032\035.google.longrunning.Operation\"\261\001\312A*\n" - + "\025ExportClusterResponse\022\021OperationMetadata\332AC" - + "name,gcs_destination,database,csv_export" - + "_options,sql_export_options\202\323\344\223\0028\"3/v1/{" - + "name=projects/*/locations/*/clusters/*}:export:\001*\022\350\001\n\r" - + "ImportCluster\022-.google.clo" - + "ud.alloydb.v1.ImportClusterRequest\032\035.google.longrunning.Operation\"\210\001\312A*\n" - + "\025ImportClusterResponse\022\021OperationMetadata\332A\032name" - + ",gcs_uri,database,user\202\323\344\223\0028\"3/v1/{name=" - + "projects/*/locations/*/clusters/*}:import:\001*\022\335\001\n" - + "\016UpgradeCluster\022..google.cloud.a" - + "lloydb.v1.UpgradeClusterRequest\032\035.google.longrunning.Operation\"|\312A+\n" - + "\026UpgradeClusterResponse\022\021OperationMetadata\332A\014name,ve" - + "rsion\202\323\344\223\002924/v1/{name=projects/*/locations/*/clusters/*}:upgrade:\001*\022\307\001\n\r" - + "DeleteCluster\022-.google.cloud.alloydb.v1.DeleteC" - + "lusterRequest\032\035.google.longrunning.Operation\"h\312A*\n" - + "\025google.protobuf.Empty\022\021Operat" - + "ionMetadata\332A\004name\202\323\344\223\002.*,/v1/{name=projects/*/locations/*/clusters/*}\022\306\001\n" - + "\016PromoteCluster\022..google.cloud.alloydb.v1.Prom" - + "oteClusterRequest\032\035.google.longrunning.Operation\"e\312A\034\n" - + "\007Cluster\022\021OperationMetadat" - + "a\332A\004name\202\323\344\223\0029\"4/v1/{name=projects/*/locations/*/clusters/*}:promote:\001*\022\317\001\n" - + "\021SwitchoverCluster\0221.google.cloud.alloydb.v1." - + "SwitchoverClusterRequest\032\035.google.longrunning.Operation\"h\312A\034\n" - + "\007Cluster\022\021Operation" - + "Metadata\332A\004name\202\323\344\223\002<\"7/v1/{name=project" - + "s/*/locations/*/clusters/*}:switchover:\001*\022\277\001\n" - + "\016RestoreCluster\022..google.cloud.allo" - + "ydb.v1.RestoreClusterRequest\032\035.google.longrunning.Operation\"^\312A\034\n" - + "\007Cluster\022\021Opera" - + "tionMetadata\202\323\344\223\0029\"4/v1/{parent=projects/*/locations/*}/clusters:restore:\001*\022\372\001\n" - + "\026CreateSecondaryCluster\0226.google.cloud.al" - + "loydb.v1.CreateSecondaryClusterRequest\032\035.google.longrunning.Operation\"\210\001\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\031parent,cluster" - + ",cluster_id\202\323\344\223\002G\" + * Output only. Timing information for the stage execution. + * + * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + boolean hasSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule getSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder(); + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSpecificStatusCase getStageSpecificStatusCase(); } @@ -188,37 +232,1830 @@ public static final class StageStatus extends com.google.protobuf.GeneratedMessa StageStatusOrBuilder { private static final long serialVersionUID = 0L; - // Use StageStatus.newBuilder() to construct. - private StageStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + // Use StageStatus.newBuilder() to construct. + private StageStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StageStatus() { + stage_ = 0; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.class, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.Builder.class); + } + + public interface StageScheduleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + boolean hasEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + com.google.protobuf.Timestamp getEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + boolean hasActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + com.google.protobuf.Timestamp getActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + boolean hasEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + com.google.protobuf.Timestamp getEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + boolean hasActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + com.google.protobuf.Timestamp getActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder(); + } + + /** + * + * + *
+     * Timing information for the stage execution.
+     * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class StageSchedule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) + StageScheduleOrBuilder { + private static final long serialVersionUID = 0L; + + // Use StageSchedule.newBuilder() to construct. + private StageSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StageSchedule() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageSchedule(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.class, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + .class); + } + + private int bitField0_; + public static final int ESTIMATED_START_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp estimatedStartTime_; + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedStartTime() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + public static final int ACTUAL_START_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp actualStartTime_; + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + @java.lang.Override + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualStartTime() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + public static final int ESTIMATED_END_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp estimatedEndTime_; + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedEndTime() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + public static final int ACTUAL_END_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp actualEndTime_; + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + @java.lang.Override + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualEndTime() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getActualEndTime()); + } + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActualEndTime()); + } + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule other = + (com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) obj; + + if (hasEstimatedStartTime() != other.hasEstimatedStartTime()) return false; + if (hasEstimatedStartTime()) { + if (!getEstimatedStartTime().equals(other.getEstimatedStartTime())) return false; + } + if (hasActualStartTime() != other.hasActualStartTime()) return false; + if (hasActualStartTime()) { + if (!getActualStartTime().equals(other.getActualStartTime())) return false; + } + if (hasEstimatedEndTime() != other.hasEstimatedEndTime()) return false; + if (hasEstimatedEndTime()) { + if (!getEstimatedEndTime().equals(other.getEstimatedEndTime())) return false; + } + if (hasActualEndTime() != other.hasActualEndTime()) return false; + if (hasActualEndTime()) { + if (!getActualEndTime().equals(other.getActualEndTime())) 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 (hasEstimatedStartTime()) { + hash = (37 * hash) + ESTIMATED_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedStartTime().hashCode(); + } + if (hasActualStartTime()) { + hash = (37 * hash) + ACTUAL_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualStartTime().hashCode(); + } + if (hasEstimatedEndTime()) { + hash = (37 * hash) + ESTIMATED_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedEndTime().hashCode(); + } + if (hasActualEndTime()) { + hash = (37 * hash) + ACTUAL_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule 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; + } + + /** + * + * + *
+       * Timing information for the stage execution.
+       * 
+ * + * Protobuf type {@code + * google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.class, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + .class); + } + + // Construct using + // com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEstimatedStartTimeFieldBuilder(); + getActualStartTimeFieldBuilder(); + getEstimatedEndTimeFieldBuilder(); + getActualEndTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule build() { + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + buildPartial() { + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule result = + new com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.estimatedStartTime_ = + estimatedStartTimeBuilder_ == null + ? estimatedStartTime_ + : estimatedStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actualStartTime_ = + actualStartTimeBuilder_ == null + ? actualStartTime_ + : actualStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.estimatedEndTime_ = + estimatedEndTimeBuilder_ == null + ? estimatedEndTime_ + : estimatedEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.actualEndTime_ = + actualEndTimeBuilder_ == null ? actualEndTime_ : actualEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + 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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) { + return mergeFrom( + (com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule other) { + if (other + == com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) return this; + if (other.hasEstimatedStartTime()) { + mergeEstimatedStartTime(other.getEstimatedStartTime()); + } + if (other.hasActualStartTime()) { + mergeActualStartTime(other.getActualStartTime()); + } + if (other.hasEstimatedEndTime()) { + mergeEstimatedEndTime(other.getEstimatedEndTime()); + } + if (other.hasActualEndTime()) { + mergeActualEndTime(other.getActualEndTime()); + } + 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( + getEstimatedStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getActualStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getEstimatedEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getActualEndTimeFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.protobuf.Timestamp estimatedStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedStartTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + public com.google.protobuf.Timestamp getEstimatedStartTime() { + if (estimatedStartTimeBuilder_ == null) { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } else { + return estimatedStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedStartTime_ = value; + } else { + estimatedStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTime_ = builderForValue.build(); + } else { + estimatedStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder mergeEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && estimatedStartTime_ != null + && estimatedStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedStartTimeBuilder().mergeFrom(value); + } else { + estimatedStartTime_ = value; + } + } else { + estimatedStartTimeBuilder_.mergeFrom(value); + } + if (estimatedStartTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder clearEstimatedStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedStartTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getEstimatedStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + if (estimatedStartTimeBuilder_ != null) { + return estimatedStartTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedStartTimeFieldBuilder() { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedStartTime(), getParentForChildren(), isClean()); + estimatedStartTime_ = null; + } + return estimatedStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualStartTimeBuilder_; + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + public com.google.protobuf.Timestamp getActualStartTime() { + if (actualStartTimeBuilder_ == null) { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } else { + return actualStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualStartTime_ = value; + } else { + actualStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualStartTimeBuilder_ == null) { + actualStartTime_ = builderForValue.build(); + } else { + actualStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder mergeActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && actualStartTime_ != null + && actualStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualStartTimeBuilder().mergeFrom(value); + } else { + actualStartTime_ = value; + } + } else { + actualStartTimeBuilder_.mergeFrom(value); + } + if (actualStartTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder clearActualStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getActualStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getActualStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + if (actualStartTimeBuilder_ != null) { + return actualStartTimeBuilder_.getMessageOrBuilder(); + } else { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualStartTimeFieldBuilder() { + if (actualStartTimeBuilder_ == null) { + actualStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualStartTime(), getParentForChildren(), isClean()); + actualStartTime_ = null; + } + return actualStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp estimatedEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedEndTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + public com.google.protobuf.Timestamp getEstimatedEndTime() { + if (estimatedEndTimeBuilder_ == null) { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } else { + return estimatedEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedEndTime_ = value; + } else { + estimatedEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTime_ = builderForValue.build(); + } else { + estimatedEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder mergeEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && estimatedEndTime_ != null + && estimatedEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedEndTimeBuilder().mergeFrom(value); + } else { + estimatedEndTime_ = value; + } + } else { + estimatedEndTimeBuilder_.mergeFrom(value); + } + if (estimatedEndTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder clearEstimatedEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEstimatedEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + if (estimatedEndTimeBuilder_ != null) { + return estimatedEndTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedEndTimeFieldBuilder() { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedEndTime(), getParentForChildren(), isClean()); + estimatedEndTime_ = null; + } + return estimatedEndTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualEndTimeBuilder_; + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + public com.google.protobuf.Timestamp getActualEndTime() { + if (actualEndTimeBuilder_ == null) { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } else { + return actualEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualEndTime_ = value; + } else { + actualEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualEndTimeBuilder_ == null) { + actualEndTime_ = builderForValue.build(); + } else { + actualEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder mergeActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && actualEndTime_ != null + && actualEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualEndTimeBuilder().mergeFrom(value); + } else { + actualEndTime_ = value; + } + } else { + actualEndTimeBuilder_.mergeFrom(value); + } + if (actualEndTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder clearActualEndTime() { + bitField0_ = (bitField0_ & ~0x00000008); + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getActualEndTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getActualEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + if (actualEndTimeBuilder_ != null) { + return actualEndTimeBuilder_.getMessageOrBuilder(); + } else { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualEndTimeFieldBuilder() { + if (actualEndTimeBuilder_ == null) { + actualEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualEndTime(), getParentForChildren(), isClean()); + actualEndTime_ = null; + } + return actualEndTimeBuilder_; + } + + @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.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule) + private static final com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus + .StageSchedule + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule(); + } + + public static com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private StageStatus() { - stage_ = 0; - state_ = 0; - } + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StageSchedule 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(); + } + }; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StageStatus(); - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpgradeClusterStatus_StageStatus_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.class, - com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.Builder.class); + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; private int stageSpecificStatusCase_ = 0; @SuppressWarnings("serial") @@ -413,6 +2250,69 @@ public com.google.cloud.alloydb.v1.UpgradeClusterResponse.Status getState() { : result; } + public static final int SCHEDULE_FIELD_NUMBER = 3; + private com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule_; + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + @java.lang.Override + public boolean hasSchedule() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + return schedule_ == null + ? com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder() { + return schedule_ == null + ? com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -437,6 +2337,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { output.writeMessage( 11, @@ -462,6 +2365,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -488,6 +2394,10 @@ public boolean equals(final java.lang.Object obj) { if (stage_ != other.stage_) return false; if (state_ != other.state_) return false; + if (hasSchedule() != other.hasSchedule()) return false; + if (hasSchedule()) { + if (!getSchedule().equals(other.getSchedule())) return false; + } if (!getStageSpecificStatusCase().equals(other.getStageSpecificStatusCase())) return false; switch (stageSpecificStatusCase_) { case 11: @@ -512,6 +2422,10 @@ public int hashCode() { hash = (53 * hash) + stage_; hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; + if (hasSchedule()) { + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + getSchedule().hashCode(); + } switch (stageSpecificStatusCase_) { case 11: hash = (37 * hash) + READ_POOL_INSTANCES_UPGRADE_FIELD_NUMBER; @@ -653,10 +2567,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.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) { + getScheduleFieldBuilder(); + } } @java.lang.Override @@ -668,6 +2591,11 @@ public Builder clear() { } stage_ = 0; state_ = 0; + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } stageSpecificStatusCase_ = 0; stageSpecificStatus_ = null; return this; @@ -715,6 +2643,12 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.schedule_ = scheduleBuilder_ == null ? schedule_ : scheduleBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs( @@ -781,6 +2715,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageS if (other.state_ != 0) { setStateValue(other.getStateValue()); } + if (other.hasSchedule()) { + mergeSchedule(other.getSchedule()); + } switch (other.getStageSpecificStatusCase()) { case READ_POOL_INSTANCES_UPGRADE: { @@ -830,6 +2767,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 16 + case 26: + { + input.readMessage(getScheduleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 case 90: { input.readMessage( @@ -1334,6 +3277,230 @@ public Builder clearState() { return this; } + private com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder> + scheduleBuilder_; + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + public boolean hasSchedule() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + if (scheduleBuilder_ == null) { + return schedule_ == null + ? com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } else { + return scheduleBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + schedule_ = value; + } else { + scheduleBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + builderForValue) { + if (scheduleBuilder_ == null) { + schedule_ = builderForValue.build(); + } else { + scheduleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeSchedule( + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && schedule_ != null + && schedule_ + != com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) { + getScheduleBuilder().mergeFrom(value); + } else { + schedule_ = value; + } + } else { + scheduleBuilder_.mergeFrom(value); + } + if (schedule_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000008); + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + getScheduleBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getScheduleFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder() { + if (scheduleBuilder_ != null) { + return scheduleBuilder_.getMessageOrBuilder(); + } else { + return schedule_ == null + ? com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule.Builder, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder> + getScheduleFieldBuilder() { + if (scheduleBuilder_ == null) { + scheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder>(getSchedule(), getParentForChildren(), isClean()); + schedule_ = null; + } + return scheduleBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto index 64d607ebcddd..03f7bc192743 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto @@ -42,6 +42,14 @@ option (google.api.resource_definition) = { type: "compute.googleapis.com/Network" pattern: "projects/{project}/global/networks/{network}" }; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" +}; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/ServiceAttachment" + pattern: "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}" +}; // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. @@ -92,6 +100,9 @@ enum DatabaseVersion { // The database version is Postgres 16. POSTGRES_16 = 4; + + // The database version is Postgres 17. + POSTGRES_17 = 5; } // Subscription_type added to distinguish between Standard and Trial @@ -150,7 +161,9 @@ message EncryptionConfig { // The fully-qualified resource name of the KMS key. // Each Cloud KMS key is regionalized and has the following format: // projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] - string kms_key_name = 1; + string kms_key_name = 1 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // EncryptionInfo describes the encryption information of a cluster or a backup. @@ -495,7 +508,9 @@ message Cluster { message SecondaryConfig { // The name of the primary cluster name with the format: // * projects/{project}/locations/{region}/clusters/{cluster_id} - string primary_cluster_name = 1; + string primary_cluster_name = 1 [(google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + }]; } // Configuration for the primary cluster. It has the list of clusters that are @@ -504,8 +519,12 @@ message Cluster { message PrimaryConfig { // Output only. Names of the clusters that are replicating from this // cluster. - repeated string secondary_cluster_names = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string secondary_cluster_names = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + } + ]; } // PscConfig contains PSC related configuration at a cluster level. @@ -543,11 +562,8 @@ message Cluster { // The cluster is active and running. READY = 1; - // The cluster is stopped. All instances in the cluster are stopped. - // Customers can start a stopped cluster at any point and all their - // instances will come back to life with same names and IP resources. In - // this state, customer pays for storage. - // Associated backups could also be present in a stopped cluster. + // This is unused. Even when all instances in the cluster are stopped, the + // cluster remains in READY state. STOPPED = 2; // The cluster is empty and has no associated resources. @@ -942,8 +958,12 @@ message Instance { // Service Connect (PSC) is enabled for the instance. // The name of the resource will be in the format of // `projects//regions//serviceAttachments/` - string service_attachment_link = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + string service_attachment_link = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "compute.googleapis.com/ServiceAttachment" + } + ]; // Optional. List of consumer projects that are allowed to create // PSC endpoints to service-attachments to this instance. @@ -1008,6 +1028,18 @@ message Instance { [(google.api.field_behavior) = OPTIONAL]; } + // Configuration for Managed Connection Pool (MCP). + message ConnectionPoolConfig { + // Optional. Whether to enable Managed Connection Pool (MCP). + bool enabled = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Connection Pool flags, as a list of "key": "value" pairs. + map flags = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The number of running poolers per instance. + int32 pooler_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Instance State enum State { // The state of the instance is unknown. @@ -1246,6 +1278,10 @@ message Instance { // etc.). Please refer to the API documentation for more details. ActivationPolicy activation_policy = 35 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration for Managed Connection Pool (MCP). + ConnectionPoolConfig connection_pool_config = 37 + [(google.api.field_behavior) = OPTIONAL]; } // ConnectionInfo singleton resource. @@ -1634,13 +1670,38 @@ message Database { // `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`. string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Optional. Charset for the database. + // Optional. Immutable. Charset for the database. // This field can contain any PostgreSQL supported charset name. // Example values include "UTF8", "SQL_ASCII", etc. - string charset = 2 [(google.api.field_behavior) = OPTIONAL]; + string charset = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; - // Optional. Collation for the database. - // Name of the custom or native collation for postgres. - // Example values include "C", "POSIX", etc - string collation = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Immutable. lc_collate for the database. + // String sort order. + // Example values include "C", "POSIX", etc. + string collation = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Immutable. lc_ctype for the database. + // Character classification (What is a letter? The upper-case equivalent?). + // Example values include "C", "POSIX", etc. + string character_type = 4 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Input only. Immutable. Template of the database to be used for creating a + // new database. + string database_template = 6 [ + (google.api.field_behavior) = INPUT_ONLY, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Whether the database is a template database. + optional bool is_template_database = 7 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto index 646e5c9f556a..140ec0fc0596 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto @@ -1606,6 +1606,10 @@ message ExecuteSqlRequest { // Required. SQL statement to execute on database. Any valid statement is // permitted, including DDL, DML, DQL statements. string sql_statement = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If set, validates the sql statement by performing + // syntax and semantic validation and doesn't execute the query. + bool validate_only = 6 [(google.api.field_behavior) = OPTIONAL]; } // Execute a SQL statement response. @@ -1976,6 +1980,23 @@ message OperationMetadata { message UpgradeClusterStatus { // Status of an upgrade stage. message StageStatus { + // Timing information for the stage execution. + message StageSchedule { + // When the stage is expected to start. Set only if the stage has not + // started yet. + google.protobuf.Timestamp estimated_start_time = 1; + + // Actual start time of the stage. Set only if the stage has started. + google.protobuf.Timestamp actual_start_time = 2; + + // When the stage is expected to end. Set only if the stage has not + // completed yet. + google.protobuf.Timestamp estimated_end_time = 3; + + // Actual end time of the stage. Set only if the stage has completed. + google.protobuf.Timestamp actual_end_time = 4; + } + // Stage specific status information, if any. oneof stage_specific_status { // Read pool instances upgrade metadata. @@ -1987,6 +2008,9 @@ message UpgradeClusterStatus { // State of this stage. UpgradeClusterResponse.Status state = 2; + + // Output only. Timing information for the stage execution. + StageSchedule schedule = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Read pool instances upgrade specific status. @@ -2173,7 +2197,7 @@ message DeleteUserRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Message for requesting list of Databases. +// Message for ListDatabases request. message ListDatabasesRequest { // Required. Parent value for ListDatabasesRequest. string parent = 1 [ @@ -2199,9 +2223,9 @@ message ListDatabasesRequest { string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Message for response to listing Databases. +// Message for ListDatabases response. message ListDatabasesResponse { - // The list of databases + // The list of databases. repeated Database databases = 1; // A token identifying the next page of results the server should return. diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java index 92b69d89a39c..3216e5fa988f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java @@ -125,11 +125,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -238,11 +235,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -1586,7 +1580,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1600,7 +1594,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -1666,7 +1660,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1691,7 +1685,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2067,7 +2061,7 @@ public Builder mergeFrom( * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -2091,7 +2085,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2115,7 +2109,7 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The primaryClusterName to set. * @return This builder for chaining. @@ -2138,7 +2132,7 @@ public Builder setPrimaryClusterName(java.lang.String value) { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -2157,7 +2151,7 @@ public Builder clearPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. @@ -2251,7 +2245,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2267,7 +2261,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2283,7 +2277,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2300,7 +2294,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2371,7 +2365,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2389,7 +2383,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2407,7 +2401,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2426,7 +2420,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2822,7 +2816,7 @@ private void ensureSecondaryClusterNamesIsMutable() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2841,7 +2835,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2859,7 +2853,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2878,7 +2872,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2897,7 +2891,7 @@ public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index to set the value at. @@ -2924,7 +2918,7 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The secondaryClusterNames to add. @@ -2950,7 +2944,7 @@ public Builder addSecondaryClusterNames(java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param values The secondaryClusterNames to add. @@ -2973,7 +2967,7 @@ public Builder addAllSecondaryClusterNames(java.lang.Iterable * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -2995,7 +2989,7 @@ public Builder clearSecondaryClusterNames() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes of the secondaryClusterNames to add. @@ -6324,7 +6318,7 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() *
* * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The network. */ @java.lang.Override @@ -6357,7 +6351,7 @@ public java.lang.String getNetwork() { *
* * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Override @@ -6713,7 +6707,7 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -6732,7 +6726,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Override @@ -7366,7 +7360,7 @@ public com.google.cloud.alloydb.v1alpha.MaintenanceSchedule getMaintenanceSchedu *
* * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -7388,7 +7382,7 @@ public boolean hasGeminiConfig() { *
* * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Override @@ -7664,10 +7658,10 @@ public java.lang.String getTagsOrThrow(java.lang.String key) { * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -7691,10 +7685,10 @@ public java.lang.String getServiceAccountEmail() { * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -11676,7 +11670,7 @@ public Builder clearNetworkConfig() { *
* * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The network. */ @java.lang.Deprecated @@ -11708,7 +11702,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Deprecated @@ -11740,7 +11734,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @param value The network to set. * @return This builder for chaining. */ @@ -11771,7 +11765,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11798,7 +11792,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -12684,7 +12678,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -12702,7 +12696,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Deprecated @@ -15001,7 +14995,7 @@ public Builder clearMaintenanceSchedule() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -15022,7 +15016,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Deprecated @@ -15768,10 +15762,10 @@ public Builder putAllTags(java.util.Map valu * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15794,10 +15788,10 @@ public java.lang.String getServiceAccountEmail() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15820,10 +15814,10 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15845,10 +15839,10 @@ public Builder setServiceAccountEmail(java.lang.String value) { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15866,10 +15860,10 @@ public Builder clearServiceAccountEmail() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java index 0fd69634a209..ba2200202fe3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java @@ -570,7 +570,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The network. */ @java.lang.Deprecated @@ -592,7 +592,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=659 + * google/cloud/alloydb/v1alpha/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Deprecated @@ -826,7 +826,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=694 + * google/cloud/alloydb/v1alpha/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Deprecated @@ -1303,7 +1303,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1322,7 +1322,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=744 + * google/cloud/alloydb/v1alpha/resources.proto;l=760 * @return The geminiConfig. */ @java.lang.Deprecated @@ -1518,10 +1518,10 @@ java.lang.String getTagsOrDefault( * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1534,10 +1534,10 @@ java.lang.String getTagsOrDefault( * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java index 5ca645bf0f47..53dc7b73df1e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java @@ -264,7 +264,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -285,7 +285,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -306,7 +306,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -328,7 +328,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1317,7 +1317,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1339,7 +1339,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1360,7 +1360,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1382,7 +1382,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1404,7 +1404,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1434,7 +1434,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1463,7 +1463,7 @@ public Builder addPemCertificateChain(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1489,7 +1489,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterable va * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1514,7 +1514,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java index de041b83c52d..e7a9826e0062 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java @@ -131,7 +131,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -189,7 +189,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1360 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1374 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequest.java new file mode 100644 index 000000000000..d0d242358221 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequest.java @@ -0,0 +1,1153 @@ +/* + * 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/alloydb/v1alpha/service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.alloydb.v1alpha; + +/** + * + * + *
+ * Message for CreateDatabase request.
+ * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateDatabaseRequest} + */ +public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateDatabaseRequest) + CreateDatabaseRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use CreateDatabaseRequest.newBuilder() to construct. + private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateDatabaseRequest() { + parent_ = ""; + databaseId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateDatabaseRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.class, + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 DATABASE_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object databaseId_ = ""; + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + @java.lang.Override + public java.lang.String getDatabaseId() { + java.lang.Object ref = databaseId_; + 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(); + databaseId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseIdBytes() { + java.lang.Object ref = databaseId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_FIELD_NUMBER = 3; + private com.google.cloud.alloydb.v1alpha.Database database_; + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + @java.lang.Override + public boolean hasDatabase() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Database getDatabase() { + return database_ == null + ? com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance() + : database_; + } + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder getDatabaseOrBuilder() { + return database_ == null + ? com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance() + : database_; + } + + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, databaseId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getDatabase()); + } + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, databaseId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatabase()); + } + 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.alloydb.v1alpha.CreateDatabaseRequest)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest other = + (com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (hasDatabase() != other.hasDatabase()) return false; + if (hasDatabase()) { + if (!getDatabase().equals(other.getDatabase())) 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(); + hash = (37 * hash) + DATABASE_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseId().hashCode(); + if (hasDatabase()) { + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest 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; + } + + /** + * + * + *
+   * Message for CreateDatabase request.
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateDatabaseRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateDatabaseRequest) + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.class, + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.Builder.class); + } + + // Construct using com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDatabaseFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + databaseId_ = ""; + database_ = null; + if (databaseBuilder_ != null) { + databaseBuilder_.dispose(); + databaseBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest build() { + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest buildPartial() { + com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest result = + new com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.databaseId_ = databaseId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.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.cloud.alloydb.v1alpha.CreateDatabaseRequest) { + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest other) { + if (other == com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDatabaseId().isEmpty()) { + databaseId_ = other.databaseId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasDatabase()) { + mergeDatabase(other.getDatabase()); + } + 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: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getDatabaseFieldBuilder().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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 java.lang.Object databaseId_ = ""; + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + public java.lang.String getDatabaseId() { + java.lang.Object ref = databaseId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + public com.google.protobuf.ByteString getDatabaseIdBytes() { + java.lang.Object ref = databaseId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The databaseId to set. + * @return This builder for chaining. + */ + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + databaseId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDatabaseId() { + databaseId_ = getDefaultInstance().getDatabaseId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for databaseId to set. + * @return This builder for chaining. + */ + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.alloydb.v1alpha.Database database_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Database, + com.google.cloud.alloydb.v1alpha.Database.Builder, + com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder> + databaseBuilder_; + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + public boolean hasDatabase() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + public com.google.cloud.alloydb.v1alpha.Database getDatabase() { + if (databaseBuilder_ == null) { + return database_ == null + ? com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance() + : database_; + } else { + return databaseBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDatabase(com.google.cloud.alloydb.v1alpha.Database value) { + if (databaseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + database_ = value; + } else { + databaseBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDatabase(com.google.cloud.alloydb.v1alpha.Database.Builder builderForValue) { + if (databaseBuilder_ == null) { + database_ = builderForValue.build(); + } else { + databaseBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDatabase(com.google.cloud.alloydb.v1alpha.Database value) { + if (databaseBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && database_ != null + && database_ != com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance()) { + getDatabaseBuilder().mergeFrom(value); + } else { + database_ = value; + } + } else { + databaseBuilder_.mergeFrom(value); + } + if (database_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDatabase() { + bitField0_ = (bitField0_ & ~0x00000004); + database_ = null; + if (databaseBuilder_ != null) { + databaseBuilder_.dispose(); + databaseBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.alloydb.v1alpha.Database.Builder getDatabaseBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getDatabaseFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder getDatabaseOrBuilder() { + if (databaseBuilder_ != null) { + return databaseBuilder_.getMessageOrBuilder(); + } else { + return database_ == null + ? com.google.cloud.alloydb.v1alpha.Database.getDefaultInstance() + : database_; + } + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Database, + com.google.cloud.alloydb.v1alpha.Database.Builder, + com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder> + getDatabaseFieldBuilder() { + if (databaseBuilder_ == null) { + databaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Database, + com.google.cloud.alloydb.v1alpha.Database.Builder, + com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder>( + getDatabase(), getParentForChildren(), isClean()); + database_ = null; + } + return databaseBuilder_; + } + + @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.alloydb.v1alpha.CreateDatabaseRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateDatabaseRequest) + private static final com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest(); + } + + public static com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseRequest 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.alloydb.v1alpha.CreateDatabaseRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequestOrBuilder.java new file mode 100644 index 000000000000..46855335e468 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateDatabaseRequestOrBuilder.java @@ -0,0 +1,125 @@ +/* + * 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/alloydb/v1alpha/service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.alloydb.v1alpha; + +public interface CreateDatabaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + java.lang.String getDatabaseId(); + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + com.google.protobuf.ByteString getDatabaseIdBytes(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + boolean hasDatabase(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + com.google.cloud.alloydb.v1alpha.Database getDatabase(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder getDatabaseOrBuilder(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java index 87b15e891b81..ba9e7a42fb01 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java @@ -43,6 +43,8 @@ private Database() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + databaseTemplate_ = ""; } @java.lang.Override @@ -66,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.alloydb.v1alpha.Database.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -130,12 +133,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -156,12 +161,14 @@ public java.lang.String getCharset() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -187,12 +194,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -213,12 +222,14 @@ public java.lang.String getCollation() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -235,6 +246,184 @@ public com.google.protobuf.ByteString getCollationBytes() { } } + public static final int CHARACTER_TYPE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object characterType_ = ""; + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + @java.lang.Override + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + 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(); + characterType_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_TEMPLATE_FIELD_NUMBER = 5; + private boolean isTemplate_ = false; + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * Deprecated in favor of is_template_database.
+   * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=1767 + * @return The isTemplate. + */ + @java.lang.Override + @java.lang.Deprecated + public boolean getIsTemplate() { + return isTemplate_; + } + + public static final int DATABASE_TEMPLATE_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + @java.lang.Override + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + 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(); + databaseTemplate_ = s; + return s; + } + } + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_TEMPLATE_DATABASE_FIELD_NUMBER = 7; + private boolean isTemplateDatabase_ = false; + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -258,6 +447,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, characterType_); + } + if (isTemplate_ != false) { + output.writeBool(5, isTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(7, isTemplateDatabase_); + } getUnknownFields().writeTo(output); } @@ -276,6 +477,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, characterType_); + } + if (isTemplate_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isTemplateDatabase_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -295,6 +508,13 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getCharset().equals(other.getCharset())) return false; if (!getCollation().equals(other.getCollation())) return false; + if (!getCharacterType().equals(other.getCharacterType())) return false; + if (getIsTemplate() != other.getIsTemplate()) return false; + if (!getDatabaseTemplate().equals(other.getDatabaseTemplate())) return false; + if (hasIsTemplateDatabase() != other.hasIsTemplateDatabase()) return false; + if (hasIsTemplateDatabase()) { + if (getIsTemplateDatabase() != other.getIsTemplateDatabase()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -312,6 +532,16 @@ public int hashCode() { hash = (53 * hash) + getCharset().hashCode(); hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); + hash = (37 * hash) + CHARACTER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getCharacterType().hashCode(); + hash = (37 * hash) + IS_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTemplate()); + hash = (37 * hash) + DATABASE_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseTemplate().hashCode(); + if (hasIsTemplateDatabase()) { + hash = (37 * hash) + IS_TEMPLATE_DATABASE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTemplateDatabase()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -455,6 +685,10 @@ public Builder clear() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + isTemplate_ = false; + databaseTemplate_ = ""; + isTemplateDatabase_ = false; return this; } @@ -500,6 +734,21 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Database result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.collation_ = collation_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.characterType_ = characterType_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.isTemplate_ = isTemplate_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.databaseTemplate_ = databaseTemplate_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.isTemplateDatabase_ = isTemplateDatabase_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -562,6 +811,22 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Database other) { bitField0_ |= 0x00000004; onChanged(); } + if (!other.getCharacterType().isEmpty()) { + characterType_ = other.characterType_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getIsTemplate() != false) { + setIsTemplate(other.getIsTemplate()); + } + if (!other.getDatabaseTemplate().isEmpty()) { + databaseTemplate_ = other.databaseTemplate_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasIsTemplateDatabase()) { + setIsTemplateDatabase(other.getIsTemplateDatabase()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -606,6 +871,30 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + characterType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + isTemplate_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + databaseTemplate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + isTemplateDatabase_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -747,12 +1036,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -772,12 +1063,14 @@ public java.lang.String getCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -797,12 +1090,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The charset to set. * @return This builder for chaining. @@ -821,12 +1116,14 @@ public Builder setCharset(java.lang.String value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -841,12 +1138,14 @@ public Builder clearCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for charset to set. * @return This builder for chaining. @@ -868,12 +1167,14 @@ public Builder setCharsetBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -893,12 +1194,14 @@ public java.lang.String getCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -918,12 +1221,14 @@ public com.google.protobuf.ByteString getCollationBytes() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The collation to set. * @return This builder for chaining. @@ -942,12 +1247,14 @@ public Builder setCollation(java.lang.String value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -962,12 +1269,14 @@ public Builder clearCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for collation to set. * @return This builder for chaining. @@ -983,6 +1292,410 @@ public Builder setCollationBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object characterType_ = ""; + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + characterType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearCharacterType() { + characterType_ = getDefaultInstance().getCharacterType(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private boolean isTemplate_; + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=1767 + * @return The isTemplate. + */ + @java.lang.Override + @java.lang.Deprecated + public boolean getIsTemplate() { + return isTemplate_; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=1767 + * @param value The isTemplate to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder setIsTemplate(boolean value) { + + isTemplate_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=1767 + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder clearIsTemplate() { + bitField0_ = (bitField0_ & ~0x00000010); + isTemplate_ = false; + onChanged(); + return this; + } + + private java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + databaseTemplate_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearDatabaseTemplate() { + databaseTemplate_ = getDefaultInstance().getDatabaseTemplate(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseTemplate_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean isTemplateDatabase_; + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The isTemplateDatabase to set. + * @return This builder for chaining. + */ + public Builder setIsTemplateDatabase(boolean value) { + + isTemplateDatabase_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIsTemplateDatabase() { + bitField0_ = (bitField0_ & ~0x00000040); + isTemplateDatabase_ = 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-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java index 85d6203fe67d..74e8622726e7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java @@ -56,12 +56,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -71,12 +73,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -86,12 +90,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -101,14 +107,125 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ com.google.protobuf.ByteString getCollationBytes(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + java.lang.String getCharacterType(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + com.google.protobuf.ByteString getCharacterTypeBytes(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * Deprecated in favor of is_template_database.
+   * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=1767 + * @return The isTemplate. + */ + @java.lang.Deprecated + boolean getIsTemplate(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + java.lang.String getDatabaseTemplate(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + com.google.protobuf.ByteString getDatabaseTemplateBytes(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + boolean hasIsTemplateDatabase(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + boolean getIsTemplateDatabase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java index c313a4adf5a4..b4b711378308 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java @@ -80,6 +80,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_16 = 4; */ POSTGRES_16(4), + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + POSTGRES_17(5), UNRECOGNIZED(-1), ; @@ -138,6 +148,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_16_VALUE = 4; + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + public static final int POSTGRES_17_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,6 +193,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_15; case 4: return POSTGRES_16; + case 5: + return POSTGRES_17; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java index 19964a3beaa0..3e71dd8edff6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java @@ -79,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -105,7 +105,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -477,7 +477,7 @@ public Builder mergeFrom( * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -502,7 +502,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -527,7 +527,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The kmsKeyName to set. * @return This builder for chaining. @@ -551,7 +551,7 @@ public Builder setKmsKeyName(java.lang.String value) { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -571,7 +571,7 @@ public Builder clearKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java index 0c2b2ebbcbea..2d0b4ced08e4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -48,7 +48,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequest.java index 9d2e2646a708..62a42e8693fc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequest.java @@ -415,6 +415,26 @@ public com.google.protobuf.ByteString getSqlStatementBytes() { } } + public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; + private boolean validateOnly_ = false; + + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -444,6 +464,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (userCredentialCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userCredential_); } + if (validateOnly_ != false) { + output.writeBool(6, validateOnly_); + } getUnknownFields().writeTo(output); } @@ -468,6 +491,9 @@ public int getSerializedSize() { if (userCredentialCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userCredential_); } + if (validateOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -488,6 +514,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDatabase().equals(other.getDatabase())) return false; if (!getUser().equals(other.getUser())) return false; if (!getSqlStatement().equals(other.getSqlStatement())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUserCredentialCase().equals(other.getUserCredentialCase())) return false; switch (userCredentialCase_) { case 5: @@ -515,6 +542,8 @@ public int hashCode() { hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + SQL_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + getSqlStatement().hashCode(); + hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); switch (userCredentialCase_) { case 5: hash = (37 * hash) + PASSWORD_FIELD_NUMBER; @@ -667,6 +696,7 @@ public Builder clear() { database_ = ""; user_ = ""; sqlStatement_ = ""; + validateOnly_ = false; userCredentialCase_ = 0; userCredential_ = null; return this; @@ -718,6 +748,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ExecuteSqlRequest re if (((from_bitField0_ & 0x00000010) != 0)) { result.sqlStatement_ = sqlStatement_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.validateOnly_ = validateOnly_; + } } private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.ExecuteSqlRequest result) { @@ -791,6 +824,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ExecuteSqlRequest othe bitField0_ |= 0x00000010; onChanged(); } + if (other.getValidateOnly() != false) { + setValidateOnly(other.getValidateOnly()); + } switch (other.getUserCredentialCase()) { case PASSWORD: { @@ -861,6 +897,12 @@ public Builder mergeFrom( userCredential_ = s; break; } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1517,6 +1559,65 @@ public Builder setSqlStatementBytes(com.google.protobuf.ByteString value) { return this; } + private boolean validateOnly_; + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The validateOnly to set. + * @return This builder for chaining. + */ + public Builder setValidateOnly(boolean value) { + + validateOnly_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearValidateOnly() { + bitField0_ = (bitField0_ & ~0x00000020); + validateOnly_ = 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-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequestOrBuilder.java index b43ba530aad8..c331304fdd1e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ExecuteSqlRequestOrBuilder.java @@ -183,5 +183,19 @@ public interface ExecuteSqlRequestOrBuilder */ com.google.protobuf.ByteString getSqlStatementBytes(); + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + boolean getValidateOnly(); + com.google.cloud.alloydb.v1alpha.ExecuteSqlRequest.UserCredentialCase getUserCredentialCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java index 15fcab8c1216..addd9cea77f3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java @@ -222,7 +222,7 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Override @@ -1208,7 +1208,7 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Deprecated @@ -1235,7 +1235,7 @@ public java.lang.String getPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public com.google.protobuf.ByteString getPemCsrBytes() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @param value The pemCsr to set. * @return This builder for chaining. */ @@ -1288,7 +1288,7 @@ public Builder setPemCsr(java.lang.String value) { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ public Builder clearPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java index 1dd75e2deffb..e983b7369b7e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java @@ -117,7 +117,7 @@ public interface GenerateClientCertificateRequestOrBuilder * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Deprecated @@ -134,7 +134,7 @@ public interface GenerateClientCertificateRequestOrBuilder * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java index d9ca7e0aeeab..f59181f5d01d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getPemCertificate() { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Override @@ -687,7 +687,7 @@ public Builder mergeFrom( * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Deprecated @@ -715,7 +715,7 @@ public java.lang.String getPemCertificate() { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Deprecated @@ -743,7 +743,7 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @param value The pemCertificate to set. * @return This builder for chaining. */ @@ -770,7 +770,7 @@ public Builder setPemCertificate(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return This builder for chaining. */ @java.lang.Deprecated @@ -793,7 +793,7 @@ public Builder clearPemCertificate() { * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java index 08f18b5e4ef5..b00d53a0290f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java @@ -36,7 +36,7 @@ public interface GenerateClientCertificateResponseOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GenerateClientCertificateResponseOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java index 4fd9f02d1ab2..c95bc2dca704 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java @@ -11068,7 +11068,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -11084,7 +11086,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -11403,7 +11407,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -11430,7 +11436,9 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -12352,7 +12360,8 @@ public Builder mergeFrom( * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The serviceAttachmentLink. @@ -12379,7 +12388,8 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The bytes for serviceAttachmentLink. @@ -12406,7 +12416,8 @@ public com.google.protobuf.ByteString getServiceAttachmentLinkBytes() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The serviceAttachmentLink to set. @@ -12432,7 +12443,8 @@ public Builder setServiceAttachmentLink(java.lang.String value) { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -12454,7 +12466,8 @@ public Builder clearServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes for serviceAttachmentLink to set. @@ -16416,6 +16429,82 @@ public interface ConnectionPoolConfigOrBuilder * @return The enabled. */ boolean getEnabled(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getFlagsCount(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsFlags(java.lang.String key); + + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFlags(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getFlagsMap(); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getFlagsOrThrow(java.lang.String key); + + /** + * + * + *
+     * Output only. The number of running poolers per instance.
+     * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + int getPoolerCount(); } /** @@ -16451,6 +16540,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -16461,184 +16562,149 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.Builder.class); } + public static final int ENABLED_FIELD_NUMBER = 12; + private boolean enabled_ = false; + /** * * *
-     * The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
+     * Optional. Whether to enable Managed Connection Pool (MCP).
      * 
* - * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.PoolMode} + * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enabled. */ - public enum PoolMode implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-       * The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.
-       * 
- * - * POOL_MODE_UNSPECIFIED = 0; - */ - POOL_MODE_UNSPECIFIED(0), - /** - * - * - *
-       * Server is released back to pool after a client disconnects.
-       * 
- * - * POOL_MODE_SESSION = 1; - */ - POOL_MODE_SESSION(1), - /** - * - * - *
-       * Server is released back to pool after a transaction finishes.
-       * 
- * - * POOL_MODE_TRANSACTION = 2; - */ - POOL_MODE_TRANSACTION(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-       * The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.
-       * 
- * - * POOL_MODE_UNSPECIFIED = 0; - */ - public static final int POOL_MODE_UNSPECIFIED_VALUE = 0; + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } - /** - * - * - *
-       * Server is released back to pool after a client disconnects.
-       * 
- * - * POOL_MODE_SESSION = 1; - */ - public static final int POOL_MODE_SESSION_VALUE = 1; + public static final int FLAGS_FIELD_NUMBER = 13; - /** - * - * - *
-       * Server is released back to pool after a transaction finishes.
-       * 
- * - * POOL_MODE_TRANSACTION = 2; - */ - public static final int POOL_MODE_TRANSACTION_VALUE = 2; + private static final class FlagsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } + @SuppressWarnings("serial") + private com.google.protobuf.MapField flags_; - /** - * @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 PoolMode valueOf(int value) { - return forNumber(value); + private com.google.protobuf.MapField internalGetFlags() { + if (flags_ == null) { + return com.google.protobuf.MapField.emptyMapField(FlagsDefaultEntryHolder.defaultEntry); } + return flags_; + } - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static PoolMode forNumber(int value) { - switch (value) { - case 0: - return POOL_MODE_UNSPECIFIED; - case 1: - return POOL_MODE_SESSION; - case 2: - return POOL_MODE_TRANSACTION; - default: - return null; - } - } + public int getFlagsCount() { + return internalGetFlags().getMap().size(); + } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); } + return internalGetFlags().getMap().containsKey(key); + } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PoolMode findValueByNumber(int number) { - return PoolMode.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()); - } + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlags() { + return getFlagsMap(); + } - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getFlagsMap() { + return internalGetFlags().getMap(); + } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.getDescriptor() - .getEnumTypes() - .get(0); + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public /* nullable */ java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); } + java.util.Map map = internalGetFlags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } - private static final PoolMode[] VALUES = values(); - - public static PoolMode 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()]; + /** + * + * + *
+     * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+     * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getFlagsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); } - - private final int value; - - private PoolMode(int value) { - this.value = value; + java.util.Map map = internalGetFlags().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); } - - // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig.PoolMode) + return map.get(key); } - public static final int ENABLED_FIELD_NUMBER = 12; - private boolean enabled_ = false; + public static final int POOLER_COUNT_FIELD_NUMBER = 14; + private int poolerCount_ = 0; /** * * *
-     * Optional. Whether to enable Managed Connection Pool (MCP).
+     * Output only. The number of running poolers per instance.
      * 
* - * bool enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The enabled. + * @return The poolerCount. */ @java.lang.Override - public boolean getEnabled() { - return enabled_; + public int getPoolerCount() { + return poolerCount_; } private byte memoizedIsInitialized = -1; @@ -16658,6 +16724,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enabled_ != false) { output.writeBool(12, enabled_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFlags(), FlagsDefaultEntryHolder.defaultEntry, 13); + if (poolerCount_ != 0) { + output.writeInt32(14, poolerCount_); + } getUnknownFields().writeTo(output); } @@ -16670,6 +16741,19 @@ public int getSerializedSize() { if (enabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, enabled_); } + for (java.util.Map.Entry entry : + internalGetFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry flags__ = + FlagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, flags__); + } + if (poolerCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, poolerCount_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -16687,6 +16771,8 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfig) obj; if (getEnabled() != other.getEnabled()) return false; + if (!internalGetFlags().equals(other.internalGetFlags())) return false; + if (getPoolerCount() != other.getPoolerCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -16700,6 +16786,12 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + if (!internalGetFlags().getMap().isEmpty()) { + hash = (37 * hash) + FLAGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFlags().hashCode(); + } + hash = (37 * hash) + POOLER_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPoolerCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -16822,6 +16914,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 13: + return internalGetMutableFlags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -16844,6 +16958,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; enabled_ = false; + internalGetMutableFlags().clear(); + poolerCount_ = 0; return this; } @@ -16885,6 +17001,13 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000001) != 0)) { result.enabled_ = enabled_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flags_ = internalGetFlags(); + result.flags_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.poolerCount_ = poolerCount_; + } } @java.lang.Override @@ -16940,6 +17063,11 @@ public Builder mergeFrom( if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } + internalGetMutableFlags().mergeFrom(other.internalGetFlags()); + bitField0_ |= 0x00000002; + if (other.getPoolerCount() != 0) { + setPoolerCount(other.getPoolerCount()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -16972,6 +17100,24 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 96 + case 106: + { + com.google.protobuf.MapEntry flags__ = + input.readMessage( + FlagsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableFlags() + .getMutableMap() + .put(flags__.getKey(), flags__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 106 + case 112: + { + poolerCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 112 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -17047,6 +17193,241 @@ public Builder clearEnabled() { return this; } + private com.google.protobuf.MapField flags_; + + private com.google.protobuf.MapField internalGetFlags() { + if (flags_ == null) { + return com.google.protobuf.MapField.emptyMapField(FlagsDefaultEntryHolder.defaultEntry); + } + return flags_; + } + + private com.google.protobuf.MapField + internalGetMutableFlags() { + if (flags_ == null) { + flags_ = com.google.protobuf.MapField.newMapField(FlagsDefaultEntryHolder.defaultEntry); + } + if (!flags_.isMutable()) { + flags_ = flags_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return flags_; + } + + public int getFlagsCount() { + return internalGetFlags().getMap().size(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFlags().getMap().containsKey(key); + } + + /** Use {@link #getFlagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlags() { + return getFlagsMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getFlagsMap() { + return internalGetFlags().getMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getFlagsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getFlagsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlags().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableFlags().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeFlags(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFlags().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFlags() { + bitField0_ |= 0x00000002; + return internalGetMutableFlags().getMutableMap(); + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putFlags(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableFlags().getMutableMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + + /** + * + * + *
+       * Optional. Connection Pool flags, as a list of "key": "value" pairs.
+       * 
+ * + * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllFlags(java.util.Map values) { + internalGetMutableFlags().getMutableMap().putAll(values); + bitField0_ |= 0x00000002; + return this; + } + + private int poolerCount_; + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + @java.lang.Override + public int getPoolerCount() { + return poolerCount_; + } + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The poolerCount to set. + * @return This builder for chaining. + */ + public Builder setPoolerCount(int value) { + + poolerCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearPoolerCount() { + bitField0_ = (bitField0_ & ~0x00000004); + poolerCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18920,7 +19301,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig getNetwor *
* * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -18942,7 +19323,7 @@ public boolean hasGeminiConfig() { *
* * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return The geminiConfig. */ @java.lang.Override @@ -25757,7 +26138,7 @@ public Builder clearNetworkConfig() { *
* * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -25778,7 +26159,7 @@ public boolean hasGeminiConfig() { *
* * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java index 961c70acd1b7..f57d9d87c563 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java @@ -1256,7 +1256,7 @@ java.lang.String getAnnotationsOrDefault( *
* * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1275,7 +1275,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1303 + * google/cloud/alloydb/v1alpha/resources.proto;l=1317 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesRequest.java index 6d90a852667b..f264ffb2c404 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesRequest.java @@ -23,7 +23,7 @@ * * *
- * Message for requesting list of Databases.
+ * Message for ListDatabases request.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListDatabasesRequest} @@ -449,7 +449,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for requesting list of Databases.
+   * Message for ListDatabases request.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListDatabasesRequest} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponse.java index 894dc7d07c9a..42853ef36e21 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponse.java @@ -23,7 +23,7 @@ * * *
- * Message for response to listing Databases.
+ * Message for ListDatabases response.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListDatabasesResponse} @@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -88,7 +88,7 @@ public java.util.List getDatabasesLis * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -103,7 +103,7 @@ public java.util.List getDatabasesLis * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -117,7 +117,7 @@ public int getDatabasesCount() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -131,7 +131,7 @@ public com.google.cloud.alloydb.v1alpha.Database getDatabases(int index) { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -372,7 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for response to listing Databases.
+   * Message for ListDatabases response.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListDatabasesResponse} @@ -632,7 +632,7 @@ private void ensureDatabasesIsMutable() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -649,7 +649,7 @@ public java.util.List getDatabasesLis * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -666,7 +666,7 @@ public int getDatabasesCount() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -683,7 +683,7 @@ public com.google.cloud.alloydb.v1alpha.Database getDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -706,7 +706,7 @@ public Builder setDatabases(int index, com.google.cloud.alloydb.v1alpha.Database * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -727,7 +727,7 @@ public Builder setDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -750,7 +750,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1alpha.Database value) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -773,7 +773,7 @@ public Builder addDatabases(int index, com.google.cloud.alloydb.v1alpha.Database * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -793,7 +793,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1alpha.Database.Builder bu * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -814,7 +814,7 @@ public Builder addDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -835,7 +835,7 @@ public Builder addAllDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -855,7 +855,7 @@ public Builder clearDatabases() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -875,7 +875,7 @@ public Builder removeDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -888,7 +888,7 @@ public com.google.cloud.alloydb.v1alpha.Database.Builder getDatabasesBuilder(int * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -905,7 +905,7 @@ public com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder getDatabasesOrBuilder( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -923,7 +923,7 @@ public com.google.cloud.alloydb.v1alpha.DatabaseOrBuilder getDatabasesOrBuilder( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -937,7 +937,7 @@ public com.google.cloud.alloydb.v1alpha.Database.Builder addDatabasesBuilder() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -951,7 +951,7 @@ public com.google.cloud.alloydb.v1alpha.Database.Builder addDatabasesBuilder(int * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponseOrBuilder.java index 73c8583d8c8c..efa24d5df434 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListDatabasesResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -39,7 +39,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -50,7 +50,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -61,7 +61,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; @@ -73,7 +73,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java index d9cc6a7ce179..00e5793eec40 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java @@ -192,6 +192,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -278,9 +282,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "b.v1alpha.MigrationSource.MigrationSourceTypeB\003\340A\003\"E\n" + "\023MigrationSourceType\022%\n" + "!MIGRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n" - + "\003DMS\020\001\"(\n" - + "\020EncryptionConfig\022\024\n" - + "\014kms_key_name\030\001 \001(\t\"\213\002\n" + + "\003DMS\020\001\"P\n" + + "\020EncryptionConfig\022<\n" + + "\014kms_key_name\030\001 \001(\tB&\372A#\n" + + "!cloudkms.googleapis.com/CryptoKey\"\213\002\n" + "\016EncryptionInfo\022O\n" + "\017encryption_type\030\001" + " \001(\01621.google.cloud.alloydb.v1alpha.EncryptionInfo.TypeB\003\340A\003\022J\n" @@ -366,7 +371,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010end_date\030\002 \001(\0132\021.google.type.Date\022$\n" + "\004time\030\003 \001(\0132\026.google.type.TimeOfDay\"J\n" + "\023MaintenanceSchedule\0223\n\n" - + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\343\032\n" + + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\253\033\n" + "\007Cluster\022H\n\r" + "backup_source\030\017 \001(\013" + "2*.google.cloud.alloydb.v1alpha.BackupSourceB\003\340A\003H\000\022N\n" @@ -435,23 +440,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "NetworkConfig\0227\n" + "\007network\030\001 \001(\tB&\340A\001\372A \n" + "\036compute.googleapis.com/Network\022\037\n" - + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032/\n" - + "\017SecondaryConfig\022\034\n" - + "\024primary_cluster_name\030\001 \001(\t\0325\n\r" - + "PrimaryConfig\022$\n" - + "\027secondary_cluster_names\030\001 \003(\tB\003\340A\003\032P\n" + + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032T\n" + + "\017SecondaryConfig\022A\n" + + "\024primary_cluster_name\030\001 \001(\tB#\372A \n" + + "\036alloydb.googleapis.com/Cluster\032X\n\r" + + "PrimaryConfig\022G\n" + + "\027secondary_cluster_names\030\001 \003(\tB&\340A\003\372A \n" + + "\036alloydb.googleapis.com/Cluster\032P\n" + "\tPscConfig\022\030\n" + "\013psc_enabled\030\001 \001(\010B\003\340A\001\022)\n" - + "\034service_owned_project_number\030\003 \001(\003B\003\340A\003\032\323\001\n" - + "\r" + + "\034service_owned_project_number\030\003 \001(\003B\003\340A\003\032\323\001\n\r" + "TrialMetadata\022.\n\n" + "start_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timestamp\0220\n" + "\014upgrade_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0222\n" + "\016grace_end_time\030\004 \001(\0132\032.google.protobuf.Timestamp\032-\n" + "\013LabelsEntry\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\0322\n" + "\020AnnotationsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -474,9 +479,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007PRIMARY\020\001\022\r\n" + "\tSECONDARY\020\002:u\352Ar\n" - + "\036alloydb.googleapis.com/Cluster\022:projects/{proje" - + "ct}/locations/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" - + "\006source\"\337(\n" + + "\036alloydb.googleapis.com/Cluster\022:projects/{project}/loca" + + "tions/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" + + "\006source\"\330)\n" + "\010Instance\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -484,57 +489,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\0224\n" + "\013delete_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022B\n" - + "\006labels\030\007" - + " \003(\01322.google.cloud.alloydb.v1alpha.Instance.LabelsEntry\022@\n" - + "\005state\030\010 \001(\0162,.googl" - + "e.cloud.alloydb.v1alpha.Instance.StateB\003\340A\003\022O\n\r" - + "instance_type\030\t \001(\01623.google.clou" - + "d.alloydb.v1alpha.Instance.InstanceTypeB\003\340A\002\022L\n" + + "\006labels\030\007 \003(\01322." + + "google.cloud.alloydb.v1alpha.Instance.LabelsEntry\022@\n" + + "\005state\030\010" + + " \001(\0162,.google.cloud.alloydb.v1alpha.Instance.StateB\003\340A\003\022O\n\r" + + "instance_type\030\t" + + " \001(\01623.google.cloud.alloydb.v1alpha.Instance.InstanceTypeB\003\340A\002\022L\n" + "\016machine_config\030\n" + " \001(\01324.google.cloud.alloydb.v1alpha.Instance.MachineConfig\022R\n" - + "\021availability_type\030\013 \001(\01627.google.c" - + "loud.alloydb.v1alpha.Instance.AvailabilityType\022\020\n" + + "\021availability_type\030\013 \001(\01627.google.cloud.all" + + "oydb.v1alpha.Instance.AvailabilityType\022\020\n" + "\010gce_zone\030\014 \001(\t\022Q\n" + "\016database_flags\030\r" + " \003(\01329.google.cloud.alloydb.v1alpha.Instance.DatabaseFlagsEntry\022G\n\r" - + "writable_node\030\023" - + " \001(\0132+.google.cloud.alloydb.v1alpha.Instance.NodeB\003\340A\003\022?\n" - + "\005nodes\030\024 \003(\0132+.go" - + "ogle.cloud.alloydb.v1alpha.Instance.NodeB\003\340A\003\022a\n" - + "\025query_insights_config\030\025 \001(\0132B.g" - + "oogle.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig\022`\n" - + "\024observability_config\030\032 \001(\0132B.google.cloud.alloydb.v1" - + "alpha.Instance.ObservabilityInstanceConfig\022O\n" - + "\020read_pool_config\030\016 \001(\01325.google.cl" - + "oud.alloydb.v1alpha.Instance.ReadPoolConfig\022\027\n\n" + + "writable_node\030\023 \001" + + "(\0132+.google.cloud.alloydb.v1alpha.Instance.NodeB\003\340A\003\022?\n" + + "\005nodes\030\024" + + " \003(\0132+.google.cloud.alloydb.v1alpha.Instance.NodeB\003\340A\003\022a\n" + + "\025query_insights_config\030\025 \001(\0132B.google.cl" + + "oud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig\022`\n" + + "\024observability_config\030\032" + + " \001(\0132B.google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceConfig\022O\n" + + "\020read_pool_config\030\016" + + " \001(\01325.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig\022\027\n\n" + "ip_address\030\017 \001(\tB\003\340A\003\022&\n" + "\021public_ip_address\030\033 \001(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022\030\n" + "\013reconciling\030\020 \001(\010B\003\340A\003\022\014\n" + "\004etag\030\021 \001(\t\022L\n" - + "\013annotations\030\022" - + " \003(\01327.google.cloud.alloydb.v1alpha.Instance.AnnotationsEntry\022J\n\r" - + "update_policy\030\026" - + " \001(\01323.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy\022d\n" - + "\030client_connection_config\030\027 \001(\0132=.google.cloud.alloydb." - + "v1alpha.Instance.ClientConnectionConfigB\003\340A\001\022\032\n\r" + + "\013annotations\030\022 \003(" + + "\01327.google.cloud.alloydb.v1alpha.Instance.AnnotationsEntry\022J\n\r" + + "update_policy\030\026 \001(" + + "\01323.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy\022d\n" + + "\030client_connection_config\030\027" + + " \001(\0132=.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigB\003\340A\001\022\032\n\r" + "satisfies_pzi\030\036 \001(\010B\003\340A\003\022\032\n\r" + "satisfies_pzs\030\030 \001(\010B\003\340A\003\022Z\n" - + "\023psc_instance_config\030\034" - + " \001(\01328.google.cloud.alloydb.v1alpha.Instance.PscInstanceConfigB\003\340A\001\022Y\n" - + "\016network_config\030\035 \001(\0132<.google.cloud.alloydb." - + "v1alpha.Instance.InstanceNetworkConfigB\003\340A\001\022P\n\r" - + "gemini_config\030! \001(\01322.google.clou" - + "d.alloydb.v1alpha.GeminiInstanceConfigB\005\030\001\340A\001\0221\n" + + "\023psc_instance_config\030\034 \001(" + + "\01328.google.cloud.alloydb.v1alpha.Instance.PscInstanceConfigB\003\340A\001\022Y\n" + + "\016network_config\030\035" + + " \001(\0132<.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfigB\003\340A\001\022P\n\r" + + "gemini_config\030!" + + " \001(\01322.google.cloud.alloydb.v1alpha.GeminiInstanceConfigB\005\030\001\340A\001\0221\n" + "\034outbound_public_ip_addresses\030\" \003(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022W\n" - + "\021activation_policy\030# " - + "\001(\01627.google.cloud.alloydb.v1alpha.Instance.ActivationPolicyB\003\340A\001\022`\n" - + "\026connection_pool_config\030% \001(\0132;.google.cloud.alloydb" - + ".v1alpha.Instance.ConnectionPoolConfigB\003\340A\001\022H\n\n" + + "\021activation_policy\030# \001(\01627.go" + + "ogle.cloud.alloydb.v1alpha.Instance.ActivationPolicyB\003\340A\001\022`\n" + + "\026connection_pool_config\030%" + + " \001(\0132;.google.cloud.alloydb.v1alpha.Instance.ConnectionPoolConfigB\003\340A\001\022H\n\n" + "gca_config\030&" - + " \001(\0132/.google.cloud.alloydb.v1alpha.GCAInstanceConfigB\003\340A\003\0328\n" - + "\r" + + " \001(\0132/.google.cloud.alloydb.v1alpha.GCAInstanceConfigB\003\340A\003\0328\n\r" + "MachineConfig\022\021\n" + "\tcpu_count\030\001 \001(\005\022\024\n" + "\014machine_type\030\004 \001(\t\032R\n" @@ -595,32 +599,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020consumer_network\030\002 \001(\t\022\037\n\n" + "ip_address\030\003 \001(\tB\013\340A\003\342\214\317\327\010\002\010\002\022\023\n" + "\006status\030\004 \001(\tB\003\340A\003\022$\n" - + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\276\002\n" - + "\021PscInstanceConfig\022$\n" - + "\027service_attachment_link\030\001 \001(\tB\003\340A\003\022&\n" + + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\353\002\n" + + "\021PscInstanceConfig\022Q\n" + + "\027service_attachment_link\030\001 \001(\tB0\340A\003\372A*\n" + + "(compute.googleapis.com/ServiceAttachment\022&\n" + "\031allowed_consumer_projects\030\002 \003(\tB\003\340A\001\022\031\n" + "\014psc_dns_name\030\007 \001(\tB\003\340A\003\022]\n" + "\025psc_interface_configs\030\010" + " \003(\01329.google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfigB\003\340A\001\022a\n" - + "\024psc_auto_connections\030\t \003(\0132>.google.cloud." - + "alloydb.v1alpha.Instance.PscAutoConnectionConfigB\003\340A\001\032\357\002\n" + + "\024psc_auto_connections\030\t \003(\0132>.google.cloud.all" + + "oydb.v1alpha.Instance.PscAutoConnectionConfigB\003\340A\001\032\357\002\n" + "\025InstanceNetworkConfig\022y\n" - + "\034authorized_external_networks\030\001 \003(\0132N." - + "google.cloud.alloydb.v1alpha.Instance.In" - + "stanceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + + "\034authorized_external_networks\030\001 \003(\0132N.goo" + + "gle.cloud.alloydb.v1alpha.Instance.Insta" + + "nceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + "\020enable_public_ip\030\002 \001(\010B\003\340A\001\022&\n" + "\031enable_outbound_public_ip\030\003 \001(\010B\003\340A\001\0227\n" + "\007network\030\004 \001(\tB&\340A\003\372A \n" + "\036compute.googleapis.com/Network\022(\n" + "\033allocated_ip_range_override\030\005 \001(\tB\003\340A\001\0321\n" + "\021AuthorizedNetwork\022\034\n\n" - + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032\205\001\n" + + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032\321\001\n" + "\024ConnectionPoolConfig\022\024\n" - + "\007enabled\030\014 \001(\010B\003\340A\001\"W\n" - + "\010PoolMode\022\031\n" - + "\025POOL_MODE_UNSPECIFIED\020\000\022\025\n" - + "\021POOL_MODE_SESSION\020\001\022\031\n" - + "\025POOL_MODE_TRANSACTION\020\002\032-\n" + + "\007enabled\030\014 \001(\010B\003\340A\001\022Z\n" + + "\005flags\030\r" + + " \003(\0132F.google.cloud.alloydb.v1alpha.Instan" + + "ce.ConnectionPoolConfig.FlagsEntryB\003\340A\001\022\031\n" + + "\014pooler_count\030\016 \001(\005B\003\340A\003\032,\n\n" + + "FlagsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\0324\n" @@ -638,7 +646,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010DELETING\020\004\022\017\n" + "\013MAINTENANCE\020\005\022\n\n" + "\006FAILED\020\006\022\021\n\r" - + "BOOTSTRAPPING\020\010\022\r\n" + + "BOOTSTRAPPING\020\010\022\r" + + "\n" + "\tPROMOTING\020\t\"X\n" + "\014InstanceType\022\035\n" + "\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n" @@ -650,11 +659,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005ZONAL\020\001\022\014\n" + "\010REGIONAL\020\002\"L\n" + "\020ActivationPolicy\022!\n" - + "\035ACTIVATION_POLICY_UNSPECIFIED\020\000\022\n\n" + + "\035ACTIVATION_POLICY_UNSPECIFIED\020\000\022\n" + + "\n" + "\006ALWAYS\020\001\022\t\n" + "\005NEVER\020\002:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Instance\022Oprojects/{" - + "project}/locations/{location}/clusters/{cluster}/instances/{instance}*" + + "\037alloydb.googleapis.com/Instance\022Oprojects/{project" + + "}/locations/{location}/clusters/{cluster}/instances/{instance}*" + "\tinstances2\010instanceR\001\001\"\352\002\n" + "\016ConnectionInfo\022\014\n" + "\004name\030\001 \001(\t\022\027\n\n" @@ -664,9 +674,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025pem_certificate_chain\030\003 \003(\tB\005\030\001\340A\003\022\031\n" + "\014instance_uid\030\004 \001(\tB\003\340A\003\022\031\n" + "\014psc_dns_name\030\006 \001(\tB\003\340A\003:\254\001\352A\250\001\n" - + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{project}/locations/" - + "{location}/clusters/{cluster}/instances/" - + "{instance}/connectionInfo*\017connectionInfos2\016connectionInfo\"\316\r\n" + + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{project}/locations/{locati" + + "on}/clusters/{cluster}/instances/{instan" + + "ce}/connectionInfo*\017connectionInfos2\016connectionInfo\"\316\r\n" + "\006Backup\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -677,8 +687,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026create_completion_time\030\032" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022@\n" + "\006labels\030\006 \003(\01320.google.cloud.alloydb.v1alpha.Backup.LabelsEntry\022>\n" - + "\005state\030\007 \001(\0162*.g" - + "oogle.cloud.alloydb.v1alpha.Backup.StateB\003\340A\003\0227\n" + + "\005state\030\007 \001(\0162*.google.c" + + "loud.alloydb.v1alpha.Backup.StateB\003\340A\003\0227\n" + "\004type\030\010 \001(\0162).google.cloud.alloydb.v1alpha.Backup.Type\022\023\n" + "\013description\030\t \001(\t\022\030\n" + "\013cluster_uid\030\022 \001(\tB\003\340A\003\022<\n" @@ -691,12 +701,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017encryption_info\030\r" + " \001(\0132,.google.cloud.alloydb.v1alpha.EncryptionInfoB\003\340A\003\022\014\n" + "\004etag\030\016 \001(\t\022J\n" - + "\013annotations\030\020 \003(\01325.google.cl" - + "oud.alloydb.v1alpha.Backup.AnnotationsEntry\022\027\n\n" + + "\013annotations\030\020" + + " \003(\01325.google.cloud.alloydb.v1alpha.Backup.AnnotationsEntry\022\027\n\n" + "size_bytes\030\021 \001(\003B\003\340A\003\0224\n" + "\013expiry_time\030\023 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022V\n" - + "\017expiry_quantity\030\024 \001(\01328.google.clo" - + "ud.alloydb.v1alpha.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + + "\017expiry_quantity\030\024 \001(\01328.google.cloud.allo" + + "ydb.v1alpha.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + "satisfies_pzi\030\027 \001(\010B\003\340A\003\022\032\n\r" + "satisfies_pzs\030\025 \001(\010B\003\340A\003\022L\n" + "\020database_version\030\026" @@ -726,27 +736,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tON_DEMAND\020\001\022\r\n" + "\tAUTOMATED\020\002\022\016\n\n" + "CONTINUOUS\020\003:p\352Am\n" - + "\035alloydb.googleapis.com/Backup\0228projects/{project}/locations/{loc" - + "ation}/backups/{backup}*\007backups2\006backupR\001\001\"\225\t\n" + + "\035alloydb.googleapis.com/Backup\0228" + + "projects/{project}/locations/{location}/backups/{backup}*\007backups2\006backupR\001\001\"\225" + + "\t\n" + "\025SupportedDatabaseFlag\022e\n" - + "\023string_restrictions\030\007 \001(\0132F.google.cloud.alloyd" - + "b.v1alpha.SupportedDatabaseFlag.StringRestrictionsH\000\022g\n" - + "\024integer_restrictions\030\010 \001" - + "(\0132G.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + + "\023string_restrictions\030\007 \001(\0132F.google.cloud.alloydb.v1alp" + + "ha.SupportedDatabaseFlag.StringRestrictionsH\000\022g\n" + + "\024integer_restrictions\030\010 \001(\0132G.go" + + "ogle.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + "\030recommended_string_value\030\n" + " \001(\tH\001\022@\n" + "\031recommended_integer_value\030\013" + " \001(\0132\033.google.protobuf.Int64ValueH\001\022\014\n" + "\004name\030\001 \001(\t\022\021\n" + "\tflag_name\030\002 \001(\t\022Q\n\n" - + "value_type\030\003 \001(\0162=.googl" - + "e.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType\022\037\n" + + "value_type\030\003 \001(\0162=.google.cloud" + + ".alloydb.v1alpha.SupportedDatabaseFlag.ValueType\022\037\n" + "\027accepts_multiple_values\030\004 \001(\010\022L\n" - + "\025supported_db_versions\030\005 \003(\0162" - + "-.google.cloud.alloydb.v1alpha.DatabaseVersion\022\033\n" + + "\025supported_db_versions\030\005 \003(\0162-.googl" + + "e.cloud.alloydb.v1alpha.DatabaseVersion\022\033\n" + "\023requires_db_restart\030\006 \001(\010\022H\n" - + "\005scope\030\t" - + " \001(\01629.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope\032,\n" + + "\005scope\030\t " + + "\001(\01629.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Scope\032,\n" + "\022StringRestrictions\022\026\n" + "\016allowed_values\030\001 \003(\t\032u\n" + "\023IntegerRestrictions\022.\n" @@ -762,30 +773,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021SCOPE_UNSPECIFIED\020\000\022\014\n" + "\010DATABASE\020\001\022\023\n" + "\017CONNECTION_POOL\020\002:\227\001\352A\223\001\n" - + ",alloydb.googleapis.com/SupportedDatabaseFla" - + "g\0224projects/{project}/locations/{locatio" - + "n}/flags/{flag}*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + + ",alloydb.googleapis.com/SupportedDatabaseFlag\0224proj" + + "ects/{project}/locations/{location}/flag" + + "s/{flag}*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + "\014restrictionsB\023\n" + "\021recommended_value\"\377\002\n" + "\004User\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\025\n" + "\010password\030\002 \001(\tB\003\340A\004\022\033\n" + "\016database_roles\030\004 \003(\tB\003\340A\001\022C\n" - + "\tuser_type\030\005 \001(\0162+" - + ".google.cloud.alloydb.v1alpha.User.UserTypeB\003\340A\001\022\035\n" + + "\tuser_type\030\005 \001(\0162+.google" + + ".cloud.alloydb.v1alpha.User.UserTypeB\003\340A\001\022\035\n" + "\020keep_extra_roles\030\006 \001(\010B\003\340A\004\"Q\n" + "\010UserType\022\031\n" + "\025USER_TYPE_UNSPECIFIED\020\000\022\024\n" + "\020ALLOYDB_BUILT_IN\020\001\022\024\n" + "\020ALLOYDB_IAM_USER\020\002:y\352Av\n" - + "\033alloydb.googleapis.com/User\022Gprojects/{project}/locations/{location}/cl" - + "usters/{cluster}/users/{user}*\005users2\004userR\001\001\"\334\001\n" + + "\033alloydb.googleapis.com/User\022Gprojects/", + "{project}/locations/{location}/clusters/" + + "{cluster}/users/{user}*\005users2\004userR\001\001\"\202\003\n" + "\010Database\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" - + "\007charset\030\002 \001(\tB\003\340A\001\022\026\n" - + "\tcollation\030\003 \001(\tB\003\340A\001:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Database\022Oprojects/{project}/locations/{locat", - "ion}/clusters/{cluster}/databases/{database}*\tdatabases2\010databaseR\001\001*^\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\027\n" + + "\007charset\030\002 \001(\tB\006\340A\001\340A\005\022\031\n" + + "\tcollation\030\003 \001(\tB\006\340A\001\340A\005\022\036\n" + + "\016character_type\030\004 \001(\tB\006\340A\001\340A\005\022\032\n" + + "\013is_template\030\005 \001(\010B\005\030\001\340A\001\022!\n" + + "\021database_template\030\006 \001(\tB\006\340A\004\340A\005\022&\n" + + "\024is_template_database\030\007" + + " \001(\010B\003\340A\001H\000\210\001\001:\216\001\352A\212\001\n" + + "\037alloydb.googleapis.com/Database\022Oprojects/{project}/lo" + + "cations/{location}/clusters/{cluster}/databases/{database}*" + + "\tdatabases2\010databaseR\001\001B\027\n" + + "\025_is_template_database*^\n" + "\014InstanceView\022\035\n" + "\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n" + "\023INSTANCE_VIEW_BASIC\020\001\022\026\n" @@ -793,27 +812,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ClusterView\022\034\n" + "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n" + "\022CLUSTER_VIEW_BASIC\020\001\022\"\n" - + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*{\n" + + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\214\001\n" + "\017DatabaseVersion\022 \n" + "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n" + "\013POSTGRES_13\020\001\032\002\010\001\022\017\n" + "\013POSTGRES_14\020\002\022\017\n" + "\013POSTGRES_15\020\003\022\017\n" - + "\013POSTGRES_16\020\004*N\n" + + "\013POSTGRES_16\020\004\022\017\n" + + "\013POSTGRES_17\020\005*N\n" + "\020SubscriptionType\022!\n" + "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\t\n" - + "\005TRIAL\020\002B\313\003\n" - + " com.google.cloud.alloydb.v1alphaB\016Resourc" - + "esProtoP\001Z:cloud.google.com/go/alloydb/a" - + "piv1alpha/alloydbpb;alloydbpb\252\002\034Google.C" - + "loud.AlloyDb.V1Alpha\312\002\034Google\\Cloud\\Allo" - + "yDb\\V1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n" - + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/location" - + "s/{location}/keyRings/{key_ring}/cryptoK" - + "eys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" - + "\036compute.googleapis.com/Network\022,projects/{project}/global/ne" - + "tworks/{network}b\006proto3" + + "\005TRIAL\020\002B\300\005\n" + + " com.google.cloud.alloydb.v1alphaB\016ResourcesProtoP\001Z:cloud.google" + + ".com/go/alloydb/apiv1alpha/alloydbpb;all" + + "oydbpb\252\002\034Google.Cloud.AlloyDb.V1Alpha\312\002\034" + + "Google\\Cloud\\AlloyDb\\V1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n" + + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{" + + "project}/locations/{location}/keyRings/{" + + "key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" + + "\036com" + + "pute.googleapis.com/Network\022,projects/{project}/global/networks/{network}\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sproject" + + "s/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n" + + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}/regions/{region}/s" + + "erviceAttachments/{service_attachment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1270,7 +1293,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_descriptor, new java.lang.String[] { - "Enabled", + "Enabled", "Flags", "PoolerCount", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_ConnectionPoolConfig_FlagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", }); internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor = internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(12); @@ -1427,7 +1460,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1alpha_Database_descriptor, new java.lang.String[] { - "Name", "Charset", "Collation", + "Name", + "Charset", + "Collation", + "CharacterType", + "IsTemplate", + "DatabaseTemplate", + "IsTemplateDatabase", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java index d4ae2b706784..e2bf9ba6038e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java @@ -260,6 +260,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_ReadPoolInstancesUpgradeStageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -300,6 +304,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1alpha_ListDatabasesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1alpha_ListDatabasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -597,26 +605,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\003 \001(\010B\003\340A\001\022\025\n" - + "\010node_ids\030\004 \003(\tB\003\340A\001\"\300\001\n" + + "\010node_ids\030\004 \003(\tB\003\340A\001\"\334\001\n" + "\021ExecuteSqlRequest\022\027\n" + "\010password\030\005 \001(\tB\003\340A\001H\000\0229\n" + "\010instance\030\001 \001(\tB\'\340A\002\372A!\n" + "\037alloydb.googleapis.com/Instance\022\025\n" + "\010database\030\002 \001(\tB\003\340A\002\022\021\n" + "\004user\030\003 \001(\tB\003\340A\002\022\032\n\r" - + "sql_statement\030\004 \001(\tB\003\340A\002B\021\n" + + "sql_statement\030\004 \001(\tB\003\340A\002\022\032\n\r" + + "validate_only\030\006 \001(\010B\003\340A\001B\021\n" + "\017user_credential\"\226\001\n" + "\022ExecuteSqlResponse\022<\n" + "\013sql_results\030\001 \003(\0132\'.google.cloud.alloydb.v1alpha.SqlResult\022B\n" - + "\010metadata\030\003 \001(\01320.goo" - + "gle.cloud.alloydb.v1alpha.ExecuteSqlMetadata\"\215\002\n" + + "\010metadata\030\003" + + " \001(\01320.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata\"\215\002\n" + "\022ExecuteSqlMetadata\022\017\n" + "\007message\030\001 \001(\t\022\026\n" + "\016partial_result\030\002 \001(\010\022C\n" + " sql_statement_execution_duration\030\003" + " \001(\0132\031.google.protobuf.Duration\022G\n" - + "\006status\030\004 \001(\01627.goog" - + "le.cloud.alloydb.v1alpha.ExecuteSqlMetadata.Status\"@\n" + + "\006status\030\004 \001(\01627.google.cloud.all" + + "oydb.v1alpha.ExecuteSqlMetadata.Status\"@\n" + "\006Status\022\026\n" + "\022STATUS_UNSPECIFIED\020\000\022\006\n" + "\002OK\020\001\022\013\n" @@ -646,8 +655,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "validate_only\030\005 \001(\010B\003\340A\001\"\327\001\n" + "\023UpdateBackupRequest\0224\n" + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\0229\n" - + "\006backup\030\002" - + " \001(\0132$.google.cloud.alloydb.v1alpha.BackupB\003\340A\002\022\027\n\n" + + "\006backup\030\002 \001(" + + "\0132$.google.cloud.alloydb.v1alpha.BackupB\003\340A\002\022\027\n\n" + "request_id\030\003 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\004 \001(\010B\003\340A\001\022\032\n\r" + "allow_missing\030\005 \001(\010B\003\340A\001\"\222\001\n" @@ -662,11 +671,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tB4\340A\002\372A.\022,alloydb.googleapis.com/SupportedDatabaseFlag\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\022M\n" - + "\005scope\030\006" - + " \001(\01629.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ScopeB\003\340A\001\"\224\001\n" + + "\005scope\030\006 \001(\01629.g" + + "oogle.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ScopeB\003\340A\001\"\224\001\n" + "\"ListSupportedDatabaseFlagsResponse\022U\n" - + "\030supported_database_flags\030\001 \003(\01323.google.cloud" - + ".alloydb.v1alpha.SupportedDatabaseFlag\022\027\n" + + "\030supported_database_flags\030\001" + + " \003(\01323.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag\022\027\n" + "\017next_page_token\030\002 \001(\t\"\377\001\n" + " GenerateClientCertificateRequest\0226\n" + "\006parent\030\001 \001(\tB&\340A\002\372A \n" @@ -686,12 +695,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\"\266\004\n" + "\021OperationMetadata\022j\n" - + "\037batch_create_instances_metadata\030\010 \001(\0132:.google.cloud.all" - + "oydb.v1alpha.BatchCreateInstancesMetadataB\003\340A\003H\000\022Y\n" - + "\026promote_cluster_status\030\t \001(\013" - + "22.google.cloud.alloydb.v1alpha.PromoteClusterStatusB\003\340A\003H\000\022Y\n" + + "\037batch_create_instances_metadata\030\010" + + " \001(\0132:.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataB\003\340A\003H\000\022Y\n" + + "\026promote_cluster_status\030\t \001(\01322.google.cl" + + "oud.alloydb.v1alpha.PromoteClusterStatusB\003\340A\003H\000\022Y\n" + "\026upgrade_cluster_status\030\n" - + " \001(\01322.google.cloud.alloydb.v1alpha.UpgradeClusterStatusB\003\340A\003H\000\0224\n" + + " \001(\0132" + + "2.google.cloud.alloydb.v1alpha.UpgradeClusterStatusB\003\340A\003H\000\0224\n" + "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n" + "\006target\030\003 \001(\tB\003\340A\003\022\021\n" @@ -701,34 +711,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013api_version\030\007 \001(\tB\003\340A\003B\022\n" + "\020request_specific\"\365\001\n" + "\024PromoteClusterStatus\022L\n" - + "\005state\030\001" - + " \001(\01628.google.cloud.alloydb.v1alpha.PromoteClusterStatus.StateB\003\340A\003\"\216\001\n" + + "\005state\030\001 \001(\01628.go" + + "ogle.cloud.alloydb.v1alpha.PromoteClusterStatus.StateB\003\340A\003\"\216\001\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022&\n" + "\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\020\001\022\'\n" + "#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\020\002\022\035\n" - + "\031PROMOTE_CLUSTER_COMPLETED\020\003\"\201\007\n" + + "\031PROMOTE_CLUSTER_COMPLETED\020\003\"\326\t\n" + "\024UpgradeClusterStatus\022J\n" - + "\005state\030\001" - + " \001(\0162;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\022\023\n" + + "\005state\030\001 " + + "\001(\0162;.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status\022\023\n" + "\013cancellable\030\002 \001(\010\022E\n" - + "\016source_version\030\003 \001(" - + "\0162-.google.cloud.alloydb.v1alpha.DatabaseVersion\022E\n" - + "\016target_version\030\004 \001(\0162-.googl" - + "e.cloud.alloydb.v1alpha.DatabaseVersion\022N\n" - + "\006stages\030\005 \003(\0132>.google.cloud.alloydb.v" - + "1alpha.UpgradeClusterStatus.StageStatus\032\274\002\n" + + "\016source_version\030\003" + + " \001(\0162-.google.cloud.alloydb.v1alpha.DatabaseVersion\022E\n" + + "\016target_version\030\004" + + " \001(\0162-.google.cloud.alloydb.v1alpha.DatabaseVersion\022N\n" + + "\006stages\030\005 " + + "\003(\0132>.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus\032\221\005\n" + "\013StageStatus\022}\n" - + "\033read_pool_instances_upgrade\030\013 \001(\0132V.google.cloud.alloydb.v1al" - + "pha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\000\022I\n" - + "\005stage\030\001 \001(\0162:." - + "google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage\022J\n" - + "\005state\030\002 \001(\0162;.googl" - + "e.cloud.alloydb.v1alpha.UpgradeClusterResponse.StatusB\027\n" + + "\033read_pool_instances_upgrade\030\013 \001(\013" + + "2V.google.cloud.alloydb.v1alpha.UpgradeC" + + "lusterStatus.ReadPoolInstancesUpgradeStageStatusH\000\022I\n" + + "\005stage\030\001 \001(\0162:.google.cloud" + + ".alloydb.v1alpha.UpgradeClusterResponse.Stage\022J\n" + + "\005state\030\002 \001(\0162;.google.cloud.allo" + + "ydb.v1alpha.UpgradeClusterResponse.Status\022c\n" + + "\010schedule\030\003 \001(\0132L.google.cloud.alloy" + + "db.v1alpha.UpgradeClusterStatus.StageStatus.StageScheduleB\003\340A\003\032\355\001\n\r" + + "StageSchedule\0228\n" + + "\024estimated_start_time\030\001 \001(\0132\032.google.protobuf.Timestamp\0225\n" + + "\021actual_start_time\030\002 \001(\0132\032.google.protobuf.Timestamp\0226\n" + + "\022estimated_end_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0223\n" + + "\017actual_end_time\030\004 \001(\0132\032.google.protobuf.TimestampB\027\n" + "\025stage_specific_status\032\352\001\n" + "#ReadPoolInstancesUpgradeStageStatus\022s\n\r" - + "upgrade_stats\030\001 \001(\0132\\.google.cloud.all" - + "oydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + + "upgrade_stats\030\001 \001(\0132\\.google.cloud.alloydb.v1alpha.UpgradeClusterStat" + + "us.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + "\005Stats\022\023\n" + "\013not_started\030\001 \001(\005\022\017\n" + "\007ongoing\030\002 \001(\005\022\017\n" @@ -771,212 +789,228 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024ListDatabasesRequest\0227\n" + "\006parent\030\001 \001(" + "\tB\'\340A\002\372A!\022\037alloydb.googleapis.com/Database\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" - + "\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\022\023\n" + "\006filter\030\004 \001(\tB\003\340A\001\"k\n" + "\025ListDatabasesResponse\0229\n" + "\tdatabases\030\001 \003(\0132&.google.cloud.alloydb.v1alpha.Database\022\027\n" - + "\017next_page_token\030\002 \001(\t2\222@\n" + + "\017next_page_token\030\002 \001(\t\"\251\001\n" + + "\025CreateDatabaseRequest\0227\n" + + "\006parent\030\001 \001(" + + "\tB\'\340A\002\372A!\022\037alloydb.googleapis.com/Database\022\030\n" + + "\013database_id\030\002 \001(\tB\003\340A\002\022=\n" + + "\010database\030\003" + + " \001(\0132&.google.cloud.alloydb.v1alpha.DatabaseB\003\340A\0022\361A\n" + "\014AlloyDBAdmin\022\271\001\n" - + "\014ListClusters\0221.google.cloud.alloydb.v1alpha.ListClustersRequest\0322." - + "google.cloud.alloydb.v1alpha.ListCluster" - + "sResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1alpha/{pa" - + "rent=projects/*/locations/*}/clusters\022\246\001\n\n" - + "GetCluster\022/.google.cloud.alloydb.v1alpha.GetClusterRequest\032%.google.cloud.all" - + "oydb.v1alpha.Cluster\"@\332A\004name\202\323\344\223\0023\0221/v1" - + "alpha/{name=projects/*/locations/*/clusters/*}\022\341\001\n\r" - + "CreateCluster\0222.google.cloud." - + "alloydb.v1alpha.CreateClusterRequest\032\035.google.longrunning.Operation\"}\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\031parent,cluster,cl" - + "uster_id\202\323\344\223\002<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\007cluster\022\343\001\n\r" - + "UpdateCluster\0222.google.cloud.alloydb.v1al" - + "pha.UpdateClusterRequest\032\035.google.longrunning.Operation\"\177\312A\034\n" - + "\007Cluster\022\021Operation" - + "Metadata\332A\023cluster,update_mask\202\323\344\223\002D29/v" - + "1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\007cluster\022\233\002\n\r" - + "ExportCluster\0222.google.cloud.alloydb.v1alpha.Export" - + "ClusterRequest\032\035.google.longrunning.Operation\"\266\001\312A*\n" - + "\025ExportClusterResponse\022\021OperationMetadata\332ACname,gcs_destination,dat" - + "abase,csv_export_options,sql_export_opti" - + "ons\202\323\344\223\002=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:export:\001*\022\362\001\n\r" - + "ImportCluster\0222.google.cloud.alloydb.v1alpha." - + "ImportClusterRequest\032\035.google.longrunning.Operation\"\215\001\312A*\n" - + "\025ImportClusterResponse\022\021OperationMetadata\332A\032name,gcs_uri,datab" - + "ase,user\202\323\344\223\002=\"8/v1alpha/{name=projects/*/locations/*/clusters/*}:import:\001*\022\350\001\n" - + "\016UpgradeCluster\0223.google.cloud.alloydb.v1" - + "alpha.UpgradeClusterRequest\032\035.google.longrunning.Operation\"\201\001\312A+\n" - + "\026UpgradeClusterResponse\022\021OperationMetadata\332A\014name,versi" - + "on\202\323\344\223\002>29/v1alpha/{name=projects/*/locations/*/clusters/*}:upgrade:\001*\022\321\001\n\r" - + "DeleteCluster\0222.google.cloud.alloydb.v1alpha." - + "DeleteClusterRequest\032\035.google.longrunning.Operation\"m\312A*\n" - + "\025google.protobuf.Empty\022" - + "\021OperationMetadata\332A\004name\202\323\344\223\0023*1/v1alph" - + "a/{name=projects/*/locations/*/clusters/*}\022\320\001\n" - + "\016PromoteCluster\0223.google.cloud.all" - + "oydb.v1alpha.PromoteClusterRequest\032\035.google.longrunning.Operation\"j\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\004name\202\323\344\223\002>\"9/v1alph" - + "a/{name=projects/*/locations/*/clusters/*}:promote:\001*\022\331\001\n" - + "\021SwitchoverCluster\0226.google.cloud.alloydb.v1alpha.SwitchoverClu" - + "sterRequest\032\035.google.longrunning.Operation\"m\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\004na" - + "me\202\323\344\223\002A\"\"9/v1alpha/{parent=projec" - + "ts/*/locations/*}/clusters:restore:\001*\022\204\002" - + "\n\026CreateSecondaryCluster\022;.google.cloud." - + "alloydb.v1alpha.CreateSecondaryClusterRe" - + "quest\032\035.google.longrunning.Operation\"\215\001\312" - + "A\034\n\007Cluster\022\021OperationMetadata\332A\031parent," - + "cluster,cluster_id\202\323\344\223\002L\"A/v1alpha/{pare" - + "nt=projects/*/locations/*}/clusters:crea" - + "tesecondary:\007cluster\022\310\001\n\rListInstances\0222" - + ".google.cloud.alloydb.v1alpha.ListInstan" - + "cesRequest\0323.google.cloud.alloydb.v1alph" - + "a.ListInstancesResponse\"N\332A\006parent\202\323\344\223\002?" - + "\022=/v1alpha/{parent=projects/*/locations/" - + "*/clusters/*}/instances\022\265\001\n\013GetInstance\022" - + "0.google.cloud.alloydb.v1alpha.GetInstan" - + "ceRequest\032&.google.cloud.alloydb.v1alpha" - + ".Instance\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name" - + "=projects/*/locations/*/clusters/*/insta" - + "nces/*}\022\364\001\n\016CreateInstance\0223.google.clou" - + "d.alloydb.v1alpha.CreateInstanceRequest\032" - + "\035.google.longrunning.Operation\"\215\001\312A\035\n\010In" - + "stance\022\021OperationMetadata\332A\033parent,insta" - + "nce,instance_id\202\323\344\223\002I\"=/v1alpha/{parent=" + + "\014ListClusters\0221.google.cloud.alloydb.v1alpha.L" + + "istClustersRequest\0322.google.cloud.alloyd" + + "b.v1alpha.ListClustersResponse\"B\332A\006paren" + + "t\202\323\344\223\0023\0221/v1alpha/{parent=projects/*/locations/*}/clusters\022\246\001\n\n" + + "GetCluster\022/.google.cloud.alloydb.v1alpha.GetClusterReque" + + "st\032%.google.cloud.alloydb.v1alpha.Cluste" + + "r\"@\332A\004name\202\323\344\223\0023\0221/v1alpha/{name=projects/*/locations/*/clusters/*}\022\341\001\n\r" + + "CreateCluster\0222.google.cloud.alloydb.v1alpha.Cre" + + "ateClusterRequest\032\035.google.longrunning.Operation\"}\312A\034\n" + + "\007Cluster\022\021OperationMetadat" + + "a\332A\031parent,cluster,cluster_id\202\323\344\223\002<\"1/v1" + + "alpha/{parent=projects/*/locations/*}/clusters:\007cluster\022\343\001\n\r" + + "UpdateCluster\0222.google.cloud.alloydb.v1alpha.UpdateClusterRe" + + "quest\032\035.google.longrunning.Operation\"\177\312A\034\n" + + "\007Cluster\022\021OperationMetadata\332A\023cluster," + + "update_mask\202\323\344\223\002D29/v1alpha/{cluster.nam" + + "e=projects/*/locations/*/clusters/*}:\007cluster\022\233\002\n\r" + + "ExportCluster\0222.google.cloud.a" + + "lloydb.v1alpha.ExportClusterRequest\032\035.google.longrunning.Operation\"\266\001\312A*\n" + + "\025ExportClusterResponse\022\021OperationMetadata\332ACnam" + + "e,gcs_destination,database,csv_export_op" + + "tions,sql_export_options\202\323\344\223\002=\"8/v1alpha" + + "/{name=projects/*/locations/*/clusters/*}:export:\001*\022\362\001\n\r" + + "ImportCluster\0222.google.c" + + "loud.alloydb.v1alpha.ImportClusterRequest\032\035.google.longrunning.Operation\"\215\001\312A*\n" + + "\025ImportClusterResponse\022\021OperationMetadata" + + "\332A\032name,gcs_uri,database,user\202\323\344\223\002=\"8/v1" + + "alpha/{name=projects/*/locations/*/clusters/*}:import:\001*\022\350\001\n" + + "\016UpgradeCluster\0223.google.cloud.alloydb.v1alpha.UpgradeCluste" + + "rRequest\032\035.google.longrunning.Operation\"\201\001\312A+\n" + + "\026UpgradeClusterResponse\022\021Operation" + + "Metadata\332A\014name,version\202\323\344\223\002>29/v1alpha/" + + "{name=projects/*/locations/*/clusters/*}:upgrade:\001*\022\321\001\n\r" + + "DeleteCluster\0222.google.cloud.alloydb.v1alpha.DeleteClusterReques", + "t\032\035.google.longrunning.Operation\"m\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\332" + + "A\004name\202\323\344\223\0023*1/v1alpha/{name=projects/*/" + + "locations/*/clusters/*}\022\320\001\n\016PromoteClust" + + "er\0223.google.cloud.alloydb.v1alpha.Promot" + + "eClusterRequest\032\035.google.longrunning.Ope" + + "ration\"j\312A\034\n\007Cluster\022\021OperationMetadata\332" + + "A\004name\202\323\344\223\002>\"9/v1alpha/{name=projects/*/" + + "locations/*/clusters/*}:promote:\001*\022\331\001\n\021S" + + "witchoverCluster\0226.google.cloud.alloydb." + + "v1alpha.SwitchoverClusterRequest\032\035.googl" + + "e.longrunning.Operation\"m\312A\034\n\007Cluster\022\021O" + + "perationMetadata\332A\004name\202\323\344\223\002A\"\"9/v" + + "1alpha/{parent=projects/*/locations/*}/c" + + "lusters:restore:\001*\022\204\002\n\026CreateSecondaryCl" + + "uster\022;.google.cloud.alloydb.v1alpha.Cre" + + "ateSecondaryClusterRequest\032\035.google.long" + + "running.Operation\"\215\001\312A\034\n\007Cluster\022\021Operat" + + "ionMetadata\332A\031parent,cluster,cluster_id\202" + + "\323\344\223\002L\"A/v1alpha/{parent=projects/*/locat" + + "ions/*}/clusters:createsecondary:\007cluste" + + "r\022\310\001\n\rListInstances\0222.google.cloud.alloy" + + "db.v1alpha.ListInstancesRequest\0323.google" + + ".cloud.alloydb.v1alpha.ListInstancesResp" + + "onse\"N\332A\006parent\202\323\344\223\002?\022=/v1alpha/{parent=" + "projects/*/locations/*/clusters/*}/insta" - + "nces:\010instance\022\226\002\n\027CreateSecondaryInstan" - + "ce\022<.google.cloud.alloydb.v1alpha.Create" - + "SecondaryInstanceRequest\032\035.google.longru" - + "nning.Operation\"\235\001\312A\035\n\010Instance\022\021Operati" - + "onMetadata\332A\033parent,instance,instance_id" - + "\202\323\344\223\002Y\"M/v1alpha/{parent=projects/*/loca" - + "tions/*/clusters/*}/instances:createseco" - + "ndary:\010instance\022\202\002\n\024BatchCreateInstances" - + "\0229.google.cloud.alloydb.v1alpha.BatchCre" - + "ateInstancesRequest\032\035.google.longrunning" - + ".Operation\"\217\001\312A1\n\034BatchCreateInstancesRe" - + "sponse\022\021OperationMetadata\202\323\344\223\002U\"I/v1alph" - + "a/{parent=projects/*/locations/*/cluster" - + "s/*}/instances:batchCreate:\010requests\022\366\001\n" - + "\016UpdateInstance\0223.google.cloud.alloydb.v" - + "1alpha.UpdateInstanceRequest\032\035.google.lo" - + "ngrunning.Operation\"\217\001\312A\035\n\010Instance\022\021Ope" - + "rationMetadata\332A\024instance,update_mask\202\323\344" - + "\223\002R2F/v1alpha/{instance.name=projects/*/" - + "locations/*/clusters/*/instances/*}:\010ins" - + "tance\022\337\001\n\016DeleteInstance\0223.google.cloud." - + "alloydb.v1alpha.DeleteInstanceRequest\032\035." - + "google.longrunning.Operation\"y\312A*\n\025googl" - + "e.protobuf.Empty\022\021OperationMetadata\332A\004na" - + "me\202\323\344\223\002?*=/v1alpha/{name=projects/*/loca" - + "tions/*/clusters/*/instances/*}\022\342\001\n\020Fail" - + "overInstance\0225.google.cloud.alloydb.v1al" - + "pha.FailoverInstanceRequest\032\035.google.lon" - + "grunning.Operation\"x\312A\035\n\010Instance\022\021Opera" - + "tionMetadata\332A\004name\202\323\344\223\002K\"F/v1alpha/{nam" - + "e=projects/*/locations/*/clusters/*/inst" - + "ances/*}:failover:\001*\022\347\001\n\013InjectFault\0220.g" - + "oogle.cloud.alloydb.v1alpha.InjectFaultR" - + "equest\032\035.google.longrunning.Operation\"\206\001" - + "\312A\035\n\010Instance\022\021OperationMetadata\332A\017fault" - + "_type,name\202\323\344\223\002N\"I/v1alpha/{name=project" - + "s/*/locations/*/clusters/*/instances/*}:" - + "injectFault:\001*\022\337\001\n\017RestartInstance\0224.goo" - + "gle.cloud.alloydb.v1alpha.RestartInstanc" + + "nces\022\265\001\n\013GetInstance\0220.google.cloud.allo" + + "ydb.v1alpha.GetInstanceRequest\032&.google." + + "cloud.alloydb.v1alpha.Instance\"L\332A\004name\202" + + "\323\344\223\002?\022=/v1alpha/{name=projects/*/locatio" + + "ns/*/clusters/*/instances/*}\022\364\001\n\016CreateI" + + "nstance\0223.google.cloud.alloydb.v1alpha.C" + + "reateInstanceRequest\032\035.google.longrunnin" + + "g.Operation\"\215\001\312A\035\n\010Instance\022\021OperationMe" + + "tadata\332A\033parent,instance,instance_id\202\323\344\223" + + "\002I\"=/v1alpha/{parent=projects/*/location" + + "s/*/clusters/*}/instances:\010instance\022\226\002\n\027" + + "CreateSecondaryInstance\022<.google.cloud.a" + + "lloydb.v1alpha.CreateSecondaryInstanceRe" + + "quest\032\035.google.longrunning.Operation\"\235\001\312" + + "A\035\n\010Instance\022\021OperationMetadata\332A\033parent" + + ",instance,instance_id\202\323\344\223\002Y\"M/v1alpha/{p" + + "arent=projects/*/locations/*/clusters/*}" + + "/instances:createsecondary:\010instance\022\202\002\n" + + "\024BatchCreateInstances\0229.google.cloud.all" + + "oydb.v1alpha.BatchCreateInstancesRequest" + + "\032\035.google.longrunning.Operation\"\217\001\312A1\n\034B" + + "atchCreateInstancesResponse\022\021OperationMe" + + "tadata\202\323\344\223\002U\"I/v1alpha/{parent=projects/" + + "*/locations/*/clusters/*}/instances:batc" + + "hCreate:\010requests\022\366\001\n\016UpdateInstance\0223.g" + + "oogle.cloud.alloydb.v1alpha.UpdateInstan" + + "ceRequest\032\035.google.longrunning.Operation" + + "\"\217\001\312A\035\n\010Instance\022\021OperationMetadata\332A\024in" + + "stance,update_mask\202\323\344\223\002R2F/v1alpha/{inst" + + "ance.name=projects/*/locations/*/cluster" + + "s/*/instances/*}:\010instance\022\337\001\n\016DeleteIns" + + "tance\0223.google.cloud.alloydb.v1alpha.Del" + + "eteInstanceRequest\032\035.google.longrunning." + + "Operation\"y\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\332A\004name\202\323\344\223\002?*=/v1alpha/" + + "{name=projects/*/locations/*/clusters/*/" + + "instances/*}\022\342\001\n\020FailoverInstance\0225.goog" + + "le.cloud.alloydb.v1alpha.FailoverInstanc" + "eRequest\032\035.google.longrunning.Operation\"" - + "w\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" - + "\202\323\344\223\002J\"E/v1alpha/{name=projects/*/locati" - + "ons/*/clusters/*/instances/*}:restart:\001*" - + "\022\371\001\n\nExecuteSql\022/.google.cloud.alloydb.v" - + "1alpha.ExecuteSqlRequest\0320.google.cloud." - + "alloydb.v1alpha.ExecuteSqlResponse\"\207\001\332A-" - + "instance,database,user,sql_statement,pas" - + "sword\202\323\344\223\002Q\"L/v1alpha/{instance=projects" - + "/*/locations/*/clusters/*/instances/*}:e" - + "xecuteSql:\001*\022\265\001\n\013ListBackups\0220.google.cl" - + "oud.alloydb.v1alpha.ListBackupsRequest\0321" - + ".google.cloud.alloydb.v1alpha.ListBackup" - + "sResponse\"A\332A\006parent\202\323\344\223\0022\0220/v1alpha/{pa" - + "rent=projects/*/locations/*}/backups\022\242\001\n" - + "\tGetBackup\022..google.cloud.alloydb.v1alph" - + "a.GetBackupRequest\032$.google.cloud.alloyd" - + "b.v1alpha.Backup\"?\332A\004name\202\323\344\223\0022\0220/v1alph" - + "a/{name=projects/*/locations/*/backups/*" - + "}\022\332\001\n\014CreateBackup\0221.google.cloud.alloyd" - + "b.v1alpha.CreateBackupRequest\032\035.google.l" - + "ongrunning.Operation\"x\312A\033\n\006Backup\022\021Opera" - + "tionMetadata\332A\027parent,backup,backup_id\202\323" - + "\344\223\002:\"0/v1alpha/{parent=projects/*/locati" - + "ons/*}/backups:\006backup\022\334\001\n\014UpdateBackup\022" - + "1.google.cloud.alloydb.v1alpha.UpdateBac" + + "x\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" + + "\202\323\344\223\002K\"F/v1alpha/{name=projects/*/locati" + + "ons/*/clusters/*/instances/*}:failover:\001" + + "*\022\347\001\n\013InjectFault\0220.google.cloud.alloydb" + + ".v1alpha.InjectFaultRequest\032\035.google.lon" + + "grunning.Operation\"\206\001\312A\035\n\010Instance\022\021Oper" + + "ationMetadata\332A\017fault_type,name\202\323\344\223\002N\"I/" + + "v1alpha/{name=projects/*/locations/*/clu" + + "sters/*/instances/*}:injectFault:\001*\022\337\001\n\017" + + "RestartInstance\0224.google.cloud.alloydb.v" + + "1alpha.RestartInstanceRequest\032\035.google.l" + + "ongrunning.Operation\"w\312A\035\n\010Instance\022\021Ope" + + "rationMetadata\332A\004name\202\323\344\223\002J\"E/v1alpha/{n" + + "ame=projects/*/locations/*/clusters/*/in" + + "stances/*}:restart:\001*\022\371\001\n\nExecuteSql\022/.g" + + "oogle.cloud.alloydb.v1alpha.ExecuteSqlRe" + + "quest\0320.google.cloud.alloydb.v1alpha.Exe" + + "cuteSqlResponse\"\207\001\332A-instance,database,u" + + "ser,sql_statement,password\202\323\344\223\002Q\"L/v1alp" + + "ha/{instance=projects/*/locations/*/clus" + + "ters/*/instances/*}:executeSql:\001*\022\265\001\n\013Li" + + "stBackups\0220.google.cloud.alloydb.v1alpha" + + ".ListBackupsRequest\0321.google.cloud.alloy" + + "db.v1alpha.ListBackupsResponse\"A\332A\006paren" + + "t\202\323\344\223\0022\0220/v1alpha/{parent=projects/*/loc" + + "ations/*}/backups\022\242\001\n\tGetBackup\022..google" + + ".cloud.alloydb.v1alpha.GetBackupRequest\032" + + "$.google.cloud.alloydb.v1alpha.Backup\"?\332" + + "A\004name\202\323\344\223\0022\0220/v1alpha/{name=projects/*/" + + "locations/*/backups/*}\022\332\001\n\014CreateBackup\022" + + "1.google.cloud.alloydb.v1alpha.CreateBac" + "kupRequest\032\035.google.longrunning.Operatio" - + "n\"z\312A\033\n\006Backup\022\021OperationMetadata\332A\022back" - + "up,update_mask\202\323\344\223\002A27/v1alpha/{backup.n" - + "ame=projects/*/locations/*/backups/*}:\006b" - + "ackup\022\316\001\n\014DeleteBackup\0221.google.cloud.al" - + "loydb.v1alpha.DeleteBackupRequest\032\035.goog" - + "le.longrunning.Operation\"l\312A*\n\025google.pr" - + "otobuf.Empty\022\021OperationMetadata\332A\004name\202\323" - + "\344\223\0022*0/v1alpha/{name=projects/*/location" - + "s/*/backups/*}\022\361\001\n\032ListSupportedDatabase" - + "Flags\022?.google.cloud.alloydb.v1alpha.Lis" - + "tSupportedDatabaseFlagsRequest\032@.google." - + "cloud.alloydb.v1alpha.ListSupportedDatab" - + "aseFlagsResponse\"P\332A\006parent\202\323\344\223\002A\022?/v1al" - + "pha/{parent=projects/*/locations/*}/supp" - + "ortedDatabaseFlags\022\377\001\n\031GenerateClientCer" - + "tificate\022>.google.cloud.alloydb.v1alpha." - + "GenerateClientCertificateRequest\032?.googl" - + "e.cloud.alloydb.v1alpha.GenerateClientCe" - + "rtificateResponse\"a\332A\006parent\202\323\344\223\002R\"M/v1a" - + "lpha/{parent=projects/*/locations/*/clus" - + "ters/*}:generateClientCertificate:\001*\022\332\001\n" - + "\021GetConnectionInfo\0226.google.cloud.alloyd" - + "b.v1alpha.GetConnectionInfoRequest\032,.goo" - + "gle.cloud.alloydb.v1alpha.ConnectionInfo" - + "\"_\332A\006parent\202\323\344\223\002P\022N/v1alpha/{parent=proj" - + "ects/*/locations/*/clusters/*/instances/" - + "*}/connectionInfo\022\270\001\n\tListUsers\022..google" - + ".cloud.alloydb.v1alpha.ListUsersRequest\032" - + "/.google.cloud.alloydb.v1alpha.ListUsers" - + "Response\"J\332A\006parent\202\323\344\223\002;\0229/v1alpha/{par" - + "ent=projects/*/locations/*/clusters/*}/u" - + "sers\022\245\001\n\007GetUser\022,.google.cloud.alloydb." - + "v1alpha.GetUserRequest\032\".google.cloud.al" - + "loydb.v1alpha.User\"H\332A\004name\202\323\344\223\002;\0229/v1al" - + "pha/{name=projects/*/locations/*/cluster" - + "s/*/users/*}\022\300\001\n\nCreateUser\022/.google.clo" - + "ud.alloydb.v1alpha.CreateUserRequest\032\".g" - + "oogle.cloud.alloydb.v1alpha.User\"]\332A\023par" - + "ent,user,user_id\202\323\344\223\002A\"9/v1alpha/{parent" - + "=projects/*/locations/*/clusters/*}/user" - + "s:\004user\022\302\001\n\nUpdateUser\022/.google.cloud.al" - + "loydb.v1alpha.UpdateUserRequest\032\".google" - + ".cloud.alloydb.v1alpha.User\"_\332A\020user,upd" - + "ate_mask\202\323\344\223\002F2>/v1alpha/{user.name=proj" - + "ects/*/locations/*/clusters/*/users/*}:\004" - + "user\022\237\001\n\nDeleteUser\022/.google.cloud.alloy" - + "db.v1alpha.DeleteUserRequest\032\026.google.pr" - + "otobuf.Empty\"H\332A\004name\202\323\344\223\002;*9/v1alpha/{n" - + "ame=projects/*/locations/*/clusters/*/us" - + "ers/*}\022\310\001\n\rListDatabases\0222.google.cloud." - + "alloydb.v1alpha.ListDatabasesRequest\0323.g" - + "oogle.cloud.alloydb.v1alpha.ListDatabase" - + "sResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1alpha/{pa" - + "rent=projects/*/locations/*/clusters/*}/" - + "databases\032J\312A\026alloydb.googleapis.com\322A.h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\316\001\n com.google.cloud.alloydb.v1alp" - + "haB\014ServiceProtoP\001Z:cloud.google.com/go/" - + "alloydb/apiv1alpha/alloydbpb;alloydbpb\252\002" - + "\034Google.Cloud.AlloyDb.V1Alpha\312\002\034Google\\C" - + "loud\\AlloyDb\\V1alpha\352\002\037Google::Cloud::Al" - + "loyDB::V1alphab\006proto3" + + "n\"x\312A\033\n\006Backup\022\021OperationMetadata\332A\027pare" + + "nt,backup,backup_id\202\323\344\223\002:\"0/v1alpha/{par" + + "ent=projects/*/locations/*}/backups:\006bac" + + "kup\022\334\001\n\014UpdateBackup\0221.google.cloud.allo" + + "ydb.v1alpha.UpdateBackupRequest\032\035.google" + + ".longrunning.Operation\"z\312A\033\n\006Backup\022\021Ope" + + "rationMetadata\332A\022backup,update_mask\202\323\344\223\002" + + "A27/v1alpha/{backup.name=projects/*/loca" + + "tions/*/backups/*}:\006backup\022\316\001\n\014DeleteBac" + + "kup\0221.google.cloud.alloydb.v1alpha.Delet" + + "eBackupRequest\032\035.google.longrunning.Oper" + + "ation\"l\312A*\n\025google.protobuf.Empty\022\021Opera" + + "tionMetadata\332A\004name\202\323\344\223\0022*0/v1alpha/{nam" + + "e=projects/*/locations/*/backups/*}\022\361\001\n\032" + + "ListSupportedDatabaseFlags\022?.google.clou" + + "d.alloydb.v1alpha.ListSupportedDatabaseF" + + "lagsRequest\032@.google.cloud.alloydb.v1alp" + + "ha.ListSupportedDatabaseFlagsResponse\"P\332" + + "A\006parent\202\323\344\223\002A\022?/v1alpha/{parent=project" + + "s/*/locations/*}/supportedDatabaseFlags\022" + + "\377\001\n\031GenerateClientCertificate\022>.google.c" + + "loud.alloydb.v1alpha.GenerateClientCerti" + + "ficateRequest\032?.google.cloud.alloydb.v1a" + + "lpha.GenerateClientCertificateResponse\"a" + + "\332A\006parent\202\323\344\223\002R\"M/v1alpha/{parent=projec" + + "ts/*/locations/*/clusters/*}:generateCli" + + "entCertificate:\001*\022\332\001\n\021GetConnectionInfo\022" + + "6.google.cloud.alloydb.v1alpha.GetConnec" + + "tionInfoRequest\032,.google.cloud.alloydb.v" + + "1alpha.ConnectionInfo\"_\332A\006parent\202\323\344\223\002P\022N" + + "/v1alpha/{parent=projects/*/locations/*/" + + "clusters/*/instances/*}/connectionInfo\022\270" + + "\001\n\tListUsers\022..google.cloud.alloydb.v1al" + + "pha.ListUsersRequest\032/.google.cloud.allo" + + "ydb.v1alpha.ListUsersResponse\"J\332A\006parent" + + "\202\323\344\223\002;\0229/v1alpha/{parent=projects/*/loca" + + "tions/*/clusters/*}/users\022\245\001\n\007GetUser\022,." + + "google.cloud.alloydb.v1alpha.GetUserRequ" + + "est\032\".google.cloud.alloydb.v1alpha.User\"" + + "H\332A\004name\202\323\344\223\002;\0229/v1alpha/{name=projects/" + + "*/locations/*/clusters/*/users/*}\022\300\001\n\nCr" + + "eateUser\022/.google.cloud.alloydb.v1alpha." + + "CreateUserRequest\032\".google.cloud.alloydb" + + ".v1alpha.User\"]\332A\023parent,user,user_id\202\323\344" + + "\223\002A\"9/v1alpha/{parent=projects/*/locatio" + + "ns/*/clusters/*}/users:\004user\022\302\001\n\nUpdateU" + + "ser\022/.google.cloud.alloydb.v1alpha.Updat" + + "eUserRequest\032\".google.cloud.alloydb.v1al" + + "pha.User\"_\332A\020user,update_mask\202\323\344\223\002F2>/v1" + + "alpha/{user.name=projects/*/locations/*/" + + "clusters/*/users/*}:\004user\022\237\001\n\nDeleteUser" + + "\022/.google.cloud.alloydb.v1alpha.DeleteUs" + + "erRequest\032\026.google.protobuf.Empty\"H\332A\004na" + + "me\202\323\344\223\002;*9/v1alpha/{name=projects/*/loca" + + "tions/*/clusters/*/users/*}\022\310\001\n\rListData" + + "bases\0222.google.cloud.alloydb.v1alpha.Lis" + + "tDatabasesRequest\0323.google.cloud.alloydb" + + ".v1alpha.ListDatabasesResponse\"N\332A\006paren" + + "t\202\323\344\223\002?\022=/v1alpha/{parent=projects/*/loc" + + "ations/*/clusters/*}/databases\022\334\001\n\016Creat" + + "eDatabase\0223.google.cloud.alloydb.v1alpha" + + ".CreateDatabaseRequest\032&.google.cloud.al" + + "loydb.v1alpha.Database\"m\332A\033parent,databa" + + "se,database_id\202\323\344\223\002I\"=/v1alpha/{parent=p" + + "rojects/*/locations/*/clusters/*}/databa" + + "ses:\010database\032J\312A\026alloydb.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformB\316\001\n com.google.cloud.alloydb.v" + + "1alphaB\014ServiceProtoP\001Z:cloud.google.com" + + "/go/alloydb/apiv1alpha/alloydbpb;alloydb" + + "pb\252\002\034Google.Cloud.AlloyDb.V1Alpha\312\002\034Goog" + + "le\\Cloud\\AlloyDb\\V1alpha\352\002\037Google::Cloud" + + "::AlloyDB::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1360,7 +1394,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1alpha_ExecuteSqlRequest_descriptor, new java.lang.String[] { - "Password", "Instance", "Database", "User", "SqlStatement", "UserCredential", + "Password", + "Instance", + "Database", + "User", + "SqlStatement", + "ValidateOnly", + "UserCredential", }); internal_static_google_cloud_alloydb_v1alpha_ExecuteSqlResponse_descriptor = getDescriptor().getMessageTypes().get(33); @@ -1508,7 +1548,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_descriptor, new java.lang.String[] { - "ReadPoolInstancesUpgrade", "Stage", "State", "StageSpecificStatus", + "ReadPoolInstancesUpgrade", "Stage", "State", "Schedule", "StageSpecificStatus", + }); + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor = + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor, + new java.lang.String[] { + "EstimatedStartTime", "ActualStartTime", "EstimatedEndTime", "ActualEndTime", }); internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_ReadPoolInstancesUpgradeStageStatus_descriptor = internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_descriptor @@ -1594,6 +1644,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Databases", "NextPageToken", }); + internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateDatabaseRequest_descriptor, + new java.lang.String[] { + "Parent", "DatabaseId", "Database", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpgradeClusterStatus.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpgradeClusterStatus.java index 8715d9ac02c4..d729ba9448f3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpgradeClusterStatus.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpgradeClusterStatus.java @@ -170,6 +170,50 @@ public interface StageStatusOrBuilder */ com.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status getState(); + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + boolean hasSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule getSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder(); + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSpecificStatusCase getStageSpecificStatusCase(); } @@ -194,32 +238,1833 @@ private StageStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StageStatus() { - stage_ = 0; - state_ = 0; - } + private StageStatus() { + stage_ = 0; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.class, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.Builder.class); + } + + public interface StageScheduleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + boolean hasEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + com.google.protobuf.Timestamp getEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + boolean hasActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + com.google.protobuf.Timestamp getActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + boolean hasEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + com.google.protobuf.Timestamp getEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + boolean hasActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + com.google.protobuf.Timestamp getActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder(); + } + + /** + * + * + *
+     * Timing information for the stage execution.
+     * 
+ * + * Protobuf type {@code + * google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class StageSchedule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + StageScheduleOrBuilder { + private static final long serialVersionUID = 0L; + + // Use StageSchedule.newBuilder() to construct. + private StageSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StageSchedule() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageSchedule(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .class, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder.class); + } + + private int bitField0_; + public static final int ESTIMATED_START_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp estimatedStartTime_; + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedStartTime() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + public static final int ACTUAL_START_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp actualStartTime_; + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + @java.lang.Override + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualStartTime() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + public static final int ESTIMATED_END_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp estimatedEndTime_; + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedEndTime() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + public static final int ACTUAL_END_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp actualEndTime_; + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + @java.lang.Override + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualEndTime() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getActualEndTime()); + } + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActualEndTime()); + } + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule other = + (com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) obj; + + if (hasEstimatedStartTime() != other.hasEstimatedStartTime()) return false; + if (hasEstimatedStartTime()) { + if (!getEstimatedStartTime().equals(other.getEstimatedStartTime())) return false; + } + if (hasActualStartTime() != other.hasActualStartTime()) return false; + if (hasActualStartTime()) { + if (!getActualStartTime().equals(other.getActualStartTime())) return false; + } + if (hasEstimatedEndTime() != other.hasEstimatedEndTime()) return false; + if (hasEstimatedEndTime()) { + if (!getEstimatedEndTime().equals(other.getEstimatedEndTime())) return false; + } + if (hasActualEndTime() != other.hasActualEndTime()) return false; + if (hasActualEndTime()) { + if (!getActualEndTime().equals(other.getActualEndTime())) 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 (hasEstimatedStartTime()) { + hash = (37 * hash) + ESTIMATED_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedStartTime().hashCode(); + } + if (hasActualStartTime()) { + hash = (37 * hash) + ACTUAL_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualStartTime().hashCode(); + } + if (hasEstimatedEndTime()) { + hash = (37 * hash) + ESTIMATED_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedEndTime().hashCode(); + } + if (hasActualEndTime()) { + hash = (37 * hash) + ACTUAL_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + 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; + } + + /** + * + * + *
+       * Timing information for the stage execution.
+       * 
+ * + * Protobuf type {@code + * google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .class, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder.class); + } + + // Construct using + // com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEstimatedStartTimeFieldBuilder(); + getActualStartTimeFieldBuilder(); + getEstimatedEndTimeFieldBuilder(); + getActualEndTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + build() { + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + buildPartial() { + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule result = + new com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.estimatedStartTime_ = + estimatedStartTimeBuilder_ == null + ? estimatedStartTime_ + : estimatedStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actualStartTime_ = + actualStartTimeBuilder_ == null + ? actualStartTime_ + : actualStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.estimatedEndTime_ = + estimatedEndTimeBuilder_ == null + ? estimatedEndTime_ + : estimatedEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.actualEndTime_ = + actualEndTimeBuilder_ == null ? actualEndTime_ : actualEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + 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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) { + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule other) { + if (other + == com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) return this; + if (other.hasEstimatedStartTime()) { + mergeEstimatedStartTime(other.getEstimatedStartTime()); + } + if (other.hasActualStartTime()) { + mergeActualStartTime(other.getActualStartTime()); + } + if (other.hasEstimatedEndTime()) { + mergeEstimatedEndTime(other.getEstimatedEndTime()); + } + if (other.hasActualEndTime()) { + mergeActualEndTime(other.getActualEndTime()); + } + 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( + getEstimatedStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getActualStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getEstimatedEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getActualEndTimeFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.protobuf.Timestamp estimatedStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedStartTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + public com.google.protobuf.Timestamp getEstimatedStartTime() { + if (estimatedStartTimeBuilder_ == null) { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } else { + return estimatedStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedStartTime_ = value; + } else { + estimatedStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTime_ = builderForValue.build(); + } else { + estimatedStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder mergeEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && estimatedStartTime_ != null + && estimatedStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedStartTimeBuilder().mergeFrom(value); + } else { + estimatedStartTime_ = value; + } + } else { + estimatedStartTimeBuilder_.mergeFrom(value); + } + if (estimatedStartTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder clearEstimatedStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedStartTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getEstimatedStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + if (estimatedStartTimeBuilder_ != null) { + return estimatedStartTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedStartTimeFieldBuilder() { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedStartTime(), getParentForChildren(), isClean()); + estimatedStartTime_ = null; + } + return estimatedStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualStartTimeBuilder_; + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + public com.google.protobuf.Timestamp getActualStartTime() { + if (actualStartTimeBuilder_ == null) { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } else { + return actualStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualStartTime_ = value; + } else { + actualStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualStartTimeBuilder_ == null) { + actualStartTime_ = builderForValue.build(); + } else { + actualStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder mergeActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && actualStartTime_ != null + && actualStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualStartTimeBuilder().mergeFrom(value); + } else { + actualStartTime_ = value; + } + } else { + actualStartTimeBuilder_.mergeFrom(value); + } + if (actualStartTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder clearActualStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getActualStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getActualStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + if (actualStartTimeBuilder_ != null) { + return actualStartTimeBuilder_.getMessageOrBuilder(); + } else { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualStartTimeFieldBuilder() { + if (actualStartTimeBuilder_ == null) { + actualStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualStartTime(), getParentForChildren(), isClean()); + actualStartTime_ = null; + } + return actualStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp estimatedEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedEndTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + public com.google.protobuf.Timestamp getEstimatedEndTime() { + if (estimatedEndTimeBuilder_ == null) { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } else { + return estimatedEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedEndTime_ = value; + } else { + estimatedEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTime_ = builderForValue.build(); + } else { + estimatedEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder mergeEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && estimatedEndTime_ != null + && estimatedEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedEndTimeBuilder().mergeFrom(value); + } else { + estimatedEndTime_ = value; + } + } else { + estimatedEndTimeBuilder_.mergeFrom(value); + } + if (estimatedEndTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder clearEstimatedEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEstimatedEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + if (estimatedEndTimeBuilder_ != null) { + return estimatedEndTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedEndTimeFieldBuilder() { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedEndTime(), getParentForChildren(), isClean()); + estimatedEndTime_ = null; + } + return estimatedEndTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualEndTimeBuilder_; + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + public com.google.protobuf.Timestamp getActualEndTime() { + if (actualEndTimeBuilder_ == null) { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } else { + return actualEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualEndTime_ = value; + } else { + actualEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualEndTimeBuilder_ == null) { + actualEndTime_ = builderForValue.build(); + } else { + actualEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder mergeActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && actualEndTime_ != null + && actualEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualEndTimeBuilder().mergeFrom(value); + } else { + actualEndTime_ = value; + } + } else { + actualEndTimeBuilder_.mergeFrom(value); + } + if (actualEndTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder clearActualEndTime() { + bitField0_ = (bitField0_ & ~0x00000008); + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getActualEndTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getActualEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + if (actualEndTimeBuilder_ != null) { + return actualEndTimeBuilder_.getMessageOrBuilder(); + } else { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualEndTimeFieldBuilder() { + if (actualEndTimeBuilder_ == null) { + actualEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualEndTime(), getParentForChildren(), isClean()); + actualEndTime_ = null; + } + return actualEndTimeBuilder_; + } + + @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.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule) + private static final com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus + .StageSchedule + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule(); + } + + public static com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StageStatus(); - } + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StageSchedule 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 final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_descriptor; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpgradeClusterStatus_StageStatus_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.class, - com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.Builder.class); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; private int stageSpecificStatusCase_ = 0; @SuppressWarnings("serial") @@ -414,6 +2259,70 @@ public com.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status getState() : result; } + public static final int SCHEDULE_FIELD_NUMBER = 3; + private com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + schedule_; + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + @java.lang.Override + public boolean hasSchedule() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + return schedule_ == null + ? com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder() { + return schedule_ == null + ? com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -438,6 +2347,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { output.writeMessage( 11, @@ -464,6 +2376,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -490,6 +2405,10 @@ public boolean equals(final java.lang.Object obj) { if (stage_ != other.stage_) return false; if (state_ != other.state_) return false; + if (hasSchedule() != other.hasSchedule()) return false; + if (hasSchedule()) { + if (!getSchedule().equals(other.getSchedule())) return false; + } if (!getStageSpecificStatusCase().equals(other.getStageSpecificStatusCase())) return false; switch (stageSpecificStatusCase_) { case 11: @@ -514,6 +2433,10 @@ public int hashCode() { hash = (53 * hash) + stage_; hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; + if (hasSchedule()) { + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + getSchedule().hashCode(); + } switch (stageSpecificStatusCase_) { case 11: hash = (37 * hash) + READ_POOL_INSTANCES_UPGRADE_FIELD_NUMBER; @@ -657,10 +2580,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using // com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.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) { + getScheduleFieldBuilder(); + } } @java.lang.Override @@ -672,6 +2604,11 @@ public Builder clear() { } stage_ = 0; state_ = 0; + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } stageSpecificStatusCase_ = 0; stageSpecificStatus_ = null; return this; @@ -720,6 +2657,12 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.schedule_ = scheduleBuilder_ == null ? schedule_ : scheduleBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs( @@ -788,6 +2731,9 @@ public Builder mergeFrom( if (other.state_ != 0) { setStateValue(other.getStateValue()); } + if (other.hasSchedule()) { + mergeSchedule(other.getSchedule()); + } switch (other.getStageSpecificStatusCase()) { case READ_POOL_INSTANCES_UPGRADE: { @@ -837,6 +2783,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 16 + case 26: + { + input.readMessage(getScheduleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 case 90: { input.readMessage( @@ -1345,6 +3297,236 @@ public Builder clearState() { return this; } + private com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + schedule_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder> + scheduleBuilder_; + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + public boolean hasSchedule() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + if (scheduleBuilder_ == null) { + return schedule_ == null + ? com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } else { + return scheduleBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + schedule_ = value; + } else { + scheduleBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + builderForValue) { + if (scheduleBuilder_ == null) { + schedule_ = builderForValue.build(); + } else { + scheduleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeSchedule( + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && schedule_ != null + && schedule_ + != com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) { + getScheduleBuilder().mergeFrom(value); + } else { + schedule_ = value; + } + } else { + scheduleBuilder_.mergeFrom(value); + } + if (schedule_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000008); + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + getScheduleBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getScheduleFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder + getScheduleOrBuilder() { + if (scheduleBuilder_ != null) { + return scheduleBuilder_.getMessageOrBuilder(); + } else { + return schedule_ == null + ? com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder> + getScheduleFieldBuilder() { + if (scheduleBuilder_ == null) { + scheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder>(getSchedule(), getParentForChildren(), isClean()); + schedule_ = null; + } + return scheduleBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto index 335e704cb500..8fb7df71511b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto @@ -43,6 +43,14 @@ option (google.api.resource_definition) = { type: "compute.googleapis.com/Network" pattern: "projects/{project}/global/networks/{network}" }; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" +}; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/ServiceAttachment" + pattern: "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}" +}; // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. @@ -93,6 +101,9 @@ enum DatabaseVersion { // The database version is Postgres 16. POSTGRES_16 = 4; + + // The database version is Postgres 17. + POSTGRES_17 = 5; } // Subscription_type added to distinguish between Standard and Trial @@ -151,7 +162,9 @@ message EncryptionConfig { // The fully-qualified resource name of the KMS key. // Each Cloud KMS key is regionalized and has the following format: // projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] - string kms_key_name = 1; + string kms_key_name = 1 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // EncryptionInfo describes the encryption information of a cluster or a backup. @@ -496,7 +509,9 @@ message Cluster { message SecondaryConfig { // The name of the primary cluster name with the format: // * projects/{project}/locations/{region}/clusters/{cluster_id} - string primary_cluster_name = 1; + string primary_cluster_name = 1 [(google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + }]; } // Configuration for the primary cluster. It has the list of clusters that are @@ -505,8 +520,12 @@ message Cluster { message PrimaryConfig { // Output only. Names of the clusters that are replicating from this // cluster. - repeated string secondary_cluster_names = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string secondary_cluster_names = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + } + ]; } // PscConfig contains PSC related configuration at a cluster level. @@ -544,11 +563,8 @@ message Cluster { // The cluster is active and running. READY = 1; - // The cluster is stopped. All instances in the cluster are stopped. - // Customers can start a stopped cluster at any point and all their - // instances will come back to life with same names and IP resources. In - // this state, customer pays for storage. - // Associated backups could also be present in a stopped cluster. + // This is unused. Even when all instances in the cluster are stopped, the + // cluster remains in READY state. STOPPED = 2; // The cluster is empty and has no associated resources. @@ -764,10 +780,10 @@ message Cluster { (google.api.field_behavior) = OPTIONAL ]; - // Output only. AlloyDB per-cluster service agent email. This service account - // is created per-cluster per-project, and is different from that of the - // primary service agent which is created per-project. The service account - // naming format is subject to change. + // Output only. AlloyDB per-cluster service account. This service account is + // created per-cluster per-project, and is different from the per-project + // service account. The per-cluster service account naming format is subject + // to change. string service_account_email = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -983,8 +999,12 @@ message Instance { // Service Connect (PSC) is enabled for the instance. // The name of the resource will be in the format of // `projects//regions//serviceAttachments/` - string service_attachment_link = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + string service_attachment_link = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "compute.googleapis.com/ServiceAttachment" + } + ]; // Optional. List of consumer projects that are allowed to create // PSC endpoints to service-attachments to this instance. @@ -1051,20 +1071,14 @@ message Instance { // Configuration for Managed Connection Pool (MCP). message ConnectionPoolConfig { - // The pool mode. Defaults to `POOL_MODE_TRANSACTION`. - enum PoolMode { - // The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`. - POOL_MODE_UNSPECIFIED = 0; - - // Server is released back to pool after a client disconnects. - POOL_MODE_SESSION = 1; - - // Server is released back to pool after a transaction finishes. - POOL_MODE_TRANSACTION = 2; - } - // Optional. Whether to enable Managed Connection Pool (MCP). bool enabled = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Connection Pool flags, as a list of "key": "value" pairs. + map flags = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The number of running poolers per instance. + int32 pooler_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Instance State @@ -1725,13 +1739,43 @@ message Database { // `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`. string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Optional. Charset for the database. + // Optional. Immutable. Charset for the database. // This field can contain any PostgreSQL supported charset name. // Example values include "UTF8", "SQL_ASCII", etc. - string charset = 2 [(google.api.field_behavior) = OPTIONAL]; + string charset = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Immutable. lc_collate for the database. + // String sort order. + // Example values include "C", "POSIX", etc. + string collation = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; - // Optional. Collation for the database. - // Name of the custom or native collation for postgres. - // Example values include "C", "POSIX", etc - string collation = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Immutable. lc_ctype for the database. + // Character classification (What is a letter? The upper-case equivalent?). + // Example values include "C", "POSIX", etc. + string character_type = 4 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Whether the database is a template database. + // Deprecated in favor of is_template_database. + bool is_template = 5 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Input only. Immutable. Template of the database to be used for creating a + // new database. + string database_template = 6 [ + (google.api.field_behavior) = INPUT_ONLY, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Whether the database is a template database. + optional bool is_template_database = 7 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto index 9d453fdfe881..a25497c1ec0d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto @@ -492,6 +492,15 @@ service AlloyDBAdmin { }; option (google.api.method_signature) = "parent"; } + + // Creates a new Database in a given project, location, and cluster. + rpc CreateDatabase(CreateDatabaseRequest) returns (Database) { + option (google.api.http) = { + post: "/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases" + body: "database" + }; + option (google.api.method_signature) = "parent,database,database_id"; + } } // Message for requesting list of Clusters @@ -1606,6 +1615,10 @@ message ExecuteSqlRequest { // Required. SQL statement to execute on database. Any valid statement is // permitted, including DDL, DML, DQL statements. string sql_statement = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If set, validates the sql statement by performing + // syntax and semantic validation and doesn't execute the query. + bool validate_only = 6 [(google.api.field_behavior) = OPTIONAL]; } // Execute a SQL statement response. @@ -2021,6 +2034,23 @@ message PromoteClusterStatus { message UpgradeClusterStatus { // Status of an upgrade stage. message StageStatus { + // Timing information for the stage execution. + message StageSchedule { + // When the stage is expected to start. Set only if the stage has not + // started yet. + google.protobuf.Timestamp estimated_start_time = 1; + + // Actual start time of the stage. Set only if the stage has started. + google.protobuf.Timestamp actual_start_time = 2; + + // When the stage is expected to end. Set only if the stage has not + // completed yet. + google.protobuf.Timestamp estimated_end_time = 3; + + // Actual end time of the stage. Set only if the stage has completed. + google.protobuf.Timestamp actual_end_time = 4; + } + // Stage specific status information, if any. oneof stage_specific_status { // Read pool instances upgrade metadata. @@ -2032,6 +2062,9 @@ message UpgradeClusterStatus { // State of this stage. UpgradeClusterResponse.Status state = 2; + + // Output only. Timing information for the stage execution. + StageSchedule schedule = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Read pool instances upgrade specific status. @@ -2218,7 +2251,7 @@ message DeleteUserRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Message for requesting list of Databases. +// Message for ListDatabases request. message ListDatabasesRequest { // Required. Parent value for ListDatabasesRequest. string parent = 1 [ @@ -2244,12 +2277,29 @@ message ListDatabasesRequest { string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Message for response to listing Databases. +// Message for ListDatabases response. message ListDatabasesResponse { - // The list of databases + // The list of databases. repeated Database databases = 1; // A token identifying the next page of results the server should return. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } + +// Message for CreateDatabase request. +message CreateDatabaseRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/Database" + } + ]; + + // Required. ID of the requesting object. + string database_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created. + Database database = 3 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java index 765b758a0f66..117940ce2ce4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java @@ -125,11 +125,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -238,11 +235,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * The cluster is stopped. All instances in the cluster are stopped.
-     * Customers can start a stopped cluster at any point and all their
-     * instances will come back to life with same names and IP resources. In
-     * this state, customer pays for storage.
-     * Associated backups could also be present in a stopped cluster.
+     * This is unused. Even when all instances in the cluster are stopped, the
+     * cluster remains in READY state.
      * 
* * STOPPED = 2; @@ -1586,7 +1580,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1600,7 +1594,7 @@ public interface SecondaryConfigOrBuilder * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -1666,7 +1660,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -1691,7 +1685,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2067,7 +2061,7 @@ public Builder mergeFrom( * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The primaryClusterName. */ @@ -2091,7 +2085,7 @@ public java.lang.String getPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for primaryClusterName. */ @@ -2115,7 +2109,7 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The primaryClusterName to set. * @return This builder for chaining. @@ -2138,7 +2132,7 @@ public Builder setPrimaryClusterName(java.lang.String value) { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -2157,7 +2151,7 @@ public Builder clearPrimaryClusterName() { * * projects/{project}/locations/{region}/clusters/{cluster_id} * * - * string primary_cluster_name = 1; + * string primary_cluster_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. @@ -2251,7 +2245,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2267,7 +2261,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2283,7 +2277,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2300,7 +2294,7 @@ public interface PrimaryConfigOrBuilder * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2371,7 +2365,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2389,7 +2383,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2407,7 +2401,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2426,7 +2420,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2822,7 +2816,7 @@ private void ensureSecondaryClusterNamesIsMutable() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return A list containing the secondaryClusterNames. @@ -2841,7 +2835,7 @@ public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The count of secondaryClusterNames. @@ -2859,7 +2853,7 @@ public int getSecondaryClusterNamesCount() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the element to return. @@ -2878,7 +2872,7 @@ public java.lang.String getSecondaryClusterNames(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index of the value to return. @@ -2897,7 +2891,7 @@ public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param index The index to set the value at. @@ -2924,7 +2918,7 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The secondaryClusterNames to add. @@ -2950,7 +2944,7 @@ public Builder addSecondaryClusterNames(java.lang.String value) { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param values The secondaryClusterNames to add. @@ -2973,7 +2967,7 @@ public Builder addAllSecondaryClusterNames(java.lang.Iterable * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -2995,7 +2989,7 @@ public Builder clearSecondaryClusterNames() { * * * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes of the secondaryClusterNames to add. @@ -6324,7 +6318,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The network. */ @java.lang.Override @@ -6357,7 +6351,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Override @@ -6713,7 +6707,7 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -6732,7 +6726,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Override @@ -7347,7 +7341,7 @@ public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedul * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -7369,7 +7363,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return The geminiConfig. */ @java.lang.Override @@ -7645,10 +7639,10 @@ public java.lang.String getTagsOrThrow(java.lang.String key) { * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -7672,10 +7666,10 @@ public java.lang.String getServiceAccountEmail() { * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -11631,7 +11625,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The network. */ @java.lang.Deprecated @@ -11663,7 +11657,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Deprecated @@ -11695,7 +11689,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @param value The network to set. * @return This builder for chaining. */ @@ -11726,7 +11720,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11753,7 +11747,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -12630,7 +12624,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -12648,7 +12642,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Deprecated @@ -14888,7 +14882,7 @@ public Builder clearMaintenanceSchedule() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -14909,7 +14903,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return The geminiConfig. */ @java.lang.Deprecated @@ -15652,10 +15646,10 @@ public Builder putAllTags(java.util.Map valu * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15678,10 +15672,10 @@ public java.lang.String getServiceAccountEmail() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15704,10 +15698,10 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15729,10 +15723,10 @@ public Builder setServiceAccountEmail(java.lang.String value) { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15750,10 +15744,10 @@ public Builder clearServiceAccountEmail() { * * *
-     * Output only. AlloyDB per-cluster service agent email. This service account
-     * is created per-cluster per-project, and is different from that of the
-     * primary service agent which is created per-project. The service account
-     * naming format is subject to change.
+     * Output only. AlloyDB per-cluster service account. This service account is
+     * created per-cluster per-project, and is different from the per-project
+     * service account. The per-cluster service account naming format is subject
+     * to change.
      * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java index 1010e5af341c..fb1eb9d1ab49 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java @@ -570,7 +570,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The network. */ @java.lang.Deprecated @@ -592,7 +592,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=659 + * google/cloud/alloydb/v1beta/resources.proto;l=675 * @return The bytes for network. */ @java.lang.Deprecated @@ -826,7 +826,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=694 + * google/cloud/alloydb/v1beta/resources.proto;l=710 * @return The sslConfig. */ @java.lang.Deprecated @@ -1290,7 +1290,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1309,7 +1309,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=741 + * google/cloud/alloydb/v1beta/resources.proto;l=757 * @return The geminiConfig. */ @java.lang.Deprecated @@ -1505,10 +1505,10 @@ java.lang.String getTagsOrDefault( * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1521,10 +1521,10 @@ java.lang.String getTagsOrDefault( * * *
-   * Output only. AlloyDB per-cluster service agent email. This service account
-   * is created per-cluster per-project, and is different from that of the
-   * primary service agent which is created per-project. The service account
-   * naming format is subject to change.
+   * Output only. AlloyDB per-cluster service account. This service account is
+   * created per-cluster per-project, and is different from the per-project
+   * service account. The per-cluster service account naming format is subject
+   * to change.
    * 
* * string service_account_email = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java index f1f64262e780..d1b514499ec6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java @@ -264,7 +264,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -285,7 +285,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -306,7 +306,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -328,7 +328,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1316,7 +1316,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1338,7 +1338,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1359,7 +1359,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1381,7 +1381,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1403,7 +1403,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1433,7 +1433,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1462,7 +1462,7 @@ public Builder addPemCertificateChain(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1488,7 +1488,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterable va * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1513,7 +1513,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1357 + * See google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java index 6e9f0bf893b8..ebad5060d5a3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java @@ -131,7 +131,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -189,7 +189,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1357 + * google/cloud/alloydb/v1beta/resources.proto;l=1368 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequest.java new file mode 100644 index 000000000000..021623dd6842 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequest.java @@ -0,0 +1,1153 @@ +/* + * 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/alloydb/v1beta/service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.alloydb.v1beta; + +/** + * + * + *
+ * Message for CreateDatabase request.
+ * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.CreateDatabaseRequest} + */ +public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateDatabaseRequest) + CreateDatabaseRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use CreateDatabaseRequest.newBuilder() to construct. + private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateDatabaseRequest() { + parent_ = ""; + databaseId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateDatabaseRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.class, + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 DATABASE_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object databaseId_ = ""; + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + @java.lang.Override + public java.lang.String getDatabaseId() { + java.lang.Object ref = databaseId_; + 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(); + databaseId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseIdBytes() { + java.lang.Object ref = databaseId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_FIELD_NUMBER = 3; + private com.google.cloud.alloydb.v1beta.Database database_; + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + @java.lang.Override + public boolean hasDatabase() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Database getDatabase() { + return database_ == null + ? com.google.cloud.alloydb.v1beta.Database.getDefaultInstance() + : database_; + } + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.DatabaseOrBuilder getDatabaseOrBuilder() { + return database_ == null + ? com.google.cloud.alloydb.v1beta.Database.getDefaultInstance() + : database_; + } + + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, databaseId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getDatabase()); + } + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, databaseId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatabase()); + } + 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.alloydb.v1beta.CreateDatabaseRequest)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest other = + (com.google.cloud.alloydb.v1beta.CreateDatabaseRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (hasDatabase() != other.hasDatabase()) return false; + if (hasDatabase()) { + if (!getDatabase().equals(other.getDatabase())) 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(); + hash = (37 * hash) + DATABASE_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseId().hashCode(); + if (hasDatabase()) { + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest 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; + } + + /** + * + * + *
+   * Message for CreateDatabase request.
+   * 
+ * + * Protobuf type {@code google.cloud.alloydb.v1beta.CreateDatabaseRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateDatabaseRequest) + com.google.cloud.alloydb.v1beta.CreateDatabaseRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.class, + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.Builder.class); + } + + // Construct using com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDatabaseFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + databaseId_ = ""; + database_ = null; + if (databaseBuilder_ != null) { + databaseBuilder_.dispose(); + databaseBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.CreateDatabaseRequest getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.CreateDatabaseRequest build() { + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.CreateDatabaseRequest buildPartial() { + com.google.cloud.alloydb.v1beta.CreateDatabaseRequest result = + new com.google.cloud.alloydb.v1beta.CreateDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateDatabaseRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.databaseId_ = databaseId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.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.cloud.alloydb.v1beta.CreateDatabaseRequest) { + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateDatabaseRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateDatabaseRequest other) { + if (other == com.google.cloud.alloydb.v1beta.CreateDatabaseRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDatabaseId().isEmpty()) { + databaseId_ = other.databaseId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasDatabase()) { + mergeDatabase(other.getDatabase()); + } + 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: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getDatabaseFieldBuilder().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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Value for parent.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 java.lang.Object databaseId_ = ""; + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + public java.lang.String getDatabaseId() { + java.lang.Object ref = databaseId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + public com.google.protobuf.ByteString getDatabaseIdBytes() { + java.lang.Object ref = databaseId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The databaseId to set. + * @return This builder for chaining. + */ + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + databaseId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDatabaseId() { + databaseId_ = getDefaultInstance().getDatabaseId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. ID of the requesting object.
+     * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for databaseId to set. + * @return This builder for chaining. + */ + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.alloydb.v1beta.Database database_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Database, + com.google.cloud.alloydb.v1beta.Database.Builder, + com.google.cloud.alloydb.v1beta.DatabaseOrBuilder> + databaseBuilder_; + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + public boolean hasDatabase() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + public com.google.cloud.alloydb.v1beta.Database getDatabase() { + if (databaseBuilder_ == null) { + return database_ == null + ? com.google.cloud.alloydb.v1beta.Database.getDefaultInstance() + : database_; + } else { + return databaseBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDatabase(com.google.cloud.alloydb.v1beta.Database value) { + if (databaseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + database_ = value; + } else { + databaseBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDatabase(com.google.cloud.alloydb.v1beta.Database.Builder builderForValue) { + if (databaseBuilder_ == null) { + database_ = builderForValue.build(); + } else { + databaseBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDatabase(com.google.cloud.alloydb.v1beta.Database value) { + if (databaseBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && database_ != null + && database_ != com.google.cloud.alloydb.v1beta.Database.getDefaultInstance()) { + getDatabaseBuilder().mergeFrom(value); + } else { + database_ = value; + } + } else { + databaseBuilder_.mergeFrom(value); + } + if (database_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDatabase() { + bitField0_ = (bitField0_ & ~0x00000004); + database_ = null; + if (databaseBuilder_ != null) { + databaseBuilder_.dispose(); + databaseBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.alloydb.v1beta.Database.Builder getDatabaseBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getDatabaseFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.alloydb.v1beta.DatabaseOrBuilder getDatabaseOrBuilder() { + if (databaseBuilder_ != null) { + return databaseBuilder_.getMessageOrBuilder(); + } else { + return database_ == null + ? com.google.cloud.alloydb.v1beta.Database.getDefaultInstance() + : database_; + } + } + + /** + * + * + *
+     * Required. The resource being created.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Database, + com.google.cloud.alloydb.v1beta.Database.Builder, + com.google.cloud.alloydb.v1beta.DatabaseOrBuilder> + getDatabaseFieldBuilder() { + if (databaseBuilder_ == null) { + databaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Database, + com.google.cloud.alloydb.v1beta.Database.Builder, + com.google.cloud.alloydb.v1beta.DatabaseOrBuilder>( + getDatabase(), getParentForChildren(), isClean()); + database_ = null; + } + return databaseBuilder_; + } + + @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.alloydb.v1beta.CreateDatabaseRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateDatabaseRequest) + private static final com.google.cloud.alloydb.v1beta.CreateDatabaseRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateDatabaseRequest(); + } + + public static com.google.cloud.alloydb.v1beta.CreateDatabaseRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseRequest 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.alloydb.v1beta.CreateDatabaseRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequestOrBuilder.java new file mode 100644 index 000000000000..33bf2fccfed0 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateDatabaseRequestOrBuilder.java @@ -0,0 +1,125 @@ +/* + * 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/alloydb/v1beta/service.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.alloydb.v1beta; + +public interface CreateDatabaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. Value for parent.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The databaseId. + */ + java.lang.String getDatabaseId(); + + /** + * + * + *
+   * Required. ID of the requesting object.
+   * 
+ * + * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for databaseId. + */ + com.google.protobuf.ByteString getDatabaseIdBytes(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the database field is set. + */ + boolean hasDatabase(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The database. + */ + com.google.cloud.alloydb.v1beta.Database getDatabase(); + + /** + * + * + *
+   * Required. The resource being created.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.Database database = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1beta.DatabaseOrBuilder getDatabaseOrBuilder(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java index d6601a292256..a5641e23b6a4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java @@ -43,6 +43,8 @@ private Database() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + databaseTemplate_ = ""; } @java.lang.Override @@ -66,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.alloydb.v1beta.Database.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -130,12 +133,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -156,12 +161,14 @@ public java.lang.String getCharset() { * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -187,12 +194,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -213,12 +222,14 @@ public java.lang.String getCollation() { * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -235,6 +246,184 @@ public com.google.protobuf.ByteString getCollationBytes() { } } + public static final int CHARACTER_TYPE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object characterType_ = ""; + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + @java.lang.Override + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + 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(); + characterType_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_TEMPLATE_FIELD_NUMBER = 5; + private boolean isTemplate_ = false; + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * Deprecated in favor of is_template_database.
+   * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * @return The isTemplate. + */ + @java.lang.Override + @java.lang.Deprecated + public boolean getIsTemplate() { + return isTemplate_; + } + + public static final int DATABASE_TEMPLATE_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + @java.lang.Override + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + 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(); + databaseTemplate_ = s; + return s; + } + } + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_TEMPLATE_DATABASE_FIELD_NUMBER = 7; + private boolean isTemplateDatabase_ = false; + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -258,6 +447,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, characterType_); + } + if (isTemplate_ != false) { + output.writeBool(5, isTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(7, isTemplateDatabase_); + } getUnknownFields().writeTo(output); } @@ -276,6 +477,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collation_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(characterType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, characterType_); + } + if (isTemplate_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, databaseTemplate_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isTemplateDatabase_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -294,6 +507,13 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getCharset().equals(other.getCharset())) return false; if (!getCollation().equals(other.getCollation())) return false; + if (!getCharacterType().equals(other.getCharacterType())) return false; + if (getIsTemplate() != other.getIsTemplate()) return false; + if (!getDatabaseTemplate().equals(other.getDatabaseTemplate())) return false; + if (hasIsTemplateDatabase() != other.hasIsTemplateDatabase()) return false; + if (hasIsTemplateDatabase()) { + if (getIsTemplateDatabase() != other.getIsTemplateDatabase()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,6 +531,16 @@ public int hashCode() { hash = (53 * hash) + getCharset().hashCode(); hash = (37 * hash) + COLLATION_FIELD_NUMBER; hash = (53 * hash) + getCollation().hashCode(); + hash = (37 * hash) + CHARACTER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getCharacterType().hashCode(); + hash = (37 * hash) + IS_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTemplate()); + hash = (37 * hash) + DATABASE_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseTemplate().hashCode(); + if (hasIsTemplateDatabase()) { + hash = (37 * hash) + IS_TEMPLATE_DATABASE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsTemplateDatabase()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -454,6 +684,10 @@ public Builder clear() { name_ = ""; charset_ = ""; collation_ = ""; + characterType_ = ""; + isTemplate_ = false; + databaseTemplate_ = ""; + isTemplateDatabase_ = false; return this; } @@ -499,6 +733,21 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Database result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.collation_ = collation_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.characterType_ = characterType_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.isTemplate_ = isTemplate_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.databaseTemplate_ = databaseTemplate_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.isTemplateDatabase_ = isTemplateDatabase_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -561,6 +810,22 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Database other) { bitField0_ |= 0x00000004; onChanged(); } + if (!other.getCharacterType().isEmpty()) { + characterType_ = other.characterType_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getIsTemplate() != false) { + setIsTemplate(other.getIsTemplate()); + } + if (!other.getDatabaseTemplate().isEmpty()) { + databaseTemplate_ = other.databaseTemplate_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasIsTemplateDatabase()) { + setIsTemplateDatabase(other.getIsTemplateDatabase()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -605,6 +870,30 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + characterType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + isTemplate_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + databaseTemplate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + isTemplateDatabase_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -746,12 +1035,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -771,12 +1062,14 @@ public java.lang.String getCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -796,12 +1089,14 @@ public com.google.protobuf.ByteString getCharsetBytes() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The charset to set. * @return This builder for chaining. @@ -820,12 +1115,14 @@ public Builder setCharset(java.lang.String value) { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -840,12 +1137,14 @@ public Builder clearCharset() { * * *
-     * Optional. Charset for the database.
+     * Optional. Immutable. Charset for the database.
      * This field can contain any PostgreSQL supported charset name.
      * Example values include "UTF8", "SQL_ASCII", etc.
      * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for charset to set. * @return This builder for chaining. @@ -867,12 +1166,14 @@ public Builder setCharsetBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -892,12 +1193,14 @@ public java.lang.String getCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ @@ -917,12 +1220,14 @@ public com.google.protobuf.ByteString getCollationBytes() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The collation to set. * @return This builder for chaining. @@ -941,12 +1246,14 @@ public Builder setCollation(java.lang.String value) { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return This builder for chaining. */ @@ -961,12 +1268,14 @@ public Builder clearCollation() { * * *
-     * Optional. Collation for the database.
-     * Name of the custom or native collation for postgres.
-     * Example values include "C", "POSIX", etc
+     * Optional. Immutable. lc_collate for the database.
+     * String sort order.
+     * Example values include "C", "POSIX", etc.
      * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @param value The bytes for collation to set. * @return This builder for chaining. @@ -982,6 +1291,410 @@ public Builder setCollationBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object characterType_ = ""; + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + public java.lang.String getCharacterType() { + java.lang.Object ref = characterType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + characterType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + public com.google.protobuf.ByteString getCharacterTypeBytes() { + java.lang.Object ref = characterType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + characterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearCharacterType() { + characterType_ = getDefaultInstance().getCharacterType(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Immutable. lc_ctype for the database.
+     * Character classification (What is a letter? The upper-case equivalent?).
+     * Example values include "C", "POSIX", etc.
+     * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for characterType to set. + * @return This builder for chaining. + */ + public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + characterType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private boolean isTemplate_; + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * @return The isTemplate. + */ + @java.lang.Override + @java.lang.Deprecated + public boolean getIsTemplate() { + return isTemplate_; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * @param value The isTemplate to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder setIsTemplate(boolean value) { + + isTemplate_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * Deprecated in favor of is_template_database.
+     * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * + * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder clearIsTemplate() { + bitField0_ = (bitField0_ & ~0x00000010); + isTemplate_ = false; + onChanged(); + return this; + } + + private java.lang.Object databaseTemplate_ = ""; + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + public java.lang.String getDatabaseTemplate() { + java.lang.Object ref = databaseTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + public com.google.protobuf.ByteString getDatabaseTemplateBytes() { + java.lang.Object ref = databaseTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + databaseTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + databaseTemplate_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearDatabaseTemplate() { + databaseTemplate_ = getDefaultInstance().getDatabaseTemplate(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Immutable. Template of the database to be used for creating a
+     * new database.
+     * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The bytes for databaseTemplate to set. + * @return This builder for chaining. + */ + public Builder setDatabaseTemplateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseTemplate_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean isTemplateDatabase_; + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the isTemplateDatabase field is set. + */ + @java.lang.Override + public boolean hasIsTemplateDatabase() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The isTemplateDatabase. + */ + @java.lang.Override + public boolean getIsTemplateDatabase() { + return isTemplateDatabase_; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The isTemplateDatabase to set. + * @return This builder for chaining. + */ + public Builder setIsTemplateDatabase(boolean value) { + + isTemplateDatabase_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Whether the database is a template database.
+     * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIsTemplateDatabase() { + bitField0_ = (bitField0_ & ~0x00000040); + isTemplateDatabase_ = 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-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java index b89e77f52c27..20fe2274f57f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java @@ -56,12 +56,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The charset. */ @@ -71,12 +73,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Charset for the database.
+   * Optional. Immutable. Charset for the database.
    * This field can contain any PostgreSQL supported charset name.
    * Example values include "UTF8", "SQL_ASCII", etc.
    * 
* - * string charset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for charset. */ @@ -86,12 +90,14 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The collation. */ @@ -101,14 +107,125 @@ public interface DatabaseOrBuilder * * *
-   * Optional. Collation for the database.
-   * Name of the custom or native collation for postgres.
-   * Example values include "C", "POSIX", etc
+   * Optional. Immutable. lc_collate for the database.
+   * String sort order.
+   * Example values include "C", "POSIX", etc.
    * 
* - * string collation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * * * @return The bytes for collation. */ com.google.protobuf.ByteString getCollationBytes(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The characterType. + */ + java.lang.String getCharacterType(); + + /** + * + * + *
+   * Optional. Immutable. lc_ctype for the database.
+   * Character classification (What is a letter? The upper-case equivalent?).
+   * Example values include "C", "POSIX", etc.
+   * 
+ * + * + * string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for characterType. + */ + com.google.protobuf.ByteString getCharacterTypeBytes(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * Deprecated in favor of is_template_database.
+   * 
+ * + * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * + * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=1758 + * @return The isTemplate. + */ + @java.lang.Deprecated + boolean getIsTemplate(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The databaseTemplate. + */ + java.lang.String getDatabaseTemplate(); + + /** + * + * + *
+   * Input only. Immutable. Template of the database to be used for creating a
+   * new database.
+   * 
+ * + * + * string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The bytes for databaseTemplate. + */ + com.google.protobuf.ByteString getDatabaseTemplateBytes(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the isTemplateDatabase field is set. + */ + boolean hasIsTemplateDatabase(); + + /** + * + * + *
+   * Optional. Whether the database is a template database.
+   * 
+ * + * optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isTemplateDatabase. + */ + boolean getIsTemplateDatabase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java index 68f63725f976..49771a12ba4f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java @@ -80,6 +80,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_16 = 4; */ POSTGRES_16(4), + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + POSTGRES_17(5), UNRECOGNIZED(-1), ; @@ -138,6 +148,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_16_VALUE = 4; + /** + * + * + *
+   * The database version is Postgres 17.
+   * 
+ * + * POSTGRES_17 = 5; + */ + public static final int POSTGRES_17_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,6 +193,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_15; case 4: return POSTGRES_16; + case 5: + return POSTGRES_17; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java index a27035ff4cab..5e9da1b59295 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java @@ -79,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -105,7 +105,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -477,7 +477,7 @@ public Builder mergeFrom( * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -502,7 +502,7 @@ public java.lang.String getKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ @@ -527,7 +527,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The kmsKeyName to set. * @return This builder for chaining. @@ -551,7 +551,7 @@ public Builder setKmsKeyName(java.lang.String value) { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -571,7 +571,7 @@ public Builder clearKmsKeyName() { * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java index 82e6497a7385..24d6273b5e96 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The kmsKeyName. */ @@ -48,7 +48,7 @@ public interface EncryptionConfigOrBuilder * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] * * - * string kms_key_name = 1; + * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } * * @return The bytes for kmsKeyName. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequest.java index 99275785df77..471fd90e7cf2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequest.java @@ -415,6 +415,26 @@ public com.google.protobuf.ByteString getSqlStatementBytes() { } } + public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; + private boolean validateOnly_ = false; + + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -444,6 +464,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (userCredentialCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, userCredential_); } + if (validateOnly_ != false) { + output.writeBool(6, validateOnly_); + } getUnknownFields().writeTo(output); } @@ -468,6 +491,9 @@ public int getSerializedSize() { if (userCredentialCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, userCredential_); } + if (validateOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -488,6 +514,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDatabase().equals(other.getDatabase())) return false; if (!getUser().equals(other.getUser())) return false; if (!getSqlStatement().equals(other.getSqlStatement())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUserCredentialCase().equals(other.getUserCredentialCase())) return false; switch (userCredentialCase_) { case 5: @@ -515,6 +542,8 @@ public int hashCode() { hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + SQL_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + getSqlStatement().hashCode(); + hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); switch (userCredentialCase_) { case 5: hash = (37 * hash) + PASSWORD_FIELD_NUMBER; @@ -667,6 +696,7 @@ public Builder clear() { database_ = ""; user_ = ""; sqlStatement_ = ""; + validateOnly_ = false; userCredentialCase_ = 0; userCredential_ = null; return this; @@ -718,6 +748,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ExecuteSqlRequest res if (((from_bitField0_ & 0x00000010) != 0)) { result.sqlStatement_ = sqlStatement_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.validateOnly_ = validateOnly_; + } } private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.ExecuteSqlRequest result) { @@ -791,6 +824,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ExecuteSqlRequest other bitField0_ |= 0x00000010; onChanged(); } + if (other.getValidateOnly() != false) { + setValidateOnly(other.getValidateOnly()); + } switch (other.getUserCredentialCase()) { case PASSWORD: { @@ -861,6 +897,12 @@ public Builder mergeFrom( userCredential_ = s; break; } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1517,6 +1559,65 @@ public Builder setSqlStatementBytes(com.google.protobuf.ByteString value) { return this; } + private boolean validateOnly_; + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The validateOnly to set. + * @return This builder for chaining. + */ + public Builder setValidateOnly(boolean value) { + + validateOnly_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If set, validates the sql statement by performing
+     * syntax and semantic validation and doesn't execute the query.
+     * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearValidateOnly() { + bitField0_ = (bitField0_ & ~0x00000020); + validateOnly_ = 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-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequestOrBuilder.java index 2d11092039b5..947ba8a59f6f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ExecuteSqlRequestOrBuilder.java @@ -183,5 +183,19 @@ public interface ExecuteSqlRequestOrBuilder */ com.google.protobuf.ByteString getSqlStatementBytes(); + /** + * + * + *
+   * Optional. If set, validates the sql statement by performing
+   * syntax and semantic validation and doesn't execute the query.
+   * 
+ * + * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The validateOnly. + */ + boolean getValidateOnly(); + com.google.cloud.alloydb.v1beta.ExecuteSqlRequest.UserCredentialCase getUserCredentialCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java index 9da6e3e4520f..e414b8cbd6e0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java @@ -222,7 +222,7 @@ public com.google.protobuf.ByteString getRequestIdBytes() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1879 + * See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1879 + * See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Override @@ -1206,7 +1206,7 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Deprecated @@ -1233,7 +1233,7 @@ public java.lang.String getPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Deprecated @@ -1260,7 +1260,7 @@ public com.google.protobuf.ByteString getPemCsrBytes() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1892 * @param value The pemCsr to set. * @return This builder for chaining. */ @@ -1286,7 +1286,7 @@ public Builder setPemCsr(java.lang.String value) { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearPemCsr() { * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1879 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1892 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java index ab50b7e18756..7efac40a8be4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java @@ -117,7 +117,7 @@ public interface GenerateClientCertificateRequestOrBuilder * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1879 + * See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The pemCsr. */ @java.lang.Deprecated @@ -134,7 +134,7 @@ public interface GenerateClientCertificateRequestOrBuilder * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1879 + * See google/cloud/alloydb/v1beta/service.proto;l=1892 * @return The bytes for pemCsr. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java index db1aebec5b81..b6a2bcd42c8e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getPemCertificate() { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Override @@ -685,7 +685,7 @@ public Builder mergeFrom( * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Deprecated @@ -713,7 +713,7 @@ public java.lang.String getPemCertificate() { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Deprecated @@ -741,7 +741,7 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @param value The pemCertificate to set. * @return This builder for chaining. */ @@ -768,7 +768,7 @@ public Builder setPemCertificate(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return This builder for chaining. */ @java.lang.Deprecated @@ -791,7 +791,7 @@ public Builder clearPemCertificate() { * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java index cfb221652d07..52a42244a62c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java @@ -36,7 +36,7 @@ public interface GenerateClientCertificateResponseOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The pemCertificate. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GenerateClientCertificateResponseOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1902 + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1915 * @return The bytes for pemCertificate. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index 5983c0260624..194d4c8cf731 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java @@ -11058,7 +11058,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -11074,7 +11076,9 @@ public interface PscInstanceConfigOrBuilder * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -11393,7 +11397,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The serviceAttachmentLink. */ @@ -11420,7 +11426,9 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for serviceAttachmentLink. */ @@ -12341,7 +12349,8 @@ public Builder mergeFrom( * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The serviceAttachmentLink. @@ -12368,7 +12377,8 @@ public java.lang.String getServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The bytes for serviceAttachmentLink. @@ -12395,7 +12405,8 @@ public com.google.protobuf.ByteString getServiceAttachmentLinkBytes() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The serviceAttachmentLink to set. @@ -12421,7 +12432,8 @@ public Builder setServiceAttachmentLink(java.lang.String value) { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -12443,7 +12455,8 @@ public Builder clearServiceAttachmentLink() { * `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>` * * - * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @param value The bytes for serviceAttachmentLink to set. @@ -16451,6 +16464,19 @@ java.lang.String getFlagsOrDefault( * map<string, string> flags = 13 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getFlagsOrThrow(java.lang.String key); + + /** + * + * + *
+     * Output only. The number of running poolers per instance.
+     * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + int getPoolerCount(); } /** @@ -16508,167 +16534,6 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl com.google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.Builder.class); } - /** - * - * - *
-     * The pool mode. Defaults to `POOL_MODE_TRANSACTION`.
-     * 
- * - * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.PoolMode} - */ - public enum PoolMode implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-       * The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.
-       * 
- * - * POOL_MODE_UNSPECIFIED = 0; - */ - POOL_MODE_UNSPECIFIED(0), - /** - * - * - *
-       * Server is released back to pool after a client disconnects.
-       * 
- * - * POOL_MODE_SESSION = 1; - */ - POOL_MODE_SESSION(1), - /** - * - * - *
-       * Server is released back to pool after a transaction finishes.
-       * 
- * - * POOL_MODE_TRANSACTION = 2; - */ - POOL_MODE_TRANSACTION(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-       * The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`.
-       * 
- * - * POOL_MODE_UNSPECIFIED = 0; - */ - public static final int POOL_MODE_UNSPECIFIED_VALUE = 0; - - /** - * - * - *
-       * Server is released back to pool after a client disconnects.
-       * 
- * - * POOL_MODE_SESSION = 1; - */ - public static final int POOL_MODE_SESSION_VALUE = 1; - - /** - * - * - *
-       * Server is released back to pool after a transaction finishes.
-       * 
- * - * POOL_MODE_TRANSACTION = 2; - */ - public static final int POOL_MODE_TRANSACTION_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 PoolMode 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 PoolMode forNumber(int value) { - switch (value) { - case 0: - return POOL_MODE_UNSPECIFIED; - case 1: - return POOL_MODE_SESSION; - case 2: - return POOL_MODE_TRANSACTION; - 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 PoolMode findValueByNumber(int number) { - return PoolMode.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.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final PoolMode[] VALUES = values(); - - public static PoolMode 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 PoolMode(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.PoolMode) - } - public static final int ENABLED_FIELD_NUMBER = 12; private boolean enabled_ = false; @@ -16795,6 +16660,25 @@ public java.lang.String getFlagsOrThrow(java.lang.String key) { return map.get(key); } + public static final int POOLER_COUNT_FIELD_NUMBER = 14; + private int poolerCount_ = 0; + + /** + * + * + *
+     * Output only. The number of running poolers per instance.
+     * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + @java.lang.Override + public int getPoolerCount() { + return poolerCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -16814,6 +16698,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetFlags(), FlagsDefaultEntryHolder.defaultEntry, 13); + if (poolerCount_ != 0) { + output.writeInt32(14, poolerCount_); + } getUnknownFields().writeTo(output); } @@ -16836,6 +16723,9 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, flags__); } + if (poolerCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, poolerCount_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -16854,6 +16744,7 @@ public boolean equals(final java.lang.Object obj) { if (getEnabled() != other.getEnabled()) return false; if (!internalGetFlags().equals(other.internalGetFlags())) return false; + if (getPoolerCount() != other.getPoolerCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -16871,6 +16762,8 @@ public int hashCode() { hash = (37 * hash) + FLAGS_FIELD_NUMBER; hash = (53 * hash) + internalGetFlags().hashCode(); } + hash = (37 * hash) + POOLER_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPoolerCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -17038,6 +16931,7 @@ public Builder clear() { bitField0_ = 0; enabled_ = false; internalGetMutableFlags().clear(); + poolerCount_ = 0; return this; } @@ -17083,6 +16977,9 @@ private void buildPartial0( result.flags_ = internalGetFlags(); result.flags_.makeImmutable(); } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.poolerCount_ = poolerCount_; + } } @java.lang.Override @@ -17140,6 +17037,9 @@ public Builder mergeFrom( } internalGetMutableFlags().mergeFrom(other.internalGetFlags()); bitField0_ |= 0x00000002; + if (other.getPoolerCount() != 0) { + setPoolerCount(other.getPoolerCount()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -17184,6 +17084,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 106 + case 112: + { + poolerCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 112 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -17438,6 +17344,62 @@ public Builder putAllFlags(java.util.Map val return this; } + private int poolerCount_; + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The poolerCount. + */ + @java.lang.Override + public int getPoolerCount() { + return poolerCount_; + } + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The poolerCount to set. + * @return This builder for chaining. + */ + public Builder setPoolerCount(int value) { + + poolerCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. The number of running poolers per instance.
+       * 
+ * + * int32 pooler_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearPoolerCount() { + bitField0_ = (bitField0_ & ~0x00000004); + poolerCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19289,7 +19251,7 @@ public com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig getNetwork *
* * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -19311,7 +19273,7 @@ public boolean hasGeminiConfig() { *
* * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return The geminiConfig. */ @java.lang.Override @@ -26045,7 +26007,7 @@ public Builder clearNetworkConfig() { *
* * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -26066,7 +26028,7 @@ public boolean hasGeminiConfig() { *
* * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java index 0a60328a13a0..682739003b6a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java @@ -1243,7 +1243,7 @@ java.lang.String getAnnotationsOrDefault( *
* * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1300 + * google/cloud/alloydb/v1beta/resources.proto;l=1311 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesRequest.java index 1e6508deed0a..fea263c3096b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesRequest.java @@ -23,7 +23,7 @@ * * *
- * Message for requesting list of Databases.
+ * Message for ListDatabases request.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListDatabasesRequest} @@ -448,7 +448,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for requesting list of Databases.
+   * Message for ListDatabases request.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListDatabasesRequest} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponse.java index b9aa64daf0dc..dae79f6aa6b8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponse.java @@ -23,7 +23,7 @@ * * *
- * Message for response to listing Databases.
+ * Message for ListDatabases response.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListDatabasesResponse} @@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -88,7 +88,7 @@ public java.util.List getDatabasesList * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -103,7 +103,7 @@ public java.util.List getDatabasesList * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -117,7 +117,7 @@ public int getDatabasesCount() { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -131,7 +131,7 @@ public com.google.cloud.alloydb.v1beta.Database getDatabases(int index) { * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -372,7 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message for response to listing Databases.
+   * Message for ListDatabases response.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListDatabasesResponse} @@ -632,7 +632,7 @@ private void ensureDatabasesIsMutable() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -649,7 +649,7 @@ public java.util.List getDatabasesList * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -666,7 +666,7 @@ public int getDatabasesCount() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -683,7 +683,7 @@ public com.google.cloud.alloydb.v1beta.Database getDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -706,7 +706,7 @@ public Builder setDatabases(int index, com.google.cloud.alloydb.v1beta.Database * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -727,7 +727,7 @@ public Builder setDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -750,7 +750,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1beta.Database value) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -773,7 +773,7 @@ public Builder addDatabases(int index, com.google.cloud.alloydb.v1beta.Database * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -793,7 +793,7 @@ public Builder addDatabases(com.google.cloud.alloydb.v1beta.Database.Builder bui * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -814,7 +814,7 @@ public Builder addDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -835,7 +835,7 @@ public Builder addAllDatabases( * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -855,7 +855,7 @@ public Builder clearDatabases() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -875,7 +875,7 @@ public Builder removeDatabases(int index) { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -888,7 +888,7 @@ public com.google.cloud.alloydb.v1beta.Database.Builder getDatabasesBuilder(int * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -905,7 +905,7 @@ public com.google.cloud.alloydb.v1beta.DatabaseOrBuilder getDatabasesOrBuilder(i * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -923,7 +923,7 @@ public com.google.cloud.alloydb.v1beta.DatabaseOrBuilder getDatabasesOrBuilder(i * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -937,7 +937,7 @@ public com.google.cloud.alloydb.v1beta.Database.Builder addDatabasesBuilder() { * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -951,7 +951,7 @@ public com.google.cloud.alloydb.v1beta.Database.Builder addDatabasesBuilder(int * * *
-     * The list of databases
+     * The list of databases.
      * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponseOrBuilder.java index 9772c60cd4ce..94cf9d060613 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListDatabasesResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -39,7 +39,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -50,7 +50,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -61,7 +61,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; @@ -73,7 +73,7 @@ public interface ListDatabasesResponseOrBuilder * * *
-   * The list of databases
+   * The list of databases.
    * 
* * repeated .google.cloud.alloydb.v1beta.Database databases = 1; diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java index 89db273f940f..13721f47e297 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java @@ -281,9 +281,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "beta.MigrationSource.MigrationSourceTypeB\003\340A\003\"E\n" + "\023MigrationSourceType\022%\n" + "!MIGRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n" - + "\003DMS\020\001\"(\n" - + "\020EncryptionConfig\022\024\n" - + "\014kms_key_name\030\001 \001(\t\"\212\002\n" + + "\003DMS\020\001\"P\n" + + "\020EncryptionConfig\022<\n" + + "\014kms_key_name\030\001 \001(\tB&\372A#\n" + + "!cloudkms.googleapis.com/CryptoKey\"\212\002\n" + "\016EncryptionInfo\022N\n" + "\017encryption_type\030\001 \001" + "(\01620.google.cloud.alloydb.v1beta.EncryptionInfo.TypeB\003\340A\003\022J\n" @@ -369,7 +370,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010end_date\030\002 \001(\0132\021.google.type.Date\022$\n" + "\004time\030\003 \001(\0132\026.google.type.TimeOfDay\"J\n" + "\023MaintenanceSchedule\0223\n\n" - + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\256\032\n" + + "start_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"\366\032\n" + "\007Cluster\022G\n\r" + "backup_source\030\017" + " \001(\0132).google.cloud.alloydb.v1beta.BackupSourceB\003\340A\003H\000\022M\n" @@ -437,11 +438,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "NetworkConfig\0227\n" + "\007network\030\001 \001(\tB&\340A\001\372A \n" + "\036compute.googleapis.com/Network\022\037\n" - + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032/\n" - + "\017SecondaryConfig\022\034\n" - + "\024primary_cluster_name\030\001 \001(\t\0325\n\r" - + "PrimaryConfig\022$\n" - + "\027secondary_cluster_names\030\001 \003(\tB\003\340A\003\032P\n" + + "\022allocated_ip_range\030\002 \001(\tB\003\340A\001\032T\n" + + "\017SecondaryConfig\022A\n" + + "\024primary_cluster_name\030\001 \001(\tB#\372A \n" + + "\036alloydb.googleapis.com/Cluster\032X\n\r" + + "PrimaryConfig\022G\n" + + "\027secondary_cluster_names\030\001 \003(\tB&\340A\003\372A \n" + + "\036alloydb.googleapis.com/Cluster\032P\n" + "\tPscConfig\022\030\n" + "\013psc_enabled\030\001 \001(\010B\003\340A\001\022)\n" + "\034service_owned_project_number\030\003 \001(\003B\003\340A\003\032\323\001\n\r" @@ -474,9 +477,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + "\007PRIMARY\020\001\022\r\n" + "\tSECONDARY\020\002:u\352Ar\n" - + "\036alloydb.googleapis.com/Cluster\022:proje" - + "cts/{project}/locations/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" - + "\006source\"\263)\n" + + "\036alloydb.googleapis.com/Cluster\022:projects/{pro" + + "ject}/locations/{location}/clusters/{cluster}*\010clusters2\007clusterR\001\001B\010\n" + + "\006source\"\242)\n" + "\010Instance\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -485,53 +488,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013update_time\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013delete_time\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022A\n" + "\006labels\030\007 \003(\01321.google.cloud.alloydb.v1beta.Instance.LabelsEntry\022?\n" - + "\005state\030\010 \001(" - + "\0162+.google.cloud.alloydb.v1beta.Instance.StateB\003\340A\003\022N\n\r" - + "instance_type\030\t \001(\01622.goo" - + "gle.cloud.alloydb.v1beta.Instance.InstanceTypeB\003\340A\002\022K\n" + + "\005state\030\010 \001(\0162+.goog" + + "le.cloud.alloydb.v1beta.Instance.StateB\003\340A\003\022N\n\r" + + "instance_type\030\t \001(\01622.google.clou" + + "d.alloydb.v1beta.Instance.InstanceTypeB\003\340A\002\022K\n" + "\016machine_config\030\n" + " \001(\01323.google.cloud.alloydb.v1beta.Instance.MachineConfig\022Q\n" - + "\021availability_type\030\013 \001(\01626.go" - + "ogle.cloud.alloydb.v1beta.Instance.AvailabilityType\022\020\n" + + "\021availability_type\030\013 \001(\01626.google.clo" + + "ud.alloydb.v1beta.Instance.AvailabilityType\022\020\n" + "\010gce_zone\030\014 \001(\t\022P\n" + "\016database_flags\030\r" + " \003(\01328.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\022F\n\r" + "writable_node\030\023" + " \001(\0132*.google.cloud.alloydb.v1beta.Instance.NodeB\003\340A\003\022>\n" - + "\005nodes\030\024 \003(\0132*" - + ".google.cloud.alloydb.v1beta.Instance.NodeB\003\340A\003\022`\n" - + "\025query_insights_config\030\025 \001(\0132A" - + ".google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\022_\n" - + "\024observability_config\030\032 \001(\0132A.google.cloud.alloydb.v" - + "1beta.Instance.ObservabilityInstanceConfig\022N\n" - + "\020read_pool_config\030\016 \001(\01324.google.cl" - + "oud.alloydb.v1beta.Instance.ReadPoolConfig\022\027\n\n" + + "\005nodes\030\024 \003(\0132*.google." + + "cloud.alloydb.v1beta.Instance.NodeB\003\340A\003\022`\n" + + "\025query_insights_config\030\025 \001(\0132A.google." + + "cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\022_\n" + + "\024observability_config\030\032" + + " \001(\0132A.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig\022N\n" + + "\020read_pool_config\030\016" + + " \001(\01324.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig\022\027\n\n" + "ip_address\030\017 \001(\tB\003\340A\003\022&\n" + "\021public_ip_address\030\033 \001(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022\030\n" + "\013reconciling\030\020 \001(\010B\003\340A\003\022\014\n" + "\004etag\030\021 \001(\t\022K\n" - + "\013annotations\030\022" - + " \003(\01326.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\022I\n\r" - + "update_policy\030\026" - + " \001(\01322.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\022c\n" - + "\030client_connection_config\030\027 \001(\0132<.google.cloud.alloydb.v1b" - + "eta.Instance.ClientConnectionConfigB\003\340A\001\022\032\n\r" + + "\013annotations\030\022 \003(\013" + + "26.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\022I\n\r" + + "update_policy\030\026 \001(\0132" + + "2.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\022c\n" + + "\030client_connection_config\030\027" + + " \001(\0132<.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigB\003\340A\001\022\032\n\r" + "satisfies_pzs\030\030 \001(\010B\003\340A\003\022Y\n" - + "\023psc_instance_config\030\034 \001(\01327.google.cloud.alloydb" - + ".v1beta.Instance.PscInstanceConfigB\003\340A\001\022X\n" - + "\016network_config\030\035 \001(\0132;.google.cloud.a" - + "lloydb.v1beta.Instance.InstanceNetworkConfigB\003\340A\001\022O\n\r" - + "gemini_config\030! \001(\01321.googl" - + "e.cloud.alloydb.v1beta.GeminiInstanceConfigB\005\030\001\340A\001\0221\n" + + "\023psc_instance_config\030\034" + + " \001(\01327.google.cloud.alloydb.v1beta.Instance.PscInstanceConfigB\003\340A\001\022X\n" + + "\016network_config\030\035 \001(\0132;.google.cloud.alloydb.v" + + "1beta.Instance.InstanceNetworkConfigB\003\340A\001\022O\n\r" + + "gemini_config\030! \001(\01321.google.cloud." + + "alloydb.v1beta.GeminiInstanceConfigB\005\030\001\340A\001\0221\n" + "\034outbound_public_ip_addresses\030\" \003(" + "\tB\013\340A\003\342\214\317\327\010\002\010\002\022V\n" - + "\021activation_policy\030#" - + " \001(\01626.google.cloud.alloydb.v1beta.Instance.ActivationPolicyB\003\340A\001\022_\n" - + "\026connection_pool_config\030% \001(\0132:.google.cloud.all" - + "oydb.v1beta.Instance.ConnectionPoolConfigB\003\340A\001\022G\n\n" - + "gca_config\030& \001(\0132..google.clou" - + "d.alloydb.v1beta.GCAInstanceConfigB\003\340A\003\0328\n\r" + + "\021activation_policy\030# \001(\016" + + "26.google.cloud.alloydb.v1beta.Instance.ActivationPolicyB\003\340A\001\022_\n" + + "\026connection_pool_config\030% \001(\0132:.google.cloud.alloydb.v1b" + + "eta.Instance.ConnectionPoolConfigB\003\340A\001\022G\n\n" + + "gca_config\030&" + + " \001(\0132..google.cloud.alloydb.v1beta.GCAInstanceConfigB\003\340A\003\0328\n\r" + "MachineConfig\022\021\n" + "\tcpu_count\030\001 \001(\005\022\024\n" + "\014machine_type\030\004 \001(\t\032R\n" @@ -592,38 +595,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020consumer_network\030\002 \001(\t\022\037\n\n" + "ip_address\030\003 \001(\tB\013\340A\003\342\214\317\327\010\002\010\002\022\023\n" + "\006status\030\004 \001(\tB\003\340A\003\022$\n" - + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\274\002\n" - + "\021PscInstanceConfig\022$\n" - + "\027service_attachment_link\030\001 \001(\tB\003\340A\003\022&\n" + + "\027consumer_network_status\030\005 \001(\tB\003\340A\003\032\351\002\n" + + "\021PscInstanceConfig\022Q\n" + + "\027service_attachment_link\030\001 \001(\tB0\340A\003\372A*\n" + + "(compute.googleapis.com/ServiceAttachment\022&\n" + "\031allowed_consumer_projects\030\002 \003(\tB\003\340A\001\022\031\n" + "\014psc_dns_name\030\007 \001(\tB\003\340A\003\022\\\n" + "\025psc_interface_configs\030\010" + " \003(\01328.google.cloud.alloydb.v1beta.Instance.PscInterfaceConfigB\003\340A\001\022`\n" - + "\024psc_auto_connections\030\t \003(\0132=.google.cloud.a" - + "lloydb.v1beta.Instance.PscAutoConnectionConfigB\003\340A\001\032\356\002\n" + + "\024psc_auto_connections\030\t \003(\0132=.google.cloud.allo" + + "ydb.v1beta.Instance.PscAutoConnectionConfigB\003\340A\001\032\356\002\n" + "\025InstanceNetworkConfig\022x\n" - + "\034authorized_external_networks\030\001 \003(\0132M.go" - + "ogle.cloud.alloydb.v1beta.Instance.Insta" - + "nceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + + "\034authorized_external_networks\030\001 \003(\0132M.googl" + + "e.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkB\003\340A\001\022\035\n" + "\020enable_public_ip\030\002 \001(\010B\003\340A\001\022&\n" + "\031enable_outbound_public_ip\030\003 \001(\010B\003\340A\001\0227\n" + "\007network\030\004 \001(\tB&\340A\003\372A \n" + "\036compute.googleapis.com/Network\022(\n" + "\033allocated_ip_range_override\030\005 \001(\tB\003\340A\001\0321\n" + "\021AuthorizedNetwork\022\034\n\n" - + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032\216\002\n" + + "cidr_range\030\001 \001(\tB\010\342\214\317\327\010\002\010\002\032\320\001\n" + "\024ConnectionPoolConfig\022\024\n" + "\007enabled\030\014 \001(\010B\003\340A\001\022Y\n" + "\005flags\030\r" - + " \003(\0132E.google.cloud.alloydb.v1beta.Instanc" - + "e.ConnectionPoolConfig.FlagsEntryB\003\340A\001\032,\n\n" + + " \003(\0132" + + "E.google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig.FlagsEntryB\003\340A\001\022\031\n" + + "\014pooler_count\030\016 \001(\005B\003\340A\003\032,\n\n" + "FlagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"W\n" - + "\010PoolMode\022\031\n" - + "\025POOL_MODE_UNSPECIFIED\020\000\022\025\n" - + "\021POOL_MODE_SESSION\020\001\022\031\n" - + "\025POOL_MODE_TRANSACTION\020\002\032-\n" + + "\005value\030\002 \001(\t:\0028\001\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\0324\n" @@ -656,8 +656,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\035ACTIVATION_POLICY_UNSPECIFIED\020\000\022\n\n" + "\006ALWAYS\020\001\022\t\n" + "\005NEVER\020\002:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Instance\022Oprojects/{project}/locations/{locati" - + "on}/clusters/{cluster}/instances/{instance}*" + + "\037alloydb.googleapis.com/Instance\022Oprojects/{project}/lo" + + "cations/{location}/clusters/{cluster}/instances/{instance}*" + "\tinstances2\010instanceR\001\001\"\352\002\n" + "\016ConnectionInfo\022\014\n" + "\004name\030\001 \001(\t\022\027\n\n" @@ -667,9 +667,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025pem_certificate_chain\030\003 \003(\tB\005\030\001\340A\003\022\031\n" + "\014instance_uid\030\004 \001(\tB\003\340A\003\022\031\n" + "\014psc_dns_name\030\006 \001(\tB\003\340A\003:\254\001\352A\250\001\n" - + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{proje" - + "ct}/locations/{location}/clusters/{clust" - + "er}/instances/{instance}/connectionInfo*\017connectionInfos2\016connectionInfo\"\251\r\n" + + "%alloydb.googleapis.com/ConnectionInfo\022^projects/{project}/locations/{location}/" + + "clusters/{cluster}/instances/{instance}/" + + "connectionInfo*\017connectionInfos2\016connectionInfo\"\251\r\n" + "\006Backup\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022\024\n" + "\014display_name\030\002 \001(\t\022\020\n" @@ -689,20 +689,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB&\340A\002\372A \n" + "\036alloydb.googleapis.com/Cluster\022\030\n" + "\013reconciling\030\013 \001(\010B\003\340A\003\022M\n" - + "\021encryption_config\030\014 \001(\0132-.go" - + "ogle.cloud.alloydb.v1beta.EncryptionConfigB\003\340A\001\022I\n" + + "\021encryption_config\030\014" + + " \001(\0132-.google.cloud.alloydb.v1beta.EncryptionConfigB\003\340A\001\022I\n" + "\017encryption_info\030\r" + " \001(\0132+.google.cloud.alloydb.v1beta.EncryptionInfoB\003\340A\003\022\014\n" + "\004etag\030\016 \001(\t\022I\n" - + "\013annotations\030\020 \003(\01324." - + "google.cloud.alloydb.v1beta.Backup.AnnotationsEntry\022\027\n\n" + + "\013annotations\030\020" + + " \003(\01324.google.cloud.alloydb.v1beta.Backup.AnnotationsEntry\022\027\n\n" + "size_bytes\030\021 \001(\003B\003\340A\003\0224\n" + "\013expiry_time\030\023 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022U\n" - + "\017expiry_quantity\030\024 \001(\01327.go" - + "ogle.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + + "\017expiry_quantity\030\024" + + " \001(\01327.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\003\340A\003\022\032\n\r" + "satisfies_pzs\030\025 \001(\010B\003\340A\003\022K\n" - + "\020database_version\030\026 \001(\0162,.google" - + ".cloud.alloydb.v1beta.DatabaseVersionB\003\340A\003\022F\n" + + "\020database_version\030\026" + + " \001(\0162,.google.cloud.alloydb.v1beta.DatabaseVersionB\003\340A\003\022F\n" + "\004tags\030\031 \003(\0132-.google.cloud.alloydb.v1beta.Backup.TagsEntryB" + "\t\340A\004\340A\005\340A\001\032W\n" + "\023QuantityBasedExpiry\022\034\n" @@ -728,27 +728,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tON_DEMAND\020\001\022\r\n" + "\tAUTOMATED\020\002\022\016\n\n" + "CONTINUOUS\020\003:p\352Am\n" - + "\035alloydb.googleapis.com/Backup\0228projects/{projec" - + "t}/locations/{location}/backups/{backup}*\007backups2\006backupR\001\001\"\220\t\n" + + "\035alloydb.googleapis.com/Backup\0228p" + + "rojects/{project}/locations/{location}/backups/{backup}*\007backups2\006backupR\001\001\"\220" + + "\t\n" + "\025SupportedDatabaseFlag\022d\n" - + "\023string_restrictions\030\007 \001(\0132E.go" - + "ogle.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\000\022f\n" - + "\024integer_restrictions\030\010 \001(\0132F.google.cloud.alloyd" - + "b.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + + "\023string_restrictions\030\007 \001(\0132E.google.cloud.alloydb.v1beta" + + ".SupportedDatabaseFlag.StringRestrictionsH\000\022f\n" + + "\024integer_restrictions\030\010 \001(\0132F.goog" + + "le.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\000\022\"\n" + "\030recommended_string_value\030\n" + " \001(\tH\001\022@\n" + "\031recommended_integer_value\030\013" + " \001(\0132\033.google.protobuf.Int64ValueH\001\022\014\n" + "\004name\030\001 \001(\t\022\021\n" + "\tflag_name\030\002 \001(\t\022P\n\n" - + "value_type\030\003" - + " \001(\0162<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\022\037\n" + + "value_type\030\003 \001(\0162<.google.cloud.al" + + "loydb.v1beta.SupportedDatabaseFlag.ValueType\022\037\n" + "\027accepts_multiple_values\030\004 \001(\010\022K\n" + "\025supported_db_versions\030\005" + " \003(\0162,.google.cloud.alloydb.v1beta.DatabaseVersion\022\033\n" + "\023requires_db_restart\030\006 \001(\010\022G\n" - + "\005scope\030\t \001(\01628.google.cloud.a" - + "lloydb.v1beta.SupportedDatabaseFlag.Scope\032,\n" + + "\005scope\030\t \001(\01628" + + ".google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope\032,\n" + "\022StringRestrictions\022\026\n" + "\016allowed_values\030\001 \003(\t\032u\n" + "\023IntegerRestrictions\022.\n" @@ -764,8 +765,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021SCOPE_UNSPECIFIED\020\000\022\014\n" + "\010DATABASE\020\001\022\023\n" + "\017CONNECTION_POOL\020\002:\227\001\352A\223\001\n" - + ",alloydb.googleapis.com/SupportedDatabaseFlag\0224projects/{project}/locati" - + "ons/{location}/flags/{flag}*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + + ",alloydb.googleapis.com/SupportedDatabaseFlag\0224projects/{" + + "project}/locations/{location}/flags/{fla" + + "g}*\026supportedDatabaseFlags2\025supportedDatabaseFlagB\016\n" + "\014restrictionsB\023\n" + "\021recommended_value\"\376\002\n" + "\004User\022\021\n" @@ -779,37 +781,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025USER_TYPE_UNSPECIFIED\020\000\022\024\n" + "\020ALLOYDB_BUILT_IN\020\001\022\024\n" + "\020ALLOYDB_IAM_USER\020\002:y\352Av\n" - + "\033alloydb.googleapis.com/User\022Gprojects/{project}/locations/{l" - + "ocation}/clusters/{cluster}/users/{user}*\005users2\004userR\001\001\"\334\001\n" + + "\033alloydb.googleapis.com/User\022Gprojects/{projec" + + "t}/locations/{location}/clusters/{cluster}/users/{user}*\005users2\004userR\001\001\"\202\003\n" + "\010Database\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" - + "\007charset\030\002 \001(\tB\003\340A\001\022\026\n" - + "\tcollation\030\003 \001(\tB\003\340A\001:\216\001\352A\212\001\n" - + "\037alloydb.googleapis.com/Database\022Oprojects/{project}/locat" - + "ions/{location}/clusters/{cluster}/datab", - "ases/{database}*\tdatabases2\010databaseR\001\001*" - + "^\n\014InstanceView\022\035\n\031INSTANCE_VIEW_UNSPECI" - + "FIED\020\000\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTA" - + "NCE_VIEW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUSTE" - + "R_VIEW_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BAS" - + "IC\020\001\022\"\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002" - + "*{\n\017DatabaseVersion\022 \n\034DATABASE_VERSION_" - + "UNSPECIFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013PO" - + "STGRES_14\020\002\022\017\n\013POSTGRES_15\020\003\022\017\n\013POSTGRES" - + "_16\020\004*N\n\020SubscriptionType\022!\n\035SUBSCRIPTIO" - + "N_TYPE_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\t\n\005TR" - + "IAL\020\002B\306\003\n\037com.google.cloud.alloydb.v1bet" - + "aB\016ResourcesProtoP\001Z9cloud.google.com/go" - + "/alloydb/apiv1beta/alloydbpb;alloydbpb\252\002" - + "\033Google.Cloud.AlloyDb.V1Beta\312\002\033Google\\Cl" - + "oud\\AlloyDb\\V1beta\352\002\036Google::Cloud::Allo" - + "yDB::V1beta\352A\246\001\n(cloudkms.googleapis.com" - + "/CryptoKeyVersion\022zprojects/{project}/lo" - + "cations/{location}/keyRings/{key_ring}/c" - + "ryptoKeys/{crypto_key}/cryptoKeyVersions" - + "/{crypto_key_version}\352AN\n\036compute.google" - + "apis.com/Network\022,projects/{project}/glo" - + "bal/networks/{network}b\006proto3" + + "\004name\030\001 \001(\tB\003\340A\010\022\027\n" + + "\007charset\030\002 \001(\tB\006\340A\001\340A\005\022\031\n" + + "\tcollation\030\003 \001(\tB\006\340A\001\340A\005\022\036\n" + + "\016c", + "haracter_type\030\004 \001(\tB\006\340A\001\340A\005\022\032\n\013is_templa" + + "te\030\005 \001(\010B\005\030\001\340A\001\022!\n\021database_template\030\006 \001" + + "(\tB\006\340A\004\340A\005\022&\n\024is_template_database\030\007 \001(\010" + + "B\003\340A\001H\000\210\001\001:\216\001\352A\212\001\n\037alloydb.googleapis.co" + + "m/Database\022Oprojects/{project}/locations" + + "/{location}/clusters/{cluster}/databases" + + "/{database}*\tdatabases2\010databaseR\001\001B\027\n\025_" + + "is_template_database*^\n\014InstanceView\022\035\n\031" + + "INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023INSTANCE_" + + "VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FULL\020\002*g\n\013" + + "ClusterView\022\034\n\030CLUSTER_VIEW_UNSPECIFIED\020" + + "\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUSTER_VIE" + + "W_CONTINUOUS_BACKUP\020\002*\214\001\n\017DatabaseVersio" + + "n\022 \n\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n\013P" + + "OSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002\022\017\n\013POS" + + "TGRES_15\020\003\022\017\n\013POSTGRES_16\020\004\022\017\n\013POSTGRES_" + + "17\020\005*N\n\020SubscriptionType\022!\n\035SUBSCRIPTION" + + "_TYPE_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\t\n\005TRI" + + "AL\020\002B\273\005\n\037com.google.cloud.alloydb.v1beta" + + "B\016ResourcesProtoP\001Z9cloud.google.com/go/" + + "alloydb/apiv1beta/alloydbpb;alloydbpb\252\002\033" + + "Google.Cloud.AlloyDb.V1Beta\312\002\033Google\\Clo" + + "ud\\AlloyDb\\V1beta\352\002\036Google::Cloud::Alloy" + + "DB::V1beta\352A\246\001\n(cloudkms.googleapis.com/" + + "CryptoKeyVersion\022zprojects/{project}/loc" + + "ations/{location}/keyRings/{key_ring}/cr" + + "yptoKeys/{crypto_key}/cryptoKeyVersions/" + + "{crypto_key_version}\352AN\n\036compute.googlea" + + "pis.com/Network\022,projects/{project}/glob" + + "al/networks/{network}\352Ax\n!cloudkms.googl" + + "eapis.com/CryptoKey\022Sprojects/{project}/" + + "locations/{location}/keyRings/{key_ring}" + + "/cryptoKeys/{crypto_key}\352Aw\n(compute.goo" + + "gleapis.com/ServiceAttachment\022Kprojects/" + + "{project}/regions/{region}/serviceAttach" + + "ments/{service_attachment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1264,7 +1278,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Instance_ConnectionPoolConfig_descriptor, new java.lang.String[] { - "Enabled", "Flags", + "Enabled", "Flags", "PoolerCount", }); internal_static_google_cloud_alloydb_v1beta_Instance_ConnectionPoolConfig_FlagsEntry_descriptor = internal_static_google_cloud_alloydb_v1beta_Instance_ConnectionPoolConfig_descriptor @@ -1430,7 +1444,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_alloydb_v1beta_Database_descriptor, new java.lang.String[] { - "Name", "Charset", "Collation", + "Name", + "Charset", + "Collation", + "CharacterType", + "IsTemplate", + "DatabaseTemplate", + "IsTemplateDatabase", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java index ed15e41f6d8d..6a905c9ac0df 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java @@ -260,6 +260,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_ReadPoolInstancesUpgradeStageStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -300,6 +304,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_alloydb_v1beta_ListDatabasesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_alloydb_v1beta_ListDatabasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateDatabaseRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -597,26 +605,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\003 \001(\010B\003\340A\001\022\025\n" - + "\010node_ids\030\004 \003(\tB\003\340A\001\"\300\001\n" + + "\010node_ids\030\004 \003(\tB\003\340A\001\"\334\001\n" + "\021ExecuteSqlRequest\022\027\n" + "\010password\030\005 \001(\tB\003\340A\001H\000\0229\n" + "\010instance\030\001 \001(\tB\'\340A\002\372A!\n" + "\037alloydb.googleapis.com/Instance\022\025\n" + "\010database\030\002 \001(\tB\003\340A\002\022\021\n" + "\004user\030\003 \001(\tB\003\340A\002\022\032\n\r" - + "sql_statement\030\004 \001(\tB\003\340A\002B\021\n" + + "sql_statement\030\004 \001(\tB\003\340A\002\022\032\n\r" + + "validate_only\030\006 \001(\010B\003\340A\001B\021\n" + "\017user_credential\"\224\001\n" + "\022ExecuteSqlResponse\022;\n" + "\013sql_results\030\001 \003(\0132&.google.cloud.alloydb.v1beta.SqlResult\022A\n" - + "\010metadata\030\003 \001(\0132/.google.c" - + "loud.alloydb.v1beta.ExecuteSqlMetadata\"\214\002\n" + + "\010metadata\030\003" + + " \001(\0132/.google.cloud.alloydb.v1beta.ExecuteSqlMetadata\"\214\002\n" + "\022ExecuteSqlMetadata\022\017\n" + "\007message\030\001 \001(\t\022\026\n" + "\016partial_result\030\002 \001(\010\022C\n" + " sql_statement_execution_duration\030\003" + " \001(\0132\031.google.protobuf.Duration\022F\n" - + "\006status\030\004 \001(\01626.google.clo" - + "ud.alloydb.v1beta.ExecuteSqlMetadata.Status\"@\n" + + "\006status\030\004" + + " \001(\01626.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status\"@\n" + "\006Status\022\026\n" + "\022STATUS_UNSPECIFIED\020\000\022\006\n" + "\002OK\020\001\022\013\n" @@ -640,8 +649,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(" + "\tB%\340A\002\372A\037\022\035alloydb.googleapis.com/Backup\022\026\n" + "\tbackup_id\030\002 \001(\tB\003\340A\002\0228\n" - + "\006backup\030\003" - + " \001(\0132#.google.cloud.alloydb.v1beta.BackupB\003\340A\002\022\027\n\n" + + "\006backup\030\003 " + + "\001(\0132#.google.cloud.alloydb.v1beta.BackupB\003\340A\002\022\027\n\n" + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\005 \001(\010B\003\340A\001\"\326\001\n" + "\023UpdateBackupRequest\0224\n" @@ -658,15 +667,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "validate_only\030\003 \001(\010B\003\340A\001\022\021\n" + "\004etag\030\004 \001(\tB\003\340A\001\"\336\001\n" + "!ListSupportedDatabaseFlagsRequest\022D\n" - + "\006parent\030\001 \001(" - + "\tB4\340A\002\372A.\022,alloydb.googleapis.com/SupportedDatabaseFlag\022\021\n" + + "\006parent\030\001 \001(\tB4" + + "\340A\002\372A.\022,alloydb.googleapis.com/SupportedDatabaseFlag\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\022L\n" - + "\005scope\030\006 \001(\01628" - + ".google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ScopeB\003\340A\001\"\223\001\n" + + "\005scope\030\006 \001(\01628.google.clou" + + "d.alloydb.v1beta.SupportedDatabaseFlag.ScopeB\003\340A\001\"\223\001\n" + "\"ListSupportedDatabaseFlagsResponse\022T\n" - + "\030supported_database_flags\030\001" - + " \003(\01322.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\022\027\n" + + "\030supported_database_flags\030\001 \003" + + "(\01322.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\022\027\n" + "\017next_page_token\030\002 \001(\t\"\377\001\n" + " GenerateClientCertificateRequest\0226\n" + "\006parent\030\001 \001(\tB&\340A\002\372A \n" @@ -686,13 +695,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037alloydb.googleapis.com/Instance\022\027\n\n" + "request_id\030\002 \001(\tB\003\340A\001\"\263\004\n" + "\021OperationMetadata\022i\n" - + "\037batch_create_instances_metadata\030\010" - + " \001(\01329.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataB\003\340A\003H\000\022X\n" - + "\026promote_cluster_status\030\t \001(\01321.google.clo" - + "ud.alloydb.v1beta.PromoteClusterStatusB\003\340A\003H\000\022X\n" + + "\037batch_create_instances_metadata\030\010 \001(\01329." + + "google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataB\003\340A\003H\000\022X\n" + + "\026promote_cluster_status\030\t" + + " \001(\01321.google.cloud.alloydb.v1beta.PromoteClusterStatusB\003\340A\003H\000\022X\n" + "\026upgrade_cluster_status\030\n" - + " \001(\01321." - + "google.cloud.alloydb.v1beta.UpgradeClusterStatusB\003\340A\003H\000\0224\n" + + " \001(\01321.google.cloud" + + ".alloydb.v1beta.UpgradeClusterStatusB\003\340A\003H\000\0224\n" + "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n" + "\006target\030\003 \001(\tB\003\340A\003\022\021\n" @@ -702,35 +711,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013api_version\030\007 \001(\tB\003\340A\003B\022\n" + "\020request_specific\"\364\001\n" + "\024PromoteClusterStatus\022K\n" - + "\005state\030\001 \001(\01627.googl" - + "e.cloud.alloydb.v1beta.PromoteClusterStatus.StateB\003\340A\003\"\216\001\n" + + "\005state\030\001 \001(\01627.google.cloud.allo" + + "ydb.v1beta.PromoteClusterStatus.StateB\003\340A\003\"\216\001\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022&\n" + "\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\020\001\022\'\n" + "#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\020\002\022\035\n" - + "\031PROMOTE_CLUSTER_COMPLETED\020\003\"\371\006\n" + + "\031PROMOTE_CLUSTER_COMPLETED\020\003\"\315\t\n" + "\024UpgradeClusterStatus\022I\n" - + "\005state\030\001 \001(\0162" - + ":.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\022\023\n" + + "\005state\030\001 \001(\0162:.google.clo" + + "ud.alloydb.v1beta.UpgradeClusterResponse.Status\022\023\n" + "\013cancellable\030\002 \001(\010\022D\n" + "\016source_version\030\003" + " \001(\0162,.google.cloud.alloydb.v1beta.DatabaseVersion\022D\n" - + "\016target_version\030\004" - + " \001(\0162,.google.cloud.alloydb.v1beta.DatabaseVersion\022M\n" - + "\006stages\030\005 \003(\0132=.g" - + "oogle.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus\032\271\002\n" + + "\016target_version\030\004 \001" + + "(\0162,.google.cloud.alloydb.v1beta.DatabaseVersion\022M\n" + + "\006stages\030\005 \003(\0132=.google.cloud." + + "alloydb.v1beta.UpgradeClusterStatus.StageStatus\032\215\005\n" + "\013StageStatus\022|\n" - + "\033read_pool_instances_upgrade\030\013 \001(\0132U.googl" - + "e.cloud.alloydb.v1beta.UpgradeClusterSta" - + "tus.ReadPoolInstancesUpgradeStageStatusH\000\022H\n" + + "\033read_pool_instances_upgrade\030\013 \001(\0132U.google.cloud.allo" + + "ydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\000\022H\n" + "\005stage\030\001" + " \001(\01629.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage\022I\n" - + "\005state\030\002" - + " \001(\0162:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.StatusB\027\n" + + "\005state\030\002 \001(\0162:" + + ".google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\022b\n" + + "\010schedule\030\003 \001(\0132K.google.cloud.alloydb.v1beta.UpgradeCluste" + + "rStatus.StageStatus.StageScheduleB\003\340A\003\032\355\001\n\r" + + "StageSchedule\0228\n" + + "\024estimated_start_time\030\001 \001(\0132\032.google.protobuf.Timestamp\0225\n" + + "\021actual_start_time\030\002 \001(\0132\032.google.protobuf.Timestamp\0226\n" + + "\022estimated_end_time\030\003 \001(\0132\032.google.protobuf.Timestamp\0223\n" + + "\017actual_end_time\030\004 \001(\0132\032.google.protobuf.TimestampB\027\n" + "\025stage_specific_status\032\351\001\n" + "#ReadPoolInstancesUpgradeStageStatus\022r\n\r" - + "upgrade_stats\030\001 \001(\0132[.google.cloud.alloydb.v1beta.UpgradeClus" - + "terStatus.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + + "upgrade_stats\030\001 \001(\0132[.google.cloud.alloydb.v1beta.Upg" + + "radeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\032N\n" + "\005Stats\022\023\n" + "\013not_started\030\001 \001(\005\022\017\n" + "\007ongoing\030\002 \001(\005\022\017\n" @@ -739,7 +754,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020ListUsersRequest\0223\n" + "\006parent\030\001 \001(" + "\tB#\340A\002\372A\035\022\033alloydb.googleapis.com/User\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\n" + "page_token\030\003 \001(\tB\003\340A\001\022\023\n" + "\006filter\030\004 \001(\tB\003\340A\001\022\025\n" + "\010order_by\030\005 \001(\tB\003\340A\001\"s\n" @@ -754,8 +770,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(" + "\tB#\340A\002\372A\035\022\033alloydb.googleapis.com/User\022\024\n" + "\007user_id\030\002 \001(\tB\003\340A\002\0224\n" - + "\004user\030\003" - + " \001(\0132!.google.cloud.alloydb.v1beta.UserB\003\340A\002\022\027\n\n" + + "\004user\030\003 " + + "\001(\0132!.google.cloud.alloydb.v1beta.UserB\003\340A\002\022\027\n\n" + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\r" + "validate_only\030\005 \001(\010B\003\340A\001\"\320\001\n" + "\021UpdateUserRequest\0224\n" @@ -778,203 +794,220 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\004 \001(\tB\003\340A\001\"j\n" + "\025ListDatabasesResponse\0228\n" + "\tdatabases\030\001 \003(\0132%.google.cloud.alloydb.v1beta.Database\022\027\n" - + "\017next_page_token\030\002 \001(\t2\271?\n" + + "\017next_page_token\030\002 \001(\t\"\250\001\n" + + "\025CreateDatabaseRequest\0227\n" + + "\006parent\030\001 \001(" + + "\tB\'\340A\002\372A!\022\037alloydb.googleapis.com/Database\022\030\n" + + "\013database_id\030\002 \001(\tB\003\340A\002\022<\n" + + "\010database\030\003" + + " \001(\0132%.google.cloud.alloydb.v1beta.DatabaseB\003\340A\0022\225A\n" + "\014AlloyDBAdmin\022\266\001\n" - + "\014ListClusters\0220.google.cloud.alloydb.v1beta.ListCluster" - + "sRequest\0321.google.cloud.alloydb.v1beta.L" - + "istClustersResponse\"A\332A\006parent\202\323\344\223\0022\0220/v" - + "1beta/{parent=projects/*/locations/*}/clusters\022\243\001\n\n" - + "GetCluster\022..google.cloud.alloydb.v1beta.GetClusterRequest\032$.google.c" - + "loud.alloydb.v1beta.Cluster\"?\332A\004name\202\323\344\223" - + "\0022\0220/v1beta/{name=projects/*/locations/*/clusters/*}\022\337\001\n\r" - + "CreateCluster\0221.google." - + "cloud.alloydb.v1beta.CreateClusterRequest\032\035.google.longrunning.Operation\"|\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\031parent,clust" - + "er,cluster_id\202\323\344\223\002;\"0/v1beta/{parent=pro" - + "jects/*/locations/*}/clusters:\007cluster\022\341\001\n\r" - + "UpdateCluster\0221.google.cloud.alloydb." - + "v1beta.UpdateClusterRequest\032\035.google.longrunning.Operation\"~\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\023cluster,update_mask\202\323\344\223\002C2" - + "8/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\007cluster\022\231\002\n\r" - + "ExportCluster\0221.google.cloud.alloydb.v1beta.Expor" - + "tClusterRequest\032\035.google.longrunning.Operation\"\265\001\312A*\n" - + "\025ExportClusterResponse\022\021OperationMetadata\332ACname,gcs_destination,da" - + "tabase,csv_export_options,sql_export_opt" - + "ions\202\323\344\223\002<\"7/v1beta/{name=projects/*/locations/*/clusters/*}:export:\001*\022\360\001\n\r" - + "ImportCluster\0221.google.cloud.alloydb.v1beta.I" - + "mportClusterRequest\032\035.google.longrunning.Operation\"\214\001\312A*\n" - + "\025ImportClusterResponse\022\021OperationMetadata\332A\032name,gcs_uri,databa" - + "se,user\202\323\344\223\002<\"7/v1beta/{name=projects/*/locations/*/clusters/*}:import:\001*\022\346\001\n" - + "\016UpgradeCluster\0222.google.cloud.alloydb.v1be" - + "ta.UpgradeClusterRequest\032\035.google.longrunning.Operation\"\200\001\312A+\n" - + "\026UpgradeClusterResponse\022\021OperationMetadata\332A\014name,version\202" - + "\323\344\223\002=28/v1beta/{name=projects/*/locations/*/clusters/*}:upgrade:\001*\022\317\001\n\r" - + "DeleteCluster\0221.google.cloud.alloydb.v1beta.Delet" - + "eClusterRequest\032\035.google.longrunning.Operation\"l\312A*\n" - + "\025google.protobuf.Empty\022\021Oper" - + "ationMetadata\332A\004name\202\323\344\223\0022*0/v1beta/{name=projects/*/locations/*/clusters/*}\022\316\001\n" - + "\016PromoteCluster\0222.google.cloud.alloydb.v" - + "1beta.PromoteClusterRequest\032\035.google.longrunning.Operation\"i\312A\034\n" - + "\007Cluster\022\021Operat" - + "ionMetadata\332A\004name\202\323\344\223\002=\"8/v1beta/{name=" - + "projects/*/locations/*/clusters/*}:promote:\001*\022\327\001\n" - + "\021SwitchoverCluster\0225.google.clo" - + "ud.alloydb.v1beta.SwitchoverClusterRequest\032\035.google.longrunning.Operation\"l\312A\034\n" - + "\007Cluster\022\021OperationMetadata\332A\004name\202\323\344\223\002@\"" - + ";/v1beta/{name=projects/*/locations/*/clusters/*}:switchover:\001*\022\307\001\n" - + "\016RestoreCluster\0222.google.cloud.alloydb.v1beta.Restore", - "ClusterRequest\032\035.google.longrunning.Oper" - + "ation\"b\312A\034\n\007Cluster\022\021OperationMetadata\202\323" - + "\344\223\002=\"8/v1beta/{parent=projects/*/locatio" - + "ns/*}/clusters:restore:\001*\022\202\002\n\026CreateSeco" - + "ndaryCluster\022:.google.cloud.alloydb.v1be" - + "ta.CreateSecondaryClusterRequest\032\035.googl" - + "e.longrunning.Operation\"\214\001\312A\034\n\007Cluster\022\021" - + "OperationMetadata\332A\031parent,cluster,clust" - + "er_id\202\323\344\223\002K\"@/v1beta/{parent=projects/*/" - + "locations/*}/clusters:createsecondary:\007c" - + "luster\022\305\001\n\rListInstances\0221.google.cloud." - + "alloydb.v1beta.ListInstancesRequest\0322.go" - + "ogle.cloud.alloydb.v1beta.ListInstancesR" - + "esponse\"M\332A\006parent\202\323\344\223\002>\022\022*\022\022*<" + + "/v1beta/{name=projects/*/locations/*/clu" + + "sters/*/instances/*}\022\340\001\n\020FailoverInstanc" + + "e\0224.google.cloud.alloydb.v1beta.Failover" + + "InstanceRequest\032\035.google.longrunning.Ope" + + "ration\"w\312A\035\n\010Instance\022\021OperationMetadata" + + "\332A\004name\202\323\344\223\002J\"E/v1beta/{name=projects/*/" + + "locations/*/clusters/*/instances/*}:fail" + + "over:\001*\022\345\001\n\013InjectFault\022/.google.cloud.a" + + "lloydb.v1beta.InjectFaultRequest\032\035.googl" + + "e.longrunning.Operation\"\205\001\312A\035\n\010Instance\022" + + "\021OperationMetadata\332A\017fault_type,name\202\323\344\223" + + "\002M\"H/v1beta/{name=projects/*/locations/*" + + "/clusters/*/instances/*}:injectFault:\001*\022" + + "\335\001\n\017RestartInstance\0223.google.cloud.alloy" + + "db.v1beta.RestartInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"v\312A\035\n\010Instance\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\002I\"D/v1beta/" + + "{name=projects/*/locations/*/clusters/*/" + + "instances/*}:restart:\001*\022\366\001\n\nExecuteSql\022." + + ".google.cloud.alloydb.v1beta.ExecuteSqlR" + + "equest\032/.google.cloud.alloydb.v1beta.Exe" + + "cuteSqlResponse\"\206\001\332A-instance,database,u" + + "ser,sql_statement,password\202\323\344\223\002P\"K/v1bet" + + "a/{instance=projects/*/locations/*/clust" + + "ers/*/instances/*}:executeSql:\001*\022\262\001\n\013Lis" + + "tBackups\022/.google.cloud.alloydb.v1beta.L" + + "istBackupsRequest\0320.google.cloud.alloydb" + + ".v1beta.ListBackupsResponse\"@\332A\006parent\202\323" + + "\344\223\0021\022//v1beta/{parent=projects/*/locatio" + + "ns/*}/backups\022\237\001\n\tGetBackup\022-.google.clo" + + "ud.alloydb.v1beta.GetBackupRequest\032#.goo" + + "gle.cloud.alloydb.v1beta.Backup\">\332A\004name" + + "\202\323\344\223\0021\022//v1beta/{name=projects/*/locatio" + + "ns/*/backups/*}\022\330\001\n\014CreateBackup\0220.googl" + + "e.cloud.alloydb.v1beta.CreateBackupReque" + + "st\032\035.google.longrunning.Operation\"w\312A\033\n\006" + + "Backup\022\021OperationMetadata\332A\027parent,backu" + + "p,backup_id\202\323\344\223\0029\"//v1beta/{parent=proje" + + "cts/*/locations/*}/backups:\006backup\022\332\001\n\014U" + + "pdateBackup\0220.google.cloud.alloydb.v1bet" + + "a.UpdateBackupRequest\032\035.google.longrunni" + + "ng.Operation\"y\312A\033\n\006Backup\022\021OperationMeta" + + "data\332A\022backup,update_mask\202\323\344\223\002@26/v1beta" + + "/{backup.name=projects/*/locations/*/bac" + + "kups/*}:\006backup\022\314\001\n\014DeleteBackup\0220.googl" + + "e.cloud.alloydb.v1beta.DeleteBackupReque" + + "st\032\035.google.longrunning.Operation\"k\312A*\n\025" + + "google.protobuf.Empty\022\021OperationMetadata" + + "\332A\004name\202\323\344\223\0021*//v1beta/{name=projects/*/" + + "locations/*/backups/*}\022\356\001\n\032ListSupported" + + "DatabaseFlags\022>.google.cloud.alloydb.v1b" + + "eta.ListSupportedDatabaseFlagsRequest\032?." + + "google.cloud.alloydb.v1beta.ListSupporte" + + "dDatabaseFlagsResponse\"O\332A\006parent\202\323\344\223\002@\022" + + ">/v1beta/{parent=projects/*/locations/*}" + + "/supportedDatabaseFlags\022\374\001\n\031GenerateClie" + + "ntCertificate\022=.google.cloud.alloydb.v1b" + + "eta.GenerateClientCertificateRequest\032>.g" + + "oogle.cloud.alloydb.v1beta.GenerateClien" + + "tCertificateResponse\"`\332A\006parent\202\323\344\223\002Q\"L/" + + "v1beta/{parent=projects/*/locations/*/cl" + + "usters/*}:generateClientCertificate:\001*\022\327" + + "\001\n\021GetConnectionInfo\0225.google.cloud.allo" + + "ydb.v1beta.GetConnectionInfoRequest\032+.go" + + "ogle.cloud.alloydb.v1beta.ConnectionInfo" + + "\"^\332A\006parent\202\323\344\223\002O\022M/v1beta/{parent=proje" + "cts/*/locations/*/clusters/*/instances/*" - + "}\022\340\001\n\020FailoverInstance\0224.google.cloud.al" - + "loydb.v1beta.FailoverInstanceRequest\032\035.g" - + "oogle.longrunning.Operation\"w\312A\035\n\010Instan" - + "ce\022\021OperationMetadata\332A\004name\202\323\344\223\002J\"E/v1b" - + "eta/{name=projects/*/locations/*/cluster" - + "s/*/instances/*}:failover:\001*\022\345\001\n\013InjectF" - + "ault\022/.google.cloud.alloydb.v1beta.Injec" - + "tFaultRequest\032\035.google.longrunning.Opera" - + "tion\"\205\001\312A\035\n\010Instance\022\021OperationMetadata\332" - + "A\017fault_type,name\202\323\344\223\002M\"H/v1beta/{name=p" - + "rojects/*/locations/*/clusters/*/instanc" - + "es/*}:injectFault:\001*\022\335\001\n\017RestartInstance" - + "\0223.google.cloud.alloydb.v1beta.RestartIn" - + "stanceRequest\032\035.google.longrunning.Opera" - + "tion\"v\312A\035\n\010Instance\022\021OperationMetadata\332A" - + "\004name\202\323\344\223\002I\"D/v1beta/{name=projects/*/lo" - + "cations/*/clusters/*/instances/*}:restar" - + "t:\001*\022\366\001\n\nExecuteSql\022..google.cloud.alloy" - + "db.v1beta.ExecuteSqlRequest\032/.google.clo" - + "ud.alloydb.v1beta.ExecuteSqlResponse\"\206\001\332" - + "A-instance,database,user,sql_statement,p" - + "assword\202\323\344\223\002P\"K/v1beta/{instance=project" - + "s/*/locations/*/clusters/*/instances/*}:" - + "executeSql:\001*\022\262\001\n\013ListBackups\022/.google.c" - + "loud.alloydb.v1beta.ListBackupsRequest\0320" - + ".google.cloud.alloydb.v1beta.ListBackups" - + "Response\"@\332A\006parent\202\323\344\223\0021\022//v1beta/{pare" - + "nt=projects/*/locations/*}/backups\022\237\001\n\tG" - + "etBackup\022-.google.cloud.alloydb.v1beta.G" - + "etBackupRequest\032#.google.cloud.alloydb.v" - + "1beta.Backup\">\332A\004name\202\323\344\223\0021\022//v1beta/{na" - + "me=projects/*/locations/*/backups/*}\022\330\001\n" - + "\014CreateBackup\0220.google.cloud.alloydb.v1b" - + "eta.CreateBackupRequest\032\035.google.longrun" - + "ning.Operation\"w\312A\033\n\006Backup\022\021OperationMe" - + "tadata\332A\027parent,backup,backup_id\202\323\344\223\0029\"/" - + "/v1beta/{parent=projects/*/locations/*}/" - + "backups:\006backup\022\332\001\n\014UpdateBackup\0220.googl" - + "e.cloud.alloydb.v1beta.UpdateBackupReque" - + "st\032\035.google.longrunning.Operation\"y\312A\033\n\006" - + "Backup\022\021OperationMetadata\332A\022backup,updat" - + "e_mask\202\323\344\223\002@26/v1beta/{backup.name=proje" - + "cts/*/locations/*/backups/*}:\006backup\022\314\001\n" - + "\014DeleteBackup\0220.google.cloud.alloydb.v1b" - + "eta.DeleteBackupRequest\032\035.google.longrun" - + "ning.Operation\"k\312A*\n\025google.protobuf.Emp" - + "ty\022\021OperationMetadata\332A\004name\202\323\344\223\0021*//v1b" - + "eta/{name=projects/*/locations/*/backups" - + "/*}\022\356\001\n\032ListSupportedDatabaseFlags\022>.goo" - + "gle.cloud.alloydb.v1beta.ListSupportedDa" - + "tabaseFlagsRequest\032?.google.cloud.alloyd" - + "b.v1beta.ListSupportedDatabaseFlagsRespo" - + "nse\"O\332A\006parent\202\323\344\223\002@\022>/v1beta/{parent=pr" - + "ojects/*/locations/*}/supportedDatabaseF" - + "lags\022\374\001\n\031GenerateClientCertificate\022=.goo" - + "gle.cloud.alloydb.v1beta.GenerateClientC" - + "ertificateRequest\032>.google.cloud.alloydb" - + ".v1beta.GenerateClientCertificateRespons" - + "e\"`\332A\006parent\202\323\344\223\002Q\"L/v1beta/{parent=proj" - + "ects/*/locations/*/clusters/*}:generateC" - + "lientCertificate:\001*\022\327\001\n\021GetConnectionInf" - + "o\0225.google.cloud.alloydb.v1beta.GetConne" - + "ctionInfoRequest\032+.google.cloud.alloydb." - + "v1beta.ConnectionInfo\"^\332A\006parent\202\323\344\223\002O\022M" - + "/v1beta/{parent=projects/*/locations/*/c" - + "lusters/*/instances/*}/connectionInfo\022\265\001" - + "\n\tListUsers\022-.google.cloud.alloydb.v1bet" - + "a.ListUsersRequest\032..google.cloud.alloyd" - + "b.v1beta.ListUsersResponse\"I\332A\006parent\202\323\344" - + "\223\002:\0228/v1beta/{parent=projects/*/location" - + "s/*/clusters/*}/users\022\242\001\n\007GetUser\022+.goog" - + "le.cloud.alloydb.v1beta.GetUserRequest\032!" - + ".google.cloud.alloydb.v1beta.User\"G\332A\004na" - + "me\202\323\344\223\002:\0228/v1beta/{name=projects/*/locat" - + "ions/*/clusters/*/users/*}\022\275\001\n\nCreateUse" - + "r\022..google.cloud.alloydb.v1beta.CreateUs" - + "erRequest\032!.google.cloud.alloydb.v1beta." - + "User\"\\\332A\023parent,user,user_id\202\323\344\223\002@\"8/v1b" - + "eta/{parent=projects/*/locations/*/clust" - + "ers/*}/users:\004user\022\277\001\n\nUpdateUser\022..goog" - + "le.cloud.alloydb.v1beta.UpdateUserReques" - + "t\032!.google.cloud.alloydb.v1beta.User\"^\332A" - + "\020user,update_mask\202\323\344\223\002E2=/v1beta/{user.n" - + "ame=projects/*/locations/*/clusters/*/us" - + "ers/*}:\004user\022\235\001\n\nDeleteUser\022..google.clo" - + "ud.alloydb.v1beta.DeleteUserRequest\032\026.go" - + "ogle.protobuf.Empty\"G\332A\004name\202\323\344\223\002:*8/v1b" - + "eta/{name=projects/*/locations/*/cluster" - + "s/*/users/*}\022\305\001\n\rListDatabases\0221.google." - + "cloud.alloydb.v1beta.ListDatabasesReques" - + "t\0322.google.cloud.alloydb.v1beta.ListData" - + "basesResponse\"M\332A\006parent\202\323\344\223\002>\022\022 + * Output only. Timing information for the stage execution. + * + * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + boolean hasSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule getSchedule(); + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder(); + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSpecificStatusCase getStageSpecificStatusCase(); } @@ -189,37 +233,1837 @@ public static final class StageStatus extends com.google.protobuf.GeneratedMessa StageStatusOrBuilder { private static final long serialVersionUID = 0L; - // Use StageStatus.newBuilder() to construct. - private StageStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } + // Use StageStatus.newBuilder() to construct. + private StageStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StageStatus() { + stage_ = 0; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.class, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.Builder.class); + } + + public interface StageScheduleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + boolean hasEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + com.google.protobuf.Timestamp getEstimatedStartTime(); + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + boolean hasActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + com.google.protobuf.Timestamp getActualStartTime(); + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + boolean hasEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + com.google.protobuf.Timestamp getEstimatedEndTime(); + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + boolean hasActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + com.google.protobuf.Timestamp getActualEndTime(); + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder(); + } + + /** + * + * + *
+     * Timing information for the stage execution.
+     * 
+ * + * Protobuf type {@code + * google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class StageSchedule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + StageScheduleOrBuilder { + private static final long serialVersionUID = 0L; + + // Use StageSchedule.newBuilder() to construct. + private StageSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StageSchedule() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StageSchedule(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .class, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder.class); + } + + private int bitField0_; + public static final int ESTIMATED_START_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp estimatedStartTime_; + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedStartTime() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + /** + * + * + *
+       * When the stage is expected to start. Set only if the stage has not
+       * started yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + + public static final int ACTUAL_START_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp actualStartTime_; + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + @java.lang.Override + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualStartTime() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + /** + * + * + *
+       * Actual start time of the stage. Set only if the stage has started.
+       * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + + public static final int ESTIMATED_END_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp estimatedEndTime_; + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + @java.lang.Override + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEstimatedEndTime() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + /** + * + * + *
+       * When the stage is expected to end. Set only if the stage has not
+       * completed yet.
+       * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + + public static final int ACTUAL_END_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp actualEndTime_; + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + @java.lang.Override + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getActualEndTime() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + /** + * + * + *
+       * Actual end time of the stage. Set only if the stage has completed.
+       * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getActualEndTime()); + } + 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, getEstimatedStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getActualStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEstimatedEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActualEndTime()); + } + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule)) { + return super.equals(obj); + } + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule other = + (com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) obj; + + if (hasEstimatedStartTime() != other.hasEstimatedStartTime()) return false; + if (hasEstimatedStartTime()) { + if (!getEstimatedStartTime().equals(other.getEstimatedStartTime())) return false; + } + if (hasActualStartTime() != other.hasActualStartTime()) return false; + if (hasActualStartTime()) { + if (!getActualStartTime().equals(other.getActualStartTime())) return false; + } + if (hasEstimatedEndTime() != other.hasEstimatedEndTime()) return false; + if (hasEstimatedEndTime()) { + if (!getEstimatedEndTime().equals(other.getEstimatedEndTime())) return false; + } + if (hasActualEndTime() != other.hasActualEndTime()) return false; + if (hasActualEndTime()) { + if (!getActualEndTime().equals(other.getActualEndTime())) 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 (hasEstimatedStartTime()) { + hash = (37 * hash) + ESTIMATED_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedStartTime().hashCode(); + } + if (hasActualStartTime()) { + hash = (37 * hash) + ACTUAL_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualStartTime().hashCode(); + } + if (hasEstimatedEndTime()) { + hash = (37 * hash) + ESTIMATED_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedEndTime().hashCode(); + } + if (hasActualEndTime()) { + hash = (37 * hash) + ACTUAL_END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getActualEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + 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; + } + + /** + * + * + *
+       * Timing information for the stage execution.
+       * 
+ * + * Protobuf type {@code + * google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .class, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder.class); + } + + // Construct using + // com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getEstimatedStartTimeFieldBuilder(); + getActualStartTimeFieldBuilder(); + getEstimatedEndTimeFieldBuilder(); + getActualEndTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_StageSchedule_descriptor; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + build() { + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + buildPartial() { + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule result = + new com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.estimatedStartTime_ = + estimatedStartTimeBuilder_ == null + ? estimatedStartTime_ + : estimatedStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actualStartTime_ = + actualStartTimeBuilder_ == null + ? actualStartTime_ + : actualStartTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.estimatedEndTime_ = + estimatedEndTimeBuilder_ == null + ? estimatedEndTime_ + : estimatedEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.actualEndTime_ = + actualEndTimeBuilder_ == null ? actualEndTime_ : actualEndTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + 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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) { + return mergeFrom( + (com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule other) { + if (other + == com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) return this; + if (other.hasEstimatedStartTime()) { + mergeEstimatedStartTime(other.getEstimatedStartTime()); + } + if (other.hasActualStartTime()) { + mergeActualStartTime(other.getActualStartTime()); + } + if (other.hasEstimatedEndTime()) { + mergeEstimatedEndTime(other.getEstimatedEndTime()); + } + if (other.hasActualEndTime()) { + mergeActualEndTime(other.getActualEndTime()); + } + 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( + getEstimatedStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getActualStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getEstimatedEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getActualEndTimeFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.protobuf.Timestamp estimatedStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedStartTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return Whether the estimatedStartTime field is set. + */ + public boolean hasEstimatedStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + * + * @return The estimatedStartTime. + */ + public com.google.protobuf.Timestamp getEstimatedStartTime() { + if (estimatedStartTimeBuilder_ == null) { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } else { + return estimatedStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedStartTime_ = value; + } else { + estimatedStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder setEstimatedStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTime_ = builderForValue.build(); + } else { + estimatedStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder mergeEstimatedStartTime(com.google.protobuf.Timestamp value) { + if (estimatedStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && estimatedStartTime_ != null + && estimatedStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedStartTimeBuilder().mergeFrom(value); + } else { + estimatedStartTime_ = value; + } + } else { + estimatedStartTimeBuilder_.mergeFrom(value); + } + if (estimatedStartTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public Builder clearEstimatedStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + estimatedStartTime_ = null; + if (estimatedStartTimeBuilder_ != null) { + estimatedStartTimeBuilder_.dispose(); + estimatedStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedStartTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getEstimatedStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedStartTimeOrBuilder() { + if (estimatedStartTimeBuilder_ != null) { + return estimatedStartTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedStartTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to start. Set only if the stage has not
+         * started yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_start_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedStartTimeFieldBuilder() { + if (estimatedStartTimeBuilder_ == null) { + estimatedStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedStartTime(), getParentForChildren(), isClean()); + estimatedStartTime_ = null; + } + return estimatedStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualStartTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualStartTimeBuilder_; + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return Whether the actualStartTime field is set. + */ + public boolean hasActualStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + * + * @return The actualStartTime. + */ + public com.google.protobuf.Timestamp getActualStartTime() { + if (actualStartTimeBuilder_ == null) { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } else { + return actualStartTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualStartTime_ = value; + } else { + actualStartTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder setActualStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualStartTimeBuilder_ == null) { + actualStartTime_ = builderForValue.build(); + } else { + actualStartTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder mergeActualStartTime(com.google.protobuf.Timestamp value) { + if (actualStartTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && actualStartTime_ != null + && actualStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualStartTimeBuilder().mergeFrom(value); + } else { + actualStartTime_ = value; + } + } else { + actualStartTimeBuilder_.mergeFrom(value); + } + if (actualStartTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public Builder clearActualStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + actualStartTime_ = null; + if (actualStartTimeBuilder_ != null) { + actualStartTimeBuilder_.dispose(); + actualStartTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getActualStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getActualStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getActualStartTimeOrBuilder() { + if (actualStartTimeBuilder_ != null) { + return actualStartTimeBuilder_.getMessageOrBuilder(); + } else { + return actualStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualStartTime_; + } + } + + /** + * + * + *
+         * Actual start time of the stage. Set only if the stage has started.
+         * 
+ * + * .google.protobuf.Timestamp actual_start_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualStartTimeFieldBuilder() { + if (actualStartTimeBuilder_ == null) { + actualStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualStartTime(), getParentForChildren(), isClean()); + actualStartTime_ = null; + } + return actualStartTimeBuilder_; + } + + private com.google.protobuf.Timestamp estimatedEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedEndTimeBuilder_; + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return Whether the estimatedEndTime field is set. + */ + public boolean hasEstimatedEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + * + * @return The estimatedEndTime. + */ + public com.google.protobuf.Timestamp getEstimatedEndTime() { + if (estimatedEndTimeBuilder_ == null) { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } else { + return estimatedEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + estimatedEndTime_ = value; + } else { + estimatedEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder setEstimatedEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTime_ = builderForValue.build(); + } else { + estimatedEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder mergeEstimatedEndTime(com.google.protobuf.Timestamp value) { + if (estimatedEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && estimatedEndTime_ != null + && estimatedEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEstimatedEndTimeBuilder().mergeFrom(value); + } else { + estimatedEndTime_ = value; + } + } else { + estimatedEndTimeBuilder_.mergeFrom(value); + } + if (estimatedEndTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public Builder clearEstimatedEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + estimatedEndTime_ = null; + if (estimatedEndTimeBuilder_ != null) { + estimatedEndTimeBuilder_.dispose(); + estimatedEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getEstimatedEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEstimatedEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getEstimatedEndTimeOrBuilder() { + if (estimatedEndTimeBuilder_ != null) { + return estimatedEndTimeBuilder_.getMessageOrBuilder(); + } else { + return estimatedEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedEndTime_; + } + } + + /** + * + * + *
+         * When the stage is expected to end. Set only if the stage has not
+         * completed yet.
+         * 
+ * + * .google.protobuf.Timestamp estimated_end_time = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEstimatedEndTimeFieldBuilder() { + if (estimatedEndTimeBuilder_ == null) { + estimatedEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEstimatedEndTime(), getParentForChildren(), isClean()); + estimatedEndTime_ = null; + } + return estimatedEndTimeBuilder_; + } + + private com.google.protobuf.Timestamp actualEndTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + actualEndTimeBuilder_; + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return Whether the actualEndTime field is set. + */ + public boolean hasActualEndTime() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + * + * @return The actualEndTime. + */ + public com.google.protobuf.Timestamp getActualEndTime() { + if (actualEndTimeBuilder_ == null) { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } else { + return actualEndTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actualEndTime_ = value; + } else { + actualEndTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder setActualEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (actualEndTimeBuilder_ == null) { + actualEndTime_ = builderForValue.build(); + } else { + actualEndTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder mergeActualEndTime(com.google.protobuf.Timestamp value) { + if (actualEndTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && actualEndTime_ != null + && actualEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getActualEndTimeBuilder().mergeFrom(value); + } else { + actualEndTime_ = value; + } + } else { + actualEndTimeBuilder_.mergeFrom(value); + } + if (actualEndTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public Builder clearActualEndTime() { + bitField0_ = (bitField0_ & ~0x00000008); + actualEndTime_ = null; + if (actualEndTimeBuilder_ != null) { + actualEndTimeBuilder_.dispose(); + actualEndTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getActualEndTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getActualEndTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getActualEndTimeOrBuilder() { + if (actualEndTimeBuilder_ != null) { + return actualEndTimeBuilder_.getMessageOrBuilder(); + } else { + return actualEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : actualEndTime_; + } + } + + /** + * + * + *
+         * Actual end time of the stage. Set only if the stage has completed.
+         * 
+ * + * .google.protobuf.Timestamp actual_end_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getActualEndTimeFieldBuilder() { + if (actualEndTimeBuilder_ == null) { + actualEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getActualEndTime(), getParentForChildren(), isClean()); + actualEndTime_ = null; + } + return actualEndTimeBuilder_; + } + + @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.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + } + + // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule) + private static final com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus + .StageSchedule + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule(); + } + + public static com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private StageStatus() { - stage_ = 0; - state_ = 0; - } + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StageSchedule 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(); + } + }; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StageStatus(); - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_descriptor; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpgradeClusterStatus_StageStatus_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.class, - com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.Builder.class); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; private int stageSpecificStatusCase_ = 0; @SuppressWarnings("serial") @@ -414,6 +2258,70 @@ public com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status getState() : result; } + public static final int SCHEDULE_FIELD_NUMBER = 3; + private com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + schedule_; + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + @java.lang.Override + public boolean hasSchedule() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + return schedule_ == null + ? com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + + /** + * + * + *
+     * Output only. Timing information for the stage execution.
+     * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder() { + return schedule_ == null + ? com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -438,6 +2346,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { output.writeMessage( 11, @@ -464,6 +2375,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSchedule()); + } if (stageSpecificStatusCase_ == 11) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -490,6 +2404,10 @@ public boolean equals(final java.lang.Object obj) { if (stage_ != other.stage_) return false; if (state_ != other.state_) return false; + if (hasSchedule() != other.hasSchedule()) return false; + if (hasSchedule()) { + if (!getSchedule().equals(other.getSchedule())) return false; + } if (!getStageSpecificStatusCase().equals(other.getStageSpecificStatusCase())) return false; switch (stageSpecificStatusCase_) { case 11: @@ -514,6 +2432,10 @@ public int hashCode() { hash = (53 * hash) + stage_; hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; + if (hasSchedule()) { + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + getSchedule().hashCode(); + } switch (stageSpecificStatusCase_) { case 11: hash = (37 * hash) + READ_POOL_INSTANCES_UPGRADE_FIELD_NUMBER; @@ -657,10 +2579,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using // com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.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) { + getScheduleFieldBuilder(); + } } @java.lang.Override @@ -672,6 +2603,11 @@ public Builder clear() { } stage_ = 0; state_ = 0; + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } stageSpecificStatusCase_ = 0; stageSpecificStatus_ = null; return this; @@ -720,6 +2656,12 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.state_ = state_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.schedule_ = scheduleBuilder_ == null ? schedule_ : scheduleBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs( @@ -788,6 +2730,9 @@ public Builder mergeFrom( if (other.state_ != 0) { setStateValue(other.getStateValue()); } + if (other.hasSchedule()) { + mergeSchedule(other.getSchedule()); + } switch (other.getStageSpecificStatusCase()) { case READ_POOL_INSTANCES_UPGRADE: { @@ -837,6 +2782,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 16 + case 26: + { + input.readMessage(getScheduleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 case 90: { input.readMessage( @@ -1344,6 +3295,235 @@ public Builder clearState() { return this; } + private com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + schedule_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder> + scheduleBuilder_; + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the schedule field is set. + */ + public boolean hasSchedule() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + getSchedule() { + if (scheduleBuilder_ == null) { + return schedule_ == null + ? com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } else { + return scheduleBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + schedule_ = value; + } else { + scheduleBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSchedule( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + builderForValue) { + if (scheduleBuilder_ == null) { + schedule_ = builderForValue.build(); + } else { + scheduleBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeSchedule( + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule value) { + if (scheduleBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && schedule_ != null + && schedule_ + != com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance()) { + getScheduleBuilder().mergeFrom(value); + } else { + schedule_ = value; + } + } else { + scheduleBuilder_.mergeFrom(value); + } + if (schedule_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000008); + schedule_ = null; + if (scheduleBuilder_ != null) { + scheduleBuilder_.dispose(); + scheduleBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule.Builder + getScheduleBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getScheduleFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageScheduleOrBuilder + getScheduleOrBuilder() { + if (scheduleBuilder_ != null) { + return scheduleBuilder_.getMessageOrBuilder(); + } else { + return schedule_ == null + ? com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .getDefaultInstance() + : schedule_; + } + } + + /** + * + * + *
+       * Output only. Timing information for the stage execution.
+       * 
+ * + * + * .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder> + getScheduleFieldBuilder() { + if (scheduleBuilder_ == null) { + scheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus.StageSchedule + .Builder, + com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus + .StageScheduleOrBuilder>(getSchedule(), getParentForChildren(), isClean()); + schedule_ = null; + } + return scheduleBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto index 6d05dbef3e3f..bf03e285d01d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto @@ -43,6 +43,14 @@ option (google.api.resource_definition) = { type: "compute.googleapis.com/Network" pattern: "projects/{project}/global/networks/{network}" }; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" +}; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/ServiceAttachment" + pattern: "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}" +}; // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. @@ -93,6 +101,9 @@ enum DatabaseVersion { // The database version is Postgres 16. POSTGRES_16 = 4; + + // The database version is Postgres 17. + POSTGRES_17 = 5; } // Subscription_type added to distinguish between Standard and Trial @@ -151,7 +162,9 @@ message EncryptionConfig { // The fully-qualified resource name of the KMS key. // Each Cloud KMS key is regionalized and has the following format: // projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] - string kms_key_name = 1; + string kms_key_name = 1 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // EncryptionInfo describes the encryption information of a cluster or a backup. @@ -496,7 +509,9 @@ message Cluster { message SecondaryConfig { // The name of the primary cluster name with the format: // * projects/{project}/locations/{region}/clusters/{cluster_id} - string primary_cluster_name = 1; + string primary_cluster_name = 1 [(google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + }]; } // Configuration for the primary cluster. It has the list of clusters that are @@ -505,8 +520,12 @@ message Cluster { message PrimaryConfig { // Output only. Names of the clusters that are replicating from this // cluster. - repeated string secondary_cluster_names = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string secondary_cluster_names = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Cluster" + } + ]; } // PscConfig contains PSC related configuration at a cluster level. @@ -544,11 +563,8 @@ message Cluster { // The cluster is active and running. READY = 1; - // The cluster is stopped. All instances in the cluster are stopped. - // Customers can start a stopped cluster at any point and all their - // instances will come back to life with same names and IP resources. In - // this state, customer pays for storage. - // Associated backups could also be present in a stopped cluster. + // This is unused. Even when all instances in the cluster are stopped, the + // cluster remains in READY state. STOPPED = 2; // The cluster is empty and has no associated resources. @@ -761,10 +777,10 @@ message Cluster { (google.api.field_behavior) = OPTIONAL ]; - // Output only. AlloyDB per-cluster service agent email. This service account - // is created per-cluster per-project, and is different from that of the - // primary service agent which is created per-project. The service account - // naming format is subject to change. + // Output only. AlloyDB per-cluster service account. This service account is + // created per-cluster per-project, and is different from the per-project + // service account. The per-cluster service account naming format is subject + // to change. string service_account_email = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -980,8 +996,12 @@ message Instance { // Service Connect (PSC) is enabled for the instance. // The name of the resource will be in the format of // `projects//regions//serviceAttachments/` - string service_attachment_link = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; + string service_attachment_link = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "compute.googleapis.com/ServiceAttachment" + } + ]; // Optional. List of consumer projects that are allowed to create // PSC endpoints to service-attachments to this instance. @@ -1048,23 +1068,14 @@ message Instance { // Configuration for Managed Connection Pool (MCP). message ConnectionPoolConfig { - // The pool mode. Defaults to `POOL_MODE_TRANSACTION`. - enum PoolMode { - // The pool mode is not specified. Defaults to `POOL_MODE_TRANSACTION`. - POOL_MODE_UNSPECIFIED = 0; - - // Server is released back to pool after a client disconnects. - POOL_MODE_SESSION = 1; - - // Server is released back to pool after a transaction finishes. - POOL_MODE_TRANSACTION = 2; - } - // Optional. Whether to enable Managed Connection Pool (MCP). bool enabled = 12 [(google.api.field_behavior) = OPTIONAL]; // Optional. Connection Pool flags, as a list of "key": "value" pairs. map flags = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The number of running poolers per instance. + int32 pooler_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Instance State @@ -1719,13 +1730,43 @@ message Database { // `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`. string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Optional. Charset for the database. + // Optional. Immutable. Charset for the database. // This field can contain any PostgreSQL supported charset name. // Example values include "UTF8", "SQL_ASCII", etc. - string charset = 2 [(google.api.field_behavior) = OPTIONAL]; + string charset = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Immutable. lc_collate for the database. + // String sort order. + // Example values include "C", "POSIX", etc. + string collation = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; - // Optional. Collation for the database. - // Name of the custom or native collation for postgres. - // Example values include "C", "POSIX", etc - string collation = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Immutable. lc_ctype for the database. + // Character classification (What is a letter? The upper-case equivalent?). + // Example values include "C", "POSIX", etc. + string character_type = 4 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Whether the database is a template database. + // Deprecated in favor of is_template_database. + bool is_template = 5 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Input only. Immutable. Template of the database to be used for creating a + // new database. + string database_template = 6 [ + (google.api.field_behavior) = INPUT_ONLY, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Optional. Whether the database is a template database. + optional bool is_template_database = 7 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto index 4348bb5ca998..83dce61eb98d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto @@ -492,6 +492,15 @@ service AlloyDBAdmin { }; option (google.api.method_signature) = "parent"; } + + // Creates a new Database in a given project, location, and cluster. + rpc CreateDatabase(CreateDatabaseRequest) returns (Database) { + option (google.api.http) = { + post: "/v1beta/{parent=projects/*/locations/*/clusters/*}/databases" + body: "database" + }; + option (google.api.method_signature) = "parent,database,database_id"; + } } // Message for requesting list of Clusters @@ -1606,6 +1615,10 @@ message ExecuteSqlRequest { // Required. SQL statement to execute on database. Any valid statement is // permitted, including DDL, DML, DQL statements. string sql_statement = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If set, validates the sql statement by performing + // syntax and semantic validation and doesn't execute the query. + bool validate_only = 6 [(google.api.field_behavior) = OPTIONAL]; } // Execute a SQL statement response. @@ -2021,6 +2034,23 @@ message PromoteClusterStatus { message UpgradeClusterStatus { // Status of an upgrade stage. message StageStatus { + // Timing information for the stage execution. + message StageSchedule { + // When the stage is expected to start. Set only if the stage has not + // started yet. + google.protobuf.Timestamp estimated_start_time = 1; + + // Actual start time of the stage. Set only if the stage has started. + google.protobuf.Timestamp actual_start_time = 2; + + // When the stage is expected to end. Set only if the stage has not + // completed yet. + google.protobuf.Timestamp estimated_end_time = 3; + + // Actual end time of the stage. Set only if the stage has completed. + google.protobuf.Timestamp actual_end_time = 4; + } + // Stage specific status information, if any. oneof stage_specific_status { // Read pool instances upgrade metadata. @@ -2032,6 +2062,9 @@ message UpgradeClusterStatus { // State of this stage. UpgradeClusterResponse.Status state = 2; + + // Output only. Timing information for the stage execution. + StageSchedule schedule = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Read pool instances upgrade specific status. @@ -2218,7 +2251,7 @@ message DeleteUserRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Message for requesting list of Databases. +// Message for ListDatabases request. message ListDatabasesRequest { // Required. Parent value for ListDatabasesRequest. string parent = 1 [ @@ -2244,12 +2277,29 @@ message ListDatabasesRequest { string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Message for response to listing Databases. +// Message for ListDatabases response. message ListDatabasesResponse { - // The list of databases + // The list of databases. repeated Database databases = 1; // A token identifying the next page of results the server should return. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } + +// Message for CreateDatabase request. +message CreateDatabaseRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/Database" + } + ]; + + // Required. ID of the requesting object. + string database_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created. + Database database = 3 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/AsyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/AsyncExecuteSql.java index 7acac5a05b09..e41be4f38ab3 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/AsyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/AsyncExecuteSql.java @@ -43,6 +43,7 @@ public static void asyncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ApiFuture future = alloyDBAdminClient.executeSqlCallable().futureCall(request); diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/SyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/SyncExecuteSql.java index c5e8281a041d..65a545ebf198 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/SyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/executesql/SyncExecuteSql.java @@ -42,6 +42,7 @@ public static void syncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); } diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/AsyncCreateDatabase.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/AsyncCreateDatabase.java new file mode 100644 index 000000000000..250aa2a76339 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/AsyncCreateDatabase.java @@ -0,0 +1,51 @@ +/* + * 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.cloud.alloydb.v1alpha.samples; + +// [START alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.alloydb.v1alpha.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1alpha.ClusterName; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; +import com.google.cloud.alloydb.v1alpha.Database; + +public class AsyncCreateDatabase { + + public static void main(String[] args) throws Exception { + asyncCreateDatabase(); + } + + public static void asyncCreateDatabase() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setDatabaseId("databaseId1688905718") + .setDatabase(Database.newBuilder().build()) + .build(); + ApiFuture future = alloyDBAdminClient.createDatabaseCallable().futureCall(request); + // Do something. + Database response = future.get(); + } + } +} +// [END alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_async] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabase.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabase.java new file mode 100644 index 000000000000..d45458ed4082 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabase.java @@ -0,0 +1,48 @@ +/* + * 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.cloud.alloydb.v1alpha.samples; + +// [START alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_sync] +import com.google.cloud.alloydb.v1alpha.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1alpha.ClusterName; +import com.google.cloud.alloydb.v1alpha.CreateDatabaseRequest; +import com.google.cloud.alloydb.v1alpha.Database; + +public class SyncCreateDatabase { + + public static void main(String[] args) throws Exception { + syncCreateDatabase(); + } + + public static void syncCreateDatabase() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setDatabaseId("databaseId1688905718") + .setDatabase(Database.newBuilder().build()) + .build(); + Database response = alloyDBAdminClient.createDatabase(request); + } + } +} +// [END alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java new file mode 100644 index 000000000000..1ee766da1f49 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.alloydb.v1alpha.samples; + +// [START alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_ClusternameDatabaseString_sync] +import com.google.cloud.alloydb.v1alpha.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1alpha.ClusterName; +import com.google.cloud.alloydb.v1alpha.Database; + +public class SyncCreateDatabaseClusternameDatabaseString { + + public static void main(String[] args) throws Exception { + syncCreateDatabaseClusternameDatabaseString(); + } + + public static void syncCreateDatabaseClusternameDatabaseString() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId); + } + } +} +// [END alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_ClusternameDatabaseString_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java new file mode 100644 index 000000000000..dbf151103a84 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.alloydb.v1alpha.samples; + +// [START alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_StringDatabaseString_sync] +import com.google.cloud.alloydb.v1alpha.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1alpha.ClusterName; +import com.google.cloud.alloydb.v1alpha.Database; + +public class SyncCreateDatabaseStringDatabaseString { + + public static void main(String[] args) throws Exception { + syncCreateDatabaseStringDatabaseString(); + } + + public static void syncCreateDatabaseStringDatabaseString() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + String parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString(); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId); + } + } +} +// [END alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_StringDatabaseString_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/AsyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/AsyncExecuteSql.java index d105093d390d..7d7fc7b8cce0 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/AsyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/AsyncExecuteSql.java @@ -43,6 +43,7 @@ public static void asyncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ApiFuture future = alloyDBAdminClient.executeSqlCallable().futureCall(request); diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/SyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/SyncExecuteSql.java index be6998971b01..222d29e1b169 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/SyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/executesql/SyncExecuteSql.java @@ -42,6 +42,7 @@ public static void syncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); } diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/AsyncCreateDatabase.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/AsyncCreateDatabase.java new file mode 100644 index 000000000000..2830fe643541 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/AsyncCreateDatabase.java @@ -0,0 +1,51 @@ +/* + * 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.cloud.alloydb.v1beta.samples; + +// [START alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.alloydb.v1beta.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1beta.ClusterName; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; +import com.google.cloud.alloydb.v1beta.Database; + +public class AsyncCreateDatabase { + + public static void main(String[] args) throws Exception { + asyncCreateDatabase(); + } + + public static void asyncCreateDatabase() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setDatabaseId("databaseId1688905718") + .setDatabase(Database.newBuilder().build()) + .build(); + ApiFuture future = alloyDBAdminClient.createDatabaseCallable().futureCall(request); + // Do something. + Database response = future.get(); + } + } +} +// [END alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_async] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabase.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabase.java new file mode 100644 index 000000000000..767c85bf9f40 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabase.java @@ -0,0 +1,48 @@ +/* + * 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.cloud.alloydb.v1beta.samples; + +// [START alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_sync] +import com.google.cloud.alloydb.v1beta.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1beta.ClusterName; +import com.google.cloud.alloydb.v1beta.CreateDatabaseRequest; +import com.google.cloud.alloydb.v1beta.Database; + +public class SyncCreateDatabase { + + public static void main(String[] args) throws Exception { + syncCreateDatabase(); + } + + public static void syncCreateDatabase() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + CreateDatabaseRequest request = + CreateDatabaseRequest.newBuilder() + .setParent(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setDatabaseId("databaseId1688905718") + .setDatabase(Database.newBuilder().build()) + .build(); + Database response = alloyDBAdminClient.createDatabase(request); + } + } +} +// [END alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java new file mode 100644 index 000000000000..575a64836513 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseClusternameDatabaseString.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.alloydb.v1beta.samples; + +// [START alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_ClusternameDatabaseString_sync] +import com.google.cloud.alloydb.v1beta.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1beta.ClusterName; +import com.google.cloud.alloydb.v1beta.Database; + +public class SyncCreateDatabaseClusternameDatabaseString { + + public static void main(String[] args) throws Exception { + syncCreateDatabaseClusternameDatabaseString(); + } + + public static void syncCreateDatabaseClusternameDatabaseString() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + ClusterName parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId); + } + } +} +// [END alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_ClusternameDatabaseString_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java new file mode 100644 index 000000000000..4f043f82d623 --- /dev/null +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createdatabase/SyncCreateDatabaseStringDatabaseString.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.alloydb.v1beta.samples; + +// [START alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_StringDatabaseString_sync] +import com.google.cloud.alloydb.v1beta.AlloyDBAdminClient; +import com.google.cloud.alloydb.v1beta.ClusterName; +import com.google.cloud.alloydb.v1beta.Database; + +public class SyncCreateDatabaseStringDatabaseString { + + public static void main(String[] args) throws Exception { + syncCreateDatabaseStringDatabaseString(); + } + + public static void syncCreateDatabaseStringDatabaseString() 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 (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) { + String parent = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString(); + Database database = Database.newBuilder().build(); + String databaseId = "databaseId1688905718"; + Database response = alloyDBAdminClient.createDatabase(parent, database, databaseId); + } + } +} +// [END alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_StringDatabaseString_sync] diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/AsyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/AsyncExecuteSql.java index 0d1565cd5d5d..493c35d54745 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/AsyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/AsyncExecuteSql.java @@ -43,6 +43,7 @@ public static void asyncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ApiFuture future = alloyDBAdminClient.executeSqlCallable().futureCall(request); diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/SyncExecuteSql.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/SyncExecuteSql.java index 5de371458ebc..38b13ee66409 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/SyncExecuteSql.java +++ b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/executesql/SyncExecuteSql.java @@ -42,6 +42,7 @@ public static void syncExecuteSql() throws Exception { .setDatabase("database1789464955") .setUser("user3599307") .setSqlStatement("sqlStatement937767745") + .setValidateOnly(true) .build(); ExecuteSqlResponse response = alloyDBAdminClient.executeSql(request); } diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index bad8f8019b6b..5e59e6e070de 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-admin - 0.84.0 + 0.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.84.0' +implementation 'com.google.analytics:google-analytics-admin:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.84.0" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.85.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.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.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-analytics-data/README.md b/java-analytics-data/README.md index 94f603ea4271..140aa92b7bc0 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-data - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-data:0.85.0' +implementation 'com.google.analytics:google-analytics-data:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.85.0" +libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.86.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.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.86.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 1bfe25783c96..8f1b441bba41 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-analyticshub - 0.71.0 + 0.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-analyticshub:0.71.0' +implementation 'com.google.cloud:google-cloud-analyticshub:0.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.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-cloud-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.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-api-gateway/README.md b/java-api-gateway/README.md index 5c471a66d505..17b799c03a6b 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.74.0' +implementation 'com.google.cloud:google-cloud-api-gateway:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.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-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.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-apigee-connect/README.md b/java-apigee-connect/README.md index 48e10911b175..1355b9af09db 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-connect:2.74.0' +implementation 'com.google.cloud:google-cloud-apigee-connect:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.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-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.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-apigee-registry/README.md b/java-apigee-registry/README.md index 5b3862060707..71dfe2ee3b08 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-registry:0.74.0' +implementation 'com.google.cloud:google-cloud-apigee-registry:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "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-apigee-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/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-apihub/README.md b/java-apihub/README.md index 1137d3223042..e30455f16b97 100644 --- a/java-apihub/README.md +++ b/java-apihub/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apihub - 0.27.0 + 0.28.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apihub:0.27.0' +implementation 'com.google.cloud:google-cloud-apihub:0.28.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.27.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "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.cloud/google-cloud-apihub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.27.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/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-apikeys/README.md b/java-apikeys/README.md index 2cd5acccc4b8..3770924d49e2 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apikeys - 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-apikeys:0.72.0' +implementation 'com.google.cloud:google-cloud-apikeys:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "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-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/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-appengine-admin/README.md b/java-appengine-admin/README.md index e17abd0851a8..1c753d921a24 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-appengine-admin:2.74.0' +implementation 'com.google.cloud:google-cloud-appengine-admin:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.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-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.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-apphub/README.md b/java-apphub/README.md index 9593c23a4b87..c89b1d2280a8 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apphub - 0.38.0 + 0.39.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apphub:0.38.0' +implementation 'com.google.cloud:google-cloud-apphub:0.39.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.39.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.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.39.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 9263a85c3ea6..0bc6f72aaafd 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.area120 google-area120-tables - 0.78.0 + 0.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.area120:google-area120-tables:0.78.0' +implementation 'com.google.area120:google-area120-tables:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.78.0" +libraryDependencies += "com.google.area120" % "google-area120-tables" % "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.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/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-artifact-registry/README.md b/java-artifact-registry/README.md index 0b5fe40cf0a4..4fbd81f0641d 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-artifact-registry:1.73.0' +implementation 'com.google.cloud:google-cloud-artifact-registry:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "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-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/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-asset/README.md b/java-asset/README.md index 65c816d41030..1206425063dc 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-asset - 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-asset:3.78.0' +implementation 'com.google.cloud:google-cloud-asset:3.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "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-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/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-assured-workloads/README.md b/java-assured-workloads/README.md index e04a13713180..78a6ed9eaf9c 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-assured-workloads:2.74.0' +implementation 'com.google.cloud:google-cloud-assured-workloads:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.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-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.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-automl/README.md b/java-automl/README.md index c3b1b3b5630d..408de7b1a140 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-automl - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-automl:2.74.0' +implementation 'com.google.cloud:google-cloud-automl:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.75.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.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.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-backupdr/README.md b/java-backupdr/README.md index 89057241af85..f5d830d835f7 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-backupdr - 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-backupdr:0.33.0' +implementation 'com.google.cloud:google-cloud-backupdr:0.34.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.34.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.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/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-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupvault_disk.proto b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupvault_disk.proto index e2659baa6e89..f91c17525d8f 100644 --- a/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupvault_disk.proto +++ b/java-backupdr/proto-google-cloud-backupdr-v1/src/main/proto/google/cloud/backupdr/v1/backupvault_disk.proto @@ -32,8 +32,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/zones/{zone}/storagePools/{storage_pool}" }; -// LINT: LEGACY_NAMES - // DiskTargetEnvironment represents the target environment for the disk. message DiskTargetEnvironment { // Required. Target project for the disk. diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index 85b53d6fa5b4..7589ab802612 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.74.0' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "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-bare-metal-solution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/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-batch/README.md b/java-batch/README.md index 4d1b17f413a4..3d684ca66363 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-batch - 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-batch:0.74.0' +implementation 'com.google.cloud:google-cloud-batch:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "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-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/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-appconnections/README.md b/java-beyondcorp-appconnections/README.md index 5715efbb1516..7f805a0af066 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.72.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "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-beyondcorp-appconnections.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/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-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index 4b06294e063a..5ab34e1c443c 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.72.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "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-beyondcorp-appconnectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/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-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index a27e6613a84c..cd0f44408275 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.72.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "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-beyondcorp-appgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/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-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index 74203db96666..c9302fd3abf0 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.72.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "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-beyondcorp-clientconnectorservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/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-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index 16aa076c20e7..c8d01f70d93f 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.72.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "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-beyondcorp-clientgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/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-biglake/README.md b/java-biglake/README.md index 097773e9e4e4..3683c3746c77 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-biglake - 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-biglake:0.62.0' +implementation 'com.google.cloud:google-cloud-biglake:0.63.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.62.0" +libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "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-biglake.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.62.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/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-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index 2f932534face..dfecfea6d49f 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.69.0 + 2.70.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.69.0' +implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.70.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.69.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.70.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.69.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.70.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 19c48aa081e7..0c9c042ceb6b 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryconnection - 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-bigqueryconnection:2.76.0' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "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-bigqueryconnection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/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-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 79c68880da43..354395ffea34 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatapolicy - 0.71.0 + 0.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.71.0' +implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.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-bigquerydatapolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.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-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index cfa4ca7fa349..51f1e2abdfb8 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.74.0' +implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.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-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.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-bigquerymigration/README.md b/java-bigquerymigration/README.md index d4934e131080..298542266d1a 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerymigration - 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-bigquerymigration:0.77.0' +implementation 'com.google.cloud:google-cloud-bigquerymigration:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.78.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.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/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-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index 608ca73ee513..d99b350e4ee1 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryreservation - 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-bigqueryreservation:2.75.0' +implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "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-bigqueryreservation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/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-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java index 6e336bbb4789..dd30de4cf42c 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java @@ -24,9 +24,15 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.bigquery.reservation.v1.stub.ReservationServiceStub; import com.google.cloud.bigquery.reservation.v1.stub.ReservationServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -544,6 +550,142 @@ * * * + * + *

GetIamPolicy + *

Gets the access control policy for a resource. May return: + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ *

Supported resources are: - Reservations - ReservationAssignments + *

To call this method, you must have the following Google IAM permissions: + *

- `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + *

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

+ *
    + *
  • getIamPolicy(GetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getIamPolicy(ResourceName resource) + *

  • getIamPolicy(String resource) + *

+ *

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

+ *
    + *
  • getIamPolicyCallable() + *

+ * + * + * + *

SetIamPolicy + *

Sets an access control policy for a resource. Replaces any existing policy. + *

Supported resources are: - Reservations + *

To call this method, you must have the following Google IAM permissions: + *

- `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + *

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

+ *
    + *
  • setIamPolicy(SetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • setIamPolicy(ResourceName resource, Policy policy) + *

  • setIamPolicy(String resource, Policy policy) + *

+ *

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

+ *
    + *
  • setIamPolicyCallable() + *

+ * + * + * + *

TestIamPermissions + *

Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. + *

Supported resources are: - Reservations + *

No Google IAM permissions are required to call this method. + * + *

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

+ *
    + *
  • testIamPermissions(TestIamPermissionsRequest request) + *

+ *

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

+ *
    + *
  • testIamPermissionsCallable() + *

+ * + * + * + *

CreateReservationGroup + *

Creates a new reservation group. + * + *

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

+ *
    + *
  • createReservationGroup(CreateReservationGroupRequest request) + *

+ *

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

+ *
    + *
  • createReservationGroupCallable() + *

+ * + * + * + *

GetReservationGroup + *

Returns information about the reservation group. + * + *

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

+ *
    + *
  • getReservationGroup(GetReservationGroupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getReservationGroup(ReservationGroupName name) + *

  • getReservationGroup(String name) + *

+ *

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

+ *
    + *
  • getReservationGroupCallable() + *

+ * + * + * + *

DeleteReservationGroup + *

Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has assignments. + * + *

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

+ *
    + *
  • deleteReservationGroup(DeleteReservationGroupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteReservationGroup(ReservationGroupName name) + *

  • deleteReservationGroup(String name) + *

+ *

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

+ *
    + *
  • deleteReservationGroupCallable() + *

+ * + * + * + *

ListReservationGroups + *

Lists all the reservation groups for the project in the specified location. + * + *

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

+ *
    + *
  • listReservationGroups(ListReservationGroupsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listReservationGroups(LocationName parent) + *

  • listReservationGroups(String parent) + *

+ *

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

+ *
    + *
  • listReservationGroupsPagedCallable() + *

  • listReservationGroupsCallable() + *

+ * + * * * *

See the individual methods for example code. @@ -2274,6 +2416,7 @@ public final CapacityCommitment mergeCapacityCommitments( * MergeCapacityCommitmentsRequest.newBuilder() * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .addAllCapacityCommitmentIds(new ArrayList()) + * .setCapacityCommitmentId("capacityCommitmentId1185645802") * .build(); * CapacityCommitment response = reservationServiceClient.mergeCapacityCommitments(request); * } @@ -2310,6 +2453,7 @@ public final CapacityCommitment mergeCapacityCommitments( * MergeCapacityCommitmentsRequest.newBuilder() * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .addAllCapacityCommitmentIds(new ArrayList()) + * .setCapacityCommitmentId("capacityCommitmentId1185645802") * .build(); * ApiFuture future = * reservationServiceClient.mergeCapacityCommitmentsCallable().futureCall(request); @@ -4120,40 +4264,917 @@ public final BiReservation updateBiReservation(UpdateBiReservationRequest reques return stub.updateBiReservationCallable(); } - @Override - public final void close() { - stub.close(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May return: + * + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: - Reservations - ReservationAssignments + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ResourceName resource =
+   *       AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]");
+   *   Policy response = reservationServiceClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); } - @Override - public void shutdown() { - stub.shutdown(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May return: + * + *
    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: - Reservations - ReservationAssignments + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   String resource =
+   *       AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]").toString();
+   *   Policy response = reservationServiceClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); } - @Override - public boolean isShutdown() { - return stub.isShutdown(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May return: + * + *
    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: - Reservations - ReservationAssignments + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = reservationServiceClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); } - @Override - public boolean isTerminated() { - return stub.isTerminated(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May return: + * + *
    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: - Reservations - ReservationAssignments + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); } - @Override - public void shutdownNow() { - stub.shutdownNow(); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: - Reservations + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ResourceName resource =
+   *       AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = reservationServiceClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); } - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: - Reservations + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   String resource =
+   *       AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = reservationServiceClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); } - public static class ListReservationsPagedResponse - extends AbstractPagedListResponse< - ListReservationsRequest, - ListReservationsResponse, + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: - Reservations + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = reservationServiceClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: - Reservations + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets your permissions on a resource. Returns an empty set of permissions if the resource + * doesn't exist. + * + *

Supported resources are: - Reservations + * + *

No Google IAM permissions are required to call this method. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response = reservationServiceClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @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 TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets your permissions on a resource. Returns an empty set of permissions if the resource + * doesn't exist. + * + *

Supported resources are: - Reservations + * + *

No Google IAM permissions are required to call this method. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]")
+   *                   .toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   CreateReservationGroupRequest request =
+   *       CreateReservationGroupRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setReservationGroupId("reservationGroupId-1636887922")
+   *           .setReservationGroup(ReservationGroup.newBuilder().build())
+   *           .build();
+   *   ReservationGroup response = reservationServiceClient.createReservationGroup(request);
+   * }
+   * }
+ * + * @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 ReservationGroup createReservationGroup(CreateReservationGroupRequest request) { + return createReservationGroupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   CreateReservationGroupRequest request =
+   *       CreateReservationGroupRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setReservationGroupId("reservationGroupId-1636887922")
+   *           .setReservationGroup(ReservationGroup.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.createReservationGroupCallable().futureCall(request);
+   *   // Do something.
+   *   ReservationGroup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createReservationGroupCallable() { + return stub.createReservationGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns information about the reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ReservationGroupName name =
+   *       ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]");
+   *   ReservationGroup response = reservationServiceClient.getReservationGroup(name);
+   * }
+   * }
+ * + * @param name Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReservationGroup getReservationGroup(ReservationGroupName name) { + GetReservationGroupRequest request = + GetReservationGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getReservationGroup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns information about the reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   String name =
+   *       ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]").toString();
+   *   ReservationGroup response = reservationServiceClient.getReservationGroup(name);
+   * }
+   * }
+ * + * @param name Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReservationGroup getReservationGroup(String name) { + GetReservationGroupRequest request = + GetReservationGroupRequest.newBuilder().setName(name).build(); + return getReservationGroup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns information about the reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   GetReservationGroupRequest request =
+   *       GetReservationGroupRequest.newBuilder()
+   *           .setName(
+   *               ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]")
+   *                   .toString())
+   *           .build();
+   *   ReservationGroup response = reservationServiceClient.getReservationGroup(request);
+   * }
+   * }
+ * + * @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 ReservationGroup getReservationGroup(GetReservationGroupRequest request) { + return getReservationGroupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns information about the reservation group. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   GetReservationGroupRequest request =
+   *       GetReservationGroupRequest.newBuilder()
+   *           .setName(
+   *               ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.getReservationGroupCallable().futureCall(request);
+   *   // Do something.
+   *   ReservationGroup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getReservationGroupCallable() { + return stub.getReservationGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has + * assignments. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ReservationGroupName name =
+   *       ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]");
+   *   reservationServiceClient.deleteReservationGroup(name);
+   * }
+   * }
+ * + * @param name Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteReservationGroup(ReservationGroupName name) { + DeleteReservationGroupRequest request = + DeleteReservationGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteReservationGroup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has + * assignments. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   String name =
+   *       ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]").toString();
+   *   reservationServiceClient.deleteReservationGroup(name);
+   * }
+   * }
+ * + * @param name Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteReservationGroup(String name) { + DeleteReservationGroupRequest request = + DeleteReservationGroupRequest.newBuilder().setName(name).build(); + deleteReservationGroup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has + * assignments. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   DeleteReservationGroupRequest request =
+   *       DeleteReservationGroupRequest.newBuilder()
+   *           .setName(
+   *               ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]")
+   *                   .toString())
+   *           .build();
+   *   reservationServiceClient.deleteReservationGroup(request);
+   * }
+   * }
+ * + * @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 void deleteReservationGroup(DeleteReservationGroupRequest request) { + deleteReservationGroupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has + * assignments. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   DeleteReservationGroupRequest request =
+   *       DeleteReservationGroupRequest.newBuilder()
+   *           .setName(
+   *               ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.deleteReservationGroupCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteReservationGroupCallable() { + return stub.deleteReservationGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the reservation groups for the project in the specified location. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (ReservationGroup element :
+   *       reservationServiceClient.listReservationGroups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource name containing project and location, e.g.: + * `projects/myproject/locations/US` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListReservationGroupsPagedResponse listReservationGroups(LocationName parent) { + ListReservationGroupsRequest request = + ListReservationGroupsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listReservationGroups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the reservation groups for the project in the specified location. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (ReservationGroup element :
+   *       reservationServiceClient.listReservationGroups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource name containing project and location, e.g.: + * `projects/myproject/locations/US` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListReservationGroupsPagedResponse listReservationGroups(String parent) { + ListReservationGroupsRequest request = + ListReservationGroupsRequest.newBuilder().setParent(parent).build(); + return listReservationGroups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the reservation groups for the project in the specified location. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ListReservationGroupsRequest request =
+   *       ListReservationGroupsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (ReservationGroup element :
+   *       reservationServiceClient.listReservationGroups(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListReservationGroupsPagedResponse listReservationGroups( + ListReservationGroupsRequest request) { + return listReservationGroupsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the reservation groups for the project in the specified location. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ListReservationGroupsRequest request =
+   *       ListReservationGroupsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       reservationServiceClient.listReservationGroupsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (ReservationGroup element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listReservationGroupsPagedCallable() { + return stub.listReservationGroupsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the reservation groups for the project in the specified location. + * + *

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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
+   *   ListReservationGroupsRequest request =
+   *       ListReservationGroupsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListReservationGroupsResponse response =
+   *         reservationServiceClient.listReservationGroupsCallable().call(request);
+   *     for (ReservationGroup element : response.getReservationGroupsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listReservationGroupsCallable() { + return stub.listReservationGroupsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListReservationsPagedResponse + extends AbstractPagedListResponse< + ListReservationsRequest, + ListReservationsResponse, Reservation, ListReservationsPage, ListReservationsFixedSizeCollection> { @@ -4548,4 +5569,88 @@ protected SearchAllAssignmentsFixedSizeCollection createCollection( return new SearchAllAssignmentsFixedSizeCollection(pages, collectionSize); } } + + public static class ListReservationGroupsPagedResponse + extends AbstractPagedListResponse< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ReservationGroup, + ListReservationGroupsPage, + ListReservationGroupsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListReservationGroupsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListReservationGroupsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListReservationGroupsPagedResponse(ListReservationGroupsPage page) { + super(page, ListReservationGroupsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListReservationGroupsPage + extends AbstractPage< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ReservationGroup, + ListReservationGroupsPage> { + + private ListReservationGroupsPage( + PageContext + context, + ListReservationGroupsResponse response) { + super(context, response); + } + + private static ListReservationGroupsPage createEmptyPage() { + return new ListReservationGroupsPage(null, null); + } + + @Override + protected ListReservationGroupsPage createPage( + PageContext + context, + ListReservationGroupsResponse response) { + return new ListReservationGroupsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListReservationGroupsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ReservationGroup, + ListReservationGroupsPage, + ListReservationGroupsFixedSizeCollection> { + + private ListReservationGroupsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListReservationGroupsFixedSizeCollection createEmptyCollection() { + return new ListReservationGroupsFixedSizeCollection(null, 0); + } + + @Override + protected ListReservationGroupsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListReservationGroupsFixedSizeCollection(pages, collectionSize); + } + } } diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceSettings.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceSettings.java index 4c337a564139..c39d0e31616e 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceSettings.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceSettings.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -35,6 +36,11 @@ import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.reservation.v1.stub.ReservationServiceStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.Empty; import java.io.IOException; import java.util.List; @@ -231,6 +237,48 @@ public UnaryCallSettings getBiReservatio return ((ReservationServiceStubSettings) getStubSettings()).updateBiReservationSettings(); } + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((ReservationServiceStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((ReservationServiceStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((ReservationServiceStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + /** Returns the object with the settings used for calls to createReservationGroup. */ + public UnaryCallSettings + createReservationGroupSettings() { + return ((ReservationServiceStubSettings) getStubSettings()).createReservationGroupSettings(); + } + + /** Returns the object with the settings used for calls to getReservationGroup. */ + public UnaryCallSettings + getReservationGroupSettings() { + return ((ReservationServiceStubSettings) getStubSettings()).getReservationGroupSettings(); + } + + /** Returns the object with the settings used for calls to deleteReservationGroup. */ + public UnaryCallSettings deleteReservationGroupSettings() { + return ((ReservationServiceStubSettings) getStubSettings()).deleteReservationGroupSettings(); + } + + /** Returns the object with the settings used for calls to listReservationGroups. */ + public PagedCallSettings< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings() { + return ((ReservationServiceStubSettings) getStubSettings()).listReservationGroupsSettings(); + } + public static final ReservationServiceSettings create(ReservationServiceStubSettings stub) throws IOException { return new ReservationServiceSettings.Builder(stub.toBuilder()).build(); @@ -486,6 +534,49 @@ public UnaryCallSettings.Builder moveAssignme return getStubSettingsBuilder().updateBiReservationSettings(); } + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + /** Returns the builder for the settings used for calls to createReservationGroup. */ + public UnaryCallSettings.Builder + createReservationGroupSettings() { + return getStubSettingsBuilder().createReservationGroupSettings(); + } + + /** Returns the builder for the settings used for calls to getReservationGroup. */ + public UnaryCallSettings.Builder + getReservationGroupSettings() { + return getStubSettingsBuilder().getReservationGroupSettings(); + } + + /** Returns the builder for the settings used for calls to deleteReservationGroup. */ + public UnaryCallSettings.Builder + deleteReservationGroupSettings() { + return getStubSettingsBuilder().deleteReservationGroupSettings(); + } + + /** Returns the builder for the settings used for calls to listReservationGroups. */ + public PagedCallSettings.Builder< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings() { + return getStubSettingsBuilder().listReservationGroupsSettings(); + } + @Override public ReservationServiceSettings build() throws IOException { return new ReservationServiceSettings(this); diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/gapic_metadata.json b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/gapic_metadata.json index e8ff3344f81f..ee1015637536 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/gapic_metadata.json +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/gapic_metadata.json @@ -19,6 +19,9 @@ "CreateReservation": { "methods": ["createReservation", "createReservation", "createReservation", "createReservationCallable"] }, + "CreateReservationGroup": { + "methods": ["createReservationGroup", "createReservationGroupCallable"] + }, "DeleteAssignment": { "methods": ["deleteAssignment", "deleteAssignment", "deleteAssignment", "deleteAssignmentCallable"] }, @@ -28,6 +31,9 @@ "DeleteReservation": { "methods": ["deleteReservation", "deleteReservation", "deleteReservation", "deleteReservationCallable"] }, + "DeleteReservationGroup": { + "methods": ["deleteReservationGroup", "deleteReservationGroup", "deleteReservationGroup", "deleteReservationGroupCallable"] + }, "FailoverReservation": { "methods": ["failoverReservation", "failoverReservationCallable"] }, @@ -37,15 +43,24 @@ "GetCapacityCommitment": { "methods": ["getCapacityCommitment", "getCapacityCommitment", "getCapacityCommitment", "getCapacityCommitmentCallable"] }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, "GetReservation": { "methods": ["getReservation", "getReservation", "getReservation", "getReservationCallable"] }, + "GetReservationGroup": { + "methods": ["getReservationGroup", "getReservationGroup", "getReservationGroup", "getReservationGroupCallable"] + }, "ListAssignments": { "methods": ["listAssignments", "listAssignments", "listAssignments", "listAssignmentsPagedCallable", "listAssignmentsCallable"] }, "ListCapacityCommitments": { "methods": ["listCapacityCommitments", "listCapacityCommitments", "listCapacityCommitments", "listCapacityCommitmentsPagedCallable", "listCapacityCommitmentsCallable"] }, + "ListReservationGroups": { + "methods": ["listReservationGroups", "listReservationGroups", "listReservationGroups", "listReservationGroupsPagedCallable", "listReservationGroupsCallable"] + }, "ListReservations": { "methods": ["listReservations", "listReservations", "listReservations", "listReservationsPagedCallable", "listReservationsCallable"] }, @@ -61,9 +76,15 @@ "SearchAssignments": { "methods": ["searchAssignments", "searchAssignments", "searchAssignments", "searchAssignmentsPagedCallable", "searchAssignmentsCallable"] }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, "SplitCapacityCommitment": { "methods": ["splitCapacityCommitment", "splitCapacityCommitment", "splitCapacityCommitment", "splitCapacityCommitmentCallable"] }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissionsCallable"] + }, "UpdateAssignment": { "methods": ["updateAssignment", "updateAssignment", "updateAssignmentCallable"] }, diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java index 54d2ce0d8a1b..e861b1e9979f 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -34,23 +35,29 @@ import com.google.cloud.bigquery.reservation.v1.CapacityCommitment; import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest; import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.DeleteReservationRequest; import com.google.cloud.bigquery.reservation.v1.FailoverReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.GetReservationRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse; import com.google.cloud.bigquery.reservation.v1.ListReservationsRequest; import com.google.cloud.bigquery.reservation.v1.ListReservationsResponse; import com.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.Reservation; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest; @@ -61,6 +68,11 @@ import com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest; import com.google.cloud.bigquery.reservation.v1.UpdateReservationRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; import io.grpc.MethodDescriptor; @@ -351,6 +363,86 @@ public class GrpcReservationServiceStub extends ReservationServiceStub { .setSampledToLocalTracing(true) .build(); + private static final MethodDescriptor getIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.bigquery.reservation.v1.ReservationService/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.bigquery.reservation.v1.ReservationService/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + createReservationGroupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/CreateReservationGroup") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateReservationGroupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReservationGroup.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + getReservationGroupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/GetReservationGroup") + .setRequestMarshaller( + ProtoUtils.marshaller(GetReservationGroupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReservationGroup.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + deleteReservationGroupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/DeleteReservationGroup") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteReservationGroupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + listReservationGroupsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/ListReservationGroups") + .setRequestMarshaller( + ProtoUtils.marshaller(ListReservationGroupsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListReservationGroupsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + private final UnaryCallable createReservationCallable; private final UnaryCallable listReservationsCallable; @@ -395,6 +487,19 @@ public class GrpcReservationServiceStub extends ReservationServiceStub { private final UnaryCallable getBiReservationCallable; private final UnaryCallable updateBiReservationCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable + createReservationGroupCallable; + private final UnaryCallable + getReservationGroupCallable; + private final UnaryCallable deleteReservationGroupCallable; + private final UnaryCallable + listReservationGroupsCallable; + private final UnaryCallable + listReservationGroupsPagedCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -679,6 +784,81 @@ protected GrpcReservationServiceStub( return builder.build(); }) .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + createReservationGroupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createReservationGroupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings + getReservationGroupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getReservationGroupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteReservationGroupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteReservationGroupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listReservationGroupsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listReservationGroupsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); this.createReservationCallable = callableFactory.createUnaryCallable( @@ -795,6 +975,42 @@ protected GrpcReservationServiceStub( updateBiReservationTransportSettings, settings.updateBiReservationSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.createReservationGroupCallable = + callableFactory.createUnaryCallable( + createReservationGroupTransportSettings, + settings.createReservationGroupSettings(), + clientContext); + this.getReservationGroupCallable = + callableFactory.createUnaryCallable( + getReservationGroupTransportSettings, + settings.getReservationGroupSettings(), + clientContext); + this.deleteReservationGroupCallable = + callableFactory.createUnaryCallable( + deleteReservationGroupTransportSettings, + settings.deleteReservationGroupSettings(), + clientContext); + this.listReservationGroupsCallable = + callableFactory.createUnaryCallable( + listReservationGroupsTransportSettings, + settings.listReservationGroupsSettings(), + clientContext); + this.listReservationGroupsPagedCallable = + callableFactory.createPagedCallable( + listReservationGroupsTransportSettings, + settings.listReservationGroupsSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -953,6 +1169,50 @@ public UnaryCallable updateBiReservat return updateBiReservationCallable; } + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable + createReservationGroupCallable() { + return createReservationGroupCallable; + } + + @Override + public UnaryCallable getReservationGroupCallable() { + return getReservationGroupCallable; + } + + @Override + public UnaryCallable deleteReservationGroupCallable() { + return deleteReservationGroupCallable; + } + + @Override + public UnaryCallable + listReservationGroupsCallable() { + return listReservationGroupsCallable; + } + + @Override + public UnaryCallable + listReservationGroupsPagedCallable() { + return listReservationGroupsPagedCallable; + } + @Override public final void close() { try { diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/HttpJsonReservationServiceStub.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/HttpJsonReservationServiceStub.java index 6b23a01e2fdc..f92653ab96c4 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/HttpJsonReservationServiceStub.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/HttpJsonReservationServiceStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -39,23 +40,29 @@ import com.google.cloud.bigquery.reservation.v1.CapacityCommitment; import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest; import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.DeleteReservationRequest; import com.google.cloud.bigquery.reservation.v1.FailoverReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.GetReservationRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse; import com.google.cloud.bigquery.reservation.v1.ListReservationsRequest; import com.google.cloud.bigquery.reservation.v1.ListReservationsResponse; import com.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.Reservation; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest; @@ -66,6 +73,11 @@ import com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest; import com.google.cloud.bigquery.reservation.v1.UpdateReservationRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.Empty; import com.google.protobuf.TypeRegistry; import java.io.IOException; @@ -930,6 +942,273 @@ public class HttpJsonReservationServiceStub extends ReservationServiceStub { .build()) .build(); + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/GetIamPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setAdditionalPaths( + "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy") + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "options", request.getOptions()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setAdditionalPaths( + "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy") + .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().clearResource().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setAdditionalPaths( + "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions") + .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().clearResource().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createReservationGroupMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/CreateReservationGroup") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/reservationGroups", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "reservationGroupId", request.getReservationGroupId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("reservationGroup", request.getReservationGroup(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ReservationGroup.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getReservationGroupMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/GetReservationGroup") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/reservationGroups/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ReservationGroup.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteReservationGroupMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/DeleteReservationGroup") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/reservationGroups/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + ListReservationGroupsRequest, ListReservationGroupsResponse> + listReservationGroupsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.bigquery.reservation.v1.ReservationService/ListReservationGroups") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/reservationGroups", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListReservationGroupsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private final UnaryCallable createReservationCallable; private final UnaryCallable listReservationsCallable; @@ -974,6 +1253,19 @@ public class HttpJsonReservationServiceStub extends ReservationServiceStub { private final UnaryCallable getBiReservationCallable; private final UnaryCallable updateBiReservationCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable + createReservationGroupCallable; + private final UnaryCallable + getReservationGroupCallable; + private final UnaryCallable deleteReservationGroupCallable; + private final UnaryCallable + listReservationGroupsCallable; + private final UnaryCallable + listReservationGroupsPagedCallable; private final BackgroundResource backgroundResources; private final HttpJsonStubCallableFactory callableFactory; @@ -1282,6 +1574,89 @@ protected HttpJsonReservationServiceStub( return builder.build(); }) .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + createReservationGroupTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createReservationGroupMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + getReservationGroupTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getReservationGroupMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + deleteReservationGroupTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteReservationGroupMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + listReservationGroupsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listReservationGroupsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); this.createReservationCallable = callableFactory.createUnaryCallable( @@ -1398,6 +1773,42 @@ protected HttpJsonReservationServiceStub( updateBiReservationTransportSettings, settings.updateBiReservationSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.createReservationGroupCallable = + callableFactory.createUnaryCallable( + createReservationGroupTransportSettings, + settings.createReservationGroupSettings(), + clientContext); + this.getReservationGroupCallable = + callableFactory.createUnaryCallable( + getReservationGroupTransportSettings, + settings.getReservationGroupSettings(), + clientContext); + this.deleteReservationGroupCallable = + callableFactory.createUnaryCallable( + deleteReservationGroupTransportSettings, + settings.deleteReservationGroupSettings(), + clientContext); + this.listReservationGroupsCallable = + callableFactory.createUnaryCallable( + listReservationGroupsTransportSettings, + settings.listReservationGroupsSettings(), + clientContext); + this.listReservationGroupsPagedCallable = + callableFactory.createPagedCallable( + listReservationGroupsTransportSettings, + settings.listReservationGroupsSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -1428,6 +1839,13 @@ public static List getMethodDescriptors() { methodDescriptors.add(updateAssignmentMethodDescriptor); methodDescriptors.add(getBiReservationMethodDescriptor); methodDescriptors.add(updateBiReservationMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(createReservationGroupMethodDescriptor); + methodDescriptors.add(getReservationGroupMethodDescriptor); + methodDescriptors.add(deleteReservationGroupMethodDescriptor); + methodDescriptors.add(listReservationGroupsMethodDescriptor); return methodDescriptors; } @@ -1580,6 +1998,50 @@ public UnaryCallable updateBiReservat return updateBiReservationCallable; } + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable + createReservationGroupCallable() { + return createReservationGroupCallable; + } + + @Override + public UnaryCallable getReservationGroupCallable() { + return getReservationGroupCallable; + } + + @Override + public UnaryCallable deleteReservationGroupCallable() { + return deleteReservationGroupCallable; + } + + @Override + public UnaryCallable + listReservationGroupsCallable() { + return listReservationGroupsCallable; + } + + @Override + public UnaryCallable + listReservationGroupsPagedCallable() { + return listReservationGroupsPagedCallable; + } + @Override public final void close() { try { diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStub.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStub.java index 74adb1da69bd..e9d16658605c 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStub.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -29,23 +30,29 @@ import com.google.cloud.bigquery.reservation.v1.CapacityCommitment; import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest; import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.DeleteReservationRequest; import com.google.cloud.bigquery.reservation.v1.FailoverReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.GetReservationRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse; import com.google.cloud.bigquery.reservation.v1.ListReservationsRequest; import com.google.cloud.bigquery.reservation.v1.ListReservationsResponse; import com.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.Reservation; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest; @@ -56,6 +63,11 @@ import com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest; import com.google.cloud.bigquery.reservation.v1.UpdateReservationRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.Empty; import javax.annotation.Generated; @@ -193,6 +205,43 @@ public UnaryCallable updateBiReservat throw new UnsupportedOperationException("Not implemented: updateBiReservationCallable()"); } + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + public UnaryCallable + createReservationGroupCallable() { + throw new UnsupportedOperationException("Not implemented: createReservationGroupCallable()"); + } + + public UnaryCallable getReservationGroupCallable() { + throw new UnsupportedOperationException("Not implemented: getReservationGroupCallable()"); + } + + public UnaryCallable deleteReservationGroupCallable() { + throw new UnsupportedOperationException("Not implemented: deleteReservationGroupCallable()"); + } + + public UnaryCallable + listReservationGroupsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listReservationGroupsPagedCallable()"); + } + + public UnaryCallable + listReservationGroupsCallable() { + throw new UnsupportedOperationException("Not implemented: listReservationGroupsCallable()"); + } + @Override public abstract void close(); } diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStubSettings.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStubSettings.java index 5edd29504109..0b8becd87674 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStubSettings.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStubSettings.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -53,23 +54,29 @@ import com.google.cloud.bigquery.reservation.v1.CapacityCommitment; import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest; import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.DeleteReservationRequest; import com.google.cloud.bigquery.reservation.v1.FailoverReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest; import com.google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest; +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; import com.google.cloud.bigquery.reservation.v1.GetReservationRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse; import com.google.cloud.bigquery.reservation.v1.ListReservationsRequest; import com.google.cloud.bigquery.reservation.v1.ListReservationsResponse; import com.google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest; import com.google.cloud.bigquery.reservation.v1.MoveAssignmentRequest; import com.google.cloud.bigquery.reservation.v1.Reservation; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest; import com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse; import com.google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest; @@ -84,6 +91,11 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.Empty; import java.io.IOException; import java.time.Duration; @@ -195,6 +207,21 @@ public class ReservationServiceStubSettings extends StubSettings getBiReservationSettings; private final UnaryCallSettings updateBiReservationSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + private final UnaryCallSettings + createReservationGroupSettings; + private final UnaryCallSettings + getReservationGroupSettings; + private final UnaryCallSettings + deleteReservationGroupSettings; + private final PagedCallSettings< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings; private static final PagedListDescriptor< ListReservationsRequest, ListReservationsResponse, Reservation> @@ -390,6 +417,45 @@ public Iterable extractResources(SearchAllAssignmentsResponse payloa } }; + private static final PagedListDescriptor< + ListReservationGroupsRequest, ListReservationGroupsResponse, ReservationGroup> + LIST_RESERVATION_GROUPS_PAGE_STR_DESC = + new PagedListDescriptor< + ListReservationGroupsRequest, ListReservationGroupsResponse, ReservationGroup>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListReservationGroupsRequest injectToken( + ListReservationGroupsRequest payload, String token) { + return ListReservationGroupsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListReservationGroupsRequest injectPageSize( + ListReservationGroupsRequest payload, int pageSize) { + return ListReservationGroupsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListReservationGroupsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListReservationGroupsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListReservationGroupsResponse payload) { + return payload.getReservationGroupsList(); + } + }; + private static final PagedListResponseFactory< ListReservationsRequest, ListReservationsResponse, ListReservationsPagedResponse> LIST_RESERVATIONS_PAGE_STR_FACT = @@ -497,6 +563,30 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + LIST_RESERVATION_GROUPS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListReservationGroupsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListReservationGroupsRequest, ListReservationGroupsResponse, ReservationGroup> + pageContext = + PageContext.create( + callable, LIST_RESERVATION_GROUPS_PAGE_STR_DESC, request, context); + return ListReservationGroupsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + /** Returns the object with the settings used for calls to createReservation. */ public UnaryCallSettings createReservationSettings() { return createReservationSettings; @@ -633,6 +723,48 @@ public UnaryCallSettings getBiReservatio return updateBiReservationSettings; } + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the object with the settings used for calls to createReservationGroup. */ + public UnaryCallSettings + createReservationGroupSettings() { + return createReservationGroupSettings; + } + + /** Returns the object with the settings used for calls to getReservationGroup. */ + public UnaryCallSettings + getReservationGroupSettings() { + return getReservationGroupSettings; + } + + /** Returns the object with the settings used for calls to deleteReservationGroup. */ + public UnaryCallSettings deleteReservationGroupSettings() { + return deleteReservationGroupSettings; + } + + /** Returns the object with the settings used for calls to listReservationGroups. */ + public PagedCallSettings< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings() { + return listReservationGroupsSettings; + } + public ReservationServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -766,6 +898,13 @@ protected ReservationServiceStubSettings(Builder settingsBuilder) throws IOExcep updateAssignmentSettings = settingsBuilder.updateAssignmentSettings().build(); getBiReservationSettings = settingsBuilder.getBiReservationSettings().build(); updateBiReservationSettings = settingsBuilder.updateBiReservationSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + createReservationGroupSettings = settingsBuilder.createReservationGroupSettings().build(); + getReservationGroupSettings = settingsBuilder.getReservationGroupSettings().build(); + deleteReservationGroupSettings = settingsBuilder.deleteReservationGroupSettings().build(); + listReservationGroupsSettings = settingsBuilder.listReservationGroupsSettings().build(); } /** Builder for ReservationServiceStubSettings. */ @@ -826,6 +965,21 @@ public static class Builder getBiReservationSettings; private final UnaryCallSettings.Builder updateBiReservationSettings; + private final UnaryCallSettings.Builder getIamPolicySettings; + private final UnaryCallSettings.Builder setIamPolicySettings; + private final UnaryCallSettings.Builder + testIamPermissionsSettings; + private final UnaryCallSettings.Builder + createReservationGroupSettings; + private final UnaryCallSettings.Builder + getReservationGroupSettings; + private final UnaryCallSettings.Builder + deleteReservationGroupSettings; + private final PagedCallSettings.Builder< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -903,6 +1057,14 @@ protected Builder(ClientContext clientContext) { updateAssignmentSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getBiReservationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateBiReservationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createReservationGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getReservationGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteReservationGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listReservationGroupsSettings = + PagedCallSettings.newBuilder(LIST_RESERVATION_GROUPS_PAGE_STR_FACT); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -927,7 +1089,14 @@ protected Builder(ClientContext clientContext) { moveAssignmentSettings, updateAssignmentSettings, getBiReservationSettings, - updateBiReservationSettings); + updateBiReservationSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + createReservationGroupSettings, + getReservationGroupSettings, + deleteReservationGroupSettings, + listReservationGroupsSettings); initDefaults(this); } @@ -956,6 +1125,13 @@ protected Builder(ReservationServiceStubSettings settings) { updateAssignmentSettings = settings.updateAssignmentSettings.toBuilder(); getBiReservationSettings = settings.getBiReservationSettings.toBuilder(); updateBiReservationSettings = settings.updateBiReservationSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + createReservationGroupSettings = settings.createReservationGroupSettings.toBuilder(); + getReservationGroupSettings = settings.getReservationGroupSettings.toBuilder(); + deleteReservationGroupSettings = settings.deleteReservationGroupSettings.toBuilder(); + listReservationGroupsSettings = settings.listReservationGroupsSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -980,7 +1156,14 @@ protected Builder(ReservationServiceStubSettings settings) { moveAssignmentSettings, updateAssignmentSettings, getBiReservationSettings, - updateBiReservationSettings); + updateBiReservationSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + createReservationGroupSettings, + getReservationGroupSettings, + deleteReservationGroupSettings, + listReservationGroupsSettings); } private static Builder createDefault() { @@ -1118,6 +1301,41 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createReservationGroupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getReservationGroupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteReservationGroupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listReservationGroupsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + return builder; } @@ -1279,6 +1497,49 @@ public UnaryCallSettings.Builder moveAssignme return updateBiReservationSettings; } + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the builder for the settings used for calls to createReservationGroup. */ + public UnaryCallSettings.Builder + createReservationGroupSettings() { + return createReservationGroupSettings; + } + + /** Returns the builder for the settings used for calls to getReservationGroup. */ + public UnaryCallSettings.Builder + getReservationGroupSettings() { + return getReservationGroupSettings; + } + + /** Returns the builder for the settings used for calls to deleteReservationGroup. */ + public UnaryCallSettings.Builder + deleteReservationGroupSettings() { + return deleteReservationGroupSettings; + } + + /** Returns the builder for the settings used for calls to listReservationGroups. */ + public PagedCallSettings.Builder< + ListReservationGroupsRequest, + ListReservationGroupsResponse, + ListReservationGroupsPagedResponse> + listReservationGroupsSettings() { + return listReservationGroupsSettings; + } + @Override public ReservationServiceStubSettings build() throws IOException { return new ReservationServiceStubSettings(this); diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.reservation.v1/reflect-config.json b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.reservation.v1/reflect-config.json index 271a07f9496d..12b396ce9ac6 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.reservation.v1/reflect-config.json +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.reservation.v1/reflect-config.json @@ -539,6 +539,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.reservation.v1.CreateReservationRequest", "queryAllDeclaredConstructors": true, @@ -593,6 +611,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.reservation.v1.DeleteReservationRequest", "queryAllDeclaredConstructors": true, @@ -683,6 +719,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.reservation.v1.GetReservationRequest", "queryAllDeclaredConstructors": true, @@ -773,6 +827,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.reservation.v1.ListReservationsRequest", "queryAllDeclaredConstructors": true, @@ -908,6 +998,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ReservationGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.ReservationGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.SchedulingPolicy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.reservation.v1.SchedulingPolicy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest", "queryAllDeclaredConstructors": true, @@ -1106,6 +1232,249 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.Any", "queryAllDeclaredConstructors": true, @@ -1942,5 +2311,23 @@ "allPublicMethods": true, "allDeclaredClasses": true, "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true } ] \ No newline at end of file diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationServiceImpl.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationServiceImpl.java index 42c1781de413..661d59d21b99 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationServiceImpl.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationServiceImpl.java @@ -18,6 +18,11 @@ import com.google.api.core.BetaApi; import com.google.cloud.bigquery.reservation.v1.ReservationServiceGrpc.ReservationServiceImplBase; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.AbstractMessage; import com.google.protobuf.Empty; import io.grpc.stub.StreamObserver; @@ -535,4 +540,154 @@ public void updateBiReservation( Exception.class.getName()))); } } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) 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 GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) 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 SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) 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 TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createReservationGroup( + CreateReservationGroupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReservationGroup) { + requests.add(request); + responseObserver.onNext(((ReservationGroup) 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 CreateReservationGroup, expected %s or" + + " %s", + response == null ? "null" : response.getClass().getName(), + ReservationGroup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getReservationGroup( + GetReservationGroupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReservationGroup) { + requests.add(request); + responseObserver.onNext(((ReservationGroup) 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 GetReservationGroup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReservationGroup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteReservationGroup( + DeleteReservationGroupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) 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 DeleteReservationGroup, expected %s or" + + " %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listReservationGroups( + ListReservationGroupsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListReservationGroupsResponse) { + requests.add(request); + responseObserver.onNext(((ListReservationGroupsResponse) 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 ListReservationGroups, expected %s or" + + " %s", + response == null ? "null" : response.getClass().getName(), + ListReservationGroupsResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientHttpJsonTest.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientHttpJsonTest.java index dbc5efc2ffa3..374e601d755a 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientHttpJsonTest.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientHttpJsonTest.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -31,8 +32,15 @@ import com.google.api.gax.rpc.InvalidArgumentException; import com.google.api.gax.rpc.StatusCode; import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.bigquery.reservation.v1.stub.HttpJsonReservationServiceStub; import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.ByteString; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; @@ -40,6 +48,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import javax.annotation.Generated; import org.junit.After; @@ -101,7 +110,10 @@ public void createReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -162,7 +174,10 @@ public void createReservationTest2() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -323,7 +338,10 @@ public void getReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -380,7 +398,10 @@ public void getReservationTest2() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -517,7 +538,10 @@ public void updateReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -536,7 +560,10 @@ public void updateReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -581,7 +608,10 @@ public void updateReservationExceptionTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateReservation(reservation, updateMask); @@ -608,7 +638,10 @@ public void failoverReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1361,6 +1394,7 @@ public void createAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1411,6 +1445,7 @@ public void createAssignmentTest2() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1855,6 +1890,7 @@ public void moveAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1908,6 +1944,7 @@ public void moveAssignmentTest2() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1960,6 +1997,7 @@ public void moveAssignmentTest3() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2013,6 +2051,7 @@ public void moveAssignmentTest4() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2065,6 +2104,7 @@ public void updateAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2075,6 +2115,7 @@ public void updateAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2111,6 +2152,7 @@ public void updateAssignmentExceptionTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateAssignment(assignment, updateMask); @@ -2274,4 +2316,592 @@ public void updateBiReservationExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + + Policy actualResponse = client.getIamPolicy(resource); + 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 getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-9700/locations/location-9700/reservations/reservation-9700"; + + Policy actualResponse = client.getIamPolicy(resource); + 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 getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = + "projects/project-9700/locations/location-9700/reservations/reservation-9700"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + 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 setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-9700/locations/location-9700/reservations/reservation-9700"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + 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 setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = + "projects/project-9700/locations/location-9700/reservations/reservation-9700"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(request); + 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 testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + client.testIamPermissions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createReservationGroupTest() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + + ReservationGroup actualResponse = client.createReservationGroup(request); + 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 createReservationGroupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + client.createReservationGroup(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getReservationGroupTest() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + + ReservationGroup actualResponse = client.getReservationGroup(name); + 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 getReservationGroupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + client.getReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getReservationGroupTest2() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-4394/locations/location-4394/reservationGroups/reservationGroup-4394"; + + ReservationGroup actualResponse = client.getReservationGroup(name); + 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 getReservationGroupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-4394/locations/location-4394/reservationGroups/reservationGroup-4394"; + client.getReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteReservationGroupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + + client.deleteReservationGroup(name); + + 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 deleteReservationGroupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + client.deleteReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteReservationGroupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-4394/locations/location-4394/reservationGroups/reservationGroup-4394"; + + client.deleteReservationGroup(name); + + 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 deleteReservationGroupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-4394/locations/location-4394/reservationGroups/reservationGroup-4394"; + client.deleteReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listReservationGroupsTest() throws Exception { + ReservationGroup responsesElement = ReservationGroup.newBuilder().build(); + ListReservationGroupsResponse expectedResponse = + ListReservationGroupsResponse.newBuilder() + .setNextPageToken("") + .addAllReservationGroups(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListReservationGroupsPagedResponse pagedListResponse = client.listReservationGroups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getReservationGroupsList().get(0), resources.get(0)); + + 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 listReservationGroupsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listReservationGroups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listReservationGroupsTest2() throws Exception { + ReservationGroup responsesElement = ReservationGroup.newBuilder().build(); + ListReservationGroupsResponse expectedResponse = + ListReservationGroupsResponse.newBuilder() + .setNextPageToken("") + .addAllReservationGroups(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListReservationGroupsPagedResponse pagedListResponse = client.listReservationGroups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getReservationGroupsList().get(0), resources.get(0)); + + 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 listReservationGroupsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listReservationGroups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientTest.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientTest.java index 24f8e8521cfc..00dc6cc596e5 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientTest.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientTest.java @@ -18,6 +18,7 @@ import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListCapacityCommitmentsPagedResponse; +import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationGroupsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.ListReservationsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAllAssignmentsPagedResponse; import static com.google.cloud.bigquery.reservation.v1.ReservationServiceClient.SearchAssignmentsPagedResponse; @@ -29,8 +30,17 @@ import com.google.api.gax.grpc.testing.MockServiceHelper; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.resourcenames.ResourceName; import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; @@ -39,6 +49,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import java.util.UUID; import javax.annotation.Generated; @@ -104,7 +115,10 @@ public void createReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -161,7 +175,10 @@ public void createReservationTest2() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -306,7 +323,10 @@ public void getReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -357,7 +377,10 @@ public void getReservationTest2() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -476,7 +499,10 @@ public void updateReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -530,7 +556,10 @@ public void failoverReservationTest() throws Exception { .setSecondaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setOriginalPrimaryLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setMaxSlots(-234568806) + .putAllLabels(new HashMap()) + .setReservationGroup("reservationGroup-1892204013") .setReplicationStatus(Reservation.ReplicationStatus.newBuilder().build()) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1190,6 +1219,7 @@ public void createAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1235,6 +1265,7 @@ public void createAssignmentTest2() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1630,6 +1661,7 @@ public void moveAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1678,6 +1710,7 @@ public void moveAssignmentTest2() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1725,6 +1758,7 @@ public void moveAssignmentTest3() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1771,6 +1805,7 @@ public void moveAssignmentTest4() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1816,6 +1851,7 @@ public void updateAssignmentTest() throws Exception { .toString()) .setAssignee("assignee-369881649") .setEnableGeminiInBigquery(true) + .setSchedulingPolicy(SchedulingPolicy.newBuilder().build()) .build(); mockReservationService.addResponse(expectedResponse); @@ -1977,4 +2013,524 @@ public void updateBiReservationExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockReservationService.addResponse(expectedResponse); + + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockReservationService.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockReservationService.addResponse(expectedResponse); + + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockReservationService.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockReservationService.addResponse(expectedResponse); + + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getResource(), actualRequest.getResource()); + Assert.assertEquals(request.getPermissionsList(), actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + client.testIamPermissions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createReservationGroupTest() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockReservationService.addResponse(expectedResponse); + + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + + ReservationGroup actualResponse = client.createReservationGroup(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateReservationGroupRequest actualRequest = + ((CreateReservationGroupRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getReservationGroupId(), actualRequest.getReservationGroupId()); + Assert.assertEquals(request.getReservationGroup(), actualRequest.getReservationGroup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createReservationGroupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + client.createReservationGroup(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getReservationGroupTest() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockReservationService.addResponse(expectedResponse); + + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + + ReservationGroup actualResponse = client.getReservationGroup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetReservationGroupRequest actualRequest = ((GetReservationGroupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getReservationGroupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + client.getReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getReservationGroupTest2() throws Exception { + ReservationGroup expectedResponse = + ReservationGroup.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + mockReservationService.addResponse(expectedResponse); + + String name = "name3373707"; + + ReservationGroup actualResponse = client.getReservationGroup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetReservationGroupRequest actualRequest = ((GetReservationGroupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getReservationGroupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + String name = "name3373707"; + client.getReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteReservationGroupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockReservationService.addResponse(expectedResponse); + + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + + client.deleteReservationGroup(name); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteReservationGroupRequest actualRequest = + ((DeleteReservationGroupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteReservationGroupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + client.deleteReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteReservationGroupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockReservationService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteReservationGroup(name); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteReservationGroupRequest actualRequest = + ((DeleteReservationGroupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteReservationGroupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + String name = "name3373707"; + client.deleteReservationGroup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listReservationGroupsTest() throws Exception { + ReservationGroup responsesElement = ReservationGroup.newBuilder().build(); + ListReservationGroupsResponse expectedResponse = + ListReservationGroupsResponse.newBuilder() + .setNextPageToken("") + .addAllReservationGroups(Arrays.asList(responsesElement)) + .build(); + mockReservationService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListReservationGroupsPagedResponse pagedListResponse = client.listReservationGroups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getReservationGroupsList().get(0), resources.get(0)); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListReservationGroupsRequest actualRequest = + ((ListReservationGroupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listReservationGroupsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listReservationGroups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listReservationGroupsTest2() throws Exception { + ReservationGroup responsesElement = ReservationGroup.newBuilder().build(); + ListReservationGroupsResponse expectedResponse = + ListReservationGroupsResponse.newBuilder() + .setNextPageToken("") + .addAllReservationGroups(Arrays.asList(responsesElement)) + .build(); + mockReservationService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListReservationGroupsPagedResponse pagedListResponse = client.listReservationGroups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getReservationGroupsList().get(0), resources.get(0)); + + List actualRequests = mockReservationService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListReservationGroupsRequest actualRequest = + ((ListReservationGroupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listReservationGroupsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockReservationService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listReservationGroups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceGrpc.java b/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceGrpc.java index 93b3c5c45d94..294532db75b0 100644 --- a/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceGrpc.java +++ b/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceGrpc.java @@ -1132,6 +1132,330 @@ private ReservationServiceGrpc() {} return getUpdateBiReservationMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ReservationServiceGrpc.getGetIamPolicyMethod) == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getGetIamPolicyMethod = ReservationServiceGrpc.getGetIamPolicyMethod) == null) { + ReservationServiceGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ReservationServiceGrpc.getSetIamPolicyMethod) == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getSetIamPolicyMethod = ReservationServiceGrpc.getSetIamPolicyMethod) == null) { + ReservationServiceGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ReservationServiceGrpc.getTestIamPermissionsMethod) + == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getTestIamPermissionsMethod = ReservationServiceGrpc.getTestIamPermissionsMethod) + == null) { + ReservationServiceGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getCreateReservationGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateReservationGroup", + requestType = com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.class, + responseType = com.google.cloud.bigquery.reservation.v1.ReservationGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getCreateReservationGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getCreateReservationGroupMethod; + if ((getCreateReservationGroupMethod = ReservationServiceGrpc.getCreateReservationGroupMethod) + == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getCreateReservationGroupMethod = + ReservationServiceGrpc.getCreateReservationGroupMethod) + == null) { + ReservationServiceGrpc.getCreateReservationGroupMethod = + getCreateReservationGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateReservationGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.ReservationGroup + .getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("CreateReservationGroup")) + .build(); + } + } + } + return getCreateReservationGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getGetReservationGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetReservationGroup", + requestType = com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.class, + responseType = com.google.cloud.bigquery.reservation.v1.ReservationGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getGetReservationGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getGetReservationGroupMethod; + if ((getGetReservationGroupMethod = ReservationServiceGrpc.getGetReservationGroupMethod) + == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getGetReservationGroupMethod = ReservationServiceGrpc.getGetReservationGroupMethod) + == null) { + ReservationServiceGrpc.getGetReservationGroupMethod = + getGetReservationGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetReservationGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.ReservationGroup + .getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("GetReservationGroup")) + .build(); + } + } + } + return getGetReservationGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest, + com.google.protobuf.Empty> + getDeleteReservationGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteReservationGroup", + requestType = com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest, + com.google.protobuf.Empty> + getDeleteReservationGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest, + com.google.protobuf.Empty> + getDeleteReservationGroupMethod; + if ((getDeleteReservationGroupMethod = ReservationServiceGrpc.getDeleteReservationGroupMethod) + == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getDeleteReservationGroupMethod = + ReservationServiceGrpc.getDeleteReservationGroupMethod) + == null) { + ReservationServiceGrpc.getDeleteReservationGroupMethod = + getDeleteReservationGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteReservationGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("DeleteReservationGroup")) + .build(); + } + } + } + return getDeleteReservationGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> + getListReservationGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListReservationGroups", + requestType = com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.class, + responseType = com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> + getListReservationGroupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> + getListReservationGroupsMethod; + if ((getListReservationGroupsMethod = ReservationServiceGrpc.getListReservationGroupsMethod) + == null) { + synchronized (ReservationServiceGrpc.class) { + if ((getListReservationGroupsMethod = ReservationServiceGrpc.getListReservationGroupsMethod) + == null) { + ReservationServiceGrpc.getListReservationGroupsMethod = + getListReservationGroupsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListReservationGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ReservationServiceMethodDescriptorSupplier("ListReservationGroups")) + .build(); + } + } + } + return getListReservationGroupsMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static ReservationServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -1651,6 +1975,131 @@ default void updateBiReservation( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateBiReservationMethod(), responseObserver); } + + /** + * + * + *
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
+     * Supported resources are:
+     * - Reservations
+     * - ReservationAssignments
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.getIamPolicy` to get policies on
+     * reservations.
+     * 
+ */ + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets an access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     * - Reservations
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.setIamPolicy` to set policies on
+     * reservations.
+     * 
+ */ + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets your permissions on a resource. Returns an empty set of permissions if
+     * the resource doesn't exist.
+     * Supported resources are:
+     * - Reservations
+     * No Google IAM permissions are required to call this method.
+     * 
+ */ + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new reservation group.
+     * 
+ */ + default void createReservationGroup( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReservationGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information about the reservation group.
+     * 
+ */ + default void getReservationGroup( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetReservationGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a reservation.
+     * Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
+     * assignments.
+     * 
+ */ + default void deleteReservationGroup( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteReservationGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all the reservation groups for the project in the specified location.
+     * 
+ */ + default void listReservationGroups( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListReservationGroupsMethod(), responseObserver); + } } /** @@ -2169,12 +2618,155 @@ public void updateAssignment( * Retrieves a BI reservation. * */ - public void getBiReservation( - com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getBiReservation( + com.google.cloud.bigquery.reservation.v1.GetBiReservationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBiReservationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a BI reservation.
+     * Only fields specified in the `field_mask` are updated.
+     * A singleton BI reservation always exists with default size 0.
+     * In order to reserve BI capacity it needs to be updated to an amount
+     * greater than 0. In order to release BI capacity reservation size
+     * must be set to 0.
+     * 
+ */ + public void updateBiReservation( + com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBiReservationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
+     * Supported resources are:
+     * - Reservations
+     * - ReservationAssignments
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.getIamPolicy` to get policies on
+     * reservations.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets an access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     * - Reservations
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.setIamPolicy` to set policies on
+     * reservations.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets your permissions on a resource. Returns an empty set of permissions if
+     * the resource doesn't exist.
+     * Supported resources are:
+     * - Reservations
+     * No Google IAM permissions are required to call this method.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new reservation group.
+     * 
+ */ + public void createReservationGroup( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateReservationGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information about the reservation group.
+     * 
+ */ + public void getReservationGroup( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetReservationGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a reservation.
+     * Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
+     * assignments.
+     * 
+ */ + public void deleteReservationGroup( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBiReservationMethod(), getCallOptions()), + getChannel().newCall(getDeleteReservationGroupMethod(), getCallOptions()), request, responseObserver); } @@ -2183,20 +2775,16 @@ public void getBiReservation( * * *
-     * Updates a BI reservation.
-     * Only fields specified in the `field_mask` are updated.
-     * A singleton BI reservation always exists with default size 0.
-     * In order to reserve BI capacity it needs to be updated to an amount
-     * greater than 0. In order to release BI capacity reservation size
-     * must be set to 0.
+     * Lists all the reservation groups for the project in the specified location.
      * 
*/ - public void updateBiReservation( - com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest request, - io.grpc.stub.StreamObserver + public void listReservationGroups( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBiReservationMethod(), getCallOptions()), + getChannel().newCall(getListReservationGroupsMethod(), getCallOptions()), request, responseObserver); } @@ -2634,6 +3222,118 @@ public com.google.cloud.bigquery.reservation.v1.BiReservation updateBiReservatio return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBiReservationMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
+     * Supported resources are:
+     * - Reservations
+     * - ReservationAssignments
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.getIamPolicy` to get policies on
+     * reservations.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets an access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     * - Reservations
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.setIamPolicy` to set policies on
+     * reservations.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets your permissions on a resource. Returns an empty set of permissions if
+     * the resource doesn't exist.
+     * Supported resources are:
+     * - Reservations
+     * No Google IAM permissions are required to call this method.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new reservation group.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup createReservationGroup( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about the reservation group.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroup( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a reservation.
+     * Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
+     * assignments.
+     * 
+ */ + public com.google.protobuf.Empty deleteReservationGroup( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all the reservation groups for the project in the specified location.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + listReservationGroups( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReservationGroupsMethod(), getCallOptions(), request); + } } /** @@ -3068,6 +3768,118 @@ public com.google.cloud.bigquery.reservation.v1.BiReservation updateBiReservatio return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBiReservationMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
+     * Supported resources are:
+     * - Reservations
+     * - ReservationAssignments
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.getIamPolicy` to get policies on
+     * reservations.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets an access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     * - Reservations
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.setIamPolicy` to set policies on
+     * reservations.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets your permissions on a resource. Returns an empty set of permissions if
+     * the resource doesn't exist.
+     * Supported resources are:
+     * - Reservations
+     * No Google IAM permissions are required to call this method.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new reservation group.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup createReservationGroup( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information about the reservation group.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroup( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a reservation.
+     * Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
+     * assignments.
+     * 
+ */ + public com.google.protobuf.Empty deleteReservationGroup( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteReservationGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all the reservation groups for the project in the specified location.
+     * 
+ */ + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + listReservationGroups( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListReservationGroupsMethod(), getCallOptions(), request); + } } /** @@ -3531,6 +4343,127 @@ protected ReservationServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBiReservationMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
+     * Supported resources are:
+     * - Reservations
+     * - ReservationAssignments
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.getIamPolicy` to get policies on
+     * reservations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets an access control policy for a resource. Replaces any existing
+     * policy.
+     * Supported resources are:
+     * - Reservations
+     * To call this method, you must have the following Google IAM permissions:
+     * - `bigqueryreservation.reservations.setIamPolicy` to set policies on
+     * reservations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets your permissions on a resource. Returns an empty set of permissions if
+     * the resource doesn't exist.
+     * Supported resources are:
+     * - Reservations
+     * No Google IAM permissions are required to call this method.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new reservation group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + createReservationGroup( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateReservationGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information about the reservation group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.reservation.v1.ReservationGroup> + getReservationGroup( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetReservationGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a reservation.
+     * Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
+     * assignments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteReservationGroup( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteReservationGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all the reservation groups for the project in the specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse> + listReservationGroups( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListReservationGroupsMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_RESERVATION = 0; @@ -3555,6 +4488,13 @@ protected ReservationServiceFutureStub build( private static final int METHODID_UPDATE_ASSIGNMENT = 19; private static final int METHODID_GET_BI_RESERVATION = 20; private static final int METHODID_UPDATE_BI_RESERVATION = 21; + private static final int METHODID_GET_IAM_POLICY = 22; + private static final int METHODID_SET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_CREATE_RESERVATION_GROUP = 25; + private static final int METHODID_GET_RESERVATION_GROUP = 26; + private static final int METHODID_DELETE_RESERVATION_GROUP = 27; + private static final int METHODID_LIST_RESERVATION_GROUPS = 28; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3712,6 +4652,48 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_RESERVATION_GROUP: + serviceImpl.createReservationGroup( + (com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.reservation.v1.ReservationGroup>) + responseObserver); + break; + case METHODID_GET_RESERVATION_GROUP: + serviceImpl.getReservationGroup( + (com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.reservation.v1.ReservationGroup>) + responseObserver); + break; + case METHODID_DELETE_RESERVATION_GROUP: + serviceImpl.deleteReservationGroup( + (com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_RESERVATION_GROUPS: + serviceImpl.listReservationGroups( + (com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse>) + responseObserver); + break; default: throw new AssertionError(); } @@ -3881,6 +4863,50 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest, com.google.cloud.bigquery.reservation.v1.BiReservation>( service, METHODID_UPDATE_BI_RESERVATION))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getCreateReservationGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup>( + service, METHODID_CREATE_RESERVATION_GROUP))) + .addMethod( + getGetReservationGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest, + com.google.cloud.bigquery.reservation.v1.ReservationGroup>( + service, METHODID_GET_RESERVATION_GROUP))) + .addMethod( + getDeleteReservationGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_RESERVATION_GROUP))) + .addMethod( + getListReservationGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse>( + service, METHODID_LIST_RESERVATION_GROUPS))) .build(); } @@ -3954,6 +4980,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateAssignmentMethod()) .addMethod(getGetBiReservationMethod()) .addMethod(getUpdateBiReservationMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getCreateReservationGroupMethod()) + .addMethod(getGetReservationGroupMethod()) + .addMethod(getDeleteReservationGroupMethod()) + .addMethod(getListReservationGroupsMethod()) .build(); } } diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml index f0048830ca32..0fcee8d85773 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml @@ -29,5 +29,13 @@ com.google.guava guava + + com.google.api.grpc + proto-google-iam-v1 + + + com.google.api.grpc + grpc-google-iam-v1 + diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Assignment.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Assignment.java index b18d9569695d..c7a4502cdc4a 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Assignment.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Assignment.java @@ -141,6 +141,44 @@ public enum JobType implements com.google.protobuf.ProtocolMessageEnum { * CONTINUOUS = 6; */ CONTINUOUS(6), + /** + * + * + *
+     * Finer granularity background jobs for capturing changes in a source
+     * database and streaming them into BigQuery. Reservations with this job
+     * type take priority over a default BACKGROUND reservation assignment (if
+     * it exists).
+     * 
+ * + * BACKGROUND_CHANGE_DATA_CAPTURE = 7; + */ + BACKGROUND_CHANGE_DATA_CAPTURE(7), + /** + * + * + *
+     * Finer granularity background jobs for refreshing cached metadata for
+     * BigQuery tables. Reservations with this job type take priority over a
+     * default BACKGROUND reservation assignment (if it exists).
+     * 
+ * + * BACKGROUND_COLUMN_METADATA_INDEX = 8; + */ + BACKGROUND_COLUMN_METADATA_INDEX(8), + /** + * + * + *
+     * Finer granularity background jobs for refreshing search indexes upon
+     * BigQuery table columns. Reservations with this job type
+     * take priority over a default BACKGROUND reservation assignment (if it
+     * exists).
+     * 
+ * + * BACKGROUND_SEARCH_INDEX_REFRESH = 9; + */ + BACKGROUND_SEARCH_INDEX_REFRESH(9), UNRECOGNIZED(-1), ; @@ -213,6 +251,47 @@ public enum JobType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTINUOUS_VALUE = 6; + /** + * + * + *
+     * Finer granularity background jobs for capturing changes in a source
+     * database and streaming them into BigQuery. Reservations with this job
+     * type take priority over a default BACKGROUND reservation assignment (if
+     * it exists).
+     * 
+ * + * BACKGROUND_CHANGE_DATA_CAPTURE = 7; + */ + public static final int BACKGROUND_CHANGE_DATA_CAPTURE_VALUE = 7; + + /** + * + * + *
+     * Finer granularity background jobs for refreshing cached metadata for
+     * BigQuery tables. Reservations with this job type take priority over a
+     * default BACKGROUND reservation assignment (if it exists).
+     * 
+ * + * BACKGROUND_COLUMN_METADATA_INDEX = 8; + */ + public static final int BACKGROUND_COLUMN_METADATA_INDEX_VALUE = 8; + + /** + * + * + *
+     * Finer granularity background jobs for refreshing search indexes upon
+     * BigQuery table columns. Reservations with this job type
+     * take priority over a default BACKGROUND reservation assignment (if it
+     * exists).
+     * 
+ * + * BACKGROUND_SEARCH_INDEX_REFRESH = 9; + */ + public static final int BACKGROUND_SEARCH_INDEX_REFRESH_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -249,6 +328,12 @@ public static JobType forNumber(int value) { return BACKGROUND; case 6: return CONTINUOUS; + case 7: + return BACKGROUND_CHANGE_DATA_CAPTURE; + case 8: + return BACKGROUND_COLUMN_METADATA_INDEX; + case 9: + return BACKGROUND_SEARCH_INDEX_REFRESH; default: return null; } @@ -469,6 +554,7 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.reservation.v1.Assignment.State) } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -537,11 +623,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The resource which will use the reservation. E.g.
+   * Optional. The resource which will use the reservation. E.g.
    * `projects/myproject`, `folders/123`, or `organizations/456`.
    * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The assignee. */ @@ -562,11 +648,11 @@ public java.lang.String getAssignee() { * * *
-   * The resource which will use the reservation. E.g.
+   * Optional. The resource which will use the reservation. E.g.
    * `projects/myproject`, `folders/123`, or `organizations/456`.
    * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for assignee. */ @@ -590,10 +676,12 @@ public com.google.protobuf.ByteString getAssigneeBytes() { * * *
-   * Which type of jobs will use the reservation.
+   * Optional. Which type of jobs will use the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for jobType. */ @@ -606,10 +694,12 @@ public int getJobTypeValue() { * * *
-   * Which type of jobs will use the reservation.
+   * Optional. Which type of jobs will use the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The jobType. */ @@ -691,6 +781,81 @@ public boolean getEnableGeminiInBigquery() { return enableGeminiInBigquery_; } + public static final int SCHEDULING_POLICY_FIELD_NUMBER = 11; + private com.google.cloud.bigquery.reservation.v1.SchedulingPolicy schedulingPolicy_; + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + @java.lang.Override + public boolean hasSchedulingPolicy() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy() { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder + getSchedulingPolicyOrBuilder() { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -724,6 +889,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableGeminiInBigquery_ != false) { output.writeBool(10, enableGeminiInBigquery_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(11, getSchedulingPolicy()); + } getUnknownFields().writeTo(output); } @@ -752,6 +920,9 @@ public int getSerializedSize() { if (enableGeminiInBigquery_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableGeminiInBigquery_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSchedulingPolicy()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -773,6 +944,10 @@ public boolean equals(final java.lang.Object obj) { if (jobType_ != other.jobType_) return false; if (state_ != other.state_) return false; if (getEnableGeminiInBigquery() != other.getEnableGeminiInBigquery()) return false; + if (hasSchedulingPolicy() != other.hasSchedulingPolicy()) return false; + if (hasSchedulingPolicy()) { + if (!getSchedulingPolicy().equals(other.getSchedulingPolicy())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -794,6 +969,10 @@ public int hashCode() { hash = (53 * hash) + state_; hash = (37 * hash) + ENABLE_GEMINI_IN_BIGQUERY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableGeminiInBigquery()); + if (hasSchedulingPolicy()) { + hash = (37 * hash) + SCHEDULING_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSchedulingPolicy().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -925,10 +1104,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.bigquery.reservation.v1.Assignment.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) { + getSchedulingPolicyFieldBuilder(); + } } @java.lang.Override @@ -940,6 +1128,11 @@ public Builder clear() { jobType_ = 0; state_ = 0; enableGeminiInBigquery_ = false; + schedulingPolicy_ = null; + if (schedulingPolicyBuilder_ != null) { + schedulingPolicyBuilder_.dispose(); + schedulingPolicyBuilder_ = null; + } return this; } @@ -991,6 +1184,13 @@ private void buildPartial0(com.google.cloud.bigquery.reservation.v1.Assignment r if (((from_bitField0_ & 0x00000010) != 0)) { result.enableGeminiInBigquery_ = enableGeminiInBigquery_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.schedulingPolicy_ = + schedulingPolicyBuilder_ == null ? schedulingPolicy_ : schedulingPolicyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1058,6 +1258,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.reservation.v1.Assignment oth if (other.getEnableGeminiInBigquery() != false) { setEnableGeminiInBigquery(other.getEnableGeminiInBigquery()); } + if (other.hasSchedulingPolicy()) { + mergeSchedulingPolicy(other.getSchedulingPolicy()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1114,6 +1317,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000010; break; } // case 80 + case 90: + { + input.readMessage( + getSchedulingPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1265,11 +1475,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The resource which will use the reservation. E.g.
+     * Optional. The resource which will use the reservation. E.g.
      * `projects/myproject`, `folders/123`, or `organizations/456`.
      * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The assignee. */ @@ -1289,11 +1499,11 @@ public java.lang.String getAssignee() { * * *
-     * The resource which will use the reservation. E.g.
+     * Optional. The resource which will use the reservation. E.g.
      * `projects/myproject`, `folders/123`, or `organizations/456`.
      * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for assignee. */ @@ -1313,11 +1523,11 @@ public com.google.protobuf.ByteString getAssigneeBytes() { * * *
-     * The resource which will use the reservation. E.g.
+     * Optional. The resource which will use the reservation. E.g.
      * `projects/myproject`, `folders/123`, or `organizations/456`.
      * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The assignee to set. * @return This builder for chaining. @@ -1336,11 +1546,11 @@ public Builder setAssignee(java.lang.String value) { * * *
-     * The resource which will use the reservation. E.g.
+     * Optional. The resource which will use the reservation. E.g.
      * `projects/myproject`, `folders/123`, or `organizations/456`.
      * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1355,11 +1565,11 @@ public Builder clearAssignee() { * * *
-     * The resource which will use the reservation. E.g.
+     * Optional. The resource which will use the reservation. E.g.
      * `projects/myproject`, `folders/123`, or `organizations/456`.
      * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for assignee to set. * @return This builder for chaining. @@ -1381,10 +1591,12 @@ public Builder setAssigneeBytes(com.google.protobuf.ByteString value) { * * *
-     * Which type of jobs will use the reservation.
+     * Optional. Which type of jobs will use the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for jobType. */ @@ -1397,10 +1609,12 @@ public int getJobTypeValue() { * * *
-     * Which type of jobs will use the reservation.
+     * Optional. Which type of jobs will use the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The enum numeric value on the wire for jobType to set. * @return This builder for chaining. @@ -1416,10 +1630,12 @@ public Builder setJobTypeValue(int value) { * * *
-     * Which type of jobs will use the reservation.
+     * Optional. Which type of jobs will use the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The jobType. */ @@ -1436,10 +1652,12 @@ public com.google.cloud.bigquery.reservation.v1.Assignment.JobType getJobType() * * *
-     * Which type of jobs will use the reservation.
+     * Optional. Which type of jobs will use the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The jobType to set. * @return This builder for chaining. @@ -1458,10 +1676,12 @@ public Builder setJobType(com.google.cloud.bigquery.reservation.v1.Assignment.Jo * * *
-     * Which type of jobs will use the reservation.
+     * Optional. Which type of jobs will use the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ @@ -1656,6 +1876,269 @@ public Builder clearEnableGeminiInBigquery() { return this; } + private com.google.cloud.bigquery.reservation.v1.SchedulingPolicy schedulingPolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder> + schedulingPolicyBuilder_; + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + public boolean hasSchedulingPolicy() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy() { + if (schedulingPolicyBuilder_ == null) { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } else { + return schedulingPolicyBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy value) { + if (schedulingPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + schedulingPolicy_ = value; + } else { + schedulingPolicyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder builderForValue) { + if (schedulingPolicyBuilder_ == null) { + schedulingPolicy_ = builderForValue.build(); + } else { + schedulingPolicyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy value) { + if (schedulingPolicyBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && schedulingPolicy_ != null + && schedulingPolicy_ + != com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance()) { + getSchedulingPolicyBuilder().mergeFrom(value); + } else { + schedulingPolicy_ = value; + } + } else { + schedulingPolicyBuilder_.mergeFrom(value); + } + if (schedulingPolicy_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearSchedulingPolicy() { + bitField0_ = (bitField0_ & ~0x00000020); + schedulingPolicy_ = null; + if (schedulingPolicyBuilder_ != null) { + schedulingPolicyBuilder_.dispose(); + schedulingPolicyBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder + getSchedulingPolicyBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getSchedulingPolicyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder + getSchedulingPolicyOrBuilder() { + if (schedulingPolicyBuilder_ != null) { + return schedulingPolicyBuilder_.getMessageOrBuilder(); + } else { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries of this
+     * assignee when running under the associated reservation. The scheduling
+     * policy controls how the reservation's resources are distributed. This
+     * overrides the default scheduling policy specified on the reservation.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder> + getSchedulingPolicyFieldBuilder() { + if (schedulingPolicyBuilder_ == null) { + schedulingPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder>( + getSchedulingPolicy(), getParentForChildren(), isClean()); + schedulingPolicy_ = null; + } + return schedulingPolicyBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentOrBuilder.java index 5c0c1b1f5c92..9f00d91183e3 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentOrBuilder.java @@ -60,11 +60,11 @@ public interface AssignmentOrBuilder * * *
-   * The resource which will use the reservation. E.g.
+   * Optional. The resource which will use the reservation. E.g.
    * `projects/myproject`, `folders/123`, or `organizations/456`.
    * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The assignee. */ @@ -74,11 +74,11 @@ public interface AssignmentOrBuilder * * *
-   * The resource which will use the reservation. E.g.
+   * Optional. The resource which will use the reservation. E.g.
    * `projects/myproject`, `folders/123`, or `organizations/456`.
    * 
* - * string assignee = 4; + * string assignee = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for assignee. */ @@ -88,10 +88,12 @@ public interface AssignmentOrBuilder * * *
-   * Which type of jobs will use the reservation.
+   * Optional. Which type of jobs will use the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for jobType. */ @@ -101,10 +103,12 @@ public interface AssignmentOrBuilder * * *
-   * Which type of jobs will use the reservation.
+   * Optional. Which type of jobs will use the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3; + * + * .google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The jobType. */ @@ -159,4 +163,62 @@ public interface AssignmentOrBuilder * @return The enableGeminiInBigquery. */ boolean getEnableGeminiInBigquery(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + boolean hasSchedulingPolicy(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries of this
+   * assignee when running under the associated reservation. The scheduling
+   * policy controls how the reservation's resources are distributed. This
+   * overrides the default scheduling policy specified on the reservation.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder getSchedulingPolicyOrBuilder(); } diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservation.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservation.java index 20505beba245..b8807ad54f67 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservation.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservation.java @@ -75,12 +75,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the singleton BI reservation.
+   * Identifier. The resource name of the singleton BI reservation.
    * Reservation names have the form
    * `projects/{project_id}/locations/{location_id}/biReservation`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -101,12 +101,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the singleton BI reservation.
+   * Identifier. The resource name of the singleton BI reservation.
    * Reservation names have the form
    * `projects/{project_id}/locations/{location_id}/biReservation`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -182,10 +182,10 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-   * Size of a reservation, in bytes.
+   * Optional. Size of a reservation, in bytes.
    * 
* - * int64 size = 4; + * int64 size = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The size. */ @@ -203,10 +203,11 @@ public long getSize() { * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -219,10 +220,11 @@ public long getSize() { * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -235,10 +237,11 @@ public long getSize() { * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -250,10 +253,11 @@ public int getPreferredTablesCount() { * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -265,10 +269,11 @@ public com.google.cloud.bigquery.reservation.v1.TableReference getPreferredTable * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -766,12 +771,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the singleton BI reservation.
+     * Identifier. The resource name of the singleton BI reservation.
      * Reservation names have the form
      * `projects/{project_id}/locations/{location_id}/biReservation`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -791,12 +796,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the singleton BI reservation.
+     * Identifier. The resource name of the singleton BI reservation.
      * Reservation names have the form
      * `projects/{project_id}/locations/{location_id}/biReservation`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -816,12 +821,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the singleton BI reservation.
+     * Identifier. The resource name of the singleton BI reservation.
      * Reservation names have the form
      * `projects/{project_id}/locations/{location_id}/biReservation`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -840,12 +845,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the singleton BI reservation.
+     * Identifier. The resource name of the singleton BI reservation.
      * Reservation names have the form
      * `projects/{project_id}/locations/{location_id}/biReservation`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -860,12 +865,12 @@ public Builder clearName() { * * *
-     * The resource name of the singleton BI reservation.
+     * Identifier. The resource name of the singleton BI reservation.
      * Reservation names have the form
      * `projects/{project_id}/locations/{location_id}/biReservation`.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1099,10 +1104,10 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * Size of a reservation, in bytes.
+     * Optional. Size of a reservation, in bytes.
      * 
* - * int64 size = 4; + * int64 size = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The size. */ @@ -1115,10 +1120,10 @@ public long getSize() { * * *
-     * Size of a reservation, in bytes.
+     * Optional. Size of a reservation, in bytes.
      * 
* - * int64 size = 4; + * int64 size = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The size to set. * @return This builder for chaining. @@ -1135,10 +1140,10 @@ public Builder setSize(long value) { * * *
-     * Size of a reservation, in bytes.
+     * Optional. Size of a reservation, in bytes.
      * 
* - * int64 size = 4; + * int64 size = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1171,10 +1176,11 @@ private void ensurePreferredTablesIsMutable() { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List @@ -1190,10 +1196,11 @@ private void ensurePreferredTablesIsMutable() { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public int getPreferredTablesCount() { @@ -1208,10 +1215,11 @@ public int getPreferredTablesCount() { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.bigquery.reservation.v1.TableReference getPreferredTables(int index) { @@ -1226,10 +1234,11 @@ public com.google.cloud.bigquery.reservation.v1.TableReference getPreferredTable * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setPreferredTables( @@ -1251,10 +1260,11 @@ public Builder setPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setPreferredTables( @@ -1274,10 +1284,11 @@ public Builder setPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addPreferredTables( @@ -1299,10 +1310,11 @@ public Builder addPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addPreferredTables( @@ -1324,10 +1336,11 @@ public Builder addPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addPreferredTables( @@ -1346,10 +1359,11 @@ public Builder addPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addPreferredTables( @@ -1369,10 +1383,11 @@ public Builder addPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder addAllPreferredTables( @@ -1392,10 +1407,11 @@ public Builder addAllPreferredTables( * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearPreferredTables() { @@ -1413,10 +1429,11 @@ public Builder clearPreferredTables() { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder removePreferredTables(int index) { @@ -1434,10 +1451,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.bigquery.reservation.v1.TableReference.Builder @@ -1449,10 +1467,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.bigquery.reservation.v1.TableReferenceOrBuilder @@ -1468,10 +1487,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List< @@ -1488,10 +1508,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.bigquery.reservation.v1.TableReference.Builder @@ -1504,10 +1525,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.bigquery.reservation.v1.TableReference.Builder @@ -1521,10 +1543,11 @@ public Builder removePreferredTables(int index) { * * *
-     * Preferred tables to use BI capacity for.
+     * Optional. Preferred tables to use BI capacity for.
      * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ public java.util.List diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationOrBuilder.java index abd33683c0cf..54f715805899 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationOrBuilder.java @@ -28,12 +28,12 @@ public interface BiReservationOrBuilder * * *
-   * The resource name of the singleton BI reservation.
+   * Identifier. The resource name of the singleton BI reservation.
    * Reservation names have the form
    * `projects/{project_id}/locations/{location_id}/biReservation`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -43,12 +43,12 @@ public interface BiReservationOrBuilder * * *
-   * The resource name of the singleton BI reservation.
+   * Identifier. The resource name of the singleton BI reservation.
    * Reservation names have the form
    * `projects/{project_id}/locations/{location_id}/biReservation`.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -98,10 +98,10 @@ public interface BiReservationOrBuilder * * *
-   * Size of a reservation, in bytes.
+   * Optional. Size of a reservation, in bytes.
    * 
* - * int64 size = 4; + * int64 size = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The size. */ @@ -111,10 +111,11 @@ public interface BiReservationOrBuilder * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getPreferredTablesList(); @@ -123,10 +124,11 @@ public interface BiReservationOrBuilder * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.bigquery.reservation.v1.TableReference getPreferredTables(int index); @@ -135,10 +137,11 @@ public interface BiReservationOrBuilder * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ int getPreferredTablesCount(); @@ -147,10 +150,11 @@ public interface BiReservationOrBuilder * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List @@ -160,10 +164,11 @@ public interface BiReservationOrBuilder * * *
-   * Preferred tables to use BI capacity for.
+   * Optional. Preferred tables to use BI capacity for.
    * 
* - * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5; + * + * repeated .google.cloud.bigquery.reservation.v1.TableReference preferred_tables = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.bigquery.reservation.v1.TableReferenceOrBuilder getPreferredTablesOrBuilder( diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java index c37e98866141..361efc740dee 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java @@ -702,10 +702,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Number of slots in this commitment.
+   * Optional. Number of slots in this commitment.
    * 
* - * int64 slot_count = 2; + * int64 slot_count = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCount. */ @@ -721,10 +721,12 @@ public long getSlotCount() { * * *
-   * Capacity commitment commitment plan.
+   * Optional. Capacity commitment commitment plan.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for plan. */ @@ -737,10 +739,12 @@ public int getPlanValue() { * * *
-   * Capacity commitment commitment plan.
+   * Optional. Capacity commitment commitment plan.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The plan. */ @@ -873,7 +877,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitmentStartTimeOrBuilder() *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -895,7 +899,7 @@ public boolean hasCommitmentEndTime() { *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -919,7 +923,7 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() { *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -994,12 +998,14 @@ public com.google.rpc.StatusOrBuilder getFailureStatusOrBuilder() { * * *
-   * The plan this capacity commitment is converted to after commitment_end_time
-   * passes. Once the plan is changed, committed period is extended according to
-   * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+   * Optional. The plan this capacity commitment is converted to after
+   * commitment_end_time passes. Once the plan is changed, committed period is
+   * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+   * commitments.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for renewalPlan. @@ -1013,12 +1019,14 @@ public int getRenewalPlanValue() { * * *
-   * The plan this capacity commitment is converted to after commitment_end_time
-   * passes. Once the plan is changed, committed period is extended according to
-   * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+   * Optional. The plan this capacity commitment is converted to after
+   * commitment_end_time passes. Once the plan is changed, committed period is
+   * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+   * commitments.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The renewalPlan. @@ -1052,11 +1060,14 @@ public int getRenewalPlanValue() { * set this field. * * - * bool multi_region_auxiliary = 10; + * bool multi_region_auxiliary = 10 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.CapacityCommitment.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=971 * @return The multiRegionAuxiliary. */ @java.lang.Override + @java.lang.Deprecated public boolean getMultiRegionAuxiliary() { return multiRegionAuxiliary_; } @@ -1068,10 +1079,12 @@ public boolean getMultiRegionAuxiliary() { * * *
-   * Edition of the capacity commitment.
+   * Optional. Edition of the capacity commitment.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -1084,10 +1097,12 @@ public int getEditionValue() { * * *
-   * Edition of the capacity commitment.
+   * Optional. Edition of the capacity commitment.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ @@ -1898,10 +1913,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Number of slots in this commitment.
+     * Optional. Number of slots in this commitment.
      * 
* - * int64 slot_count = 2; + * int64 slot_count = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCount. */ @@ -1914,10 +1929,10 @@ public long getSlotCount() { * * *
-     * Number of slots in this commitment.
+     * Optional. Number of slots in this commitment.
      * 
* - * int64 slot_count = 2; + * int64 slot_count = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The slotCount to set. * @return This builder for chaining. @@ -1934,10 +1949,10 @@ public Builder setSlotCount(long value) { * * *
-     * Number of slots in this commitment.
+     * Optional. Number of slots in this commitment.
      * 
* - * int64 slot_count = 2; + * int64 slot_count = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1954,10 +1969,11 @@ public Builder clearSlotCount() { * * *
-     * Capacity commitment commitment plan.
+     * Optional. Capacity commitment commitment plan.
      * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for plan. @@ -1971,10 +1987,11 @@ public int getPlanValue() { * * *
-     * Capacity commitment commitment plan.
+     * Optional. Capacity commitment commitment plan.
      * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The enum numeric value on the wire for plan to set. @@ -1991,10 +2008,11 @@ public Builder setPlanValue(int value) { * * *
-     * Capacity commitment commitment plan.
+     * Optional. Capacity commitment commitment plan.
      * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The plan. @@ -2013,10 +2031,11 @@ public com.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPla * * *
-     * Capacity commitment commitment plan.
+     * Optional. Capacity commitment commitment plan.
      * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The plan to set. @@ -2037,10 +2056,11 @@ public Builder setPlan( * * *
-     * Capacity commitment commitment plan.
+     * Optional. Capacity commitment commitment plan.
      * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return This builder for chaining. @@ -2412,7 +2432,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitmentStartTimeOrBuilder() *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2433,7 +2453,7 @@ public boolean hasCommitmentEndTime() { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2460,7 +2480,7 @@ public com.google.protobuf.Timestamp getCommitmentEndTime() { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2489,7 +2509,7 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp value) { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2515,7 +2535,7 @@ public Builder setCommitmentEndTime(com.google.protobuf.Timestamp.Builder builde *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2549,7 +2569,7 @@ public Builder mergeCommitmentEndTime(com.google.protobuf.Timestamp value) { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2575,7 +2595,7 @@ public Builder clearCommitmentEndTime() { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2596,7 +2616,7 @@ public com.google.protobuf.Timestamp.Builder getCommitmentEndTimeBuilder() { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2621,7 +2641,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimeOrBuilder() { *
      * Output only. The end of the current commitment period. It is applicable
      * only for ACTIVE capacity commitments. Note after renewal,
-     * commitment_end_time is the time the renewed commitment expires. So it would
+     * commitment_end_time is the time the renewed commitment expires. So itwould
      * be at a time after commitment_start_time + committed period, because we
      * don't change commitment_start_time ,
      * 
@@ -2848,13 +2868,14 @@ public com.google.rpc.StatusOrBuilder getFailureStatusOrBuilder() { * * *
-     * The plan this capacity commitment is converted to after commitment_end_time
-     * passes. Once the plan is changed, committed period is extended according to
-     * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+     * Optional. The plan this capacity commitment is converted to after
+     * commitment_end_time passes. Once the plan is changed, committed period is
+     * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+     * commitments.
      * 
* * - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for renewalPlan. @@ -2868,13 +2889,14 @@ public int getRenewalPlanValue() { * * *
-     * The plan this capacity commitment is converted to after commitment_end_time
-     * passes. Once the plan is changed, committed period is extended according to
-     * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+     * Optional. The plan this capacity commitment is converted to after
+     * commitment_end_time passes. Once the plan is changed, committed period is
+     * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+     * commitments.
      * 
* * - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The enum numeric value on the wire for renewalPlan to set. @@ -2891,13 +2913,14 @@ public Builder setRenewalPlanValue(int value) { * * *
-     * The plan this capacity commitment is converted to after commitment_end_time
-     * passes. Once the plan is changed, committed period is extended according to
-     * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+     * Optional. The plan this capacity commitment is converted to after
+     * commitment_end_time passes. Once the plan is changed, committed period is
+     * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+     * commitments.
      * 
* * - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The renewalPlan. @@ -2917,13 +2940,14 @@ public Builder setRenewalPlanValue(int value) { * * *
-     * The plan this capacity commitment is converted to after commitment_end_time
-     * passes. Once the plan is changed, committed period is extended according to
-     * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+     * Optional. The plan this capacity commitment is converted to after
+     * commitment_end_time passes. Once the plan is changed, committed period is
+     * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+     * commitments.
      * 
* * - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @param value The renewalPlan to set. @@ -2944,13 +2968,14 @@ public Builder setRenewalPlan( * * *
-     * The plan this capacity commitment is converted to after commitment_end_time
-     * passes. Once the plan is changed, committed period is extended according to
-     * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+     * Optional. The plan this capacity commitment is converted to after
+     * commitment_end_time passes. Once the plan is changed, committed period is
+     * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+     * commitments.
      * 
* * - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return This builder for chaining. @@ -2979,11 +3004,14 @@ public Builder clearRenewalPlan() { * set this field. * * - * bool multi_region_auxiliary = 10; + * bool multi_region_auxiliary = 10 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.CapacityCommitment.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=971 * @return The multiRegionAuxiliary. */ @java.lang.Override + @java.lang.Deprecated public boolean getMultiRegionAuxiliary() { return multiRegionAuxiliary_; } @@ -3003,11 +3031,14 @@ public boolean getMultiRegionAuxiliary() { * set this field. * * - * bool multi_region_auxiliary = 10; + * bool multi_region_auxiliary = 10 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.CapacityCommitment.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=971 * @param value The multiRegionAuxiliary to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMultiRegionAuxiliary(boolean value) { multiRegionAuxiliary_ = value; @@ -3031,10 +3062,13 @@ public Builder setMultiRegionAuxiliary(boolean value) { * set this field. * * - * bool multi_region_auxiliary = 10; + * bool multi_region_auxiliary = 10 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.CapacityCommitment.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=971 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearMultiRegionAuxiliary() { bitField0_ = (bitField0_ & ~0x00000100); multiRegionAuxiliary_ = false; @@ -3048,10 +3082,12 @@ public Builder clearMultiRegionAuxiliary() { * * *
-     * Edition of the capacity commitment.
+     * Optional. Edition of the capacity commitment.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -3064,10 +3100,12 @@ public int getEditionValue() { * * *
-     * Edition of the capacity commitment.
+     * Optional. Edition of the capacity commitment.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The enum numeric value on the wire for edition to set. * @return This builder for chaining. @@ -3083,10 +3121,12 @@ public Builder setEditionValue(int value) { * * *
-     * Edition of the capacity commitment.
+     * Optional. Edition of the capacity commitment.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ @@ -3103,10 +3143,12 @@ public com.google.cloud.bigquery.reservation.v1.Edition getEdition() { * * *
-     * Edition of the capacity commitment.
+     * Optional. Edition of the capacity commitment.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The edition to set. * @return This builder for chaining. @@ -3125,10 +3167,12 @@ public Builder setEdition(com.google.cloud.bigquery.reservation.v1.Edition value * * *
-     * Edition of the capacity commitment.
+     * Optional. Edition of the capacity commitment.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java index a490d1d5b945..846ac60b7e7a 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java @@ -62,10 +62,10 @@ public interface CapacityCommitmentOrBuilder * * *
-   * Number of slots in this commitment.
+   * Optional. Number of slots in this commitment.
    * 
* - * int64 slot_count = 2; + * int64 slot_count = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCount. */ @@ -75,10 +75,12 @@ public interface CapacityCommitmentOrBuilder * * *
-   * Capacity commitment commitment plan.
+   * Optional. Capacity commitment commitment plan.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for plan. */ @@ -88,10 +90,12 @@ public interface CapacityCommitmentOrBuilder * * *
-   * Capacity commitment commitment plan.
+   * Optional. Capacity commitment commitment plan.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The plan. */ @@ -185,7 +189,7 @@ public interface CapacityCommitmentOrBuilder *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -204,7 +208,7 @@ public interface CapacityCommitmentOrBuilder *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -223,7 +227,7 @@ public interface CapacityCommitmentOrBuilder *
    * Output only. The end of the current commitment period. It is applicable
    * only for ACTIVE capacity commitments. Note after renewal,
-   * commitment_end_time is the time the renewed commitment expires. So it would
+   * commitment_end_time is the time the renewed commitment expires. So itwould
    * be at a time after commitment_start_time + committed period, because we
    * don't change commitment_start_time ,
    * 
@@ -278,12 +282,14 @@ public interface CapacityCommitmentOrBuilder * * *
-   * The plan this capacity commitment is converted to after commitment_end_time
-   * passes. Once the plan is changed, committed period is extended according to
-   * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+   * Optional. The plan this capacity commitment is converted to after
+   * commitment_end_time passes. Once the plan is changed, committed period is
+   * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+   * commitments.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for renewalPlan. @@ -294,12 +300,14 @@ public interface CapacityCommitmentOrBuilder * * *
-   * The plan this capacity commitment is converted to after commitment_end_time
-   * passes. Once the plan is changed, committed period is extended according to
-   * commitment plan. Only applicable for ANNUAL and TRIAL commitments.
+   * Optional. The plan this capacity commitment is converted to after
+   * commitment_end_time passes. Once the plan is changed, committed period is
+   * extended according to commitment plan. Only applicable for ANNUAL and TRIAL
+   * commitments.
    * 
* - * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8; + * + * .google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The renewalPlan. @@ -321,20 +329,25 @@ public interface CapacityCommitmentOrBuilder * set this field. * * - * bool multi_region_auxiliary = 10; + * bool multi_region_auxiliary = 10 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.CapacityCommitment.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=971 * @return The multiRegionAuxiliary. */ + @java.lang.Deprecated boolean getMultiRegionAuxiliary(); /** * * *
-   * Edition of the capacity commitment.
+   * Optional. Edition of the capacity commitment.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -344,10 +357,12 @@ public interface CapacityCommitmentOrBuilder * * *
-   * Edition of the capacity commitment.
+   * Optional. Edition of the capacity commitment.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 12; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequest.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequest.java new file mode 100644 index 000000000000..7578c18fcb8a --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequest.java @@ -0,0 +1,1197 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The request for
+ * [ReservationService.CreateReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservationGroup].
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest} + */ +public final class CreateReservationGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) + CreateReservationGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use CreateReservationGroupRequest.newBuilder() to construct. + private CreateReservationGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateReservationGroupRequest() { + parent_ = ""; + reservationGroupId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateReservationGroupRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. Project, location. E.g.,
+   * `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Project, location. E.g.,
+   * `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 RESERVATION_GROUP_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object reservationGroupId_ = ""; + + /** + * + * + *
+   * Required. The reservation group ID. It must only contain lower case
+   * alphanumeric characters or dashes. It must start with a letter and must not
+   * end with a dash. Its maximum length is 64 characters.
+   * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationGroupId. + */ + @java.lang.Override + public java.lang.String getReservationGroupId() { + java.lang.Object ref = reservationGroupId_; + 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(); + reservationGroupId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The reservation group ID. It must only contain lower case
+   * alphanumeric characters or dashes. It must start with a letter and must not
+   * end with a dash. Its maximum length is 64 characters.
+   * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationGroupId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReservationGroupIdBytes() { + java.lang.Object ref = reservationGroupId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationGroupId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESERVATION_GROUP_FIELD_NUMBER = 3; + private com.google.cloud.bigquery.reservation.v1.ReservationGroup reservationGroup_; + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the reservationGroup field is set. + */ + @java.lang.Override + public boolean hasReservationGroup() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The reservationGroup. + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroup() { + return reservationGroup_ == null + ? com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance() + : reservationGroup_; + } + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder + getReservationGroupOrBuilder() { + return reservationGroup_ == null + ? com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance() + : reservationGroup_; + } + + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationGroupId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reservationGroupId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getReservationGroup()); + } + 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationGroupId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reservationGroupId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReservationGroup()); + } + 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.bigquery.reservation.v1.CreateReservationGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest other = + (com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getReservationGroupId().equals(other.getReservationGroupId())) return false; + if (hasReservationGroup() != other.hasReservationGroup()) return false; + if (hasReservationGroup()) { + if (!getReservationGroup().equals(other.getReservationGroup())) 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(); + hash = (37 * hash) + RESERVATION_GROUP_ID_FIELD_NUMBER; + hash = (53 * hash) + getReservationGroupId().hashCode(); + if (hasReservationGroup()) { + hash = (37 * hash) + RESERVATION_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getReservationGroup().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest 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.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest 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.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest 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.bigquery.reservation.v1.CreateReservationGroupRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + 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.bigquery.reservation.v1.CreateReservationGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest 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.bigquery.reservation.v1.CreateReservationGroupRequest 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; + } + + /** + * + * + *
+   * The request for
+   * [ReservationService.CreateReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservationGroup].
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.Builder.class); + } + + // Construct using + // com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getReservationGroupFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + reservationGroupId_ = ""; + reservationGroup_ = null; + if (reservationGroupBuilder_ != null) { + reservationGroupBuilder_.dispose(); + reservationGroupBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest build() { + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest buildPartial() { + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest result = + new com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.reservationGroupId_ = reservationGroupId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.reservationGroup_ = + reservationGroupBuilder_ == null ? reservationGroup_ : reservationGroupBuilder_.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.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) { + return mergeFrom( + (com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest other) { + if (other + == com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + .getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getReservationGroupId().isEmpty()) { + reservationGroupId_ = other.reservationGroupId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasReservationGroup()) { + mergeReservationGroup(other.getReservationGroup()); + } + 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: + { + reservationGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getReservationGroupFieldBuilder().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. Project, location. E.g.,
+     * `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Project, location. E.g.,
+     * `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Project, location. E.g.,
+     * `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. Project, location. E.g.,
+     * `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Project, location. E.g.,
+     * `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 java.lang.Object reservationGroupId_ = ""; + + /** + * + * + *
+     * Required. The reservation group ID. It must only contain lower case
+     * alphanumeric characters or dashes. It must start with a letter and must not
+     * end with a dash. Its maximum length is 64 characters.
+     * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationGroupId. + */ + public java.lang.String getReservationGroupId() { + java.lang.Object ref = reservationGroupId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationGroupId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The reservation group ID. It must only contain lower case
+     * alphanumeric characters or dashes. It must start with a letter and must not
+     * end with a dash. Its maximum length is 64 characters.
+     * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationGroupId. + */ + public com.google.protobuf.ByteString getReservationGroupIdBytes() { + java.lang.Object ref = reservationGroupId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationGroupId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The reservation group ID. It must only contain lower case
+     * alphanumeric characters or dashes. It must start with a letter and must not
+     * end with a dash. Its maximum length is 64 characters.
+     * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The reservationGroupId to set. + * @return This builder for chaining. + */ + public Builder setReservationGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + reservationGroupId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The reservation group ID. It must only contain lower case
+     * alphanumeric characters or dashes. It must start with a letter and must not
+     * end with a dash. Its maximum length is 64 characters.
+     * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearReservationGroupId() { + reservationGroupId_ = getDefaultInstance().getReservationGroupId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The reservation group ID. It must only contain lower case
+     * alphanumeric characters or dashes. It must start with a letter and must not
+     * end with a dash. Its maximum length is 64 characters.
+     * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for reservationGroupId to set. + * @return This builder for chaining. + */ + public Builder setReservationGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reservationGroupId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.bigquery.reservation.v1.ReservationGroup reservationGroup_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + reservationGroupBuilder_; + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the reservationGroup field is set. + */ + public boolean hasReservationGroup() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The reservationGroup. + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroup() { + if (reservationGroupBuilder_ == null) { + return reservationGroup_ == null + ? com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance() + : reservationGroup_; + } else { + return reservationGroupBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setReservationGroup( + com.google.cloud.bigquery.reservation.v1.ReservationGroup value) { + if (reservationGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reservationGroup_ = value; + } else { + reservationGroupBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setReservationGroup( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder builderForValue) { + if (reservationGroupBuilder_ == null) { + reservationGroup_ = builderForValue.build(); + } else { + reservationGroupBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeReservationGroup( + com.google.cloud.bigquery.reservation.v1.ReservationGroup value) { + if (reservationGroupBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && reservationGroup_ != null + && reservationGroup_ + != com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance()) { + getReservationGroupBuilder().mergeFrom(value); + } else { + reservationGroup_ = value; + } + } else { + reservationGroupBuilder_.mergeFrom(value); + } + if (reservationGroup_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearReservationGroup() { + bitField0_ = (bitField0_ & ~0x00000004); + reservationGroup_ = null; + if (reservationGroupBuilder_ != null) { + reservationGroupBuilder_.dispose(); + reservationGroupBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder + getReservationGroupBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getReservationGroupFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder + getReservationGroupOrBuilder() { + if (reservationGroupBuilder_ != null) { + return reservationGroupBuilder_.getMessageOrBuilder(); + } else { + return reservationGroup_ == null + ? com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance() + : reservationGroup_; + } + } + + /** + * + * + *
+     * Required. New Reservation Group to create.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + getReservationGroupFieldBuilder() { + if (reservationGroupBuilder_ == null) { + reservationGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder>( + getReservationGroup(), getParentForChildren(), isClean()); + reservationGroup_ = null; + } + return reservationGroupBuilder_; + } + + @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.bigquery.reservation.v1.CreateReservationGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) + private static final com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest(); + } + + public static com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReservationGroupRequest 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.bigquery.reservation.v1.CreateReservationGroupRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequestOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequestOrBuilder.java new file mode 100644 index 000000000000..76c6287203c2 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationGroupRequestOrBuilder.java @@ -0,0 +1,131 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface CreateReservationGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Project, location. E.g.,
+   * `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. Project, location. E.g.,
+   * `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The reservation group ID. It must only contain lower case
+   * alphanumeric characters or dashes. It must start with a letter and must not
+   * end with a dash. Its maximum length is 64 characters.
+   * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationGroupId. + */ + java.lang.String getReservationGroupId(); + + /** + * + * + *
+   * Required. The reservation group ID. It must only contain lower case
+   * alphanumeric characters or dashes. It must start with a letter and must not
+   * end with a dash. Its maximum length is 64 characters.
+   * 
+ * + * string reservation_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationGroupId. + */ + com.google.protobuf.ByteString getReservationGroupIdBytes(); + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the reservationGroup field is set. + */ + boolean hasReservationGroup(); + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The reservationGroup. + */ + com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroup(); + + /** + * + * + *
+   * Required. New Reservation Group to create.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder getReservationGroupOrBuilder(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequest.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequest.java new file mode 100644 index 000000000000..59763abf38b0 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequest.java @@ -0,0 +1,670 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The request for
+ * [ReservationService.DeleteReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservationGroup].
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest} + */ +public final class DeleteReservationGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) + DeleteReservationGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use DeleteReservationGroupRequest.newBuilder() to construct. + private DeleteReservationGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteReservationGroupRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteReservationGroupRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + 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.bigquery.reservation.v1.DeleteReservationGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest other = + (com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest 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.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest 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.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest 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.bigquery.reservation.v1.DeleteReservationGroupRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + 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.bigquery.reservation.v1.DeleteReservationGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest 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.bigquery.reservation.v1.DeleteReservationGroupRequest 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; + } + + /** + * + * + *
+   * The request for
+   * [ReservationService.DeleteReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservationGroup].
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.Builder.class); + } + + // Construct using + // com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest build() { + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest buildPartial() { + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest result = + new com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @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.bigquery.reservation.v1.DeleteReservationGroupRequest) { + return mergeFrom( + (com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest other) { + if (other + == com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + 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: + { + name_ = 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 name_ = ""; + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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.bigquery.reservation.v1.DeleteReservationGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) + private static final com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest(); + } + + public static com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteReservationGroupRequest 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.bigquery.reservation.v1.DeleteReservationGroupRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequestOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequestOrBuilder.java new file mode 100644 index 000000000000..4562d4a65df2 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationGroupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface DeleteReservationGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/FailoverMode.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/FailoverMode.java index 586e15e58866..b0825c70c0eb 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/FailoverMode.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/FailoverMode.java @@ -24,7 +24,7 @@ * *
  * The failover mode when a user initiates a failover on a reservation
- * determines how writes that arepending replication are handled after the
+ * determines how writes that are pending replication are handled after the
  * failover is initiated.
  * 
* diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequest.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequest.java new file mode 100644 index 000000000000..c90e2053ef25 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequest.java @@ -0,0 +1,669 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The request for
+ * [ReservationService.GetReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.GetReservationGroup].
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.GetReservationGroupRequest} + */ +public final class GetReservationGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) + GetReservationGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use GetReservationGroupRequest.newBuilder() to construct. + private GetReservationGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetReservationGroupRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetReservationGroupRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + 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.bigquery.reservation.v1.GetReservationGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest other = + (com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest 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.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest 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.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest 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.bigquery.reservation.v1.GetReservationGroupRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + 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.bigquery.reservation.v1.GetReservationGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest 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.bigquery.reservation.v1.GetReservationGroupRequest 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; + } + + /** + * + * + *
+   * The request for
+   * [ReservationService.GetReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.GetReservationGroup].
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.GetReservationGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.class, + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.Builder.class); + } + + // Construct using + // com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest build() { + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest buildPartial() { + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest result = + new com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @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.bigquery.reservation.v1.GetReservationGroupRequest) { + return mergeFrom( + (com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest other) { + if (other + == com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + 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: + { + name_ = 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 name_ = ""; + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Resource name of the reservation group to retrieve. E.g.,
+     *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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.bigquery.reservation.v1.GetReservationGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) + private static final com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest(); + } + + public static com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetReservationGroupRequest 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.bigquery.reservation.v1.GetReservationGroupRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequestOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequestOrBuilder.java new file mode 100644 index 000000000000..07dcdb40042e --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationGroupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface GetReservationGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.GetReservationGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. Resource name of the reservation group to retrieve. E.g.,
+   *    `projects/myproject/locations/US/reservationGroups/team1-prod`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequest.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequest.java new file mode 100644 index 000000000000..9dd4bca1c5f8 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequest.java @@ -0,0 +1,955 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The request for
+ * [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups].
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest} + */ +public final class ListReservationGroupsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) + ListReservationGroupsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ListReservationGroupsRequest.newBuilder() to construct. + private ListReservationGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListReservationGroupsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListReservationGroupsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.class, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent resource name containing project and location, e.g.:
+   *   `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. The parent resource name containing project and location, e.g.:
+   *   `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
+   * The maximum number of items to return per page.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
+   * The next_page_token value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * The next_page_token value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + 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 (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + 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.bigquery.reservation.v1.ListReservationGroupsRequest)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest other = + (com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) 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(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest 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.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest 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.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest 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.bigquery.reservation.v1.ListReservationGroupsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + 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.bigquery.reservation.v1.ListReservationGroupsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest 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.bigquery.reservation.v1.ListReservationGroupsRequest 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; + } + + /** + * + * + *
+   * The request for
+   * [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups].
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.class, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.Builder.class); + } + + // Construct using + // com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest build() { + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest buildPartial() { + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest result = + new com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @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.bigquery.reservation.v1.ListReservationGroupsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest other) { + if (other + == com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + .getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + 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: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + 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. The parent resource name containing project and location, e.g.:
+     *   `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. The parent resource name containing project and location, e.g.:
+     *   `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. The parent resource name containing project and location, e.g.:
+     *   `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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. The parent resource name containing project and location, e.g.:
+     *   `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource name containing project and location, e.g.:
+     *   `projects/myproject/locations/US`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @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 int pageSize_; + + /** + * + * + *
+     * The maximum number of items to return per page.
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
+     * The maximum number of items to return per page.
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The maximum number of items to return per page.
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
+     * The next_page_token value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The next_page_token value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The next_page_token value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The next_page_token value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * The next_page_token value returned from a previous List request, if any.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + 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.bigquery.reservation.v1.ListReservationGroupsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) + private static final com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest(); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReservationGroupsRequest 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.bigquery.reservation.v1.ListReservationGroupsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequestOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequestOrBuilder.java new file mode 100644 index 000000000000..3d4961097777 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface ListReservationGroupsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource name containing project and location, e.g.:
+   *   `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent resource name containing project and location, e.g.:
+   *   `projects/myproject/locations/US`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of items to return per page.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * The next_page_token value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
+   * The next_page_token value returned from a previous List request, if any.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponse.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponse.java new file mode 100644 index 000000000000..027bba93a988 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponse.java @@ -0,0 +1,1222 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The response for
+ * [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups].
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse} + */ +public final class ListReservationGroupsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) + ListReservationGroupsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ListReservationGroupsResponse.newBuilder() to construct. + private ListReservationGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListReservationGroupsResponse() { + reservationGroups_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListReservationGroupsResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.class, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.Builder.class); + } + + public static final int RESERVATION_GROUPS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + reservationGroups_; + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + @java.lang.Override + public java.util.List + getReservationGroupsList() { + return reservationGroups_; + } + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + getReservationGroupsOrBuilderList() { + return reservationGroups_; + } + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + @java.lang.Override + public int getReservationGroupsCount() { + return reservationGroups_.size(); + } + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroups(int index) { + return reservationGroups_.get(index); + } + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder + getReservationGroupsOrBuilder(int index) { + return reservationGroups_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = 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 { + for (int i = 0; i < reservationGroups_.size(); i++) { + output.writeMessage(1, reservationGroups_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < reservationGroups_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, reservationGroups_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + 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.bigquery.reservation.v1.ListReservationGroupsResponse)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse other = + (com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) obj; + + if (!getReservationGroupsList().equals(other.getReservationGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getReservationGroupsCount() > 0) { + hash = (37 * hash) + RESERVATION_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getReservationGroupsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse 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.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse 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.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse 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.bigquery.reservation.v1.ListReservationGroupsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + 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.bigquery.reservation.v1.ListReservationGroupsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse 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.bigquery.reservation.v1.ListReservationGroupsResponse 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; + } + + /** + * + * + *
+   * The response for
+   * [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups].
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.class, + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.Builder.class); + } + + // Construct using + // com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (reservationGroupsBuilder_ == null) { + reservationGroups_ = java.util.Collections.emptyList(); + } else { + reservationGroups_ = null; + reservationGroupsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse build() { + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse buildPartial() { + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse result = + new com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse result) { + if (reservationGroupsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reservationGroups_ = java.util.Collections.unmodifiableList(reservationGroups_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reservationGroups_ = reservationGroups_; + } else { + result.reservationGroups_ = reservationGroupsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @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.bigquery.reservation.v1.ListReservationGroupsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse other) { + if (other + == com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + .getDefaultInstance()) return this; + if (reservationGroupsBuilder_ == null) { + if (!other.reservationGroups_.isEmpty()) { + if (reservationGroups_.isEmpty()) { + reservationGroups_ = other.reservationGroups_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReservationGroupsIsMutable(); + reservationGroups_.addAll(other.reservationGroups_); + } + onChanged(); + } + } else { + if (!other.reservationGroups_.isEmpty()) { + if (reservationGroupsBuilder_.isEmpty()) { + reservationGroupsBuilder_.dispose(); + reservationGroupsBuilder_ = null; + reservationGroups_ = other.reservationGroups_; + bitField0_ = (bitField0_ & ~0x00000001); + reservationGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReservationGroupsFieldBuilder() + : null; + } else { + reservationGroupsBuilder_.addAllMessages(other.reservationGroups_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + 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: + { + com.google.cloud.bigquery.reservation.v1.ReservationGroup m = + input.readMessage( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.parser(), + extensionRegistry); + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + reservationGroups_.add(m); + } else { + reservationGroupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + 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 java.util.List + reservationGroups_ = java.util.Collections.emptyList(); + + private void ensureReservationGroupsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reservationGroups_ = + new java.util.ArrayList( + reservationGroups_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + reservationGroupsBuilder_; + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public java.util.List + getReservationGroupsList() { + if (reservationGroupsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reservationGroups_); + } else { + return reservationGroupsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public int getReservationGroupsCount() { + if (reservationGroupsBuilder_ == null) { + return reservationGroups_.size(); + } else { + return reservationGroupsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroups( + int index) { + if (reservationGroupsBuilder_ == null) { + return reservationGroups_.get(index); + } else { + return reservationGroupsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder setReservationGroups( + int index, com.google.cloud.bigquery.reservation.v1.ReservationGroup value) { + if (reservationGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationGroupsIsMutable(); + reservationGroups_.set(index, value); + onChanged(); + } else { + reservationGroupsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder setReservationGroups( + int index, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder builderForValue) { + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + reservationGroups_.set(index, builderForValue.build()); + onChanged(); + } else { + reservationGroupsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder addReservationGroups( + com.google.cloud.bigquery.reservation.v1.ReservationGroup value) { + if (reservationGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationGroupsIsMutable(); + reservationGroups_.add(value); + onChanged(); + } else { + reservationGroupsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder addReservationGroups( + int index, com.google.cloud.bigquery.reservation.v1.ReservationGroup value) { + if (reservationGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationGroupsIsMutable(); + reservationGroups_.add(index, value); + onChanged(); + } else { + reservationGroupsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder addReservationGroups( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder builderForValue) { + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + reservationGroups_.add(builderForValue.build()); + onChanged(); + } else { + reservationGroupsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder addReservationGroups( + int index, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder builderForValue) { + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + reservationGroups_.add(index, builderForValue.build()); + onChanged(); + } else { + reservationGroupsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder addAllReservationGroups( + java.lang.Iterable + values) { + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reservationGroups_); + onChanged(); + } else { + reservationGroupsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder clearReservationGroups() { + if (reservationGroupsBuilder_ == null) { + reservationGroups_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + reservationGroupsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public Builder removeReservationGroups(int index) { + if (reservationGroupsBuilder_ == null) { + ensureReservationGroupsIsMutable(); + reservationGroups_.remove(index); + onChanged(); + } else { + reservationGroupsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder + getReservationGroupsBuilder(int index) { + return getReservationGroupsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder + getReservationGroupsOrBuilder(int index) { + if (reservationGroupsBuilder_ == null) { + return reservationGroups_.get(index); + } else { + return reservationGroupsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public java.util.List< + ? extends com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + getReservationGroupsOrBuilderList() { + if (reservationGroupsBuilder_ != null) { + return reservationGroupsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reservationGroups_); + } + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder + addReservationGroupsBuilder() { + return getReservationGroupsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance()); + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder + addReservationGroupsBuilder(int index) { + return getReservationGroupsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance()); + } + + /** + * + * + *
+     * List of reservations visible to the user.
+     * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + public java.util.List + getReservationGroupsBuilderList() { + return getReservationGroupsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> + getReservationGroupsFieldBuilder() { + if (reservationGroupsBuilder_ == null) { + reservationGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.ReservationGroup, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder, + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder>( + reservationGroups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + reservationGroups_ = null; + } + return reservationGroupsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no
+     * more results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + 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.bigquery.reservation.v1.ListReservationGroupsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) + private static final com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse(); + } + + public static com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReservationGroupsResponse 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.bigquery.reservation.v1.ListReservationGroupsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponseOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponseOrBuilder.java new file mode 100644 index 000000000000..a96712600f3d --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationGroupsResponseOrBuilder.java @@ -0,0 +1,117 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface ListReservationGroupsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + java.util.List + getReservationGroupsList(); + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + com.google.cloud.bigquery.reservation.v1.ReservationGroup getReservationGroups(int index); + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + int getReservationGroupsCount(); + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + java.util.List + getReservationGroupsOrBuilderList(); + + /** + * + * + *
+   * List of reservations visible to the user.
+   * 
+ * + * repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1; + * + */ + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder getReservationGroupsOrBuilder( + int index); + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no
+   * more results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequest.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequest.java index cae664e34d6d..82ceb70b0e8c 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequest.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequest.java @@ -44,6 +44,7 @@ private MergeCapacityCommitmentsRequest( private MergeCapacityCommitmentsRequest() { parent_ = ""; capacityCommitmentIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + capacityCommitmentId_ = ""; } @java.lang.Override @@ -206,6 +207,65 @@ public com.google.protobuf.ByteString getCapacityCommitmentIdsBytes(int index) { return capacityCommitmentIds_.getByteString(index); } + public static final int CAPACITY_COMMITMENT_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object capacityCommitmentId_ = ""; + + /** + * + * + *
+   * Optional. The optional resulting capacity commitment ID. Capacity
+   * commitment name will be generated automatically if this field is empty.
+   * This field must only contain lower case alphanumeric characters or dashes.
+   * The first and last character cannot be a dash. Max length is 64 characters.
+   * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The capacityCommitmentId. + */ + @java.lang.Override + public java.lang.String getCapacityCommitmentId() { + java.lang.Object ref = capacityCommitmentId_; + 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(); + capacityCommitmentId_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The optional resulting capacity commitment ID. Capacity
+   * commitment name will be generated automatically if this field is empty.
+   * This field must only contain lower case alphanumeric characters or dashes.
+   * The first and last character cannot be a dash. Max length is 64 characters.
+   * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for capacityCommitmentId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCapacityCommitmentIdBytes() { + java.lang.Object ref = capacityCommitmentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + capacityCommitmentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -227,6 +287,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString( output, 2, capacityCommitmentIds_.getRaw(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(capacityCommitmentId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, capacityCommitmentId_); + } getUnknownFields().writeTo(output); } @@ -247,6 +310,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getCapacityCommitmentIdsList().size(); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(capacityCommitmentId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, capacityCommitmentId_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -266,6 +332,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (!getCapacityCommitmentIdsList().equals(other.getCapacityCommitmentIdsList())) return false; + if (!getCapacityCommitmentId().equals(other.getCapacityCommitmentId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,6 +350,8 @@ public int hashCode() { hash = (37 * hash) + CAPACITY_COMMITMENT_IDS_FIELD_NUMBER; hash = (53 * hash) + getCapacityCommitmentIdsList().hashCode(); } + hash = (37 * hash) + CAPACITY_COMMITMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getCapacityCommitmentId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -430,6 +499,7 @@ public Builder clear() { bitField0_ = 0; parent_ = ""; capacityCommitmentIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + capacityCommitmentId_ = ""; return this; } @@ -477,6 +547,9 @@ private void buildPartial0( capacityCommitmentIds_.makeImmutable(); result.capacityCommitmentIds_ = capacityCommitmentIds_; } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.capacityCommitmentId_ = capacityCommitmentId_; + } } @java.lang.Override @@ -544,6 +617,11 @@ public Builder mergeFrom( } onChanged(); } + if (!other.getCapacityCommitmentId().isEmpty()) { + capacityCommitmentId_ = other.capacityCommitmentId_; + bitField0_ |= 0x00000004; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -583,6 +661,12 @@ public Builder mergeFrom( capacityCommitmentIds_.add(s); break; } // case 18 + case 26: + { + capacityCommitmentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -938,6 +1022,132 @@ public Builder addCapacityCommitmentIdsBytes(com.google.protobuf.ByteString valu return this; } + private java.lang.Object capacityCommitmentId_ = ""; + + /** + * + * + *
+     * Optional. The optional resulting capacity commitment ID. Capacity
+     * commitment name will be generated automatically if this field is empty.
+     * This field must only contain lower case alphanumeric characters or dashes.
+     * The first and last character cannot be a dash. Max length is 64 characters.
+     * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The capacityCommitmentId. + */ + public java.lang.String getCapacityCommitmentId() { + java.lang.Object ref = capacityCommitmentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + capacityCommitmentId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The optional resulting capacity commitment ID. Capacity
+     * commitment name will be generated automatically if this field is empty.
+     * This field must only contain lower case alphanumeric characters or dashes.
+     * The first and last character cannot be a dash. Max length is 64 characters.
+     * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for capacityCommitmentId. + */ + public com.google.protobuf.ByteString getCapacityCommitmentIdBytes() { + java.lang.Object ref = capacityCommitmentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + capacityCommitmentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The optional resulting capacity commitment ID. Capacity
+     * commitment name will be generated automatically if this field is empty.
+     * This field must only contain lower case alphanumeric characters or dashes.
+     * The first and last character cannot be a dash. Max length is 64 characters.
+     * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The capacityCommitmentId to set. + * @return This builder for chaining. + */ + public Builder setCapacityCommitmentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + capacityCommitmentId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The optional resulting capacity commitment ID. Capacity
+     * commitment name will be generated automatically if this field is empty.
+     * This field must only contain lower case alphanumeric characters or dashes.
+     * The first and last character cannot be a dash. Max length is 64 characters.
+     * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearCapacityCommitmentId() { + capacityCommitmentId_ = getDefaultInstance().getCapacityCommitmentId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The optional resulting capacity commitment ID. Capacity
+     * commitment name will be generated automatically if this field is empty.
+     * This field must only contain lower case alphanumeric characters or dashes.
+     * The first and last character cannot be a dash. Max length is 64 characters.
+     * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for capacityCommitmentId to set. + * @return This builder for chaining. + */ + public Builder setCapacityCommitmentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + capacityCommitmentId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequestOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequestOrBuilder.java index c92ebb33c221..c934475daa1e 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequestOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequestOrBuilder.java @@ -121,4 +121,36 @@ public interface MergeCapacityCommitmentsRequestOrBuilder * @return The bytes of the capacityCommitmentIds at the given index. */ com.google.protobuf.ByteString getCapacityCommitmentIdsBytes(int index); + + /** + * + * + *
+   * Optional. The optional resulting capacity commitment ID. Capacity
+   * commitment name will be generated automatically if this field is empty.
+   * This field must only contain lower case alphanumeric characters or dashes.
+   * The first and last character cannot be a dash. Max length is 64 characters.
+   * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The capacityCommitmentId. + */ + java.lang.String getCapacityCommitmentId(); + + /** + * + * + *
+   * Optional. The optional resulting capacity commitment ID. Capacity
+   * commitment name will be generated automatically if this field is empty.
+   * This field must only contain lower case alphanumeric characters or dashes.
+   * The first and last character cannot be a dash. Max length is 64 characters.
+   * 
+ * + * string capacity_commitment_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for capacityCommitmentId. + */ + com.google.protobuf.ByteString getCapacityCommitmentIdBytes(); } diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Reservation.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Reservation.java index 2ac5c267b0db..eef0f2ed87fa 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Reservation.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/Reservation.java @@ -46,6 +46,7 @@ private Reservation() { secondaryLocation_ = ""; originalPrimaryLocation_ = ""; scalingMode_ = 0; + reservationGroup_ = ""; } @java.lang.Override @@ -59,6 +60,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_bigquery_reservation_v1_Reservation_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 23: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -102,7 +115,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * slots and no idle slots will be used. * * Please note, in this mode, the ignore_idle_slots field must be set to - * true. + * true. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * AUTOSCALE_ONLY = 1; @@ -129,7 +143,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * to max_slots. * * Please note, in this mode, the ignore_idle_slots field must be set to - * false. + * false. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * IDLE_SLOTS_ONLY = 2; @@ -154,7 +169,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * scale up to 1000 slots with 200 baseline and 800 autoscaling slots. * * Please note, in this mode, the ignore_idle_slots field must be set to - * false. + * false. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * ALL_SLOTS = 3; @@ -186,7 +202,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * slots and no idle slots will be used. * * Please note, in this mode, the ignore_idle_slots field must be set to - * true. + * true. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * AUTOSCALE_ONLY = 1; @@ -214,7 +231,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * to max_slots. * * Please note, in this mode, the ignore_idle_slots field must be set to - * false. + * false. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * IDLE_SLOTS_ONLY = 2; @@ -240,7 +258,8 @@ public enum ScalingMode implements com.google.protobuf.ProtocolMessageEnum { * scale up to 1000 slots with 200 baseline and 800 autoscaling slots. * * Please note, in this mode, the ignore_idle_slots field must be set to - * false. + * false. Otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * * ALL_SLOTS = 3; @@ -360,10 +379,10 @@ public interface AutoscaleOrBuilder * * *
-     * Number of slots to be scaled when needed.
+     * Optional. Number of slots to be scaled when needed.
      * 
* - * int64 max_slots = 2; + * int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The maxSlots. */ @@ -443,10 +462,10 @@ public long getCurrentSlots() { * * *
-     * Number of slots to be scaled when needed.
+     * Optional. Number of slots to be scaled when needed.
      * 
* - * int64 max_slots = 2; + * int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The maxSlots. */ @@ -901,10 +920,10 @@ public Builder clearCurrentSlots() { * * *
-       * Number of slots to be scaled when needed.
+       * Optional. Number of slots to be scaled when needed.
        * 
* - * int64 max_slots = 2; + * int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The maxSlots. */ @@ -917,10 +936,10 @@ public long getMaxSlots() { * * *
-       * Number of slots to be scaled when needed.
+       * Optional. Number of slots to be scaled when needed.
        * 
* - * int64 max_slots = 2; + * int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The maxSlots to set. * @return This builder for chaining. @@ -937,10 +956,10 @@ public Builder setMaxSlots(long value) { * * *
-       * Number of slots to be scaled when needed.
+       * Optional. Number of slots to be scaled when needed.
        * 
* - * int64 max_slots = 2; + * int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2984,14 +3003,14 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * The resource name of the reservation, e.g.,
+   * Identifier. The resource name of the reservation, e.g.,
    * `projects/*/locations/*/reservations/team1-prod`.
    * The reservation_id must only contain lower case alphanumeric characters or
    * dashes. It must start with a letter and must not end with a dash. Its
    * maximum length is 64 characters.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -3012,14 +3031,14 @@ public java.lang.String getName() { * * *
-   * The resource name of the reservation, e.g.,
+   * Identifier. The resource name of the reservation, e.g.,
    * `projects/*/locations/*/reservations/team1-prod`.
    * The reservation_id must only contain lower case alphanumeric characters or
    * dashes. It must start with a letter and must not end with a dash. Its
    * maximum length is 64 characters.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -3043,7 +3062,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Baseline slots available to this reservation. A slot is a unit of
+   * Optional. Baseline slots available to this reservation. A slot is a unit of
    * computational power in BigQuery, and serves as the unit of parallelism.
    *
    * Queries using this reservation might use more slots during runtime if
@@ -3059,7 +3078,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * baseline slots every few minutes.
    * 
* - * int64 slot_capacity = 2; + * int64 slot_capacity = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCapacity. */ @@ -3075,13 +3094,13 @@ public long getSlotCapacity() { * * *
-   * If false, any query or pipeline job using this reservation will use idle
-   * slots from other reservations within the same admin project. If true, a
-   * query or pipeline job using this reservation will execute with the slot
-   * capacity specified in the slot_capacity field at most.
+   * Optional. If false, any query or pipeline job using this reservation will
+   * use idle slots from other reservations within the same admin project. If
+   * true, a query or pipeline job using this reservation will execute with the
+   * slot capacity specified in the slot_capacity field at most.
    * 
* - * bool ignore_idle_slots = 4; + * bool ignore_idle_slots = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The ignoreIdleSlots. */ @@ -3097,10 +3116,12 @@ public boolean getIgnoreIdleSlots() { * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the autoscale field is set. */ @@ -3113,10 +3134,12 @@ public boolean hasAutoscale() { * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The autoscale. */ @@ -3131,10 +3154,12 @@ public com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale getAutosca * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.reservation.v1.Reservation.AutoscaleOrBuilder @@ -3151,17 +3176,16 @@ public com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale getAutosca * * *
-   * Job concurrency target which sets a soft upper bound on the number of jobs
-   * that can run concurrently in this reservation. This is a soft target due to
-   * asynchronous nature of the system and various optimizations for small
-   * queries.
-   * Default value is 0 which means that concurrency target will be
-   * automatically computed by the system.
-   * NOTE: this field is exposed as target job concurrency in the Information
-   * Schema, DDL and BigQuery CLI.
+   * Optional. Job concurrency target which sets a soft upper bound on the
+   * number of jobs that can run concurrently in this reservation. This is a
+   * soft target due to asynchronous nature of the system and various
+   * optimizations for small queries. Default value is 0 which means that
+   * concurrency target will be automatically computed by the system. NOTE: this
+   * field is exposed as target job concurrency in the Information Schema, DDL
+   * and BigQuery CLI.
    * 
* - * int64 concurrency = 16; + * int64 concurrency = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The concurrency. */ @@ -3299,11 +3323,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * set this field. * * - * bool multi_region_auxiliary = 14; + * bool multi_region_auxiliary = 14 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.Reservation.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=677 * @return The multiRegionAuxiliary. */ @java.lang.Override + @java.lang.Deprecated public boolean getMultiRegionAuxiliary() { return multiRegionAuxiliary_; } @@ -3315,10 +3342,12 @@ public boolean getMultiRegionAuxiliary() { * * *
-   * Edition of the reservation.
+   * Optional. Edition of the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -3331,10 +3360,12 @@ public int getEditionValue() { * * *
-   * Edition of the reservation.
+   * Optional. Edition of the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ @@ -3549,10 +3580,13 @@ public com.google.protobuf.ByteString getOriginalPrimaryLocationBytes() { * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -3569,12 +3603,14 @@ public com.google.protobuf.ByteString getOriginalPrimaryLocationBytes() { * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -3604,10 +3640,13 @@ public boolean hasMaxSlots() { * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -3624,12 +3663,14 @@ public boolean hasMaxSlots() { * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -3653,7 +3694,8 @@ public long getMaxSlots() { * *
    * Optional. The scaling mode for the reservation.
-   * If the field is present but max_slots is not present.
+   * If the field is present but max_slots is not present, requests will be
+   * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
    * 
* * @@ -3672,7 +3714,8 @@ public int getScalingModeValue() { * *
    * Optional. The scaling mode for the reservation.
-   * If the field is present but max_slots is not present.
+   * If the field is present but max_slots is not present, requests will be
+   * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
    * 
* * @@ -3690,6 +3733,184 @@ public com.google.cloud.bigquery.reservation.v1.Reservation.ScalingMode getScali : result; } + public static final int LABELS_FIELD_NUMBER = 23; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_Reservation_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(); + } + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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(); + } + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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 static final int RESERVATION_GROUP_FIELD_NUMBER = 25; + + @SuppressWarnings("serial") + private volatile java.lang.Object reservationGroup_ = ""; + + /** + * + * + *
+   * Optional. The reservation group that this reservation belongs to.
+   * You can set this property when you create or update a reservation.
+   * Reservations do not need to belong to a reservation group.
+   * Format:
+   * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+   * or just {reservation_group}
+   * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The reservationGroup. + */ + @java.lang.Override + public java.lang.String getReservationGroup() { + java.lang.Object ref = reservationGroup_; + 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(); + reservationGroup_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The reservation group that this reservation belongs to.
+   * You can set this property when you create or update a reservation.
+   * Reservations do not need to belong to a reservation group.
+   * Format:
+   * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+   * or just {reservation_group}
+   * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for reservationGroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReservationGroupBytes() { + java.lang.Object ref = reservationGroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int REPLICATION_STATUS_FIELD_NUMBER = 24; private com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus replicationStatus_; @@ -3774,6 +3995,78 @@ public boolean hasReplicationStatus() { : replicationStatus_; } + public static final int SCHEDULING_POLICY_FIELD_NUMBER = 27; + private com.google.cloud.bigquery.reservation.v1.SchedulingPolicy schedulingPolicy_; + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + @java.lang.Override + public boolean hasSchedulingPolicy() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy() { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder + getSchedulingPolicyOrBuilder() { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3833,9 +4126,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(22, scalingMode_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 23); if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(24, getReplicationStatus()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationGroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, reservationGroup_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(27, getSchedulingPolicy()); + } getUnknownFields().writeTo(output); } @@ -3891,9 +4192,25 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, scalingMode_); } + 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(23, labels__); + } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getReplicationStatus()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservationGroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, reservationGroup_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getSchedulingPolicy()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3936,10 +4253,16 @@ public boolean equals(final java.lang.Object obj) { if (getMaxSlots() != other.getMaxSlots()) return false; } if (scalingMode_ != other.scalingMode_) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getReservationGroup().equals(other.getReservationGroup())) return false; if (hasReplicationStatus() != other.hasReplicationStatus()) return false; if (hasReplicationStatus()) { if (!getReplicationStatus().equals(other.getReplicationStatus())) return false; } + if (hasSchedulingPolicy() != other.hasSchedulingPolicy()) return false; + if (hasSchedulingPolicy()) { + if (!getSchedulingPolicy().equals(other.getSchedulingPolicy())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3987,10 +4310,20 @@ public int hashCode() { } hash = (37 * hash) + SCALING_MODE_FIELD_NUMBER; hash = (53 * hash) + scalingMode_; + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (37 * hash) + RESERVATION_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getReservationGroup().hashCode(); if (hasReplicationStatus()) { hash = (37 * hash) + REPLICATION_STATUS_FIELD_NUMBER; hash = (53 * hash) + getReplicationStatus().hashCode(); } + if (hasSchedulingPolicy()) { + hash = (37 * hash) + SCHEDULING_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSchedulingPolicy().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -4110,6 +4443,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_bigquery_reservation_v1_Reservation_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 23: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 23: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -4136,6 +4491,7 @@ private void maybeForceBuilderInitialization() { getCreationTimeFieldBuilder(); getUpdateTimeFieldBuilder(); getReplicationStatusFieldBuilder(); + getSchedulingPolicyFieldBuilder(); } } @@ -4169,11 +4525,18 @@ public Builder clear() { originalPrimaryLocation_ = ""; maxSlots_ = 0L; scalingMode_ = 0; + internalGetMutableLabels().clear(); + reservationGroup_ = ""; replicationStatus_ = null; if (replicationStatusBuilder_ != null) { replicationStatusBuilder_.dispose(); replicationStatusBuilder_ = null; } + schedulingPolicy_ = null; + if (schedulingPolicyBuilder_ != null) { + schedulingPolicyBuilder_.dispose(); + schedulingPolicyBuilder_ = null; + } return this; } @@ -4259,12 +4622,24 @@ private void buildPartial0(com.google.cloud.bigquery.reservation.v1.Reservation result.scalingMode_ = scalingMode_; } if (((from_bitField0_ & 0x00004000) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.reservationGroup_ = reservationGroup_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { result.replicationStatus_ = replicationStatusBuilder_ == null ? replicationStatus_ : replicationStatusBuilder_.build(); to_bitField0_ |= 0x00000010; } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.schedulingPolicy_ = + schedulingPolicyBuilder_ == null ? schedulingPolicy_ : schedulingPolicyBuilder_.build(); + to_bitField0_ |= 0x00000020; + } result.bitField0_ |= to_bitField0_; } @@ -4364,9 +4739,19 @@ public Builder mergeFrom(com.google.cloud.bigquery.reservation.v1.Reservation ot if (other.scalingMode_ != 0) { setScalingModeValue(other.getScalingModeValue()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00004000; + if (!other.getReservationGroup().isEmpty()) { + reservationGroup_ = other.reservationGroup_; + bitField0_ |= 0x00008000; + onChanged(); + } if (other.hasReplicationStatus()) { mergeReplicationStatus(other.getReplicationStatus()); } + if (other.hasSchedulingPolicy()) { + mergeSchedulingPolicy(other.getSchedulingPolicy()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4477,13 +4862,38 @@ public Builder mergeFrom( bitField0_ |= 0x00002000; break; } // case 176 + case 186: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 186 case 194: { input.readMessage( getReplicationStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00010000; break; } // case 194 + case 202: + { + reservationGroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 202 + case 218: + { + input.readMessage( + getSchedulingPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 218 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4509,14 +4919,14 @@ public Builder mergeFrom( * * *
-     * The resource name of the reservation, e.g.,
+     * Identifier. The resource name of the reservation, e.g.,
      * `projects/*/locations/*/reservations/team1-prod`.
      * The reservation_id must only contain lower case alphanumeric characters or
      * dashes. It must start with a letter and must not end with a dash. Its
      * maximum length is 64 characters.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -4536,14 +4946,14 @@ public java.lang.String getName() { * * *
-     * The resource name of the reservation, e.g.,
+     * Identifier. The resource name of the reservation, e.g.,
      * `projects/*/locations/*/reservations/team1-prod`.
      * The reservation_id must only contain lower case alphanumeric characters or
      * dashes. It must start with a letter and must not end with a dash. Its
      * maximum length is 64 characters.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -4563,14 +4973,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the reservation, e.g.,
+     * Identifier. The resource name of the reservation, e.g.,
      * `projects/*/locations/*/reservations/team1-prod`.
      * The reservation_id must only contain lower case alphanumeric characters or
      * dashes. It must start with a letter and must not end with a dash. Its
      * maximum length is 64 characters.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -4589,14 +4999,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the reservation, e.g.,
+     * Identifier. The resource name of the reservation, e.g.,
      * `projects/*/locations/*/reservations/team1-prod`.
      * The reservation_id must only contain lower case alphanumeric characters or
      * dashes. It must start with a letter and must not end with a dash. Its
      * maximum length is 64 characters.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -4611,14 +5021,14 @@ public Builder clearName() { * * *
-     * The resource name of the reservation, e.g.,
+     * Identifier. The resource name of the reservation, e.g.,
      * `projects/*/locations/*/reservations/team1-prod`.
      * The reservation_id must only contain lower case alphanumeric characters or
      * dashes. It must start with a letter and must not end with a dash. Its
      * maximum length is 64 characters.
      * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -4640,7 +5050,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Baseline slots available to this reservation. A slot is a unit of
+     * Optional. Baseline slots available to this reservation. A slot is a unit of
      * computational power in BigQuery, and serves as the unit of parallelism.
      *
      * Queries using this reservation might use more slots during runtime if
@@ -4656,7 +5066,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * baseline slots every few minutes.
      * 
* - * int64 slot_capacity = 2; + * int64 slot_capacity = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCapacity. */ @@ -4669,7 +5079,7 @@ public long getSlotCapacity() { * * *
-     * Baseline slots available to this reservation. A slot is a unit of
+     * Optional. Baseline slots available to this reservation. A slot is a unit of
      * computational power in BigQuery, and serves as the unit of parallelism.
      *
      * Queries using this reservation might use more slots during runtime if
@@ -4685,7 +5095,7 @@ public long getSlotCapacity() {
      * baseline slots every few minutes.
      * 
* - * int64 slot_capacity = 2; + * int64 slot_capacity = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The slotCapacity to set. * @return This builder for chaining. @@ -4702,7 +5112,7 @@ public Builder setSlotCapacity(long value) { * * *
-     * Baseline slots available to this reservation. A slot is a unit of
+     * Optional. Baseline slots available to this reservation. A slot is a unit of
      * computational power in BigQuery, and serves as the unit of parallelism.
      *
      * Queries using this reservation might use more slots during runtime if
@@ -4718,7 +5128,7 @@ public Builder setSlotCapacity(long value) {
      * baseline slots every few minutes.
      * 
* - * int64 slot_capacity = 2; + * int64 slot_capacity = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4735,13 +5145,13 @@ public Builder clearSlotCapacity() { * * *
-     * If false, any query or pipeline job using this reservation will use idle
-     * slots from other reservations within the same admin project. If true, a
-     * query or pipeline job using this reservation will execute with the slot
-     * capacity specified in the slot_capacity field at most.
+     * Optional. If false, any query or pipeline job using this reservation will
+     * use idle slots from other reservations within the same admin project. If
+     * true, a query or pipeline job using this reservation will execute with the
+     * slot capacity specified in the slot_capacity field at most.
      * 
* - * bool ignore_idle_slots = 4; + * bool ignore_idle_slots = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The ignoreIdleSlots. */ @@ -4754,13 +5164,13 @@ public boolean getIgnoreIdleSlots() { * * *
-     * If false, any query or pipeline job using this reservation will use idle
-     * slots from other reservations within the same admin project. If true, a
-     * query or pipeline job using this reservation will execute with the slot
-     * capacity specified in the slot_capacity field at most.
+     * Optional. If false, any query or pipeline job using this reservation will
+     * use idle slots from other reservations within the same admin project. If
+     * true, a query or pipeline job using this reservation will execute with the
+     * slot capacity specified in the slot_capacity field at most.
      * 
* - * bool ignore_idle_slots = 4; + * bool ignore_idle_slots = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The ignoreIdleSlots to set. * @return This builder for chaining. @@ -4777,13 +5187,13 @@ public Builder setIgnoreIdleSlots(boolean value) { * * *
-     * If false, any query or pipeline job using this reservation will use idle
-     * slots from other reservations within the same admin project. If true, a
-     * query or pipeline job using this reservation will execute with the slot
-     * capacity specified in the slot_capacity field at most.
+     * Optional. If false, any query or pipeline job using this reservation will
+     * use idle slots from other reservations within the same admin project. If
+     * true, a query or pipeline job using this reservation will execute with the
+     * slot capacity specified in the slot_capacity field at most.
      * 
* - * bool ignore_idle_slots = 4; + * bool ignore_idle_slots = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -4805,10 +5215,12 @@ public Builder clearIgnoreIdleSlots() { * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the autoscale field is set. */ @@ -4820,10 +5232,12 @@ public boolean hasAutoscale() { * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The autoscale. */ @@ -4841,10 +5255,12 @@ public com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale getAutosca * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAutoscale( com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale value) { @@ -4865,10 +5281,12 @@ public Builder setAutoscale( * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAutoscale( com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale.Builder builderForValue) { @@ -4886,10 +5304,12 @@ public Builder setAutoscale( * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeAutoscale( com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale value) { @@ -4917,10 +5337,12 @@ public Builder mergeAutoscale( * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAutoscale() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4937,10 +5359,12 @@ public Builder clearAutoscale() { * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale.Builder getAutoscaleBuilder() { @@ -4953,10 +5377,12 @@ public Builder clearAutoscale() { * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.reservation.v1.Reservation.AutoscaleOrBuilder getAutoscaleOrBuilder() { @@ -4973,10 +5399,12 @@ public Builder clearAutoscale() { * * *
-     * The configuration parameters for the auto scaling feature.
+     * Optional. The configuration parameters for the auto scaling feature.
      * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.bigquery.reservation.v1.Reservation.Autoscale, @@ -5001,17 +5429,16 @@ public Builder clearAutoscale() { * * *
-     * Job concurrency target which sets a soft upper bound on the number of jobs
-     * that can run concurrently in this reservation. This is a soft target due to
-     * asynchronous nature of the system and various optimizations for small
-     * queries.
-     * Default value is 0 which means that concurrency target will be
-     * automatically computed by the system.
-     * NOTE: this field is exposed as target job concurrency in the Information
-     * Schema, DDL and BigQuery CLI.
+     * Optional. Job concurrency target which sets a soft upper bound on the
+     * number of jobs that can run concurrently in this reservation. This is a
+     * soft target due to asynchronous nature of the system and various
+     * optimizations for small queries. Default value is 0 which means that
+     * concurrency target will be automatically computed by the system. NOTE: this
+     * field is exposed as target job concurrency in the Information Schema, DDL
+     * and BigQuery CLI.
      * 
* - * int64 concurrency = 16; + * int64 concurrency = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The concurrency. */ @@ -5024,17 +5451,16 @@ public long getConcurrency() { * * *
-     * Job concurrency target which sets a soft upper bound on the number of jobs
-     * that can run concurrently in this reservation. This is a soft target due to
-     * asynchronous nature of the system and various optimizations for small
-     * queries.
-     * Default value is 0 which means that concurrency target will be
-     * automatically computed by the system.
-     * NOTE: this field is exposed as target job concurrency in the Information
-     * Schema, DDL and BigQuery CLI.
+     * Optional. Job concurrency target which sets a soft upper bound on the
+     * number of jobs that can run concurrently in this reservation. This is a
+     * soft target due to asynchronous nature of the system and various
+     * optimizations for small queries. Default value is 0 which means that
+     * concurrency target will be automatically computed by the system. NOTE: this
+     * field is exposed as target job concurrency in the Information Schema, DDL
+     * and BigQuery CLI.
      * 
* - * int64 concurrency = 16; + * int64 concurrency = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The concurrency to set. * @return This builder for chaining. @@ -5051,17 +5477,16 @@ public Builder setConcurrency(long value) { * * *
-     * Job concurrency target which sets a soft upper bound on the number of jobs
-     * that can run concurrently in this reservation. This is a soft target due to
-     * asynchronous nature of the system and various optimizations for small
-     * queries.
-     * Default value is 0 which means that concurrency target will be
-     * automatically computed by the system.
-     * NOTE: this field is exposed as target job concurrency in the Information
-     * Schema, DDL and BigQuery CLI.
+     * Optional. Job concurrency target which sets a soft upper bound on the
+     * number of jobs that can run concurrently in this reservation. This is a
+     * soft target due to asynchronous nature of the system and various
+     * optimizations for small queries. Default value is 0 which means that
+     * concurrency target will be automatically computed by the system. NOTE: this
+     * field is exposed as target job concurrency in the Information Schema, DDL
+     * and BigQuery CLI.
      * 
* - * int64 concurrency = 16; + * int64 concurrency = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -5513,11 +5938,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * set this field. * * - * bool multi_region_auxiliary = 14; + * bool multi_region_auxiliary = 14 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.Reservation.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=677 * @return The multiRegionAuxiliary. */ @java.lang.Override + @java.lang.Deprecated public boolean getMultiRegionAuxiliary() { return multiRegionAuxiliary_; } @@ -5537,11 +5965,14 @@ public boolean getMultiRegionAuxiliary() { * set this field. * * - * bool multi_region_auxiliary = 14; + * bool multi_region_auxiliary = 14 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.Reservation.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=677 * @param value The multiRegionAuxiliary to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMultiRegionAuxiliary(boolean value) { multiRegionAuxiliary_ = value; @@ -5565,10 +5996,13 @@ public Builder setMultiRegionAuxiliary(boolean value) { * set this field. * * - * bool multi_region_auxiliary = 14; + * bool multi_region_auxiliary = 14 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.Reservation.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=677 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearMultiRegionAuxiliary() { bitField0_ = (bitField0_ & ~0x00000080); multiRegionAuxiliary_ = false; @@ -5582,10 +6016,12 @@ public Builder clearMultiRegionAuxiliary() { * * *
-     * Edition of the reservation.
+     * Optional. Edition of the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -5598,10 +6034,12 @@ public int getEditionValue() { * * *
-     * Edition of the reservation.
+     * Optional. Edition of the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The enum numeric value on the wire for edition to set. * @return This builder for chaining. @@ -5617,10 +6055,12 @@ public Builder setEditionValue(int value) { * * *
-     * Edition of the reservation.
+     * Optional. Edition of the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ @@ -5637,10 +6077,12 @@ public com.google.cloud.bigquery.reservation.v1.Edition getEdition() { * * *
-     * Edition of the reservation.
+     * Optional. Edition of the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @param value The edition to set. * @return This builder for chaining. @@ -5659,10 +6101,12 @@ public Builder setEdition(com.google.cloud.bigquery.reservation.v1.Edition value * * *
-     * Edition of the reservation.
+     * Optional. Edition of the reservation.
      * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return This builder for chaining. */ @@ -6092,10 +6536,13 @@ public Builder setOriginalPrimaryLocationBytes(com.google.protobuf.ByteString va * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -6112,12 +6559,14 @@ public Builder setOriginalPrimaryLocationBytes(com.google.protobuf.ByteString va * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -6147,10 +6596,13 @@ public boolean hasMaxSlots() { * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -6167,12 +6619,14 @@ public boolean hasMaxSlots() { * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -6202,10 +6656,13 @@ public long getMaxSlots() { * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -6222,12 +6679,14 @@ public long getMaxSlots() { * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -6261,10 +6720,13 @@ public Builder setMaxSlots(long value) { * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -6281,12 +6743,14 @@ public Builder setMaxSlots(long value) { * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -6311,7 +6775,8 @@ public Builder clearMaxSlots() { * *
      * Optional. The scaling mode for the reservation.
-     * If the field is present but max_slots is not present.
+     * If the field is present but max_slots is not present, requests will be
+     * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
      * 
* * @@ -6330,7 +6795,8 @@ public int getScalingModeValue() { * *
      * Optional. The scaling mode for the reservation.
-     * If the field is present but max_slots is not present.
+     * If the field is present but max_slots is not present, requests will be
+     * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
      * 
* * @@ -6352,7 +6818,8 @@ public Builder setScalingModeValue(int value) { * *
      * Optional. The scaling mode for the reservation.
-     * If the field is present but max_slots is not present.
+     * If the field is present but max_slots is not present, requests will be
+     * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
      * 
* * @@ -6375,7 +6842,8 @@ public com.google.cloud.bigquery.reservation.v1.Reservation.ScalingMode getScali * *
      * Optional. The scaling mode for the reservation.
-     * If the field is present but max_slots is not present.
+     * If the field is present but max_slots is not present, requests will be
+     * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
      * 
* * @@ -6401,7 +6869,8 @@ public Builder setScalingMode( * *
      * Optional. The scaling mode for the reservation.
-     * If the field is present but max_slots is not present.
+     * If the field is present but max_slots is not present, requests will be
+     * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
      * 
* * @@ -6417,46 +6886,368 @@ public Builder clearScalingMode() { return this; } - private com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus - replicationStatus_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus, - com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus.Builder, - com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusOrBuilder> - replicationStatusBuilder_; + 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_ |= 0x00004000; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } /** * * *
-     * Output only. The Disaster Recovery(DR) replication status of the
-     * reservation. This is only available for the primary replicas of DR/failover
-     * reservations and provides information about the both the staleness of the
-     * secondary and the last error encountered while trying to replicate changes
-     * from the primary to the secondary. If this field is blank, it means that
-     * the reservation is either not a DR reservation or the reservation is a DR
-     * secondary or that any replication operations on the reservation have
-     * succeeded.
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
      * 
* - * - * .google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus replication_status = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the replicationStatus field is set. + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public boolean hasReplicationStatus() { - return ((bitField0_ & 0x00004000) != 0); + @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(); } /** * * *
-     * Output only. The Disaster Recovery(DR) replication status of the
-     * reservation. This is only available for the primary replicas of DR/failover
-     * reservations and provides information about the both the staleness of the
-     * secondary and the last error encountered while trying to replicate changes
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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; + } + + /** + * + * + *
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @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_ & ~0x00004000); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00004000; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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_ |= 0x00004000; + return this; + } + + /** + * + * + *
+     * Optional. The labels associated with this reservation. You can use these
+     * to organize and group your reservations.
+     * You can set this property when you create or update a reservation.
+     * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00004000; + return this; + } + + private java.lang.Object reservationGroup_ = ""; + + /** + * + * + *
+     * Optional. The reservation group that this reservation belongs to.
+     * You can set this property when you create or update a reservation.
+     * Reservations do not need to belong to a reservation group.
+     * Format:
+     * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+     * or just {reservation_group}
+     * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The reservationGroup. + */ + public java.lang.String getReservationGroup() { + java.lang.Object ref = reservationGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The reservation group that this reservation belongs to.
+     * You can set this property when you create or update a reservation.
+     * Reservations do not need to belong to a reservation group.
+     * Format:
+     * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+     * or just {reservation_group}
+     * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for reservationGroup. + */ + public com.google.protobuf.ByteString getReservationGroupBytes() { + java.lang.Object ref = reservationGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The reservation group that this reservation belongs to.
+     * You can set this property when you create or update a reservation.
+     * Reservations do not need to belong to a reservation group.
+     * Format:
+     * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+     * or just {reservation_group}
+     * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The reservationGroup to set. + * @return This builder for chaining. + */ + public Builder setReservationGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + reservationGroup_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The reservation group that this reservation belongs to.
+     * You can set this property when you create or update a reservation.
+     * Reservations do not need to belong to a reservation group.
+     * Format:
+     * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+     * or just {reservation_group}
+     * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearReservationGroup() { + reservationGroup_ = getDefaultInstance().getReservationGroup(); + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The reservation group that this reservation belongs to.
+     * You can set this property when you create or update a reservation.
+     * Reservations do not need to belong to a reservation group.
+     * Format:
+     * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+     * or just {reservation_group}
+     * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for reservationGroup to set. + * @return This builder for chaining. + */ + public Builder setReservationGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reservationGroup_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + + private com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus + replicationStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus, + com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus.Builder, + com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusOrBuilder> + replicationStatusBuilder_; + + /** + * + * + *
+     * Output only. The Disaster Recovery(DR) replication status of the
+     * reservation. This is only available for the primary replicas of DR/failover
+     * reservations and provides information about the both the staleness of the
+     * secondary and the last error encountered while trying to replicate changes
+     * from the primary to the secondary. If this field is blank, it means that
+     * the reservation is either not a DR reservation or the reservation is a DR
+     * secondary or that any replication operations on the reservation have
+     * succeeded.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus replication_status = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the replicationStatus field is set. + */ + public boolean hasReplicationStatus() { + return ((bitField0_ & 0x00010000) != 0); + } + + /** + * + * + *
+     * Output only. The Disaster Recovery(DR) replication status of the
+     * reservation. This is only available for the primary replicas of DR/failover
+     * reservations and provides information about the both the staleness of the
+     * secondary and the last error encountered while trying to replicate changes
      * from the primary to the secondary. If this field is blank, it means that
      * the reservation is either not a DR reservation or the reservation is a DR
      * secondary or that any replication operations on the reservation have
@@ -6509,7 +7300,7 @@ public Builder setReplicationStatus(
       } else {
         replicationStatusBuilder_.setMessage(value);
       }
-      bitField0_ |= 0x00004000;
+      bitField0_ |= 0x00010000;
       onChanged();
       return this;
     }
@@ -6540,7 +7331,7 @@ public Builder setReplicationStatus(
       } else {
         replicationStatusBuilder_.setMessage(builderForValue.build());
       }
-      bitField0_ |= 0x00004000;
+      bitField0_ |= 0x00010000;
       onChanged();
       return this;
     }
@@ -6566,7 +7357,7 @@ public Builder setReplicationStatus(
     public Builder mergeReplicationStatus(
         com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus value) {
       if (replicationStatusBuilder_ == null) {
-        if (((bitField0_ & 0x00004000) != 0)
+        if (((bitField0_ & 0x00010000) != 0)
             && replicationStatus_ != null
             && replicationStatus_
                 != com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus
@@ -6579,7 +7370,7 @@ public Builder mergeReplicationStatus(
         replicationStatusBuilder_.mergeFrom(value);
       }
       if (replicationStatus_ != null) {
-        bitField0_ |= 0x00004000;
+        bitField0_ |= 0x00010000;
         onChanged();
       }
       return this;
@@ -6604,7 +7395,7 @@ public Builder mergeReplicationStatus(
      * 
      */
     public Builder clearReplicationStatus() {
-      bitField0_ = (bitField0_ & ~0x00004000);
+      bitField0_ = (bitField0_ & ~0x00010000);
       replicationStatus_ = null;
       if (replicationStatusBuilder_ != null) {
         replicationStatusBuilder_.dispose();
@@ -6634,7 +7425,7 @@ public Builder clearReplicationStatus() {
      */
     public com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus.Builder
         getReplicationStatusBuilder() {
-      bitField0_ |= 0x00004000;
+      bitField0_ |= 0x00010000;
       onChanged();
       return getReplicationStatusFieldBuilder().getBuilder();
     }
@@ -6704,6 +7495,260 @@ public Builder clearReplicationStatus() {
       return replicationStatusBuilder_;
     }
 
+    private com.google.cloud.bigquery.reservation.v1.SchedulingPolicy schedulingPolicy_;
+    private com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.reservation.v1.SchedulingPolicy,
+            com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder,
+            com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder>
+        schedulingPolicyBuilder_;
+
+    /**
+     *
+     *
+     * 
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + public boolean hasSchedulingPolicy() { + return ((bitField0_ & 0x00020000) != 0); + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy() { + if (schedulingPolicyBuilder_ == null) { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } else { + return schedulingPolicyBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy value) { + if (schedulingPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + schedulingPolicy_ = value; + } else { + schedulingPolicyBuilder_.setMessage(value); + } + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder builderForValue) { + if (schedulingPolicyBuilder_ == null) { + schedulingPolicy_ = builderForValue.build(); + } else { + schedulingPolicyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeSchedulingPolicy( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy value) { + if (schedulingPolicyBuilder_ == null) { + if (((bitField0_ & 0x00020000) != 0) + && schedulingPolicy_ != null + && schedulingPolicy_ + != com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance()) { + getSchedulingPolicyBuilder().mergeFrom(value); + } else { + schedulingPolicy_ = value; + } + } else { + schedulingPolicyBuilder_.mergeFrom(value); + } + if (schedulingPolicy_ != null) { + bitField0_ |= 0x00020000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearSchedulingPolicy() { + bitField0_ = (bitField0_ & ~0x00020000); + schedulingPolicy_ = null; + if (schedulingPolicyBuilder_ != null) { + schedulingPolicyBuilder_.dispose(); + schedulingPolicyBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder + getSchedulingPolicyBuilder() { + bitField0_ |= 0x00020000; + onChanged(); + return getSchedulingPolicyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder + getSchedulingPolicyOrBuilder() { + if (schedulingPolicyBuilder_ != null) { + return schedulingPolicyBuilder_.getMessageOrBuilder(); + } else { + return schedulingPolicy_ == null + ? com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance() + : schedulingPolicy_; + } + } + + /** + * + * + *
+     * Optional. The scheduling policy to use for jobs and queries running under
+     * this reservation. The scheduling policy controls how the reservation's
+     * resources are distributed.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder> + getSchedulingPolicyFieldBuilder() { + if (schedulingPolicyBuilder_ == null) { + schedulingPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder>( + getSchedulingPolicy(), getParentForChildren(), isClean()); + schedulingPolicy_ = null; + } + return schedulingPolicyBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroup.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroup.java new file mode 100644 index 000000000000..0957a98b0cea --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroup.java @@ -0,0 +1,663 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * A reservation group is a container for reservations.
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ReservationGroup} + */ +public final class ReservationGroup extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.ReservationGroup) + ReservationGroupOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ReservationGroup.newBuilder() to construct. + private ReservationGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReservationGroup() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReservationGroup(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.class, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Identifier. The resource name of the reservation group, e.g.,
+   * `projects/*/locations/*/reservationGroups/team1-prod`.
+   * The reservation_group_id must only contain lower case alphanumeric
+   * characters or dashes. It must start with a letter and must not end with a
+   * dash. Its maximum length is 64 characters.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Identifier. The resource name of the reservation group, e.g.,
+   * `projects/*/locations/*/reservationGroups/team1-prod`.
+   * The reservation_group_id must only contain lower case alphanumeric
+   * characters or dashes. It must start with a letter and must not end with a
+   * dash. Its maximum length is 64 characters.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + 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.bigquery.reservation.v1.ReservationGroup)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.ReservationGroup other = + (com.google.cloud.bigquery.reservation.v1.ReservationGroup) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup 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.bigquery.reservation.v1.ReservationGroup parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup 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.bigquery.reservation.v1.ReservationGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup 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.bigquery.reservation.v1.ReservationGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup 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.bigquery.reservation.v1.ReservationGroup parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup 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.bigquery.reservation.v1.ReservationGroup 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 reservation group is a container for reservations.
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.ReservationGroup} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.ReservationGroup) + com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.ReservationGroup.class, + com.google.cloud.bigquery.reservation.v1.ReservationGroup.Builder.class); + } + + // Construct using com.google.cloud.bigquery.reservation.v1.ReservationGroup.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroup getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroup build() { + com.google.cloud.bigquery.reservation.v1.ReservationGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.ReservationGroup buildPartial() { + com.google.cloud.bigquery.reservation.v1.ReservationGroup result = + new com.google.cloud.bigquery.reservation.v1.ReservationGroup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.bigquery.reservation.v1.ReservationGroup result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @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.bigquery.reservation.v1.ReservationGroup) { + return mergeFrom((com.google.cloud.bigquery.reservation.v1.ReservationGroup) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.bigquery.reservation.v1.ReservationGroup other) { + if (other == com.google.cloud.bigquery.reservation.v1.ReservationGroup.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + 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: + { + name_ = 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 name_ = ""; + + /** + * + * + *
+     * Identifier. The resource name of the reservation group, e.g.,
+     * `projects/*/locations/*/reservationGroups/team1-prod`.
+     * The reservation_group_id must only contain lower case alphanumeric
+     * characters or dashes. It must start with a letter and must not end with a
+     * dash. Its maximum length is 64 characters.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Identifier. The resource name of the reservation group, e.g.,
+     * `projects/*/locations/*/reservationGroups/team1-prod`.
+     * The reservation_group_id must only contain lower case alphanumeric
+     * characters or dashes. It must start with a letter and must not end with a
+     * dash. Its maximum length is 64 characters.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Identifier. The resource name of the reservation group, e.g.,
+     * `projects/*/locations/*/reservationGroups/team1-prod`.
+     * The reservation_group_id must only contain lower case alphanumeric
+     * characters or dashes. It must start with a letter and must not end with a
+     * dash. Its maximum length is 64 characters.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. The resource name of the reservation group, e.g.,
+     * `projects/*/locations/*/reservationGroups/team1-prod`.
+     * The reservation_group_id must only contain lower case alphanumeric
+     * characters or dashes. It must start with a letter and must not end with a
+     * dash. Its maximum length is 64 characters.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. The resource name of the reservation group, e.g.,
+     * `projects/*/locations/*/reservationGroups/team1-prod`.
+     * The reservation_group_id must only contain lower case alphanumeric
+     * characters or dashes. It must start with a letter and must not end with a
+     * dash. Its maximum length is 64 characters.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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.bigquery.reservation.v1.ReservationGroup) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.ReservationGroup) + private static final com.google.cloud.bigquery.reservation.v1.ReservationGroup DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.ReservationGroup(); + } + + public static com.google.cloud.bigquery.reservation.v1.ReservationGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationGroup 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.bigquery.reservation.v1.ReservationGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupName.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupName.java new file mode 100644 index 000000000000..3aa1b2d16a6b --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupName.java @@ -0,0 +1,227 @@ +/* + * 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.cloud.bigquery.reservation.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class ReservationGroupName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_RESERVATION_GROUP = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/reservationGroups/{reservation_group}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String reservationGroup; + + @Deprecated + protected ReservationGroupName() { + project = null; + location = null; + reservationGroup = null; + } + + private ReservationGroupName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + reservationGroup = Preconditions.checkNotNull(builder.getReservationGroup()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getReservationGroup() { + return reservationGroup; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static ReservationGroupName of(String project, String location, String reservationGroup) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setReservationGroup(reservationGroup) + .build(); + } + + public static String format(String project, String location, String reservationGroup) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setReservationGroup(reservationGroup) + .build() + .toString(); + } + + public static ReservationGroupName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_RESERVATION_GROUP.validatedMatch( + formattedString, "ReservationGroupName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("reservation_group")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (ReservationGroupName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_RESERVATION_GROUP.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (reservationGroup != null) { + fieldMapBuilder.put("reservation_group", reservationGroup); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_RESERVATION_GROUP.instantiate( + "project", project, "location", location, "reservation_group", reservationGroup); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + ReservationGroupName that = ((ReservationGroupName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.reservationGroup, that.reservationGroup); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(reservationGroup); + return h; + } + + /** Builder for projects/{project}/locations/{location}/reservationGroups/{reservation_group}. */ + public static class Builder { + private String project; + private String location; + private String reservationGroup; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getReservationGroup() { + return reservationGroup; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setReservationGroup(String reservationGroup) { + this.reservationGroup = reservationGroup; + return this; + } + + private Builder(ReservationGroupName reservationGroupName) { + this.project = reservationGroupName.project; + this.location = reservationGroupName.location; + this.reservationGroup = reservationGroupName.reservationGroup; + } + + public ReservationGroupName build() { + return new ReservationGroupName(this); + } + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupOrBuilder.java new file mode 100644 index 000000000000..42c74682c273 --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationGroupOrBuilder.java @@ -0,0 +1,60 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface ReservationGroupOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.ReservationGroup) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Identifier. The resource name of the reservation group, e.g.,
+   * `projects/*/locations/*/reservationGroups/team1-prod`.
+   * The reservation_group_id must only contain lower case alphanumeric
+   * characters or dashes. It must start with a letter and must not end with a
+   * dash. Its maximum length is 64 characters.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Identifier. The resource name of the reservation group, e.g.,
+   * `projects/*/locations/*/reservationGroups/team1-prod`.
+   * The reservation_group_id must only contain lower case alphanumeric
+   * characters or dashes. It must start with a letter and must not end with a
+   * dash. Its maximum length is 64 characters.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationOrBuilder.java index 76f7075ee9b8..ae1894d63ac6 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationOrBuilder.java @@ -28,14 +28,14 @@ public interface ReservationOrBuilder * * *
-   * The resource name of the reservation, e.g.,
+   * Identifier. The resource name of the reservation, e.g.,
    * `projects/*/locations/*/reservations/team1-prod`.
    * The reservation_id must only contain lower case alphanumeric characters or
    * dashes. It must start with a letter and must not end with a dash. Its
    * maximum length is 64 characters.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -45,14 +45,14 @@ public interface ReservationOrBuilder * * *
-   * The resource name of the reservation, e.g.,
+   * Identifier. The resource name of the reservation, e.g.,
    * `projects/*/locations/*/reservations/team1-prod`.
    * The reservation_id must only contain lower case alphanumeric characters or
    * dashes. It must start with a letter and must not end with a dash. Its
    * maximum length is 64 characters.
    * 
* - * string name = 1; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -62,7 +62,7 @@ public interface ReservationOrBuilder * * *
-   * Baseline slots available to this reservation. A slot is a unit of
+   * Optional. Baseline slots available to this reservation. A slot is a unit of
    * computational power in BigQuery, and serves as the unit of parallelism.
    *
    * Queries using this reservation might use more slots during runtime if
@@ -78,7 +78,7 @@ public interface ReservationOrBuilder
    * baseline slots every few minutes.
    * 
* - * int64 slot_capacity = 2; + * int64 slot_capacity = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The slotCapacity. */ @@ -88,13 +88,13 @@ public interface ReservationOrBuilder * * *
-   * If false, any query or pipeline job using this reservation will use idle
-   * slots from other reservations within the same admin project. If true, a
-   * query or pipeline job using this reservation will execute with the slot
-   * capacity specified in the slot_capacity field at most.
+   * Optional. If false, any query or pipeline job using this reservation will
+   * use idle slots from other reservations within the same admin project. If
+   * true, a query or pipeline job using this reservation will execute with the
+   * slot capacity specified in the slot_capacity field at most.
    * 
* - * bool ignore_idle_slots = 4; + * bool ignore_idle_slots = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The ignoreIdleSlots. */ @@ -104,10 +104,12 @@ public interface ReservationOrBuilder * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the autoscale field is set. */ @@ -117,10 +119,12 @@ public interface ReservationOrBuilder * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The autoscale. */ @@ -130,10 +134,12 @@ public interface ReservationOrBuilder * * *
-   * The configuration parameters for the auto scaling feature.
+   * Optional. The configuration parameters for the auto scaling feature.
    * 
* - * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7; + * + * .google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.bigquery.reservation.v1.Reservation.AutoscaleOrBuilder getAutoscaleOrBuilder(); @@ -141,17 +147,16 @@ public interface ReservationOrBuilder * * *
-   * Job concurrency target which sets a soft upper bound on the number of jobs
-   * that can run concurrently in this reservation. This is a soft target due to
-   * asynchronous nature of the system and various optimizations for small
-   * queries.
-   * Default value is 0 which means that concurrency target will be
-   * automatically computed by the system.
-   * NOTE: this field is exposed as target job concurrency in the Information
-   * Schema, DDL and BigQuery CLI.
+   * Optional. Job concurrency target which sets a soft upper bound on the
+   * number of jobs that can run concurrently in this reservation. This is a
+   * soft target due to asynchronous nature of the system and various
+   * optimizations for small queries. Default value is 0 which means that
+   * concurrency target will be automatically computed by the system. NOTE: this
+   * field is exposed as target job concurrency in the Information Schema, DDL
+   * and BigQuery CLI.
    * 
* - * int64 concurrency = 16; + * int64 concurrency = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The concurrency. */ @@ -255,20 +260,25 @@ public interface ReservationOrBuilder * set this field. *
* - * bool multi_region_auxiliary = 14; + * bool multi_region_auxiliary = 14 [deprecated = true]; * + * @deprecated google.cloud.bigquery.reservation.v1.Reservation.multi_region_auxiliary is + * deprecated. See google/cloud/bigquery/reservation/v1/reservation.proto;l=677 * @return The multiRegionAuxiliary. */ + @java.lang.Deprecated boolean getMultiRegionAuxiliary(); /** * * *
-   * Edition of the reservation.
+   * Optional. Edition of the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The enum numeric value on the wire for edition. */ @@ -278,10 +288,12 @@ public interface ReservationOrBuilder * * *
-   * Edition of the reservation.
+   * Optional. Edition of the reservation.
    * 
* - * .google.cloud.bigquery.reservation.v1.Edition edition = 17; + * + * .google.cloud.bigquery.reservation.v1.Edition edition = 17 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The edition. */ @@ -407,10 +419,13 @@ public interface ReservationOrBuilder * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -427,12 +442,14 @@ public interface ReservationOrBuilder * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -459,10 +476,13 @@ public interface ReservationOrBuilder * will never exceed the max_slots - baseline. * * - * This field must be set together with the scaling_mode enum value. + * This field must be set together with the scaling_mode enum value, + * otherwise the request will be rejected with error code + * `google.rpc.Code.INVALID_ARGUMENT`. * * If the max_slots and scaling_mode are set, the autoscale or - * autoscale.max_slots field must be unset. However, the + * autoscale.max_slots field must be unset. Otherwise the request will be + * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the * autoscale field may still be in the output. The autopscale.max_slots will * always show as 0 and the autoscaler.current_slots will represent the * current slots from autoscaler excluding idle slots. @@ -479,12 +499,14 @@ public interface ReservationOrBuilder * * If the max_slots and scaling_mode are set, then the ignore_idle_slots field * must be aligned with the scaling_mode enum value.(See details in - * ScalingMode comments). + * ScalingMode comments). Otherwise the request will be rejected with + * error code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note, the max_slots is for user to manage the part of slots greater * than the baseline. Therefore, we don't allow users to set max_slots smaller * or equal to the baseline as it will not be meaningful. If the field is - * present and slot_capacity>=max_slots. + * present and slot_capacity>=max_slots, requests will be rejected with error + * code `google.rpc.Code.INVALID_ARGUMENT`. * * Please note that if max_slots is set to 0, we will treat it as unset. * Customers can set max_slots to 0 and set scaling_mode to @@ -502,7 +524,8 @@ public interface ReservationOrBuilder * *
    * Optional. The scaling mode for the reservation.
-   * If the field is present but max_slots is not present.
+   * If the field is present but max_slots is not present, requests will be
+   * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
    * 
* * @@ -518,7 +541,8 @@ public interface ReservationOrBuilder * *
    * Optional. The scaling mode for the reservation.
-   * If the field is present but max_slots is not present.
+   * If the field is present but max_slots is not present, requests will be
+   * rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
    * 
* * @@ -529,6 +553,115 @@ public interface ReservationOrBuilder */ com.google.cloud.bigquery.reservation.v1.Reservation.ScalingMode getScalingMode(); + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * Optional. The labels associated with this reservation. You can use these
+   * to organize and group your reservations.
+   * You can set this property when you create or update a reservation.
+   * 
+ * + * map<string, string> labels = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Optional. The reservation group that this reservation belongs to.
+   * You can set this property when you create or update a reservation.
+   * Reservations do not need to belong to a reservation group.
+   * Format:
+   * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+   * or just {reservation_group}
+   * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The reservationGroup. + */ + java.lang.String getReservationGroup(); + + /** + * + * + *
+   * Optional. The reservation group that this reservation belongs to.
+   * You can set this property when you create or update a reservation.
+   * Reservations do not need to belong to a reservation group.
+   * Format:
+   * projects/{project}/locations/{location}/reservationGroups/{reservation_group}
+   * or just {reservation_group}
+   * 
+ * + * string reservation_group = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for reservationGroup. + */ + com.google.protobuf.ByteString getReservationGroupBytes(); + /** * * @@ -593,4 +726,59 @@ public interface ReservationOrBuilder */ com.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusOrBuilder getReplicationStatusOrBuilder(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the schedulingPolicy field is set. + */ + boolean hasSchedulingPolicy(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The schedulingPolicy. + */ + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getSchedulingPolicy(); + + /** + * + * + *
+   * Optional. The scheduling policy to use for jobs and queries running under
+   * this reservation. The scheduling policy controls how the reservation's
+   * resources are distributed.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * + * .google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder getSchedulingPolicyOrBuilder(); } diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java index 6f77e7e192c3..6f75192fa62d 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java @@ -40,6 +40,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_bigquery_reservation_v1_Reservation_ReplicationStatus_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_reservation_v1_Reservation_ReplicationStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_Reservation_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_Reservation_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_bigquery_reservation_v1_CapacityCommitment_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -72,6 +84,26 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_bigquery_reservation_v1_FailoverReservationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_reservation_v1_FailoverReservationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_bigquery_reservation_v1_CreateCapacityCommitmentRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -181,20 +213,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "6google/cloud/bigquery/reservation/v1/reservation.proto\022$google.cloud.bigquery." + "reservation.v1\032\034google/api/annotations.p" + "roto\032\027google/api/client.proto\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resource.proto\032\033google/protobuf/empty.proto\032" - + " google/protobuf/field_mask.proto\032\037google" - + "/protobuf/timestamp.proto\032\027google/rpc/status.proto\"\332\n\n" - + "\013Reservation\022\014\n" - + "\004name\030\001 \001(\t\022\025\n\r" - + "slot_capacity\030\002 \001(\003\022\031\n" - + "\021ignore_idle_slots\030\004 \001(\010\022N\n" - + "\tautoscale\030\007 \001(\0132;.google.c" - + "loud.bigquery.reservation.v1.Reservation.Autoscale\022\023\n" - + "\013concurrency\030\020 \001(\003\0226\n\r" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\032\036google/iam/v1/iam_policy.prot" + + "o\032\032google/iam/v1/policy.proto\032\033google/protobuf/empty.proto\032" + + " google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp.proto\032\027google/rpc/status.proto\"\374\014\n" + + "\013Reservation\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\032\n\r" + + "slot_capacity\030\002 \001(\003B\003\340A\001\022\036\n" + + "\021ignore_idle_slots\030\004 \001(\010B\003\340A\001\022S\n" + + "\tautoscale\030\007 \001(\0132;.google.cloud." + + "bigquery.reservation.v1.Reservation.AutoscaleB\003\340A\001\022\030\n" + + "\013concurrency\030\020 \001(\003B\003\340A\001\0226\n\r" + "creation_time\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\036\n" - + "\026multi_region_auxiliary\030\016 \001(\010\022>\n" - + "\007edition\030\021 \001(\0162-.google.cloud.bigquery.reservation.v1.Edition\022C\n" + + "\013update_time\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\"\n" + + "\026multi_region_auxiliary\030\016 \001(\010B\002\030\001\022C\n" + + "\007edition\030\021 \001(\0162" + + "-.google.cloud.bigquery.reservation.v1.EditionB\003\340A\001\022C\n" + "\020primary_location\030\022 \001(\tB)\340A\003\372A#\n" + "!locations.googleapis.com/Location\022E\n" + "\022secondary_location\030\023 \001(\tB)\340A\001\372A#\n" @@ -202,13 +237,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031original_primary_location\030\024 \001(\tB)\340A\003\372A#\n" + "!locations.googleapis.com/Location\022\033\n" + "\tmax_slots\030\025 \001(\003B\003\340A\001H\000\210\001\001\022X\n" - + "\014scaling_mode\030\026 \001(\0162=.google.clou" - + "d.bigquery.reservation.v1.Reservation.ScalingModeB\003\340A\001\022d\n" - + "\022replication_status\030\030 \001" - + "(\0132C.google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatusB\003\340A\003\032:\n" + + "\014scaling_mode\030\026 \001(\016" + + "2=.google.cloud.bigquery.reservation.v1.Reservation.ScalingModeB\003\340A\001\022R\n" + + "\006labels\030\027" + + " \003(\0132=.google.cloud.bigquery.reservation.v1.Reservation.LabelsEntryB\003\340A\001\022\036\n" + + "\021reservation_group\030\031 \001(\tB\003\340A\001\022d\n" + + "\022replication_status\030\030 \001(\0132C.google.cloud.bigquery.res" + + "ervation.v1.Reservation.ReplicationStatusB\003\340A\003\022V\n" + + "\021scheduling_policy\030\033 \001(\01326.goog" + + "le.cloud.bigquery.reservation.v1.SchedulingPolicyB\003\340A\001\032?\n" + "\tAutoscale\022\032\n\r" - + "current_slots\030\001 \001(\003B\003\340A\003\022\021\n" - + "\tmax_slots\030\002 \001(\003\032\370\001\n" + + "current_slots\030\001 \001(\003B\003\340A\003\022\026\n" + + "\tmax_slots\030\002 \001(\003B\003\340A\001\032\370\001\n" + "\021ReplicationStatus\022&\n" + "\005error\030\001 \001(\0132\022.google.rpc.StatusB\003\340A\003\0228\n" + "\017last_error_time\030\002" @@ -216,32 +256,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025last_replication_time\030\003" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022A\n" + "\030soft_failover_start_time\030\004" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"c\n" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + + "\005value\030\002 \001(\t:\0028\001\"c\n" + "\013ScalingMode\022\034\n" + "\030SCALING_MODE_UNSPECIFIED\020\000\022\022\n" + "\016AUTOSCALE_ONLY\020\001\022\023\n" + "\017IDLE_SLOTS_ONLY\020\002\022\r\n" + "\tALL_SLOTS\020\003:w\352At\n" - + ".bigqueryreservation.googleapis.com/Reservation\022Bprojects/{project" - + "}/locations/{location}/reservations/{reservation}B\014\n\n" - + "_max_slots\"\222\010\n" + + ".bigqueryreservation.googleapis.com/Reservation\022Bprojects/{project}/location" + + "s/{location}/reservations/{reservation}B\014\n\n" + + "_max_slots\"l\n" + + "\020SchedulingPolicy\022\035\n" + + "\013concurrency\030\001 \001(\003B\003\340A\001H\000\210\001\001\022\033\n" + + "\tmax_slots\030\002 \001(\003B\003\340A\001H\001\210\001\001B\016\n" + + "\014_concurrencyB\014\n\n" + + "_max_slots\"\325\001\n" + + "\020ReservationGroup\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010:\255\001\352A\251\001\n" + + "3bigqueryreservation.googleapis.com/ReservationGroup\022Mprojects/{proje" + + "ct}/locations/{location}/reservationGrou" + + "ps/{reservation_group}*\021reservationGroups2\020reservationGroup\"\252\010\n" + "\022CapacityCommitment\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\022\n\n" - + "slot_count\030\002 \001(\003\022U\n" - + "\004plan\030\003 \001(\0162G.google.cloud.bigqu" - + "ery.reservation.v1.CapacityCommitment.CommitmentPlan\022R\n" - + "\005state\030\004 \001(\0162>.google.clo" - + "ud.bigquery.reservation.v1.CapacityCommitment.StateB\003\340A\003\022>\n" + + "\004name\030\001 \001(\tB\003\340A\003\022\027\n\n" + + "slot_count\030\002 \001(\003B\003\340A\001\022Z\n" + + "\004plan\030\003 \001(\0162G.google.cloud.bigq" + + "uery.reservation.v1.CapacityCommitment.CommitmentPlanB\003\340A\001\022R\n" + + "\005state\030\004 \001(\0162>.goog" + + "le.cloud.bigquery.reservation.v1.CapacityCommitment.StateB\003\340A\003\022>\n" + "\025commitment_start_time\030\t" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022<\n" + "\023commitment_end_time\030\005" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022/\n" - + "\016failure_status\030\007 \001(\0132\022.google.rpc.StatusB\003\340A\003\022]\n" - + "\014renewal_plan\030\010 \001(\0162G.google.cloud.bigquery.re" - + "servation.v1.CapacityCommitment.CommitmentPlan\022\036\n" + + "\016failure_status\030\007 \001(\0132\022.google.rpc.StatusB\003\340A\003\022b\n" + + "\014renewal_plan\030\010 \001(\0162G.google.cloud.bigqu" + + "ery.reservation.v1.CapacityCommitment.CommitmentPlanB\003\340A\001\022\"\n" + "\026multi_region_auxiliary\030\n" - + " \001(\010\022>\n" - + "\007edition\030\014 \001(\0162-.google.cloud.bigquery.reservation.v1.Edition\022\031\n" + + " \001(\010B\002\030\001\022C\n" + + "\007edition\030\014 \001(\0162-.google." + + "cloud.bigquery.reservation.v1.EditionB\003\340A\001\022\031\n" + "\014is_flat_rate\030\016 \001(\010B\003\340A\003\"\312\001\n" + "\016CommitmentPlan\022\037\n" + "\033COMMITMENT_PLAN_UNSPECIFIED\020\000\022\010\n" @@ -260,22 +315,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007PENDING\020\001\022\n\n" + "\006ACTIVE\020\002\022\n\n" + "\006FAILED\020\003:\216\001\352A\212\001\n" - + "5bigqueryreservation.googleapis.com/CapacityCommitment\022Qprojects/{pro" - + "ject}/locations/{location}/capacityCommitments/{capacity_commitment}\"\302\001\n" + + "5bigqueryreservation.googleapis.com/CapacityCommi" + + "tment\022Qprojects/{project}/locations/{loc" + + "ation}/capacityCommitments/{capacity_commitment}\"\302\001\n" + "\030CreateReservationRequest\022F\n" - + "\006parent\030\001 \001(\tB6\340A\002\372A" - + "0\022.bigqueryreservation.googleapis.com/Reservation\022\026\n" + + "\006parent\030\001 \001(" + + "\tB6\340A\002\372A0\022.bigqueryreservation.googleapis.com/Reservation\022\026\n" + "\016reservation_id\030\002 \001(\t\022F\n" - + "\013reservation\030\003" - + " \001(\01321.google.cloud.bigquery.reservation.v1.Reservation\"\210\001\n" + + "\013reservation\030\003 \001(\01321.goo" + + "gle.cloud.bigquery.reservation.v1.Reservation\"\210\001\n" + "\027ListReservationsRequest\022F\n" - + "\006parent\030\001 \001(\tB6\340A\002\372A0\022.b" - + "igqueryreservation.googleapis.com/Reservation\022\021\n" + + "\006parent\030\001 \001(" + + "\tB6\340A\002\372A0\022.bigqueryreservation.googleapis.com/Reservation\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"|\n" + "\030ListReservationsResponse\022G\n" - + "\014reservations\030\001" - + " \003(\01321.google.cloud.bigquery.reservation.v1.Reservation\022\027\n" + + "\014reservations\030\001 \003(\01321.goo" + + "gle.cloud.bigquery.reservation.v1.Reservation\022\027\n" + "\017next_page_token\030\002 \001(\t\"]\n" + "\025GetReservationRequest\022D\n" + "\004name\030\001 \001(\tB6\340A\002\372A0\n" @@ -284,29 +340,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB6\340A\002\372A0\n" + ".bigqueryreservation.googleapis.com/Reservation\"\223\001\n" + "\030UpdateReservationRequest\022F\n" - + "\013reservation\030\001" - + " \001(\01321.google.cloud.bigquery.reservation.v1.Reservation\022/\n" + + "\013reservation\030\001 \001(\01321.goog" + + "le.cloud.bigquery.reservation.v1.Reservation\022/\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\262\001\n" + "\032FailoverReservationRequest\022D\n" + "\004name\030\001 \001(\tB6\340A\002\372A0\n" + ".bigqueryreservation.googleapis.com/Reservation\022N\n\r" - + "failover_mode\030\002 \001(\01622." - + "google.cloud.bigquery.reservation.v1.FailoverModeB\003\340A\001\"\225\002\n" + + "failover_mode\030\002" + + " \001(\01622.google.cloud.bigquery.reservation.v1.FailoverModeB\003\340A\001\"\347\001\n" + + "\035CreateReservationGroupRequest\022K\n" + + "\006parent\030\001 \001(" + + "\tB;\340A\002\372A5\0223bigqueryreservation.googleapis.com/ReservationGroup\022!\n" + + "\024reservation_group_id\030\002 \001(\tB\003\340A\002\022V\n" + + "\021reservation_group\030\003" + + " \001(\01326.google.cloud.bigquery.reservation.v1.ReservationGroupB\003\340A\002\"g\n" + + "\032GetReservationGroupRequest\022I\n" + + "\004name\030\001 \001(\tB;\340A\002\372A5\n" + + "3bigqueryreservation.googleapis.com/ReservationGroup\"\222\001\n" + + "\034ListReservationGroupsRequest\022K\n" + + "\006parent\030\001 \001(\tB;\340A\002\372A5\0223bigquery" + + "reservation.googleapis.com/ReservationGroup\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\214\001\n" + + "\035ListReservationGroupsResponse\022R\n" + + "\022reservation_groups\030\001 \003(\01326.google.cloud." + + "bigquery.reservation.v1.ReservationGroup\022\027\n" + + "\017next_page_token\030\002 \001(\t\"j\n" + + "\035DeleteReservationGroupRequest\022I\n" + + "\004name\030\001 \001(\tB;\340A\002\372A5\n" + + "3bigqueryreservation.googleapis.com/ReservationGroup\"\225\002\n" + "\037CreateCapacityCommitmentRequest\022M\n" - + "\006parent\030\001 \001(\tB=\340A\002\372A7\0225bigq" - + "ueryreservation.googleapis.com/CapacityCommitment\022U\n" - + "\023capacity_commitment\030\002 \001(\01328" - + ".google.cloud.bigquery.reservation.v1.CapacityCommitment\022,\n" + + "\006parent\030\001 \001(\tB=\340A\002\372A7\0225bigqu" + + "eryreservation.googleapis.com/CapacityCommitment\022U\n" + + "\023capacity_commitment\030\002 \001(\01328." + + "google.cloud.bigquery.reservation.v1.CapacityCommitment\022,\n" + "$enforce_single_admin_project_per_org\030\004 \001(\010\022\036\n" + "\026capacity_commitment_id\030\005 \001(\t\"\226\001\n" + "\036ListCapacityCommitmentsRequest\022M\n" - + "\006parent\030\001 \001(\tB=\340A\002\372A7\0225bigqu" - + "eryreservation.googleapis.com/CapacityCommitment\022\021\n" + + "\006parent\030\001 \001(\tB=\340A\002\372A7\0225bigque" + + "ryreservation.googleapis.com/CapacityCommitment\022\021\n" + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"\222\001\n" + "\037ListCapacityCommitmentsResponse\022V\n" - + "\024capacity_commitments\030\001 \003(\01328.goog" - + "le.cloud.bigquery.reservation.v1.CapacityCommitment\022\027\n" + + "\024capacity_commitments\030\001 \003(\01328.googl" + + "e.cloud.bigquery.reservation.v1.CapacityCommitment\022\027\n" + "\017next_page_token\030\002 \001(\t\"k\n" + "\034GetCapacityCommitmentRequest\022K\n" + "\004name\030\001 \001(\tB=\340A\002\372A7\n" @@ -324,36 +401,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "5bigqueryreservation.googleapis.com/CapacityCommitment\022\022\n\n" + "slot_count\030\002 \001(\003\"\264\001\n" + "\037SplitCapacityCommitmentResponse\022G\n" - + "\005first\030\001 \001(\01328.google.clo" - + "ud.bigquery.reservation.v1.CapacityCommitment\022H\n" - + "\006second\030\002 \001(\01328.google.cloud.big" - + "query.reservation.v1.CapacityCommitment\"\216\001\n" + + "\005first\030\001 \001(\01328.google.clou" + + "d.bigquery.reservation.v1.CapacityCommitment\022H\n" + + "\006second\030\002 \001(\01328.google.cloud.bigq" + + "uery.reservation.v1.CapacityCommitment\"\263\001\n" + "\037MergeCapacityCommitmentsRequest\022J\n" + "\006parent\030\001 \001(" + "\tB:\372A7\0225bigqueryreservation.googleapis.com/CapacityCommitment\022\037\n" - + "\027capacity_commitment_ids\030\002 \003(\t\"\305\004\n\n" + + "\027capacity_commitment_ids\030\002 \003(\t\022#\n" + + "\026capacity_commitment_id\030\003 \001(\tB\003\340A\001\"\227\006\n\n" + "Assignment\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\020\n" - + "\010assignee\030\004 \001(\t\022J\n" - + "\010job_type\030\003" - + " \001(\01628.google.cloud.bigquery.reservation.v1.Assignment.JobType\022J\n" + + "\004name\030\001 \001(\tB\003\340A\003\022\025\n" + + "\010assignee\030\004 \001(\tB\003\340A\001\022O\n" + + "\010job_type\030\003 \001(\01628.google.cloud.bigquery." + + "reservation.v1.Assignment.JobTypeB\003\340A\001\022J\n" + "\005state\030\006" + " \001(\01626.google.cloud.bigquery.reservation.v1.Assignment.StateB\003\340A\003\022&\n" + "\031enable_gemini_in_bigquery\030\n" - + " \001(\010B\003\340A\001\"m\n" + + " \001(\010B\003\340A\001\022V\n" + + "\021scheduling_policy\030\013 \001(\01326.google.cloud.big" + + "query.reservation.v1.SchedulingPolicyB\003\340A\001\"\334\001\n" + "\007JobType\022\030\n" + "\024JOB_TYPE_UNSPECIFIED\020\000\022\014\n" + "\010PIPELINE\020\001\022\t\n" + "\005QUERY\020\002\022\017\n" + "\013ML_EXTERNAL\020\003\022\016\n\n" + "BACKGROUND\020\004\022\016\n\n" - + "CONTINUOUS\020\006\"7\n" + + "CONTINUOUS\020\006\022\"\n" + + "\036BACKGROUND_CHANGE_DATA_CAPTURE\020\007\022$\n" + + " BACKGROUND_COLUMN_METADATA_INDEX\020\010\022#\n" + + "\037BACKGROUND_SEARCH_INDEX_REFRESH\020\t\"7\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022\013\n" + "\007PENDING\020\001\022\n\n" + "\006ACTIVE\020\002:\251\001\352A\245\001\n" - + "-bigqueryreservation.googleapis.com/Assignment\022[projects/{project}/locations" - + "/{location}/reservations/{reservation}/assignments/{assignment}*\013assignments2\n" + + "-bigqueryreservation.googleapis.com/Assignment\022[projects/{project}/loc" + + "ations/{location}/reservations/{reservat" + + "ion}/assignments/{assignment}*\013assignments2\n" + "assignment\"\275\001\n" + "\027CreateAssignmentRequest\022E\n" + "\006parent\030\001 \001(" @@ -364,12 +448,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026ListAssignmentsRequest\022E\n" + "\006parent\030\001 \001(" + "\tB5\340A\002\372A/\022-bigqueryreservation.googleapis.com/Assignment\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n" - + "\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + "page_token\030\003 \001(\t\"y\n" + "\027ListAssignmentsResponse\022E\n" - + "\013assignments\030\001" - + " \003(\01320.google.cloud.bigquery.reservation.v1.Assignment\022\027\n" + + "\013assignments\030\001 \003(\01320.google" + + ".cloud.bigquery.reservation.v1.Assignment\022\027\n" + "\017next_page_token\030\002 \001(\t\"^\n" + "\027DeleteAssignmentRequest\022C\n" + "\004name\030\001 \001(\tB5\340A\002\372A/\n" @@ -402,26 +485,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "assignment_id\030\005 \001(\t\"\220\001\n" + "\027UpdateAssignmentRequest\022D\n\n" + "assignment\030\001 \001(\01320.google.cloud.bigquery.reservation.v1.Assignment\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"J\n" - + "\016TableReference\022\022\n\n" - + "project_id\030\001 \001(\t\022\022\n\n" - + "dataset_id\030\002 \001(\t\022\020\n" - + "\010table_id\030\003 \001(\t\"\237\002\n\r" - + "BiReservation\022\014\n" - + "\004name\030\001 \001(\t\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"Y\n" + + "\016TableReference\022\027\n\n" + + "project_id\030\001 \001(\tB\003\340A\001\022\027\n\n" + + "dataset_id\030\002 \001(\tB\003\340A\001\022\025\n" + + "\010table_id\030\003 \001(\tB\003\340A\001\"\256\002\n\r" + + "BiReservation\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\0224\n" + "\013update_time\030\003" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\014\n" - + "\004size\030\004 \001(\003\022N\n" - + "\020preferred_tables\030\005 \003(\0132" - + "4.google.cloud.bigquery.reservation.v1.TableReference:l\352Ai\n" - + "0bigqueryreservation.googleapis.com/BiReservation\0225projects/{" - + "project}/locations/{location}/biReservation\"a\n" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\021\n" + + "\004size\030\004 \001(\003B\003\340A\001\022S\n" + + "\020preferred_tables\030\005 \003(\01324.google." + + "cloud.bigquery.reservation.v1.TableReferenceB\003\340A\001:l\352Ai\n" + + "0bigqueryreservation.googleapis.com/BiReservation\0225projects/{proj" + + "ect}/locations/{location}/biReservation\"a\n" + "\027GetBiReservationRequest\022F\n" + "\004name\030\001 \001(\tB8\340A\002\372A2\n" + "0bigqueryreservation.googleapis.com/BiReservation\"\232\001\n" + "\032UpdateBiReservationRequest\022K\n" - + "\016bi_reservation\030\001 \001(\01323." - + "google.cloud.bigquery.reservation.v1.BiReservation\022/\n" + + "\016bi_reservation\030\001 \001(\01323.goog" + + "le.cloud.bigquery.reservation.v1.BiReservation\022/\n" + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask*U\n" + "\007Edition\022\027\n" + "\023EDITION_UNSPECIFIED\020\000\022\014\n" @@ -431,110 +514,144 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014FailoverMode\022\035\n" + "\031FAILOVER_MODE_UNSPECIFIED\020\000\022\010\n" + "\004SOFT\020\001\022\010\n" - + "\004HARD\020\0022\237)\n" + + "\004HARD\020\0022\2436\n" + "\022ReservationService\022\361\001\n" - + "\021CreateReservation\022>.google.cloud.bigquery.reservation.v1.CreateReservationReque" - + "st\0321.google.cloud.bigquery.reservation.v" - + "1.Reservation\"i\332A!parent,reservation,res" - + "ervation_id\202\323\344\223\002?\"0/v1/{parent=projects/" - + "*/locations/*}/reservations:\013reservation\022\324\001\n" - + "\020ListReservations\022=.google.cloud.bigquery.reservation.v1.ListReservationsReq" - + "uest\032>.google.cloud.bigquery.reservation" - + ".v1.ListReservationsResponse\"A\332A\006parent\202" - + "\323\344\223\0022\0220/v1/{parent=projects/*/locations/*}/reservations\022\301\001\n" - + "\016GetReservation\022;.google.cloud.bigquery.reservation.v1.GetRes" - + "ervationRequest\0321.google.cloud.bigquery." - + "reservation.v1.Reservation\"?\332A\004name\202\323\344\223\002" - + "2\0220/v1/{name=projects/*/locations/*/reservations/*}\022\254\001\n" - + "\021DeleteReservation\022>.google.cloud.bigquery.reservation.v1.DeleteR" - + "eservationRequest\032\026.google.protobuf.Empt" - + "y\"?\332A\004name\202\323\344\223\0022*0/v1/{name=projects/*/locations/*/reservations/*}\022\363\001\n" - + "\021UpdateReservation\022>.google.cloud.bigquery.reserva" - + "tion.v1.UpdateReservationRequest\0321.google.cloud.bigquery.reservation.v1.Reservat" - + "ion\"k\332A\027reservation,update_mask\202\323\344\223\002K2/v1/{parent=projects/" - + "*/locations/*/reservations/*}/assignments:\n" + + "\021CreateReservation\022>.google.cloud.bigquery.r" + + "eservation.v1.CreateReservationRequest\0321.google.cloud.bigquery.reservation.v1.Re" + + "servation\"i\332A!parent,reservation,reserva" + + "tion_id\202\323\344\223\002?\"0/v1/{parent=projects/*/locations/*}/reservations:\013reservation\022\324\001\n" + + "\020ListReservations\022=.google.cloud.bigquery.reservation.v1.ListReservationsRequest" + + "\032>.google.cloud.bigquery.reservation.v1." + + "ListReservationsResponse\"A\332A\006parent\202\323\344\223\002" + + "2\0220/v1/{parent=projects/*/locations/*}/reservations\022\301\001\n" + + "\016GetReservation\022;.google.cloud.bigquery.reservation.v1.GetReserva" + + "tionRequest\0321.google.cloud.bigquery.rese" + + "rvation.v1.Reservation\"?\332A\004name\202\323\344\223\0022\0220/" + + "v1/{name=projects/*/locations/*/reservations/*}\022\254\001\n" + + "\021DeleteReservation\022>.google.cloud.bigquery.reservation.v1.DeleteReser" + + "vationRequest\032\026.google.protobuf.Empty\"?\332" + + "A\004name\202\323\344\223\0022*0/v1/{name=projects/*/locations/*/reservations/*}\022\363\001\n" + + "\021UpdateReservation\022>.google.cloud.bigquery.reservation" + + ".v1.UpdateReservationRequest\0321.google.cloud.bigquery.reservation.v1.Reservation\"" + + "k\332A\027reservation,update_mask\202\323\344\223\002K2/v1/{parent=projects/*/locations/*/reservations/*}/assignments:\n" + "assignment\022\337\001\n" - + "\017ListAssignments\022<.google.cloud.bigquery.reservation.v1.ListAss" - + "ignmentsRequest\032=.google.cloud.bigquery.reservation.v1.ListAssignmentsResponse\"O" - + "\332A\006parent\202\323\344\223\002@\022>/v1/{parent=projects/*/" - + "locations/*/reservations/*}/assignments\022\270\001\n" - + "\020DeleteAssignment\022=.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequ" - + "est\032\026.google.protobuf.Empty\"M\332A\004name\202\323\344\223" - + "\002@*>/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\022\345\001\n" - + "\021SearchAssignments\022>.google.cloud.bigquery.reserva" - + "tion.v1.SearchAssignmentsRequest\032?.google.cloud.bigquery.reservation.v1.SearchAs" - + "signmentsResponse\"O\210\002\001\332A\014parent,query\202\323\344" - + "\223\0027\0225/v1/{parent=projects/*/locations/*}:searchAssignments\022\356\001\n" - + "\024SearchAllAssignments\022A.google.cloud.bigquery.reservation." - + "v1.SearchAllAssignmentsRequest\032B.google.cloud.bigquery.reservation.v1.SearchAllA" - + "ssignmentsResponse\"O\332A\014parent,query\202\323\344\223\002" - + ":\0228/v1/{parent=projects/*/locations/*}:searchAllAssignments\022\345\001\n" - + "\016MoveAssignment\022;.google.cloud.bigquery.reservation.v1.Mo" - + "veAssignmentRequest\0320.google.cloud.bigqu" - + "ery.reservation.v1.Assignment\"d\332A\023name,d" - + "estination_id\202\323\344\223\002H\"C/v1/{name=projects/" - + "*/locations/*/reservations/*/assignments/*}:move:\001*\022\373\001\n" - + "\020UpdateAssignment\022=.google.cloud.bigquery.reservation.v1.UpdateAs" + + "\017ListAssignments\022<.google.cloud.bigquery.reservation.v1.ListAssignm" + + "entsRequest\032=.google.cloud.bigquery.rese" + + "rvation.v1.ListAssignmentsResponse\"O\332A\006p" + + "arent\202\323\344\223\002@\022>/v1/{parent=projects/*/locations/*/reservations/*}/assignments\022\270\001\n" + + "\020DeleteAssignment\022=.google.cloud.bigquery" + + ".reservation.v1.DeleteAssignmentRequest\032" + + "\026.google.protobuf.Empty\"M\332A\004name\202\323\344\223\002@*>" + + "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\022\345\001\n" + + "\021SearchAssignments\022>.google.cloud.bigquery.reservation" + + ".v1.SearchAssignmentsRequest\032?.google.cloud.bigquery.reservation.v1.SearchAssign" + + "mentsResponse\"O\210\002\001\332A\014parent,query\202\323\344\223\0027\022" + + "5/v1/{parent=projects/*/locations/*}:searchAssignments\022\356\001\n" + + "\024SearchAllAssignments\022A.google.cloud.bigquery.reservation.v1.S" + + "earchAllAssignmentsRequest\032B.google.cloud.bigquery.reservation.v1.SearchAllAssig" + + "nmentsResponse\"O\332A\014parent,query\202\323\344\223\002:\0228/" + + "v1/{parent=projects/*/locations/*}:searchAllAssignments\022\345\001\n" + + "\016MoveAssignment\022;.google.cloud.bigquery.reservation.v1.MoveAs" + "signmentRequest\0320.google.cloud.bigquery." - + "reservation.v1.Assignment\"v\332A\026assignment" - + ",update_mask\202\323\344\223\002W2I/v1/{assignment.name" - + "=projects/*/locations/*/reservations/*/assignments/*}:\n" + + "reservation.v1.Assignment\"d\332A\023name,desti" + + "nation_id\202\323\344\223\002H\"C/v1/{name=projects/*/lo" + + "cations/*/reservations/*/assignments/*}:move:\001*\022\373\001\n" + + "\020UpdateAssignment\022=.google.cloud.bigquery.reservation.v1.UpdateAssign" + + "mentRequest\0320.google.cloud.bigquery.rese" + + "rvation.v1.Assignment\"v\332A\026assignment,upd" + + "ate_mask\202\323\344\223\002W2I/v1/{assignment.name=pro" + + "jects/*/locations/*/reservations/*/assignments/*}:\n" + "assignment\022\306\001\n" - + "\020GetBiReservation\022=.google.cloud.bigquery.reservati" - + "on.v1.GetBiReservationRequest\0323.google.cloud.bigquery.reservation.v1.BiReservati" - + "on\">\332A\004name\202\323\344\223\0021\022//v1/{name=projects/*/locations/*/biReservation}\022\201\002\n" - + "\023UpdateBiReservation\022@.google.cloud.bigquery.reser" - + "vation.v1.UpdateBiReservationRequest\0323.google.cloud.bigquery.reservation.v1.BiRe" - + "servation\"s\332A\032bi_reservation,update_mask" - + "\202\323\344\223\002P2>/v1/{bi_reservation.name=project" - + "s/*/locations/*/biReservation}:\016bi_reser" - + "vation\032\177\312A\"bigqueryreservation.googleapi" - + "s.com\322AWhttps://www.googleapis.com/auth/" - + "bigquery,https://www.googleapis.com/auth/cloud-platformB\330\001\n" - + "(com.google.cloud.bigquery.reservation.v1B\020ReservationProtoP\001" - + "ZJcloud.google.com/go/bigquery/reservation/apiv1/reservationpb;reservationpb\252\002$G" - + "oogle.Cloud.BigQuery.Reservation.V1\312\002$Go" - + "ogle\\Cloud\\BigQuery\\Reservation\\V1b\006proto3" + + "\020GetBiReservation\022=.google.cloud.bigquery.reservation.v" + + "1.GetBiReservationRequest\0323.google.cloud.bigquery.reservation.v1.BiReservation\">" + + "\332A\004name\202\323\344\223\0021\022//v1/{name=projects/*/locations/*/biReservation}\022\201\002\n" + + "\023UpdateBiReservation\022@.google.cloud.bigquery.reservati" + + "on.v1.UpdateBiReservationRequest\0323.google.cloud.bigquery.reservation.v1.BiReserv" + + "ation\"s\332A\032bi_reservation,update_mask\202\323\344\223" + + "\002P2>/v1/{bi_reservation.name=projects/*/" + + "locations/*/biReservation}:\016bi_reservation\022\364\001\n" + + "\014GetIamPolicy\022\".google.iam.v1.GetI" + + "amPolicyRequest\032\025.google.iam.v1.Policy\"\250" + + "\001\332A\010resource\202\323\344\223\002\226\001\022A/v1/{resource=proje" + + "cts/*/locations/*/reservations/*}:getIamPolicyZQ\022O/v1/{resource=projects/*/locat" + + "ions/*/reservations/*/assignments/*}:getIamPolicy\022\201\002\n" + + "\014SetIamPolicy\022\".google.iam.v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + + "olicy\"\265\001\332A\017resource,policy\202\323\344\223\002\234\001\"A/v1/{" + + "resource=projects/*/locations/*/reservations/*}:setIamPolicy:\001*ZT\"O/v1/{resource" + + "=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy:\001*\022\233\002\n" + + "\022TestIamPermissions\022(.google.iam.v1.TestIamPerm" + + "issionsRequest\032).google.iam.v1.TestIamPe" + + "rmissionsResponse\"\257\001\202\323\344\223\002\250\001\"G/v1/{resour" + + "ce=projects/*/locations/*/reservations/*}:testIamPermissions:\001*ZZ\"U/v1/{resource" + + "=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions:\001*\022\347\001\n" + + "\026CreateReservationGroup\022C.google.cloud.bi" + + "gquery.reservation.v1.CreateReservationGroupRequest\0326.google.cloud.bigquery.rese" + + "rvation.v1.ReservationGroup\"P\202\323\344\223\002J\"5/v1" + + "/{parent=projects/*/locations/*}/reservationGroups:\021reservation_group\022\325\001\n" + + "\023GetReservationGroup\022@.google.cloud.bigquery.re" + + "servation.v1.GetReservationGroupRequest\0326.google.cloud.bigquery.reservation.v1.R", + "eservationGroup\"D\332A\004name\202\323\344\223\0027\0225/v1/{nam" + + "e=projects/*/locations/*/reservationGrou" + + "ps/*}\022\273\001\n\026DeleteReservationGroup\022C.googl" + + "e.cloud.bigquery.reservation.v1.DeleteRe" + + "servationGroupRequest\032\026.google.protobuf." + + "Empty\"D\332A\004name\202\323\344\223\0027*5/v1/{name=projects" + + "/*/locations/*/reservationGroups/*}\022\350\001\n\025" + + "ListReservationGroups\022B.google.cloud.big" + + "query.reservation.v1.ListReservationGrou" + + "psRequest\032C.google.cloud.bigquery.reserv" + + "ation.v1.ListReservationGroupsResponse\"F" + + "\332A\006parent\202\323\344\223\0027\0225/v1/{parent=projects/*/" + + "locations/*}/reservationGroups\032\177\312A\"bigqu" + + "eryreservation.googleapis.com\322AWhttps://" + + "www.googleapis.com/auth/bigquery,https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\330\001\n(com.google.cloud.bigquery.reservatio" + + "n.v1B\020ReservationProtoP\001ZJcloud.google.c" + + "om/go/bigquery/reservation/apiv1/reserva" + + "tionpb;reservationpb\252\002$Google.Cloud.BigQ" + + "uery.Reservation.V1\312\002$Google\\Cloud\\BigQu" + + "ery\\Reservation\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -544,6 +661,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -569,7 +688,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OriginalPrimaryLocation", "MaxSlots", "ScalingMode", + "Labels", + "ReservationGroup", "ReplicationStatus", + "SchedulingPolicy", }); internal_static_google_cloud_bigquery_reservation_v1_Reservation_Autoscale_descriptor = internal_static_google_cloud_bigquery_reservation_v1_Reservation_descriptor @@ -591,8 +713,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Error", "LastErrorTime", "LastReplicationTime", "SoftFailoverStartTime", }); - internal_static_google_cloud_bigquery_reservation_v1_CapacityCommitment_descriptor = + internal_static_google_cloud_bigquery_reservation_v1_Reservation_LabelsEntry_descriptor = + internal_static_google_cloud_bigquery_reservation_v1_Reservation_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_bigquery_reservation_v1_Reservation_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_Reservation_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor, + new java.lang.String[] { + "Concurrency", "MaxSlots", + }); + internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_ReservationGroup_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_reservation_v1_CapacityCommitment_descriptor = + getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_bigquery_reservation_v1_CapacityCommitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_CapacityCommitment_descriptor, @@ -610,7 +758,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IsFlatRate", }); internal_static_google_cloud_bigquery_reservation_v1_CreateReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_bigquery_reservation_v1_CreateReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_CreateReservationRequest_descriptor, @@ -618,7 +766,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ReservationId", "Reservation", }); internal_static_google_cloud_bigquery_reservation_v1_ListReservationsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_bigquery_reservation_v1_ListReservationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListReservationsRequest_descriptor, @@ -626,7 +774,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_bigquery_reservation_v1_ListReservationsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_bigquery_reservation_v1_ListReservationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListReservationsResponse_descriptor, @@ -634,7 +782,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reservations", "NextPageToken", }); internal_static_google_cloud_bigquery_reservation_v1_GetReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_bigquery_reservation_v1_GetReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_GetReservationRequest_descriptor, @@ -642,7 +790,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationRequest_descriptor, @@ -650,7 +798,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_bigquery_reservation_v1_UpdateReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_bigquery_reservation_v1_UpdateReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_UpdateReservationRequest_descriptor, @@ -658,15 +806,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reservation", "UpdateMask", }); internal_static_google_cloud_bigquery_reservation_v1_FailoverReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_bigquery_reservation_v1_FailoverReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_FailoverReservationRequest_descriptor, new java.lang.String[] { "Name", "FailoverMode", }); + internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_CreateReservationGroupRequest_descriptor, + new java.lang.String[] { + "Parent", "ReservationGroupId", "ReservationGroup", + }); + internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_GetReservationGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_ListReservationGroupsResponse_descriptor, + new java.lang.String[] { + "ReservationGroups", "NextPageToken", + }); + internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_reservation_v1_DeleteReservationGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_bigquery_reservation_v1_CreateCapacityCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_bigquery_reservation_v1_CreateCapacityCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_CreateCapacityCommitmentRequest_descriptor, @@ -677,7 +865,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CapacityCommitmentId", }); internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsRequest_descriptor, @@ -685,7 +873,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListCapacityCommitmentsResponse_descriptor, @@ -693,7 +881,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CapacityCommitments", "NextPageToken", }); internal_static_google_cloud_bigquery_reservation_v1_GetCapacityCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_bigquery_reservation_v1_GetCapacityCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_GetCapacityCommitmentRequest_descriptor, @@ -701,7 +889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_bigquery_reservation_v1_DeleteCapacityCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_bigquery_reservation_v1_DeleteCapacityCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_DeleteCapacityCommitmentRequest_descriptor, @@ -709,7 +897,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Force", }); internal_static_google_cloud_bigquery_reservation_v1_UpdateCapacityCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_bigquery_reservation_v1_UpdateCapacityCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_UpdateCapacityCommitmentRequest_descriptor, @@ -717,7 +905,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CapacityCommitment", "UpdateMask", }); internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentRequest_descriptor, @@ -725,7 +913,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "SlotCount", }); internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SplitCapacityCommitmentResponse_descriptor, @@ -733,23 +921,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "First", "Second", }); internal_static_google_cloud_bigquery_reservation_v1_MergeCapacityCommitmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_bigquery_reservation_v1_MergeCapacityCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_MergeCapacityCommitmentsRequest_descriptor, new java.lang.String[] { - "Parent", "CapacityCommitmentIds", + "Parent", "CapacityCommitmentIds", "CapacityCommitmentId", }); internal_static_google_cloud_bigquery_reservation_v1_Assignment_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_bigquery_reservation_v1_Assignment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_Assignment_descriptor, new java.lang.String[] { - "Name", "Assignee", "JobType", "State", "EnableGeminiInBigquery", + "Name", "Assignee", "JobType", "State", "EnableGeminiInBigquery", "SchedulingPolicy", }); internal_static_google_cloud_bigquery_reservation_v1_CreateAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_bigquery_reservation_v1_CreateAssignmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_CreateAssignmentRequest_descriptor, @@ -757,7 +945,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Assignment", "AssignmentId", }); internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsRequest_descriptor, @@ -765,7 +953,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_ListAssignmentsResponse_descriptor, @@ -773,7 +961,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Assignments", "NextPageToken", }); internal_static_google_cloud_bigquery_reservation_v1_DeleteAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_bigquery_reservation_v1_DeleteAssignmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_DeleteAssignmentRequest_descriptor, @@ -781,7 +969,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsRequest_descriptor, @@ -789,7 +977,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Query", "PageSize", "PageToken", }); internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsRequest_descriptor, @@ -797,7 +985,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Query", "PageSize", "PageToken", }); internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SearchAssignmentsResponse_descriptor, @@ -805,7 +993,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Assignments", "NextPageToken", }); internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsResponse_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_SearchAllAssignmentsResponse_descriptor, @@ -813,7 +1001,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Assignments", "NextPageToken", }); internal_static_google_cloud_bigquery_reservation_v1_MoveAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_bigquery_reservation_v1_MoveAssignmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_MoveAssignmentRequest_descriptor, @@ -821,7 +1009,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DestinationId", "AssignmentId", }); internal_static_google_cloud_bigquery_reservation_v1_UpdateAssignmentRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_bigquery_reservation_v1_UpdateAssignmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_UpdateAssignmentRequest_descriptor, @@ -829,7 +1017,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Assignment", "UpdateMask", }); internal_static_google_cloud_bigquery_reservation_v1_TableReference_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_bigquery_reservation_v1_TableReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_TableReference_descriptor, @@ -837,7 +1025,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "DatasetId", "TableId", }); internal_static_google_cloud_bigquery_reservation_v1_BiReservation_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_bigquery_reservation_v1_BiReservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_BiReservation_descriptor, @@ -845,7 +1033,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "UpdateTime", "Size", "PreferredTables", }); internal_static_google_cloud_bigquery_reservation_v1_GetBiReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_bigquery_reservation_v1_GetBiReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_GetBiReservationRequest_descriptor, @@ -853,7 +1041,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_bigquery_reservation_v1_UpdateBiReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(39); internal_static_google_cloud_bigquery_reservation_v1_UpdateBiReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_bigquery_reservation_v1_UpdateBiReservationRequest_descriptor, @@ -875,6 +1063,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicy.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicy.java new file mode 100644 index 000000000000..4a79417d81ed --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicy.java @@ -0,0 +1,766 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +/** + * + * + *
+ * The scheduling policy controls how a reservation's resources are distributed.
+ * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.SchedulingPolicy} + */ +public final class SchedulingPolicy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.reservation.v1.SchedulingPolicy) + SchedulingPolicyOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SchedulingPolicy.newBuilder() to construct. + private SchedulingPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SchedulingPolicy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SchedulingPolicy(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.class, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder.class); + } + + private int bitField0_; + public static final int CONCURRENCY_FIELD_NUMBER = 1; + private long concurrency_ = 0L; + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * concurrency of jobs running for any particular project within it to the
+   * given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the concurrency field is set. + */ + @java.lang.Override + public boolean hasConcurrency() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * concurrency of jobs running for any particular project within it to the
+   * given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The concurrency. + */ + @java.lang.Override + public long getConcurrency() { + return concurrency_; + } + + public static final int MAX_SLOTS_FIELD_NUMBER = 2; + private long maxSlots_ = 0L; + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * slot consumption of queries running for any particular project within it to
+   * the given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the maxSlots field is set. + */ + @java.lang.Override + public boolean hasMaxSlots() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * slot consumption of queries running for any particular project within it to
+   * the given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxSlots. + */ + @java.lang.Override + public long getMaxSlots() { + return maxSlots_; + } + + 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, concurrency_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(2, maxSlots_); + } + 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, concurrency_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxSlots_); + } + 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.bigquery.reservation.v1.SchedulingPolicy)) { + return super.equals(obj); + } + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy other = + (com.google.cloud.bigquery.reservation.v1.SchedulingPolicy) obj; + + if (hasConcurrency() != other.hasConcurrency()) return false; + if (hasConcurrency()) { + if (getConcurrency() != other.getConcurrency()) return false; + } + if (hasMaxSlots() != other.hasMaxSlots()) return false; + if (hasMaxSlots()) { + if (getMaxSlots() != other.getMaxSlots()) 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 (hasConcurrency()) { + hash = (37 * hash) + CONCURRENCY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrency()); + } + if (hasMaxSlots()) { + hash = (37 * hash) + MAX_SLOTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSlots()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy 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; + } + + /** + * + * + *
+   * The scheduling policy controls how a reservation's resources are distributed.
+   * 
+ * + * Protobuf type {@code google.cloud.bigquery.reservation.v1.SchedulingPolicy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.reservation.v1.SchedulingPolicy) + com.google.cloud.bigquery.reservation.v1.SchedulingPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.class, + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.Builder.class); + } + + // Construct using com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + concurrency_ = 0L; + maxSlots_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.reservation.v1.ReservationProto + .internal_static_google_cloud_bigquery_reservation_v1_SchedulingPolicy_descriptor; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getDefaultInstanceForType() { + return com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy build() { + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.bigquery.reservation.v1.SchedulingPolicy buildPartial() { + com.google.cloud.bigquery.reservation.v1.SchedulingPolicy result = + new com.google.cloud.bigquery.reservation.v1.SchedulingPolicy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.bigquery.reservation.v1.SchedulingPolicy result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.concurrency_ = concurrency_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxSlots_ = maxSlots_; + 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.cloud.bigquery.reservation.v1.SchedulingPolicy) { + return mergeFrom((com.google.cloud.bigquery.reservation.v1.SchedulingPolicy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.bigquery.reservation.v1.SchedulingPolicy other) { + if (other == com.google.cloud.bigquery.reservation.v1.SchedulingPolicy.getDefaultInstance()) + return this; + if (other.hasConcurrency()) { + setConcurrency(other.getConcurrency()); + } + if (other.hasMaxSlots()) { + setMaxSlots(other.getMaxSlots()); + } + 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: + { + concurrency_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + maxSlots_ = input.readInt64(); + bitField0_ |= 0x00000002; + 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 bitField0_; + + private long concurrency_; + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * concurrency of jobs running for any particular project within it to the
+     * given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the concurrency field is set. + */ + @java.lang.Override + public boolean hasConcurrency() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * concurrency of jobs running for any particular project within it to the
+     * given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The concurrency. + */ + @java.lang.Override + public long getConcurrency() { + return concurrency_; + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * concurrency of jobs running for any particular project within it to the
+     * given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The concurrency to set. + * @return This builder for chaining. + */ + public Builder setConcurrency(long value) { + + concurrency_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * concurrency of jobs running for any particular project within it to the
+     * given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearConcurrency() { + bitField0_ = (bitField0_ & ~0x00000001); + concurrency_ = 0L; + onChanged(); + return this; + } + + private long maxSlots_; + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * slot consumption of queries running for any particular project within it to
+     * the given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the maxSlots field is set. + */ + @java.lang.Override + public boolean hasMaxSlots() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * slot consumption of queries running for any particular project within it to
+     * the given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxSlots. + */ + @java.lang.Override + public long getMaxSlots() { + return maxSlots_; + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * slot consumption of queries running for any particular project within it to
+     * the given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxSlots to set. + * @return This builder for chaining. + */ + public Builder setMaxSlots(long value) { + + maxSlots_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If present and > 0, the reservation will attempt to limit the
+     * slot consumption of queries running for any particular project within it to
+     * the given value.
+     *
+     * This feature is not yet generally available.
+     * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxSlots() { + bitField0_ = (bitField0_ & ~0x00000002); + maxSlots_ = 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.cloud.bigquery.reservation.v1.SchedulingPolicy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.bigquery.reservation.v1.SchedulingPolicy) + private static final com.google.cloud.bigquery.reservation.v1.SchedulingPolicy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.bigquery.reservation.v1.SchedulingPolicy(); + } + + public static com.google.cloud.bigquery.reservation.v1.SchedulingPolicy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulingPolicy 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.bigquery.reservation.v1.SchedulingPolicy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicyOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicyOrBuilder.java new file mode 100644 index 000000000000..35a327b4f13e --- /dev/null +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/SchedulingPolicyOrBuilder.java @@ -0,0 +1,94 @@ +/* + * 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/bigquery/reservation/v1/reservation.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.bigquery.reservation.v1; + +public interface SchedulingPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.SchedulingPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * concurrency of jobs running for any particular project within it to the
+   * given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the concurrency field is set. + */ + boolean hasConcurrency(); + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * concurrency of jobs running for any particular project within it to the
+   * given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The concurrency. + */ + long getConcurrency(); + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * slot consumption of queries running for any particular project within it to
+   * the given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the maxSlots field is set. + */ + boolean hasMaxSlots(); + + /** + * + * + *
+   * Optional. If present and > 0, the reservation will attempt to limit the
+   * slot consumption of queries running for any particular project within it to
+   * the given value.
+   *
+   * This feature is not yet generally available.
+   * 
+ * + * optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxSlots. + */ + long getMaxSlots(); +} diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReference.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReference.java index a4fd865e4849..3ab564df18f9 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReference.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReference.java @@ -76,10 +76,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The assigned project ID of the project.
+   * Optional. The assigned project ID of the project.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The projectId. */ @@ -100,10 +100,10 @@ public java.lang.String getProjectId() { * * *
-   * The assigned project ID of the project.
+   * Optional. The assigned project ID of the project.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for projectId. */ @@ -129,10 +129,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * The ID of the dataset in the above project.
+   * Optional. The ID of the dataset in the above project.
    * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The datasetId. */ @@ -153,10 +153,10 @@ public java.lang.String getDatasetId() { * * *
-   * The ID of the dataset in the above project.
+   * Optional. The ID of the dataset in the above project.
    * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for datasetId. */ @@ -182,10 +182,10 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { * * *
-   * The ID of the table in the above dataset.
+   * Optional. The ID of the table in the above dataset.
    * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tableId. */ @@ -206,10 +206,10 @@ public java.lang.String getTableId() { * * *
-   * The ID of the table in the above dataset.
+   * Optional. The ID of the table in the above dataset.
    * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tableId. */ @@ -625,10 +625,10 @@ public Builder mergeFrom( * * *
-     * The assigned project ID of the project.
+     * Optional. The assigned project ID of the project.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The projectId. */ @@ -648,10 +648,10 @@ public java.lang.String getProjectId() { * * *
-     * The assigned project ID of the project.
+     * Optional. The assigned project ID of the project.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for projectId. */ @@ -671,10 +671,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * The assigned project ID of the project.
+     * Optional. The assigned project ID of the project.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The projectId to set. * @return This builder for chaining. @@ -693,10 +693,10 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * The assigned project ID of the project.
+     * Optional. The assigned project ID of the project.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -711,10 +711,10 @@ public Builder clearProjectId() { * * *
-     * The assigned project ID of the project.
+     * Optional. The assigned project ID of the project.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -736,10 +736,10 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The ID of the dataset in the above project.
+     * Optional. The ID of the dataset in the above project.
      * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The datasetId. */ @@ -759,10 +759,10 @@ public java.lang.String getDatasetId() { * * *
-     * The ID of the dataset in the above project.
+     * Optional. The ID of the dataset in the above project.
      * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for datasetId. */ @@ -782,10 +782,10 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { * * *
-     * The ID of the dataset in the above project.
+     * Optional. The ID of the dataset in the above project.
      * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The datasetId to set. * @return This builder for chaining. @@ -804,10 +804,10 @@ public Builder setDatasetId(java.lang.String value) { * * *
-     * The ID of the dataset in the above project.
+     * Optional. The ID of the dataset in the above project.
      * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -822,10 +822,10 @@ public Builder clearDatasetId() { * * *
-     * The ID of the dataset in the above project.
+     * Optional. The ID of the dataset in the above project.
      * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for datasetId to set. * @return This builder for chaining. @@ -847,10 +847,10 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The ID of the table in the above dataset.
+     * Optional. The ID of the table in the above dataset.
      * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tableId. */ @@ -870,10 +870,10 @@ public java.lang.String getTableId() { * * *
-     * The ID of the table in the above dataset.
+     * Optional. The ID of the table in the above dataset.
      * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tableId. */ @@ -893,10 +893,10 @@ public com.google.protobuf.ByteString getTableIdBytes() { * * *
-     * The ID of the table in the above dataset.
+     * Optional. The ID of the table in the above dataset.
      * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The tableId to set. * @return This builder for chaining. @@ -915,10 +915,10 @@ public Builder setTableId(java.lang.String value) { * * *
-     * The ID of the table in the above dataset.
+     * Optional. The ID of the table in the above dataset.
      * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -933,10 +933,10 @@ public Builder clearTableId() { * * *
-     * The ID of the table in the above dataset.
+     * Optional. The ID of the table in the above dataset.
      * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for tableId to set. * @return This builder for chaining. diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReferenceOrBuilder.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReferenceOrBuilder.java index 819d50e66a70..8c02284a1866 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReferenceOrBuilder.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/TableReferenceOrBuilder.java @@ -28,10 +28,10 @@ public interface TableReferenceOrBuilder * * *
-   * The assigned project ID of the project.
+   * Optional. The assigned project ID of the project.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The projectId. */ @@ -41,10 +41,10 @@ public interface TableReferenceOrBuilder * * *
-   * The assigned project ID of the project.
+   * Optional. The assigned project ID of the project.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for projectId. */ @@ -54,10 +54,10 @@ public interface TableReferenceOrBuilder * * *
-   * The ID of the dataset in the above project.
+   * Optional. The ID of the dataset in the above project.
    * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The datasetId. */ @@ -67,10 +67,10 @@ public interface TableReferenceOrBuilder * * *
-   * The ID of the dataset in the above project.
+   * Optional. The ID of the dataset in the above project.
    * 
* - * string dataset_id = 2; + * string dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for datasetId. */ @@ -80,10 +80,10 @@ public interface TableReferenceOrBuilder * * *
-   * The ID of the table in the above dataset.
+   * Optional. The ID of the table in the above dataset.
    * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tableId. */ @@ -93,10 +93,10 @@ public interface TableReferenceOrBuilder * * *
-   * The ID of the table in the above dataset.
+   * Optional. The ID of the table in the above dataset.
    * 
* - * string table_id = 3; + * string table_id = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tableId. */ diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto index 51356abc0cad..14c495b42745 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/iam/v1/iam_policy.proto"; +import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -401,6 +403,112 @@ service ReservationService { }; option (google.api.method_signature) = "bi_reservation,update_mask"; } + + // Gets the access control policy for a resource. + // May return: + // + // * A`NOT_FOUND` error if the resource doesn't exist or you don't have the + // permission to view it. + // * An empty policy if the resource exists but doesn't have a set policy. + // + // Supported resources are: + // - Reservations + // - ReservationAssignments + // + // To call this method, you must have the following Google IAM permissions: + // + // - `bigqueryreservation.reservations.getIamPolicy` to get policies on + // reservations. + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { + option (google.api.http) = { + get: "/v1/{resource=projects/*/locations/*/reservations/*}:getIamPolicy" + additional_bindings { + get: "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:getIamPolicy" + } + }; + option (google.api.method_signature) = "resource"; + } + + // Sets an access control policy for a resource. Replaces any existing + // policy. + // + // Supported resources are: + // - Reservations + // + // To call this method, you must have the following Google IAM permissions: + // + // - `bigqueryreservation.reservations.setIamPolicy` to set policies on + // reservations. + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { + option (google.api.http) = { + post: "/v1/{resource=projects/*/locations/*/reservations/*}:setIamPolicy" + body: "*" + additional_bindings { + post: "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:setIamPolicy" + body: "*" + } + }; + option (google.api.method_signature) = "resource,policy"; + } + + // Gets your permissions on a resource. Returns an empty set of permissions if + // the resource doesn't exist. + // + // Supported resources are: + // - Reservations + // + // No Google IAM permissions are required to call this method. + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { + option (google.api.http) = { + post: "/v1/{resource=projects/*/locations/*/reservations/*}:testIamPermissions" + body: "*" + additional_bindings { + post: "/v1/{resource=projects/*/locations/*/reservations/*/assignments/*}:testIamPermissions" + body: "*" + } + }; + } + + // Creates a new reservation group. + rpc CreateReservationGroup(CreateReservationGroupRequest) + returns (ReservationGroup) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/reservationGroups" + body: "reservation_group" + }; + } + + // Returns information about the reservation group. + rpc GetReservationGroup(GetReservationGroupRequest) + returns (ReservationGroup) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/reservationGroups/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a reservation. + // Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has + // assignments. + rpc DeleteReservationGroup(DeleteReservationGroupRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/reservationGroups/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all the reservation groups for the project in the specified location. + rpc ListReservationGroups(ListReservationGroupsRequest) + returns (ListReservationGroupsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/reservationGroups" + }; + option (google.api.method_signature) = "parent"; + } } // A reservation is a mechanism used to guarantee slots to users. @@ -419,8 +527,8 @@ message Reservation { // max_slots for that brief period (less than one minute) int64 current_slots = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of slots to be scaled when needed. - int64 max_slots = 2; + // Optional. Number of slots to be scaled when needed. + int64 max_slots = 2 [(google.api.field_behavior) = OPTIONAL]; } // The scaling mode for the reservation. This enum determines how the @@ -437,7 +545,8 @@ message Reservation { // slots and no idle slots will be used. // // Please note, in this mode, the ignore_idle_slots field must be set to - // true. + // true. Otherwise the request will be rejected with error code + // `google.rpc.Code.INVALID_ARGUMENT`. AUTOSCALE_ONLY = 1; // The reservation will scale up using only idle slots contributed by @@ -457,7 +566,8 @@ message Reservation { // to max_slots. // // Please note, in this mode, the ignore_idle_slots field must be set to - // false. + // false. Otherwise the request will be rejected with error code + // `google.rpc.Code.INVALID_ARGUMENT`. IDLE_SLOTS_ONLY = 2; // The reservation will scale up using all slots available to it. It will @@ -475,7 +585,8 @@ message Reservation { // scale up to 1000 slots with 200 baseline and 800 autoscaling slots. // // Please note, in this mode, the ignore_idle_slots field must be set to - // false. + // false. Otherwise the request will be rejected with error code + // `google.rpc.Code.INVALID_ARGUMENT`. ALL_SLOTS = 3; } @@ -506,14 +617,14 @@ message Reservation { [(google.api.field_behavior) = OUTPUT_ONLY]; } - // The resource name of the reservation, e.g., + // Identifier. The resource name of the reservation, e.g., // `projects/*/locations/*/reservations/team1-prod`. // The reservation_id must only contain lower case alphanumeric characters or // dashes. It must start with a letter and must not end with a dash. Its // maximum length is 64 characters. - string name = 1; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Baseline slots available to this reservation. A slot is a unit of + // Optional. Baseline slots available to this reservation. A slot is a unit of // computational power in BigQuery, and serves as the unit of parallelism. // // Queries using this reservation might use more slots during runtime if @@ -527,26 +638,25 @@ message Reservation { // you have recently changed your baseline slot capacity and your baseline // slots exceed your committed slots. Otherwise, you can decrease your // baseline slots every few minutes. - int64 slot_capacity = 2; - - // If false, any query or pipeline job using this reservation will use idle - // slots from other reservations within the same admin project. If true, a - // query or pipeline job using this reservation will execute with the slot - // capacity specified in the slot_capacity field at most. - bool ignore_idle_slots = 4; - - // The configuration parameters for the auto scaling feature. - Autoscale autoscale = 7; - - // Job concurrency target which sets a soft upper bound on the number of jobs - // that can run concurrently in this reservation. This is a soft target due to - // asynchronous nature of the system and various optimizations for small - // queries. - // Default value is 0 which means that concurrency target will be - // automatically computed by the system. - // NOTE: this field is exposed as target job concurrency in the Information - // Schema, DDL and BigQuery CLI. - int64 concurrency = 16; + int64 slot_capacity = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If false, any query or pipeline job using this reservation will + // use idle slots from other reservations within the same admin project. If + // true, a query or pipeline job using this reservation will execute with the + // slot capacity specified in the slot_capacity field at most. + bool ignore_idle_slots = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration parameters for the auto scaling feature. + Autoscale autoscale = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Job concurrency target which sets a soft upper bound on the + // number of jobs that can run concurrently in this reservation. This is a + // soft target due to asynchronous nature of the system and various + // optimizations for small queries. Default value is 0 which means that + // concurrency target will be automatically computed by the system. NOTE: this + // field is exposed as target job concurrency in the Information Schema, DDL + // and BigQuery CLI. + int64 concurrency = 16 [(google.api.field_behavior) = OPTIONAL]; // Output only. Creation time of the reservation. google.protobuf.Timestamp creation_time = 8 @@ -565,10 +675,10 @@ message Reservation { // // NOTE: this is a preview feature. Project must be allow-listed in order to // set this field. - bool multi_region_auxiliary = 14; + bool multi_region_auxiliary = 14 [deprecated = true]; - // Edition of the reservation. - Edition edition = 17; + // Optional. Edition of the reservation. + Edition edition = 17 [(google.api.field_behavior) = OPTIONAL]; // Output only. The current location of the reservation's primary replica. // This field is only set for reservations using the managed disaster recovery @@ -612,10 +722,13 @@ message Reservation { // will never exceed the max_slots - baseline. // // - // This field must be set together with the scaling_mode enum value. + // This field must be set together with the scaling_mode enum value, + // otherwise the request will be rejected with error code + // `google.rpc.Code.INVALID_ARGUMENT`. // // If the max_slots and scaling_mode are set, the autoscale or - // autoscale.max_slots field must be unset. However, the + // autoscale.max_slots field must be unset. Otherwise the request will be + // rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. However, the // autoscale field may still be in the output. The autopscale.max_slots will // always show as 0 and the autoscaler.current_slots will represent the // current slots from autoscaler excluding idle slots. @@ -632,12 +745,14 @@ message Reservation { // // If the max_slots and scaling_mode are set, then the ignore_idle_slots field // must be aligned with the scaling_mode enum value.(See details in - // ScalingMode comments). + // ScalingMode comments). Otherwise the request will be rejected with + // error code `google.rpc.Code.INVALID_ARGUMENT`. // // Please note, the max_slots is for user to manage the part of slots greater // than the baseline. Therefore, we don't allow users to set max_slots smaller // or equal to the baseline as it will not be meaningful. If the field is - // present and slot_capacity>=max_slots. + // present and slot_capacity>=max_slots, requests will be rejected with error + // code `google.rpc.Code.INVALID_ARGUMENT`. // // Please note that if max_slots is set to 0, we will treat it as unset. // Customers can set max_slots to 0 and set scaling_mode to @@ -645,8 +760,23 @@ message Reservation { optional int64 max_slots = 21 [(google.api.field_behavior) = OPTIONAL]; // Optional. The scaling mode for the reservation. - // If the field is present but max_slots is not present. + // If the field is present but max_slots is not present, requests will be + // rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. ScalingMode scaling_mode = 22 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The labels associated with this reservation. You can use these + // to organize and group your reservations. + // You can set this property when you create or update a reservation. + map labels = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The reservation group that this reservation belongs to. + // You can set this property when you create or update a reservation. + // Reservations do not need to belong to a reservation group. + // Format: + // projects/{project}/locations/{location}/reservationGroups/{reservation_group} + // or just {reservation_group} + string reservation_group = 25 [(google.api.field_behavior) = OPTIONAL]; + // Output only. The Disaster Recovery(DR) replication status of the // reservation. This is only available for the primary replicas of DR/failover // reservations and provides information about the both the staleness of the @@ -657,6 +787,48 @@ message Reservation { // succeeded. ReplicationStatus replication_status = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The scheduling policy to use for jobs and queries running under + // this reservation. The scheduling policy controls how the reservation's + // resources are distributed. + // + // This feature is not yet generally available. + SchedulingPolicy scheduling_policy = 27 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The scheduling policy controls how a reservation's resources are distributed. +message SchedulingPolicy { + // Optional. If present and > 0, the reservation will attempt to limit the + // concurrency of jobs running for any particular project within it to the + // given value. + // + // This feature is not yet generally available. + optional int64 concurrency = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If present and > 0, the reservation will attempt to limit the + // slot consumption of queries running for any particular project within it to + // the given value. + // + // This feature is not yet generally available. + optional int64 max_slots = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// A reservation group is a container for reservations. +message ReservationGroup { + option (google.api.resource) = { + type: "bigqueryreservation.googleapis.com/ReservationGroup" + pattern: "projects/{project}/locations/{location}/reservationGroups/{reservation_group}" + plural: "reservationGroups" + singular: "reservationGroup" + }; + + // Identifier. The resource name of the reservation group, e.g., + // `projects/*/locations/*/reservationGroups/team1-prod`. + // The reservation_group_id must only contain lower case alphanumeric + // characters or dashes. It must start with a letter and must not end with a + // dash. Its maximum length is 64 characters. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; } // Capacity commitment is a way to purchase compute capacity for BigQuery jobs @@ -754,11 +926,11 @@ message CapacityCommitment { // with a dash. Its maximum length is 64 characters. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of slots in this commitment. - int64 slot_count = 2; + // Optional. Number of slots in this commitment. + int64 slot_count = 2 [(google.api.field_behavior) = OPTIONAL]; - // Capacity commitment commitment plan. - CommitmentPlan plan = 3; + // Optional. Capacity commitment commitment plan. + CommitmentPlan plan = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. State of the commitment. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -772,7 +944,7 @@ message CapacityCommitment { // Output only. The end of the current commitment period. It is applicable // only for ACTIVE capacity commitments. Note after renewal, - // commitment_end_time is the time the renewed commitment expires. So it would + // commitment_end_time is the time the renewed commitment expires. So itwould // be at a time after commitment_start_time + committed period, because we // don't change commitment_start_time , google.protobuf.Timestamp commitment_end_time = 5 @@ -782,10 +954,11 @@ message CapacityCommitment { google.rpc.Status failure_status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The plan this capacity commitment is converted to after commitment_end_time - // passes. Once the plan is changed, committed period is extended according to - // commitment plan. Only applicable for ANNUAL and TRIAL commitments. - CommitmentPlan renewal_plan = 8; + // Optional. The plan this capacity commitment is converted to after + // commitment_end_time passes. Once the plan is changed, committed period is + // extended according to commitment plan. Only applicable for ANNUAL and TRIAL + // commitments. + CommitmentPlan renewal_plan = 8 [(google.api.field_behavior) = OPTIONAL]; // Applicable only for commitments located within one of the BigQuery // multi-regions (US or EU). @@ -796,10 +969,10 @@ message CapacityCommitment { // // NOTE: this is a preview feature. Project must be allow-listed in order to // set this field. - bool multi_region_auxiliary = 10; + bool multi_region_auxiliary = 10 [deprecated = true]; - // Edition of the capacity commitment. - Edition edition = 12; + // Optional. Edition of the capacity commitment. + Edition edition = 12 [(google.api.field_behavior) = OPTIONAL]; // Output only. If true, the commitment is a flat-rate commitment, otherwise, // it's an edition commitment. @@ -910,6 +1083,84 @@ message FailoverReservationRequest { FailoverMode failover_mode = 2 [(google.api.field_behavior) = OPTIONAL]; } +// The request for +// [ReservationService.CreateReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservationGroup]. +message CreateReservationGroupRequest { + // Required. Project, location. E.g., + // `projects/myproject/locations/US` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "bigqueryreservation.googleapis.com/ReservationGroup" + } + ]; + + // Required. The reservation group ID. It must only contain lower case + // alphanumeric characters or dashes. It must start with a letter and must not + // end with a dash. Its maximum length is 64 characters. + string reservation_group_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. New Reservation Group to create. + ReservationGroup reservation_group = 3 + [(google.api.field_behavior) = REQUIRED]; +} + +// The request for +// [ReservationService.GetReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.GetReservationGroup]. +message GetReservationGroupRequest { + // Required. Resource name of the reservation group to retrieve. E.g., + // `projects/myproject/locations/US/reservationGroups/team1-prod` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigqueryreservation.googleapis.com/ReservationGroup" + } + ]; +} + +// The request for +// [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups]. +message ListReservationGroupsRequest { + // Required. The parent resource name containing project and location, e.g.: + // `projects/myproject/locations/US` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "bigqueryreservation.googleapis.com/ReservationGroup" + } + ]; + + // The maximum number of items to return per page. + int32 page_size = 2; + + // The next_page_token value returned from a previous List request, if any. + string page_token = 3; +} + +// The response for +// [ReservationService.ListReservationGroups][google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups]. +message ListReservationGroupsResponse { + // List of reservations visible to the user. + repeated ReservationGroup reservation_groups = 1; + + // Token to retrieve the next page of results, or empty if there are no + // more results in the list. + string next_page_token = 2; +} + +// The request for +// [ReservationService.DeleteReservationGroup][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservationGroup]. +message DeleteReservationGroupRequest { + // Required. Resource name of the reservation group to retrieve. E.g., + // `projects/myproject/locations/US/reservationGroups/team1-prod` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigqueryreservation.googleapis.com/ReservationGroup" + } + ]; +} + // The request for // [ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment]. message CreateCapacityCommitmentRequest { @@ -1049,6 +1300,12 @@ message MergeCapacityCommitmentsRequest { // ID is the last portion of capacity commitment name e.g., 'abc' for // projects/myproject/locations/US/capacityCommitments/abc repeated string capacity_commitment_ids = 2; + + // Optional. The optional resulting capacity commitment ID. Capacity + // commitment name will be generated automatically if this field is empty. + // This field must only contain lower case alphanumeric characters or dashes. + // The first and last character cannot be a dash. Max length is 64 characters. + string capacity_commitment_id = 3 [(google.api.field_behavior) = OPTIONAL]; } // An assignment allows a project to submit jobs @@ -1083,6 +1340,23 @@ message Assignment { // Continuous SQL jobs will use this reservation. Reservations with // continuous assignments cannot be mixed with non-continuous assignments. CONTINUOUS = 6; + + // Finer granularity background jobs for capturing changes in a source + // database and streaming them into BigQuery. Reservations with this job + // type take priority over a default BACKGROUND reservation assignment (if + // it exists). + BACKGROUND_CHANGE_DATA_CAPTURE = 7; + + // Finer granularity background jobs for refreshing cached metadata for + // BigQuery tables. Reservations with this job type take priority over a + // default BACKGROUND reservation assignment (if it exists). + BACKGROUND_COLUMN_METADATA_INDEX = 8; + + // Finer granularity background jobs for refreshing search indexes upon + // BigQuery table columns. Reservations with this job type + // take priority over a default BACKGROUND reservation assignment (if it + // exists). + BACKGROUND_SEARCH_INDEX_REFRESH = 9; } // Assignment will remain in PENDING state if no active capacity commitment is @@ -1106,12 +1380,12 @@ message Assignment { // dashes and the max length is 64 characters. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The resource which will use the reservation. E.g. + // Optional. The resource which will use the reservation. E.g. // `projects/myproject`, `folders/123`, or `organizations/456`. - string assignee = 4; + string assignee = 4 [(google.api.field_behavior) = OPTIONAL]; - // Which type of jobs will use the reservation. - JobType job_type = 3; + // Optional. Which type of jobs will use the reservation. + JobType job_type = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. State of the assignment. State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1125,6 +1399,15 @@ message Assignment { // give the grantee project/organization access to "Gemini in BigQuery" // features. bool enable_gemini_in_bigquery = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The scheduling policy to use for jobs and queries of this + // assignee when running under the associated reservation. The scheduling + // policy controls how the reservation's resources are distributed. This + // overrides the default scheduling policy specified on the reservation. + // + // This feature is not yet generally available. + SchedulingPolicy scheduling_policy = 11 + [(google.api.field_behavior) = OPTIONAL]; } // The request for @@ -1332,14 +1615,14 @@ message UpdateAssignmentRequest { // Fully qualified reference to BigQuery table. // Internally stored as google.cloud.bi.v1.BqTableReference. message TableReference { - // The assigned project ID of the project. - string project_id = 1; + // Optional. The assigned project ID of the project. + string project_id = 1 [(google.api.field_behavior) = OPTIONAL]; - // The ID of the dataset in the above project. - string dataset_id = 2; + // Optional. The ID of the dataset in the above project. + string dataset_id = 2 [(google.api.field_behavior) = OPTIONAL]; - // The ID of the table in the above dataset. - string table_id = 3; + // Optional. The ID of the table in the above dataset. + string table_id = 3 [(google.api.field_behavior) = OPTIONAL]; } // Represents a BI Reservation. @@ -1349,20 +1632,21 @@ message BiReservation { pattern: "projects/{project}/locations/{location}/biReservation" }; - // The resource name of the singleton BI reservation. + // Identifier. The resource name of the singleton BI reservation. // Reservation names have the form // `projects/{project_id}/locations/{location_id}/biReservation`. - string name = 1; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. The last update timestamp of a reservation. google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Size of a reservation, in bytes. - int64 size = 4; + // Optional. Size of a reservation, in bytes. + int64 size = 4 [(google.api.field_behavior) = OPTIONAL]; - // Preferred tables to use BI capacity for. - repeated TableReference preferred_tables = 5; + // Optional. Preferred tables to use BI capacity for. + repeated TableReference preferred_tables = 5 + [(google.api.field_behavior) = OPTIONAL]; } // A request to get a singleton BI reservation. @@ -1404,7 +1688,7 @@ enum Edition { } // The failover mode when a user initiates a failover on a reservation -// determines how writes that arepending replication are handled after the +// determines how writes that are pending replication are handled after the // failover is initiated. enum FailoverMode { // Invalid value. diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/AsyncCreateReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/AsyncCreateReservationGroup.java new file mode 100644 index 000000000000..8791792e87e7 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/AsyncCreateReservationGroup.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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class AsyncCreateReservationGroup { + + public static void main(String[] args) throws Exception { + asyncCreateReservationGroup(); + } + + public static void asyncCreateReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + ApiFuture future = + reservationServiceClient.createReservationGroupCallable().futureCall(request); + // Do something. + ReservationGroup response = future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/SyncCreateReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/SyncCreateReservationGroup.java new file mode 100644 index 000000000000..d58be838e8ed --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/createreservationgroup/SyncCreateReservationGroup.java @@ -0,0 +1,48 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_sync] +import com.google.cloud.bigquery.reservation.v1.CreateReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncCreateReservationGroup { + + public static void main(String[] args) throws Exception { + syncCreateReservationGroup(); + } + + public static void syncCreateReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + CreateReservationGroupRequest request = + CreateReservationGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setReservationGroupId("reservationGroupId-1636887922") + .setReservationGroup(ReservationGroup.newBuilder().build()) + .build(); + ReservationGroup response = reservationServiceClient.createReservationGroup(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/AsyncDeleteReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/AsyncDeleteReservationGroup.java new file mode 100644 index 000000000000..0fbbd4b35520 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/AsyncDeleteReservationGroup.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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.protobuf.Empty; + +public class AsyncDeleteReservationGroup { + + public static void main(String[] args) throws Exception { + asyncDeleteReservationGroup(); + } + + public static void asyncDeleteReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + DeleteReservationGroupRequest request = + DeleteReservationGroupRequest.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + ApiFuture future = + reservationServiceClient.deleteReservationGroupCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroup.java new file mode 100644 index 000000000000..411e5f60ec15 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroup.java @@ -0,0 +1,48 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_sync] +import com.google.cloud.bigquery.reservation.v1.DeleteReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteReservationGroup { + + public static void main(String[] args) throws Exception { + syncDeleteReservationGroup(); + } + + public static void syncDeleteReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + DeleteReservationGroupRequest request = + DeleteReservationGroupRequest.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + reservationServiceClient.deleteReservationGroup(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupReservationgroupname.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupReservationgroupname.java new file mode 100644 index 000000000000..e3123f587f9b --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupReservationgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_Reservationgroupname_sync] +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteReservationGroupReservationgroupname { + + public static void main(String[] args) throws Exception { + syncDeleteReservationGroupReservationgroupname(); + } + + public static void syncDeleteReservationGroupReservationgroupname() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + reservationServiceClient.deleteReservationGroup(name); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_Reservationgroupname_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupString.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupString.java new file mode 100644 index 000000000000..594c206df813 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/deletereservationgroup/SyncDeleteReservationGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_String_sync] +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteReservationGroupString { + + public static void main(String[] args) throws Exception { + syncDeleteReservationGroupString(); + } + + public static void syncDeleteReservationGroupString() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + String name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]").toString(); + reservationServiceClient.deleteReservationGroup(name); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_String_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/AsyncGetIamPolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/AsyncGetIamPolicy.java new file mode 100644 index 000000000000..d6fa80a31ba0 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/AsyncGetIamPolicy.java @@ -0,0 +1,54 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.GetPolicyOptions; +import com.google.iam.v1.Policy; + +public class AsyncGetIamPolicy { + + public static void main(String[] args) throws Exception { + asyncGetIamPolicy(); + } + + public static void asyncGetIamPolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + ApiFuture future = + reservationServiceClient.getIamPolicyCallable().futureCall(request); + // Do something. + Policy response = future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicy.java new file mode 100644 index 000000000000..682ff07e7bb1 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicy.java @@ -0,0 +1,50 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_sync] +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.GetPolicyOptions; +import com.google.iam.v1.Policy; + +public class SyncGetIamPolicy { + + public static void main(String[] args) throws Exception { + syncGetIamPolicy(); + } + + public static void syncGetIamPolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + Policy response = reservationServiceClient.getIamPolicy(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyResourcename.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyResourcename.java new file mode 100644 index 000000000000..9ba5b1284082 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyResourcename.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_Resourcename_sync] +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; + +public class SyncGetIamPolicyResourcename { + + public static void main(String[] args) throws Exception { + syncGetIamPolicyResourcename(); + } + + public static void syncGetIamPolicyResourcename() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy response = reservationServiceClient.getIamPolicy(resource); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_Resourcename_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyString.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyString.java new file mode 100644 index 000000000000..526f4a3f0b3f --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getiampolicy/SyncGetIamPolicyString.java @@ -0,0 +1,43 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_String_sync] +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; + +public class SyncGetIamPolicyString { + + public static void main(String[] args) throws Exception { + syncGetIamPolicyString(); + } + + public static void syncGetIamPolicyString() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + String resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]").toString(); + Policy response = reservationServiceClient.getIamPolicy(resource); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_String_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/AsyncGetReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/AsyncGetReservationGroup.java new file mode 100644 index 000000000000..3aa9b472dd9f --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/AsyncGetReservationGroup.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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class AsyncGetReservationGroup { + + public static void main(String[] args) throws Exception { + asyncGetReservationGroup(); + } + + public static void asyncGetReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + GetReservationGroupRequest request = + GetReservationGroupRequest.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + ApiFuture future = + reservationServiceClient.getReservationGroupCallable().futureCall(request); + // Do something. + ReservationGroup response = future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroup.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroup.java new file mode 100644 index 000000000000..d50caa5e64c7 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroup.java @@ -0,0 +1,48 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_sync] +import com.google.cloud.bigquery.reservation.v1.GetReservationGroupRequest; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncGetReservationGroup { + + public static void main(String[] args) throws Exception { + syncGetReservationGroup(); + } + + public static void syncGetReservationGroup() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + GetReservationGroupRequest request = + GetReservationGroupRequest.newBuilder() + .setName( + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]") + .toString()) + .build(); + ReservationGroup response = reservationServiceClient.getReservationGroup(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupReservationgroupname.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupReservationgroupname.java new file mode 100644 index 000000000000..3666c1bdba52 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupReservationgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_Reservationgroupname_sync] +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncGetReservationGroupReservationgroupname { + + public static void main(String[] args) throws Exception { + syncGetReservationGroupReservationgroupname(); + } + + public static void syncGetReservationGroupReservationgroupname() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ReservationGroupName name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]"); + ReservationGroup response = reservationServiceClient.getReservationGroup(name); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_Reservationgroupname_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupString.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupString.java new file mode 100644 index 000000000000..81121304d27e --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/getreservationgroup/SyncGetReservationGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_String_sync] +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationGroupName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncGetReservationGroupString { + + public static void main(String[] args) throws Exception { + syncGetReservationGroupString(); + } + + public static void syncGetReservationGroupString() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + String name = + ReservationGroupName.of("[PROJECT]", "[LOCATION]", "[RESERVATION_GROUP]").toString(); + ReservationGroup response = reservationServiceClient.getReservationGroup(name); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_String_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroups.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroups.java new file mode 100644 index 000000000000..92e9224cbeb2 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroups.java @@ -0,0 +1,54 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class AsyncListReservationGroups { + + public static void main(String[] args) throws Exception { + asyncListReservationGroups(); + } + + public static void asyncListReservationGroups() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ListReservationGroupsRequest request = + ListReservationGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + reservationServiceClient.listReservationGroupsPagedCallable().futureCall(request); + // Do something. + for (ReservationGroup element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroupsPaged.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroupsPaged.java new file mode 100644 index 000000000000..de2c8b802fa9 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/AsyncListReservationGroupsPaged.java @@ -0,0 +1,62 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_Paged_async] +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse; +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.common.base.Strings; + +public class AsyncListReservationGroupsPaged { + + public static void main(String[] args) throws Exception { + asyncListReservationGroupsPaged(); + } + + public static void asyncListReservationGroupsPaged() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ListReservationGroupsRequest request = + ListReservationGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListReservationGroupsResponse response = + reservationServiceClient.listReservationGroupsCallable().call(request); + for (ReservationGroup element : response.getReservationGroupsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_Paged_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroups.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroups.java new file mode 100644 index 000000000000..42d999cbe64e --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroups.java @@ -0,0 +1,51 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_sync] +import com.google.cloud.bigquery.reservation.v1.ListReservationGroupsRequest; +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncListReservationGroups { + + public static void main(String[] args) throws Exception { + syncListReservationGroups(); + } + + public static void syncListReservationGroups() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ListReservationGroupsRequest request = + ListReservationGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (ReservationGroup element : + reservationServiceClient.listReservationGroups(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsLocationname.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsLocationname.java new file mode 100644 index 000000000000..e055ceb24ba5 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsLocationname.java @@ -0,0 +1,45 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_Locationname_sync] +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncListReservationGroupsLocationname { + + public static void main(String[] args) throws Exception { + syncListReservationGroupsLocationname(); + } + + public static void syncListReservationGroupsLocationname() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (ReservationGroup element : + reservationServiceClient.listReservationGroups(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_Locationname_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsString.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsString.java new file mode 100644 index 000000000000..6b99523b3bc5 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/listreservationgroups/SyncListReservationGroupsString.java @@ -0,0 +1,45 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_String_sync] +import com.google.cloud.bigquery.reservation.v1.LocationName; +import com.google.cloud.bigquery.reservation.v1.ReservationGroup; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; + +public class SyncListReservationGroupsString { + + public static void main(String[] args) throws Exception { + syncListReservationGroupsString(); + } + + public static void syncListReservationGroupsString() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (ReservationGroup element : + reservationServiceClient.listReservationGroups(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_String_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/AsyncMergeCapacityCommitments.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/AsyncMergeCapacityCommitments.java index 871cc3d57cb6..5f5d85e0119a 100644 --- a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/AsyncMergeCapacityCommitments.java +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/AsyncMergeCapacityCommitments.java @@ -41,6 +41,7 @@ public static void asyncMergeCapacityCommitments() throws Exception { MergeCapacityCommitmentsRequest.newBuilder() .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .addAllCapacityCommitmentIds(new ArrayList()) + .setCapacityCommitmentId("capacityCommitmentId1185645802") .build(); ApiFuture future = reservationServiceClient.mergeCapacityCommitmentsCallable().futureCall(request); diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/SyncMergeCapacityCommitments.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/SyncMergeCapacityCommitments.java index ee024660b435..254692deaa48 100644 --- a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/SyncMergeCapacityCommitments.java +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/mergecapacitycommitments/SyncMergeCapacityCommitments.java @@ -40,6 +40,7 @@ public static void syncMergeCapacityCommitments() throws Exception { MergeCapacityCommitmentsRequest.newBuilder() .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .addAllCapacityCommitmentIds(new ArrayList()) + .setCapacityCommitmentId("capacityCommitmentId1185645802") .build(); CapacityCommitment response = reservationServiceClient.mergeCapacityCommitments(request); } diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/AsyncSetIamPolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/AsyncSetIamPolicy.java new file mode 100644 index 000000000000..b85120fb17a6 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/AsyncSetIamPolicy.java @@ -0,0 +1,55 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.protobuf.FieldMask; + +public class AsyncSetIamPolicy { + + public static void main(String[] args) throws Exception { + asyncSetIamPolicy(); + } + + public static void asyncSetIamPolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + reservationServiceClient.setIamPolicyCallable().futureCall(request); + // Do something. + Policy response = future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicy.java new file mode 100644 index 000000000000..77f66020f6c1 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicy.java @@ -0,0 +1,51 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_sync] +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.protobuf.FieldMask; + +public class SyncSetIamPolicy { + + public static void main(String[] args) throws Exception { + syncSetIamPolicy(); + } + + public static void syncSetIamPolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Policy response = reservationServiceClient.setIamPolicy(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java new file mode 100644 index 000000000000..ec7ba4251d41 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -0,0 +1,45 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_ResourcenamePolicy_sync] +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; + +public class SyncSetIamPolicyResourcenamePolicy { + + public static void main(String[] args) throws Exception { + syncSetIamPolicyResourcenamePolicy(); + } + + public static void syncSetIamPolicyResourcenamePolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + ResourceName resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]"); + Policy policy = Policy.newBuilder().build(); + Policy response = reservationServiceClient.setIamPolicy(resource, policy); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_ResourcenamePolicy_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyStringPolicy.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyStringPolicy.java new file mode 100644 index 000000000000..f3bd24a506a0 --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/setiampolicy/SyncSetIamPolicyStringPolicy.java @@ -0,0 +1,44 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_StringPolicy_sync] +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.Policy; + +public class SyncSetIamPolicyStringPolicy { + + public static void main(String[] args) throws Exception { + syncSetIamPolicyStringPolicy(); + } + + public static void syncSetIamPolicyStringPolicy() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + String resource = + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]").toString(); + Policy policy = Policy.newBuilder().build(); + Policy response = reservationServiceClient.setIamPolicy(resource, policy); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_StringPolicy_sync] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/AsyncTestIamPermissions.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/AsyncTestIamPermissions.java new file mode 100644 index 000000000000..d6d492c503ad --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/AsyncTestIamPermissions.java @@ -0,0 +1,54 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import java.util.ArrayList; + +public class AsyncTestIamPermissions { + + public static void main(String[] args) throws Exception { + asyncTestIamPermissions(); + } + + public static void asyncTestIamPermissions() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + ApiFuture future = + reservationServiceClient.testIamPermissionsCallable().futureCall(request); + // Do something. + TestIamPermissionsResponse response = future.get(); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_async] diff --git a/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/SyncTestIamPermissions.java b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/SyncTestIamPermissions.java new file mode 100644 index 000000000000..c5c3eb074acd --- /dev/null +++ b/java-bigqueryreservation/samples/snippets/generated/com/google/cloud/bigquery/reservation/v1/reservationservice/testiampermissions/SyncTestIamPermissions.java @@ -0,0 +1,50 @@ +/* + * 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.cloud.bigquery.reservation.v1.samples; + +// [START bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_sync] +import com.google.cloud.bigquery.reservation.v1.AssignmentName; +import com.google.cloud.bigquery.reservation.v1.ReservationServiceClient; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import java.util.ArrayList; + +public class SyncTestIamPermissions { + + public static void main(String[] args) throws Exception { + syncTestIamPermissions(); + } + + public static void syncTestIamPermissions() 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 (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource( + AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]") + .toString()) + .addAllPermissions(new ArrayList()) + .build(); + TestIamPermissionsResponse response = reservationServiceClient.testIamPermissions(request); + } + } +} +// [END bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_sync] diff --git a/java-billing/README.md b/java-billing/README.md index 1045c16d932b..e742dd7262a0 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billing - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.74.0' +implementation 'com.google.cloud:google-cloud-billing:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.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-billing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.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-billingbudgets/README.md b/java-billingbudgets/README.md index d8ffb266fc51..1adc5ec6efe4 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.74.0' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.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-billingbudgets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.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-binary-authorization/README.md b/java-binary-authorization/README.md index 182f59a0cff5..39ff634fd40b 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:1.73.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "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-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/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-certificate-manager/README.md b/java-certificate-manager/README.md index d0dc037b889b..4a8c27f9434c 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-certificate-manager:0.77.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.78.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.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/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-channel/README.md b/java-channel/README.md index 939d9714950f..8d35a934c123 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-channel - 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-channel:3.78.0' +implementation 'com.google.cloud:google-cloud-channel:3.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "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-channel.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/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-chat/README.md b/java-chat/README.md index 2a0932f1b4d0..4c1fc099d7b1 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chat - 0.38.0 + 0.39.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chat:0.38.0' +implementation 'com.google.cloud:google-cloud-chat:0.39.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.39.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.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.39.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-chronicle/README.md b/java-chronicle/README.md index 5307bfc22915..15b12071d492 100644 --- a/java-chronicle/README.md +++ b/java-chronicle/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chronicle - 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-chronicle:0.12.0' +implementation 'com.google.cloud:google-cloud-chronicle:0.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "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-chronicle.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/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-cloudbuild/README.md b/java-cloudbuild/README.md index 7d0b54b23d02..44b168cd470e 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-build - 3.76.0 + 3.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-build:3.76.0' +implementation 'com.google.cloud:google-cloud-build:3.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.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-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.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-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index 2ed8d1e21152..20397d885951 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcommerceconsumerprocurement - 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-cloudcommerceconsumerprocurement:0.72.0' +implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "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-cloudcommerceconsumerprocurement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/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-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index faa978c693bb..51da5a825a5f 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcontrolspartner - 0.38.0 + 0.39.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.38.0' +implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.39.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.39.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.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.39.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 af0c0a301889..6e23c89009dc 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudquotas - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudquotas:0.42.0' +implementation 'com.google.cloud:google-cloud-cloudquotas:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.43.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.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.43.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 55d24726d5d6..c49678833508 100644 --- a/java-cloudsecuritycompliance/README.md +++ b/java-cloudsecuritycompliance/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsecuritycompliance - 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-cloudsecuritycompliance:0.1.0' +implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "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-cloudsecuritycompliance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.1.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/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-cloudsupport/README.md b/java-cloudsupport/README.md index efd16d253962..839f26857fc6 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsupport - 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-cloudsupport:0.58.0' +implementation 'com.google.cloud:google-cloud-cloudsupport:0.59.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "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-cloudsupport.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.58.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/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-compute/README.md b/java-compute/README.md index b243e8c44fbf..b4298274bf39 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-compute - 1.84.0 + 1.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-compute:1.84.0' +implementation 'com.google.cloud:google-cloud-compute:1.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.85.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.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.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-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsClient.java index 11bbd44e57d6..b982e4e8debb 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsClient.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsClient.java @@ -215,7 +215,7 @@ * * *

MoveDisk - *

Moves a persistent disk from one zone to another. + *

Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption. * *

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

*
    @@ -1383,7 +1383,13 @@ public final UnaryCallable listXpnHost // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Moves a persistent disk from one zone to another. + * Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to + * a different region or zone, follow the steps in [Change the location of a + * disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). + * Projects that already use the moveDisk API can continue usage until September 29, 2026. + * Starting November 1, 2025, API responses will include a warning message in the response body + * about the upcoming deprecation. You can skip the message to continue using the service without + * interruption. * *

    Sample code: * @@ -1416,7 +1422,13 @@ public final OperationFuture moveDiskAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Moves a persistent disk from one zone to another. + * Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to + * a different region or zone, follow the steps in [Change the location of a + * disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). + * Projects that already use the moveDisk API can continue usage until September 29, 2026. + * Starting November 1, 2025, API responses will include a warning message in the response body + * about the upcoming deprecation. You can skip the message to continue using the service without + * interruption. * *

    Sample code: * @@ -1446,7 +1458,13 @@ public final OperationFuture moveDiskAsync(MoveDiskProject // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Moves a persistent disk from one zone to another. + * Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to + * a different region or zone, follow the steps in [Change the location of a + * disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). + * Projects that already use the moveDisk API can continue usage until September 29, 2026. + * Starting November 1, 2025, API responses will include a warning message in the response body + * about the upcoming deprecation. You can skip the message to continue using the service without + * interruption. * *

    Sample code: * @@ -1477,7 +1495,13 @@ public final OperationFuture moveDiskAsync(MoveDiskProject // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Moves a persistent disk from one zone to another. + * Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to + * a different region or zone, follow the steps in [Change the location of a + * disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). + * Projects that already use the moveDisk API can continue usage until September 29, 2026. + * Starting November 1, 2025, API responses will include a warning message in the response body + * about the upcoming deprecation. You can skip the message to continue using the service without + * interruption. * *

    Sample code: * diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksClient.java index 462165399911..81985a3ee9c1 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksClient.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksClient.java @@ -868,6 +868,7 @@ public final Subnetwork get(String project, String region, String subnetwork) { * .setProject("project-309310695") * .setRegion("region-934795532") * .setSubnetwork("subnetwork-1302785042") + * .setViews("views112204398") * .build(); * Subnetwork response = subnetworksClient.get(request); * } @@ -898,6 +899,7 @@ public final Subnetwork get(GetSubnetworkRequest request) { * .setProject("project-309310695") * .setRegion("region-934795532") * .setSubnetwork("subnetwork-1302785042") + * .setViews("views112204398") * .build(); * ApiFuture future = subnetworksClient.getCallable().futureCall(request); * // Do something. @@ -1190,6 +1192,7 @@ public final ListPagedResponse list(String project, String region) { * .setProject("project-309310695") * .setRegion("region-934795532") * .setReturnPartialSuccess(true) + * .setViews("views112204398") * .build(); * for (Subnetwork element : subnetworksClient.list(request).iterateAll()) { * // doThingsWith(element); @@ -1226,6 +1229,7 @@ public final ListPagedResponse list(ListSubnetworksRequest request) { * .setProject("project-309310695") * .setRegion("region-934795532") * .setReturnPartialSuccess(true) + * .setViews("views112204398") * .build(); * ApiFuture future = subnetworksClient.listPagedCallable().futureCall(request); * // Do something. @@ -1261,6 +1265,7 @@ public final UnaryCallable listPagedC * .setProject("project-309310695") * .setRegion("region-934795532") * .setReturnPartialSuccess(true) + * .setViews("views112204398") * .build(); * while (true) { * SubnetworkList response = subnetworksClient.listCallable().call(request); diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworksStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworksStub.java index 93acd6595f49..ce783fbcbd2c 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworksStub.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworksStub.java @@ -269,6 +269,9 @@ public class HttpJsonSubnetworksStub extends SubnetworksStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + if (request.hasViews()) { + serializer.putQueryParam(fields, "views", request.getViews()); + } return fields; }) .setRequestBodyExtractor(request -> null) @@ -417,6 +420,9 @@ public class HttpJsonSubnetworksStub extends SubnetworksStub { "returnPartialSuccess", request.getReturnPartialSuccess()); } + if (request.hasViews()) { + serializer.putQueryParam(fields, "views", request.getViews()); + } return fields; }) .setRequestBodyExtractor(request -> null) diff --git a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json index 38e9c8ba1018..9ccc051a71e9 100644 --- a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json +++ b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json @@ -10214,6 +10214,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.GetSubnetworkRequest$Views", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.GetTargetGrpcProxyRequest", "queryAllDeclaredConstructors": true, @@ -18440,6 +18449,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.ListSubnetworksRequest$Views", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.ListTargetGrpcProxiesRequest", "queryAllDeclaredConstructors": true, @@ -30716,6 +30734,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetails", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetails$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.SubnetworksExpandIpCidrRangeRequest", "queryAllDeclaredConstructors": true, diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationsClientTest.java index 43c18a8b326e..09001e087497 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationsClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectLocationsClientTest.java @@ -96,6 +96,7 @@ public void getTest() throws Exception { .setPeeringdbFacilityId("peeringdbFacilityId1154838908") .addAllRegionInfos(new ArrayList()) .setSelfLink("selfLink1191800166") + .addAllSingleRegionProductionCriticalPeerLocations(new ArrayList()) .setStatus("status-892481550") .setSupportsPzs(true) .build(); diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectRemoteLocationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectRemoteLocationsClientTest.java index df6c2ab86088..29fdde2fd786 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectRemoteLocationsClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectRemoteLocationsClientTest.java @@ -95,6 +95,7 @@ public void getTest() throws Exception { .setLacp("lacp3313826") .setMaxLagSize100Gbps(-828522571) .setMaxLagSize10Gbps(294007573) + .setMaxLagSize400Gbps(104941138) .setName("name3373707") .setPeeringdbFacilityId("peeringdbFacilityId1154838908") .addAllPermittedConnections( diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java index 5b06160da989..0481cfcb1da6 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java @@ -327,6 +327,7 @@ public void getTest() throws Exception { .setState("state109757585") .addAllSystemReservedExternalIpv6Ranges(new ArrayList()) .addAllSystemReservedInternalIpv6Ranges(new ArrayList()) + .setUtilizationDetails(SubnetworkUtilizationDetails.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java index 9ff50279ed06..d7240a401bb5 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java @@ -6412,6 +6412,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -12394,11 +12406,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031GetStoragePoolTypeRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\"\n" + "\021storage_pool_type\030\271\201\260\210\001 \001(\tB\003\340A\002\022\024\n" - + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"d\n" + + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\315\001\n" + "\024GetSubnetworkRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\033\n\n" - + "subnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\"W\n" + + "subnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022\025\n" + + "\005views\030\356\264\3005 \001(\tH\000\210\001\001\"F\n" + + "\005Views\022\023\n" + + "\017UNDEFINED_VIEWS\020\000\022\016\n" + + "\007DEFAULT\020\241\304\3756\022\030\n" + + "\020WITH_UTILIZATION\020\211\240\257\360\001B\010\n" + + "\006_views\"W\n" + "\031GetTargetGrpcProxyRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022!\n" + "\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002\"W\n" @@ -12481,8 +12499,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_policy\"\321\001\n" + "\026GlobalSetLabelsRequest\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n" - + "\006labels\030\377\277\301\356\001 \003(\0132;.google." - + "cloud.compute.v1.GlobalSetLabelsRequest.LabelsEntry\032-\n" + + "\006labels\030\377\277\301\356\001" + + " \003(\0132;.google.cloud.compute.v1.GlobalSetLabelsRequest.LabelsEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\024\n" @@ -12507,8 +12525,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\005H\005\210\001\001\0229\n" + "(subblock_infra_maintenance_pending_count\030\232\331\301\221\001" + " \001(\005H\006\210\001\001\022Y\n" - + "\032upcoming_group_maintenance\030\360\311\315\273\001 \001(\0132,.google.cl" - + "oud.compute.v1.UpcomingMaintenanceH\007\210\001\001\"\200\001\n" + + "\032upcoming_group_maintenance\030\360\311\315\273\001" + + " \001(\0132,.google.cloud.compute.v1.UpcomingMaintenanceH\007\210\001\001\"\200\001\n" + "\016SchedulingType\022\035\n" + "\031UNDEFINED_SCHEDULING_TYPE\020\000\022\017\n" + "\007GROUPED\020\276\326\243\342\001\022*\n" @@ -12523,7 +12541,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")_subblock_infra_maintenance_pending_countB\035\n" + "\033_upcoming_group_maintenance\"\304\002\n" + "\017GuestAttributes\022\024\n" - + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\033\n\n" + + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\033\n" + + "\n" + "query_path\030\274\202\341\257\001 \001(\tH\001\210\001\001\022J\n" + "\013query_value\030\272\256\221K" + " \001(\0132-.google.cloud.compute.v1.GuestAttributesValueH\002\210\001\001\022\032\n" @@ -12642,19 +12661,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022check_interval_sec\030\256\257\343\244\001 \001(\005H\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022K\n" - + "\021grpc_health_check\030\346\247\344(" - + " \001(\0132(.google.cloud.compute.v1.GRPCHealthCheckH\003\210\001\001\022\"\n" + + "\021grpc_health_check\030\346\247\344( \001(" + + "\0132(.google.cloud.compute.v1.GRPCHealthCheckH\003\210\001\001\022\"\n" + "\021healthy_threshold\030\311\220\242\300\001 \001(\005H\004\210\001\001\022M\n" - + "\022http2_health_check\030\332\265\265\005" - + " \001(\0132).google.cloud.compute.v1.HTTP2HealthCheckH\005\210\001\001\022L\n" - + "\021http_health_check\030\274\247\336\304\001" - + " \001(\0132(.google.cloud.compute.v1.HTTPHealthCheckH\006\210\001\001\022N\n" - + "\022https_health_check\030\271\230\366\317\001" - + " \001(\0132).google.cloud.compute.v1.HTTPSHealthCheckH\007\210\001\001\022\020\n" + + "\022http2_health_check\030\332\265\265\005 \001(\0132).go" + + "ogle.cloud.compute.v1.HTTP2HealthCheckH\005\210\001\001\022L\n" + + "\021http_health_check\030\274\247\336\304\001 \001(\0132(.goo" + + "gle.cloud.compute.v1.HTTPHealthCheckH\006\210\001\001\022N\n" + + "\022https_health_check\030\271\230\366\317\001 \001(\0132).goog" + + "le.cloud.compute.v1.HTTPSHealthCheckH\007\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\t\210\001\001\022J\n\n" - + "log_config\030\235\321\301\247\001 \001(\0132" - + "-.google.cloud.compute.v1.HealthCheckLogConfigH\n" + + "log_config\030\235\321\301\247\001" + + " \001(\0132-.google.cloud.compute.v1.HealthCheckLogConfigH\n" + "\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\014\210\001\001\022\032\n" @@ -12761,17 +12780,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\304\003\n" + "\032HealthChecksAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022P\n" - + "\005items\030\300\317\367/ \003(\0132>.google.cl" - + "oud.compute.v1.HealthChecksAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132>.google.cloud.compute.v1" + + ".HealthChecksAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" - + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001", + "\001\022\027\n" + "\014unreachables\030\237\240\206t \003(\t\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\004\210\001\001\032]\n\n" + "ItemsEntry\022\013\n" - + "\003key", - "\030\001 \001(\t\022>\n" + + "\003key\030\001 \001(\t\022>\n" + "\005value\030\002" + " \001(\0132/.google.cloud.compute.v1.HealthChecksScopedList:\0028\001B\005\n" + "\003_idB\007\n" @@ -12824,14 +12843,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_weightB\017\n\r" + "_weight_error\"\324\005\n" + "\036HealthStatusForNetworkEndpoint\022R\n" - + "\017backend_service\030\212\300\256\222\001" - + " \001(\01320.google.cloud.compute.v1.BackendServiceReferenceH\000\210\001\001\022R\n" - + "\017forwarding_rule\030\376\245\335\200\001" - + " \001(\01320.google.cloud.compute.v1.ForwardingRuleReferenceH\001\210\001\001\022L\n" - + "\014health_check\030\345\252\244\223\001" - + " \001(\0132-.google.cloud.compute.v1.HealthCheckReferenceH\002\210\001\001\022[\n" - + "\024health_check_service\030\333\233\335\302\001 \001(\01324.google.cloud.compu" - + "te.v1.HealthCheckServiceReferenceH\003\210\001\001\022\035\n" + + "\017backend_service\030\212\300\256\222\001 \001(\01320.goo" + + "gle.cloud.compute.v1.BackendServiceReferenceH\000\210\001\001\022R\n" + + "\017forwarding_rule\030\376\245\335\200\001 \001(\01320" + + ".google.cloud.compute.v1.ForwardingRuleReferenceH\001\210\001\001\022L\n" + + "\014health_check\030\345\252\244\223\001 \001(\0132" + + "-.google.cloud.compute.v1.HealthCheckReferenceH\002\210\001\001\022[\n" + + "\024health_check_service\030\333\233\335\302\001" + + " \001(\01324.google.cloud.compute.v1.HealthCheckServiceReferenceH\003\210\001\001\022\035\n" + "\014health_state\030\356\351\277\232\001 \001(\tH\004\210\001\001\022!\n" + "\021ipv6_health_state\030\306\200\340Z \001(\tH\005\210\001\001\"p\n" + "\013HealthState\022\032\n" @@ -12868,24 +12887,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_http_statusB\r\n" + "\013_percentage\"\214\001\n" + "\016HttpFaultDelay\022?\n" - + "\013fixed_delay\030\370\271\226\227\001" - + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\032\n\n" + + "\013fixed_delay\030\370\271\226\227\001 \001(\0132" + + "!.google.cloud.compute.v1.DurationH\000\210\001\001\022\032\n\n" + "percentage\030\232\345\267H \001(\001H\001\210\001\001B\016\n" + "\014_fixed_delayB\r\n" + "\013_percentage\"\250\001\n" + "\022HttpFaultInjection\022>\n" - + "\005abort\030\260\306\224, \001(\0132\'.goog" - + "le.cloud.compute.v1.HttpFaultAbortH\000\210\001\001\022>\n" - + "\005delay\030\203\363\302-" - + " \001(\0132\'.google.cloud.compute.v1.HttpFaultDelayH\001\210\001\001B\010\n" + + "\005abort\030\260\306\224," + + " \001(\0132\'.google.cloud.compute.v1.HttpFaultAbortH\000\210\001\001\022>\n" + + "\005delay\030\203\363\302- " + + "\001(\0132\'.google.cloud.compute.v1.HttpFaultDelayH\001\210\001\001B\010\n" + "\006_abortB\010\n" + "\006_delay\"\374\001\n" + "\020HttpHeaderAction\022L\n" + "\026request_headers_to_add\030\346\256\261\"" + " \003(\0132).google.cloud.compute.v1.HttpHeaderOption\022$\n" + "\031request_headers_to_remove\030\237\317\223h \003(\t\022M\n" - + "\027response_headers_to_add\030\364\266\251\017" - + " \003(\0132).google.cloud.compute.v1.HttpHeaderOption\022%\n" + + "\027response_headers_to_add\030\364\266\251\017 \003" + + "(\0132).google.cloud.compute.v1.HttpHeaderOption\022%\n" + "\032response_headers_to_remove\030\321\201\373# \003(\t\"\260\003\n" + "\017HttpHeaderMatch\022\034\n" + "\013exact_match\030\205\231\234\332\001 \001(\tH\000\210\001\001\022\033\n" @@ -12893,8 +12912,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014invert_match\030\234\310\372\356\001 \001(\010H\002\210\001\001\022\034\n" + "\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001\022\035\n\r" + "present_match\030\301\372\223 \001(\010H\004\210\001\001\022E\n" - + "\013range_match\030\303\250\257." - + " \001(\0132(.google.cloud.compute.v1.Int64RangeMatchH\005\210\001\001\022\033\n" + + "\013range_match\030\303\250\257. \001(\0132" + + "(.google.cloud.compute.v1.Int64RangeMatchH\005\210\001\001\022\033\n" + "\013regex_match\030\315\267\2323 \001(\tH\006\210\001\001\022\035\n" + "\014suffix_match\030\327\346\256\313\001 \001(\tH\007\210\001\001B\016\n" + "\014_exact_matchB\016\n" @@ -12951,22 +12970,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_num_retriesB\022\n" + "\020_per_try_timeout\"\361\005\n" + "\017HttpRouteAction\022A\n" - + "\013cors_policy\030\204\314\235\276\001 \001(\0132#." - + "google.cloud.compute.v1.CorsPolicyH\000\210\001\001\022T\n" - + "\026fault_injection_policy\030\227\224\352\304\001 \001(\0132+.go" - + "ogle.cloud.compute.v1.HttpFaultInjectionH\001\210\001\001\022F\n" + + "\013cors_policy\030\204\314\235\276\001" + + " \001(\0132#.google.cloud.compute.v1.CorsPolicyH\000\210\001\001\022T\n" + + "\026fault_injection_policy\030\227\224\352\304\001" + + " \001(\0132+.google.cloud.compute.v1.HttpFaultInjectionH\001\210\001\001\022F\n" + "\023max_stream_duration\030\230\245\245\035" + " \001(\0132!.google.cloud.compute.v1.DurationH\002\210\001\001\022S\n" - + "\025request_mirror_policy\030\202\340\377h \001(\0132,.google" - + ".cloud.compute.v1.RequestMirrorPolicyH\003\210\001\001\022F\n" + + "\025request_mirror_policy\030\202\340\377h" + + " \001(\0132,.google.cloud.compute.v1.RequestMirrorPolicyH\003\210\001\001\022F\n" + "\014retry_policy\030\251\345\212\033" + " \001(\0132(.google.cloud.compute.v1.HttpRetryPolicyH\004\210\001\001\022;\n" - + "\007timeout\030\341\232\275\215\001" - + " \001(\0132!.google.cloud.compute.v1.DurationH\005\210\001\001\022A\n" - + "\013url_rewrite\030\274\375\252\202\001 \001(\013" - + "2#.google.cloud.compute.v1.UrlRewriteH\006\210\001\001\022V\n" - + "\031weighted_backend_services\030\321\307\332\240\001 \003(" - + "\0132/.google.cloud.compute.v1.WeightedBackendServiceB\016\n" + + "\007timeout\030\341\232\275\215\001 \001(" + + "\0132!.google.cloud.compute.v1.DurationH\005\210\001\001\022A\n" + + "\013url_rewrite\030\274\375\252\202\001" + + " \001(\0132#.google.cloud.compute.v1.UrlRewriteH\006\210\001\001\022V\n" + + "\031weighted_backend_services\030\321\307\332\240\001" + + " \003(\0132/.google.cloud.compute.v1.WeightedBackendServiceB\016\n" + "\014_cors_policyB\031\n" + "\027_fault_injection_policyB\026\n" + "\024_max_stream_durationB\030\n" @@ -12975,19 +12994,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_timeoutB\016\n" + "\014_url_rewrite\"\350\004\n\r" + "HttpRouteRule\022`\n" - + "\034custom_error_response_policy\030\353\370\332`" - + " \001(\01322.google.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\034\n" + + "\034custom_error_response_policy\030\353\370\332` \001(\01322.goog" + + "le.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022I\n\r" - + "header_action\030\250\240\270\234\001 \001(" - + "\0132).google.cloud.compute.v1.HttpHeaderActionH\002\210\001\001\022D\n" - + "\013match_rules\030\375\273\261\263\001 \003(\0132+.goo" - + "gle.cloud.compute.v1.HttpRouteRuleMatch\022\031\n" + + "header_action\030\250\240\270\234\001" + + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\002\210\001\001\022D\n" + + "\013match_rules\030\375\273\261\263\001" + + " \003(\0132+.google.cloud.compute.v1.HttpRouteRuleMatch\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\005H\003\210\001\001\022G\n" - + "\014route_action\030\354\251\271\312\001" - + " \001(\0132(.google.cloud.compute.v1.HttpRouteActionH\004\210\001\001\022\030\n" + + "\014route_action\030\354\251\271\312\001 \001(\0132(" + + ".google.cloud.compute.v1.HttpRouteActionH\004\210\001\001\022\030\n" + "\007service\030\265\215\217\262\001 \001(\tH\005\210\001\001\022J\n" - + "\014url_redirect\030\254\241\230\301\001 \001(\0132+.google" - + ".cloud.compute.v1.HttpRedirectActionH\006\210\001\001B\037\n" + + "\014url_redirect\030\254\241\230\301\001" + + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\006\210\001\001B\037\n" + "\035_custom_error_response_policyB\016\n" + "\014_descriptionB\020\n" + "\016_header_actionB\013\n" @@ -12997,8 +13016,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_url_redirect\"\365\003\n" + "\022HttpRouteRuleMatch\022\037\n" + "\017full_path_match\030\333\211\252f \001(\tH\000\210\001\001\022D\n" - + "\016header_matches\030\201\353\310\254\001" - + " \003(\0132(.google.cloud.compute.v1.HttpHeaderMatch\022\034\n" + + "\016header_matches\030\201\353\310\254\001 \003(\0132(." + + "google.cloud.compute.v1.HttpHeaderMatch\022\034\n" + "\013ignore_case\030\375\222\264\335\001 \001(\010H\001\210\001\001\022E\n" + "\020metadata_filters\030\353\315\314\335\001" + " \003(\0132\'.google.cloud.compute.v1.MetadataFilter\022$\n" @@ -13016,8 +13035,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022#\n" + "\022archive_size_bytes\030\312\214\334\265\001 \001(\003H\001\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022G\n\n" - + "deprecated\030\263\313\321\365\001" - + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n" + + "deprecated\030\263\313\321\365\001 \001(\0132*.go" + + "ogle.cloud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\035\n" + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\005\210\001\001\022+\n" + "\033enable_confidential_compute\030\274\353\3310 \001(\010H\006\210\001\001\022\027\n" @@ -13025,13 +13044,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021guest_os_features\030\321\340\347%" + " \003(\0132\'.google.cloud.compute.v1.GuestOsFeature\022\020\n" + "\002id\030\233\032 \001(\004H\010\210\001\001\022U\n" - + "\024image_encryption_key\030\207\316\373\264\001 \001(\0132..googl" - + "e.cloud.compute.v1.CustomerEncryptionKeyH\t\210\001\001\022\024\n" + + "\024image_encryption_key\030\207\316\373\264\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\t\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\n" + "\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\013\210\001\001\022>\n" - + "\006labels\030\377\277\301\356\001 \003" - + "(\0132*.google.cloud.compute.v1.Image.LabelsEntry\022\030\n\r" + + "\006labels\030\377\277\301\356\001" + + " \003(\0132*.google.cloud.compute.v1.Image.LabelsEntry\022\030\n\r" + "license_codes\030\250\205\330\025 \003(\003\022\024\n" + "\010licenses\030\322\210\200\241\001 \003(\t\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\014\210\001\001\022;\n" @@ -13040,19 +13059,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\016\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\017\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\\\n" - + "\037shielded_instance_initial_state\030\203\304\334[ \001(\0132+.goog" - + "le.cloud.compute.v1.InitialStateConfigH\021\210\001\001\022\034\n" + + "\037shielded_instance_initial_state\030\203\304\334[" + + " \001(\0132+.google.cloud.compute.v1.InitialStateConfigH\021\210\001\001\022\034\n" + "\013source_disk\030\301\356\264\327\001 \001(\tH\022\210\001\001\022[\n" - + "\032source_disk_encryption_key\030\341\240\270\375\001 \001(\0132..goog" - + "le.cloud.compute.v1.CustomerEncryptionKeyH\023\210\001\001\022\037\n" + + "\032source_disk_encryption_key\030\341\240\270\375\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\023\210\001\001\022\037\n" + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\024\210\001\001\022\034\n" + "\014source_image\030\267\350\206\030 \001(\tH\025\210\001\001\022\\\n" - + "\033source_image_encryption_key\030\253\221\365\265\001 \001(\0132..google." - + "cloud.compute.v1.CustomerEncryptionKeyH\026\210\001\001\022\037\n" + + "\033source_image_encryption_key\030\253\221\365\265\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\026\210\001\001\022\037\n" + "\017source_image_id\030\243\374\260\032 \001(\tH\027\210\001\001\022\037\n" + "\017source_snapshot\030\350\232\216< \001(\tH\030\210\001\001\022_\n" - + "\036source_snapshot_encryption_key\030\332\216\347\220\001 \001(\0132..goog" - + "le.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\022\"\n" + + "\036source_snapshot_encryption_key\030\332\216\347\220\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\022\"\n" + "\022source_snapshot_id\030\322\226\230/ \001(\tH\032\210\001\001\022\034\n" + "\013source_type\030\336\361\322\327\001 \001(\tH\033\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\034\210\001\001\022\035\n" @@ -13147,15 +13166,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\274\001\n" + "\032InsertBackendBucketRequest\022P\n" - + "\027backend_bucket_resource\030\230\316\307\265\001 \001(\013" - + "2&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + + "\027backend_bucket_resource\030\230\316\307\265\001" + + " \001(\0132&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\277\001\n" + "\033InsertBackendServiceRequest\022R\n" - + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'.goog" - + "le.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + + "\030backend_service_resource\030\243\201\337\245\001" + + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -13172,21 +13191,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\017\n\r" + "_source_image\"\314\001\n" + "\037InsertExternalVpnGatewayRequest\022[\n" - + "\035external_vpn_gateway_resource\030\210\337\220\350\001 \001(\0132+.goo" - + "gle.cloud.compute.v1.ExternalVpnGatewayB\003\340A\002\022!\n" + + "\035external_vpn_gateway_resource\030\210\337\220\350\001" + + " \001(\0132+.google.cloud.compute.v1.ExternalVpnGatewayB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\304\001\n" + "\033InsertFirewallPolicyRequest\022R\n" - + "\030firewall_policy_resource\030\274\266\207\354\001 \001(\0132\'.googl" - + "e.cloud.compute.v1.FirewallPolicyB\003\340A\002\022&\n" + + "\030firewall_policy_resource\030\274\266\207\354\001" + + " \001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022&\n" + "\tparent_id\030\320\341\232\333\001 \001(\tB\017\340A\002\362G\tparent_id\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\253\001\n" + "\025InsertFirewallRequest\022D\n" - + "\021firewall_resource\030\355\260\340\023" - + " \001(\0132!.google.cloud.compute.v1.FirewallB\003\340A\002\022!\n" + + "\021firewall_resource\030\355\260\340\023 " + + "\001(\0132!.google.cloud.compute.v1.FirewallB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -13207,15 +13226,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\305\001\n" + "!InsertGlobalForwardingRuleRequest\022R\n" - + "\030forwarding_rule_resource\030\257\300\320\217\001" - + " \001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + + "\030forwarding_rule_resource\030\257\300\320\217\001 \001" + + "(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\330\001\n" + "\'InsertGlobalNetworkEndpointGroupRequest\022_\n" - + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001(\0132-.google.c" - + "loud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + + "\037network_endpoint_group_resource\030\247\315\333\372\001" + + " \001(\0132-.google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -13223,8 +13242,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")InsertGlobalPublicDelegatedPrefixeRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022`\n" - + " public_delegated_prefix_resource\030\205\370\330\026" - + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n" + + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..google" + + ".cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\265\001\n" + "\030InsertHealthCheckRequest\022K\n" @@ -13254,8 +13273,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\300\002\n" + ".InsertInstanceGroupManagerResizeRequestRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022{\n" - + ".instance_group_manager_resize_request_resource\030\355\276\265\337\001" - + " \001(\0132:.google.cloud.compute.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n" + + ".instance_group_manager_resize_request_resource\030\355\276\265\337\001 \001(\0132:.g" + + "oogle.cloud.compute.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -13263,8 +13282,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\331\001\n" + "\032InsertInstanceGroupRequest\022P\n" - + "\027instance_group_resource\030\270\265\325\210\001" - + " \001(\0132&.google.cloud.compute.v1.InstanceGroupB\003\340A\002\022!\n" + + "\027instance_group_resource\030\270\265\325\210\001 \001(\0132&.g" + + "oogle.cloud.compute.v1.InstanceGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -13286,15 +13305,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031_source_instance_templateB\027\n" + "\025_source_machine_image\"\304\001\n" + "\035InsertInstanceTemplateRequest\022U\n" - + "\032instance_template_resource\030\211\352\213\005" - + " \001(\0132).google.cloud.compute.v1.InstanceTemplateB\003\340A\002\022!\n" + + "\032instance_template_resource\030\211\352\213\005 \001(\0132" + + ").google.cloud.compute.v1.InstanceTemplateB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\337\001\n" + "\034InsertInstantSnapshotRequest\022T\n" - + "\031instant_snapshot_resource\030\313\252\210\267\001" - + " \001(\0132(.google.cloud.compute.v1.InstantSnapshotB\003\340A\002\022!\n" + + "\031instant_snapshot_resource\030\313\252\210\267\001 \001(\0132(." + + "google.cloud.compute.v1.InstantSnapshotB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -13309,8 +13328,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\250\002\n" + "#InsertInterconnectAttachmentRequest\022a\n" - + " interconnect_attachment_resource\030\371\244\240e " - + "\001(\0132/.google.cloud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n" + + " interconnect_attachment_resource\030\371\244\240e \001(\0132/.google.c" + + "loud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -13319,8 +13338,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\020\n" + "\016_validate_only\"\307\001\n" + "\036InsertInterconnectGroupRequest\022W\n" - + "\033interconnect_group_resource\030\237\363\346(" - + " \001(\0132*.google.cloud.compute.v1.InterconnectGroupB\003\340A\002\022!\n" + + "\033interconnect_group_resource\030\237\363\346( \001(\0132*" + + ".google.cloud.compute.v1.InterconnectGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -13340,8 +13359,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\356\001\n" + "\031InsertMachineImageRequest\022M\n" - + "\026machine_image_resource\030\352\252\373\034 " - + "\001(\0132%.google.cloud.compute.v1.MachineImageB\003\340A\002\022!\n" + + "\026machine_image_resource\030\352\252\373\034" + + " \001(\0132%.google.cloud.compute.v1.MachineImageB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022 \n" @@ -13349,16 +13368,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\022\n" + "\020_source_instance\"\350\001\n" + "\036InsertNetworkAttachmentRequest\022W\n" - + "\033network_attachment_resource\030\231\360\314d" - + " \001(\0132*.google.cloud.compute.v1.NetworkAttachmentB\003\340A\002\022!\n" + + "\033network_attachment_resource\030\231\360\314d \001(\013" + + "2*.google.cloud.compute.v1.NetworkAttachmentB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\267\002\n" + "\'InsertNetworkEdgeSecurityServiceRequest\022l\n" - + "&network_edge_security_service_resource\030\246\243\333\343\001 \001(\01323.google." - + "cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022!\n" + + "&network_edge_security_service_resource\030\246\243\333\343\001" + + " \001(\01323.google.cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -13367,18 +13387,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\020\n" + "\016_validate_only\"\357\001\n" + "!InsertNetworkEndpointGroupRequest\022_\n" - + "\037network_endpoint_group_resource\030\247\315\333\372\001" - + " \001(\0132-.google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001(\0132-." + + "google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\n" + + "\340A\002\362G\007pro", + "ject\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\306\001\n" - + "\"InsertNetworkFirewallPoli", - "cyRequest\022R\n" - + "\030firewall_policy_resource\030\274\266\207\354\001" - + " \001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + + "\"InsertNetworkFirewallPolicyRequest\022R\n" + + "\030firewall_policy_resource\030\274\266\207\354\001 \001(\0132\'.goog" + + "le.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -13392,8 +13412,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\361\001\n" + "\026InsertNodeGroupRequest\022\"\n" + "\022initial_node_count\030\355\310\247\" \001(\005B\003\340A\002\022H\n" - + "\023node_group_resource\030\253\263\372\360\001 \001(\0132\"" - + ".google.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n" + + "\023node_group_resource\030\253\263\372\360\001" + + " \001(\0132\".google.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -13401,16 +13421,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\331\001\n" + "\031InsertNodeTemplateRequest\022M\n" - + "\026node_template_resource\030\266\332\335<" - + " \001(\0132%.google.cloud.compute.v1.NodeTemplateB\003\340A\002\022!\n" + + "\026node_template_resource\030\266\332\335< \001(\0132%." + + "google.cloud.compute.v1.NodeTemplateB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\343\001\n" + "\034InsertPacketMirroringRequest\022T\n" - + "\031packet_mirroring_resource\030\241\374\250\353\001 \001(\0132(" - + ".google.cloud.compute.v1.PacketMirroringB\003\340A\002\022!\n" + + "\031packet_mirroring_resource\030\241\374\250\353\001" + + " \001(\0132(.google.cloud.compute.v1.PacketMirroringB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -13419,29 +13439,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "$InsertPublicAdvertisedPrefixeRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022b\n" - + "!public_advertised_prefix_resource\030\217\327\262o \001(\0132/" - + ".google.cloud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n" + + "!public_advertised_prefix_resource\030\217\327\262o \001(\0132/.google.cloud." + + "compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\366\001\n" + "#InsertPublicDelegatedPrefixeRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022`\n" - + " public_delegated_prefix_resource\030\205\370\330\026" - + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n" + + " public_delegated_prefix_resource\030\205\370\330\026 \001(" + + "\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\330\001\n" + "\035InsertRegionAutoscalerRequest\022H\n" - + "\023autoscaler_resource\030\366\360\377b" - + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + + "\023autoscaler_resource\030\366\360\377b \001(\0132#.g" + + "oogle.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\346\001\n" + "!InsertRegionBackendServiceRequest\022R\n" - + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132" - + "\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + + "\030backend_service_resource\030\243\201\337\245\001" + + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -13466,16 +13486,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\017\n\r" + "_source_image\"\334\001\n" + "\036InsertRegionHealthCheckRequest\022K\n" - + "\025health_check_resource\030\250\303\244`" - + " \001(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + + "\025health_check_resource\030\250\303\244` \001(\0132$" + + ".google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\363\001\n" + "%InsertRegionHealthCheckServiceRequest\022[\n" - + "\035health_check_service_resource\030\362\233\320\343\001" - + " \001(\0132+.google.cloud.compute.v1.HealthCheckServiceB\003\340A\002\022!\n" + + "\035health_check_service_resource\030\362\233\320\343\001 \001(\0132+." + + "google.cloud.compute.v1.HealthCheckServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -13506,28 +13526,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\371\001\n" + "\'InsertRegionNetworkEndpointGroupRequest\022_\n" - + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001(\0132-.google.clou" - + "d.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + + "\037network_endpoint_group_resource\030\247\315\333\372\001" + + " \001(\0132-.google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\355\001\n" + "(InsertRegionNetworkFirewallPolicyRequest\022R\n" - + "\030firewall_policy_resource\030\274\266\207\354\001 \001(\0132\'.googl" - + "e.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + + "\030firewall_policy_resource\030\274\266\207\354\001" + + " \001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\370\001\n" + "\'InsertRegionNotificationEndpointRequest\022^\n" - + "\036notification_endpoint_resource\030\244\372\261\241\001 \001(\0132-." - + "google.cloud.compute.v1.NotificationEndpointB\003\340A\002\022!\n" + + "\036notification_endpoint_resource\030\244\372\261\241\001" + + " \001(\0132-.google.cloud.compute.v1.NotificationEndpointB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" - + "\n" + + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\226\002\n" + "!InsertRegionSecurityPolicyRequest\022!\n" @@ -13535,8 +13554,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n" - + "\030security_policy_resource\030\374\252\211g" - + " \001(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\035\n\r" + + "\030security_policy_resource\030\374\252\211g \001(\0132\'." + + "google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\035\n\r" + "validate_only\030\265\372\337s \001(\010H\001\210\001\001B\r\n" + "\013_request_idB\020\n" + "\016_validate_only\"\345\001\n" @@ -13545,8 +13564,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n" - + "\030ssl_certificate_resource\030\211\324\225V" - + " \001(\0132\'.google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n" + + "\030ssl_certificate_resource\030\211\324\225V \001(\0132\'" + + ".google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n" + "\013_request_id\"\327\001\n" + "\034InsertRegionSslPolicyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -13592,8 +13611,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n" - + "\024reservation_resource\030\241\356\364\207\001" - + " \001(\0132$.google.cloud.compute.v1.ReservationB\003\340A\002\022\033\n" + + "\024reservation_resource\030\241\356\364\207\001 \001(\013" + + "2$.google.cloud.compute.v1.ReservationB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\337\001\n" @@ -13618,8 +13637,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022@\n" + "\017router_resource\030\304\200\202J" - + " \001(\0132\037.google.cloud.compute.v1.RouterB\003\340A\002B\r" - + "\n" + + " \001(\0132\037.google.cloud.compute.v1.RouterB\003\340A\002B\r\n" + "\013_request_id\"\357\001\n" + "\033InsertSecurityPolicyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -13649,8 +13667,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n" - + "\030ssl_certificate_resource\030\211\324\225V \001(\0132\'" - + ".google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n" + + "\030ssl_certificate_resource\030\211\324\225V" + + " \001(\0132\'.google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n" + "\013_request_id\"\260\001\n" + "\026InsertSslPolicyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -13680,29 +13698,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U\n" - + "\032target_grpc_proxy_resource\030\322\352\353\234\001 \001(\013" - + "2(.google.cloud.compute.v1.TargetGrpcProxyB\003\340A\002B\r\n" + + "\032target_grpc_proxy_resource\030\322\352\353\234\001" + + " \001(\0132(.google.cloud.compute.v1.TargetGrpcProxyB\003\340A\002B\r\n" + "\013_request_id\"\302\001\n" + "\034InsertTargetHttpProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n" - + "\032target_http_proxy_resource\030\250\257\343\013 \001(\0132(." - + "google.cloud.compute.v1.TargetHttpProxyB\003\340A\002B\r\n" + + "\032target_http_proxy_resource\030\250\257\343\013" + + " \001(\0132(.google.cloud.compute.v1.TargetHttpProxyB\003\340A\002B\r\n" + "\013_request_id\"\306\001\n" + "\035InsertTargetHttpsProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022W\n" - + "\033target_https_proxy_resource\030\201\255\344\316\001 \001(\0132)." - + "google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n" + + "\033target_https_proxy_resource\030\201\255\344\316\001" + + " \001(\0132).google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n" + "\013_request_id\"\334\001\n" + "\033InsertTargetInstanceRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n" - + "\030target_instance_resource\030\312\342\240\315\001 \001(\0132\'.goog" - + "le.cloud.compute.v1.TargetInstanceB\003\340A\002\022\033\n" + + "\030target_instance_resource\030\312\342\240\315\001" + + " \001(\0132\'.google.cloud.compute.v1.TargetInstanceB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\323\001\n" @@ -13711,8 +13729,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I\n" - + "\024target_pool_resource\030\243\335\2450 \001(\013" - + "2#.google.cloud.compute.v1.TargetPoolB\003\340A\002B\r\n" + + "\024target_pool_resource\030\243\335\2450" + + " \001(\0132#.google.cloud.compute.v1.TargetPoolB\003\340A\002B\r\n" + "\013_request_id\"\277\001\n" + "\033InsertTargetSslProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -13733,8 +13751,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U\n" - + "\033target_vpn_gateway_resource\030\202\263\036" - + " \001(\0132).google.cloud.compute.v1.TargetVpnGatewayB\003\340A\002B\r\n" + + "\033target_vpn_gateway_resource\030\202\263\036 \001(\013" + + "2).google.cloud.compute.v1.TargetVpnGatewayB\003\340A\002B\r\n" + "\013_request_id\"\246\001\n" + "\023InsertUrlMapRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -13748,44 +13766,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I\n" - + "\024vpn_gateway_resource\030\224\267\216W " - + "\001(\0132#.google.cloud.compute.v1.VpnGatewayB\003\340A\002B\r\n" + + "\024vpn_gateway_resource\030\224\267\216W" + + " \001(\0132#.google.cloud.compute.v1.VpnGatewayB\003\340A\002B\r\n" + "\013_request_id\"\320\001\n" + "\026InsertVpnTunnelRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022G\n" - + "\023vpn_tunnel_resource\030\272\241\264)" - + " \001(\0132\".google.cloud.compute.v1.VpnTunnelB\003\340A\002B\r\n" + + "\023vpn_tunnel_resource\030\272\241\264) \001(" + + "\0132\".google.cloud.compute.v1.VpnTunnelB\003\340A\002B\r\n" + "\013_request_id\"\367\035\n" + "\010Instance\022\\\n" - + "\031advanced_machine_features\030\262\347\252\303\001 " - + "\001(\01320.google.cloud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n" + + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320.google.c" + + "loud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n" + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n" - + "\034confidential_instance_config\030\365\222\372\351\001" - + " \001(\01323.google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\035\n" + + "\034confidential_instance_config\030\365\222\372\351\001 \001(\0132" + + "3.google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\035\n" + "\014cpu_platform\030\252\352\321\303\001 \001(\tH\003\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\004\210\001\001\022$\n" + "\023deletion_protection\030\352\377\262\332\001 \001(\010H\005\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\0227\n" + "\005disks\030\366\314\312- \003(\0132%.google.cloud.compute.v1.AttachedDisk\022F\n" - + "\016display_device\030\363\210\274{" - + " \001(\0132&.google.cloud.compute.v1.DisplayDeviceH\007\210\001\001\022\033\n" + + "\016display_device\030\363\210\274{ \001(\0132&.g" + + "oogle.cloud.compute.v1.DisplayDeviceH\007\210\001\001\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\010\210\001\001\022J\n" - + "\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.g" - + "oogle.cloud.compute.v1.AcceleratorConfig\022\030\n" + + "\022guest_accelerators\030\357\314\207\335\001" + + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022\030\n" + "\010hostname\030\263\270\205q \001(\tH\t\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\n" + "\210\001\001\022W\n" - + "\027instance_encryption_key\030\215\301\357\036 \001(\013" - + "2..google.cloud.compute.v1.CustomerEncryptionKeyH\013\210\001\001\022*\n" + + "\027instance_encryption_key\030\215\301\357\036 \001(\0132..google.clou" + + "d.compute.v1.CustomerEncryptionKeyH\013\210\001\001\022*\n" + "\032key_revocation_action_type\030\342\334\300p \001(\tH\014\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\r" + "\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\016\210\001\001\022A\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\0132-.google.cloud.compute.v1.Instance.LabelsEntry\022%\n" + + "\006labels\030\377\277\301\356\001 \003(\013" + + "2-.google.cloud.compute.v1.Instance.LabelsEntry\022%\n" + "\024last_start_timestamp\030\320\243\321\323\001 \001(\tH\017\210\001\001\022$\n" + "\023last_stop_timestamp\030\342\333\354\304\001 \001(\tH\020\210\001\001\022)\n" + "\030last_suspended_timestamp\030\211\251\361\251\001 \001(" @@ -13795,34 +13813,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132!.google.cloud.compute.v1.MetadataH\023\210\001\001\022 \n" + "\020min_cpu_platform\030\367\233\352s \001(\tH\024\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\025\210\001\001\022H\n" - + "\022network_interfaces\030\213\332\222\031 \003(\0132" - + ").google.cloud.compute.v1.NetworkInterface\022^\n" - + "\032network_performance_config\030\342\227\370\275\001 \001" - + "(\01321.google.cloud.compute.v1.NetworkPerformanceConfigH\026\210\001\001\022?\n" - + "\006params\030\206\363\253% \001(\0132\'." - + "google.cloud.compute.v1.InstanceParamsH\027\210\001\001\022*\n" + + "\022network_interfaces\030\213\332\222\031" + + " \003(\0132).google.cloud.compute.v1.NetworkInterface\022^\n" + + "\032network_performance_config\030\342\227\370\275\001 \001(\01321.google.cl" + + "oud.compute.v1.NetworkPerformanceConfigH\026\210\001\001\022?\n" + + "\006params\030\206\363\253%" + + " \001(\0132\'.google.cloud.compute.v1.InstanceParamsH\027\210\001\001\022*\n" + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\030\210\001\001\022R\n" - + "\024reservation_affinity\030\273\270\242K \001(\013" - + "2,.google.cloud.compute.v1.ReservationAffinityH\031\210\001\001\022\034\n" + + "\024reservation_affinity\030\273\270\242K" + + " \001(\0132,.google.cloud.compute.v1.ReservationAffinityH\031\210\001\001\022\034\n" + "\021resource_policies\030\341\234\314\n" + " \003(\t\022H\n" + "\017resource_status\030\303\372\367v" + " \001(\0132\'.google.cloud.compute.v1.ResourceStatusH\032\210\001\001\022\036\n\r" + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\033\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\034\210\001\001\022@\n\n" - + "scheduling\030\224\313\261\270\001 " - + "\001(\0132#.google.cloud.compute.v1.SchedulingH\035\210\001\001\022\032\n" + + "scheduling\030\224\313\261\270\001" + + " \001(\0132#.google.cloud.compute.v1.SchedulingH\035\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\036\210\001\001\022E\n" + "\020service_accounts\030\260\304\253\204\001" + " \003(\0132\'.google.cloud.compute.v1.ServiceAccount\022Y\n" + "\030shielded_instance_config\030\265\213\221\006" + " \001(\0132/.google.cloud.compute.v1.ShieldedInstanceConfigH\037\210\001\001\022l\n" - + "\"shielded_instance_integrity_policy\030\227\242\207N \001" - + "(\01328.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyH \210\001\001\022$\n" + + "\"shielded_instance_integrity_policy\030\227\242\207N \001(\01328.google.cl" + + "oud.compute.v1.ShieldedInstanceIntegrityPolicyH \210\001\001\022$\n" + "\024source_machine_image\030\277\334\260\n" + " \001(\tH!\210\001\001\022c\n" - + "#source_machine_image_encryption_key\030\243\373\371[ \001(\0132..google" - + ".cloud.compute.v1.CustomerEncryptionKeyH\"\210\001\001\022 \n" + + "#source_machine_image_encryption_key\030\243\373\371[" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\"\210\001\001\022 \n" + "\020start_restricted\030\330\320\375: \001(\010H#\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH$\210\001\001\022\037\n" + "\016status_message\030\272\311\351\215\001 \001(\tH%\210\001\001\0223\n" @@ -13830,8 +13848,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\035.google.cloud.compute.v1.TagsH&\210\001\001\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\'\210\001\001\032-\n" + "\013LabelsEntry\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\"\215\001\n" + "\027KeyRevocationActionType\022(\n" + "$UNDEFINED_KEY_REVOCATION_ACTION_TYPE\020\000\022.\n" @@ -13858,8 +13875,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TERMINATED\020\243\364\233wB\034\n" + "\032_advanced_machine_featuresB\021\n" + "\017_can_ip_forwardB\037\n" - + "\035_confidential_instance_configB\017\n" - + "\r" + + "\035_confidential_instance_configB\017\n\r" + "_cpu_platformB\025\n" + "\023_creation_timestampB\026\n" + "\024_deletion_protectionB\016\n" @@ -13899,8 +13915,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\271\003\n" + "\026InstanceAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n" - + "\005items\030\300\317\367/" - + " \003(\0132:.google.cloud.compute.v1.InstanceAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132:.goo" + + "gle.cloud.compute.v1.InstanceAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -13909,16 +13925,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032Z\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022;\n" - + "\005value\030\002 \001(\0132,." - + "google.cloud.compute.v1.InstancesScopedList:\0028\001B\005\n" + + "\005value\030\002" + + " \001(\0132,.google.cloud.compute.v1.InstancesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"\251\001\n" + "\027InstanceConsumptionData\022R\n" - + "\020consumption_info\030\322\345\344E" - + " \001(\01320.google.cloud.compute.v1.InstanceConsumptionInfoH\000\210\001\001\022\030\n" + + "\020consumption_info\030\322\345\344E \001(\01320.googl" + + "e.cloud.compute.v1.InstanceConsumptionInfoH\000\210\001\001\022\030\n" + "\010instance\030\225\251\332\010 \001(\tH\001\210\001\001B\023\n" + "\021_consumption_infoB\013\n" + "\t_instance\"\320\001\n" @@ -13952,8 +13968,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_fingerprintB\005\n" + "\003_idB\007\n" + "\005_kindB\007\n" - + "\005_nameB\n" - + "\n" + + "\005_nameB\n\n" + "\010_networkB\t\n" + "\007_regionB\014\n\n" + "_self_linkB\007\n" @@ -13962,18 +13977,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\310\003\n" + "\033InstanceGroupAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022Q\n" - + "\005items\030\300\317\367/ \003(\0132?.google.cloud.compute." - + "v1.InstanceGroupAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003" + + "(\0132?.google.cloud.compute.v1.InstanceGroupAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" - + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + + "\017next_page_token\030\225\272\206& \001(\tH\002\210", + "\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" + "\014unreachables\030\237\240\206t \003(\t\0229\n" - + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn", - "ingH\004\210\001\001\032_\n\n" + + "\007warning\030\234\337\226\030 \001(\0132" + + " .google.cloud.compute.v1.WarningH\004\210\001\001\032_\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022@\n" - + "\005value\030\002" - + " \001(\01321.google.cloud.compute.v1.InstanceGroupsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01321.g" + + "oogle.cloud.compute.v1.InstanceGroupsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -13993,24 +14009,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\375\022\n" + "\024InstanceGroupManager\022e\n" - + "\024all_instances_config\030\201\256\3305" - + " \001(\0132?.google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfigH\000\210\001\001\022a\n" - + "\025auto_healing_policies\030\205\347\350\331\001 \003(\0132>.googl" - + "e.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy\022#\n" + + "\024all_instances_config\030\201\256\3305 \001(\0132?.goog" + + "le.cloud.compute.v1.InstanceGroupManagerAllInstancesConfigH\000\210\001\001\022a\n" + + "\025auto_healing_policies\030\205\347\350\331\001 \003(\0132>.google.cloud.comput" + + "e.v1.InstanceGroupManagerAutoHealingPolicy\022#\n" + "\022base_instance_name\030\207\226\305\271\001 \001(\tH\001\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\\\n" - + "\017current_actions\030\267\310\234N \001(\0132;." - + "google.cloud.compute.v1.InstanceGroupManagerActionsSummaryH\003\210\001\001\022\034\n" + + "\017current_actions\030\267\310\234N \001(\0132;.google.cloud.c" + + "ompute.v1.InstanceGroupManagerActionsSummaryH\003\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022Q\n" - + "\023distribution_policy\030\315\356\362\376\001" - + " \001(\0132+.google.cloud.compute.v1.DistributionPolicyH\005\210\001\001\022\033\n" + + "\023distribution_policy\030\315\356\362\376\001 \001(\0132+.googl" + + "e.cloud.compute.v1.DistributionPolicyH\005\210\001\001\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\006\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\007\210\001\001\022s\n" - + "\033instance_flexibility_policy\030\202\216\354\014 \001(\0132F.google.cloud.c" - + "ompute.v1.InstanceGroupManagerInstanceFlexibilityPolicyH\010\210\001\001\022\036\n" + + "\033instance_flexibility_policy\030\202\216\354\014" + + " \001(\0132F.google.cloud.compute.v1.Inst" + + "anceGroupManagerInstanceFlexibilityPolicyH\010\210\001\001\022\036\n" + "\016instance_group\030\325\324\325& \001(\tH\t\210\001\001\022p\n" - + "\031instance_lifecycle_policy\030\221\264\315\325\001" - + " \001(\0132D.google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyH\n" + + "\031instance_lifecycle_policy\030\221\264\315\325\001 \001(\0132D." + + "google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyH\n" + "\210\001\001\022\"\n" + "\021instance_template\030\344\201\273\223\001 \001(\tH\013\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\014\210\001\001\022/\n" @@ -14021,25 +14038,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132\".google.cloud.compute.v1.NamedPort\022\026\n" + "\006region\030\364\315\240B \001(\tH\017\210\001\001\022`\n" + "\021resource_policies\030\341\234\314\n" - + " \001(\0132=.google.cloud.compute.v1.Ins" - + "tanceGroupManagerResourcePoliciesH\020\210\001\001\022\036\n\r" + + " \001(\0132=.g" + + "oogle.cloud.compute.v1.InstanceGroupManagerResourcePoliciesH\020\210\001\001\022\036\n\r" + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\021\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\022\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\023\210\001\001\022[\n" - + "\016standby_policy\030\204\206\216\356\001 \001(\0132:" - + ".google.cloud.compute.v1.InstanceGroupManagerStandbyPolicyH\024\210\001\001\022H\n" - + "\017stateful_policy\030\205\303\325\026" - + " \001(\0132\'.google.cloud.compute.v1.StatefulPolicyH\025\210\001\001\022K\n" - + "\006status\030\362\237\267V \001(\01323.g" - + "oogle.cloud.compute.v1.InstanceGroupManagerStatusH\026\210\001\001\022\030\n" + + "\016standby_policy\030\204\206\216\356\001 \001(\0132:.google.cloud." + + "compute.v1.InstanceGroupManagerStandbyPolicyH\024\210\001\001\022H\n" + + "\017stateful_policy\030\205\303\325\026 \001(\0132\'." + + "google.cloud.compute.v1.StatefulPolicyH\025\210\001\001\022K\n" + + "\006status\030\362\237\267V \001(\01323.google.cloud.co" + + "mpute.v1.InstanceGroupManagerStatusH\026\210\001\001\022\030\n" + "\014target_pools\030\251\237\240\240\001 \003(\t\022\033\n" + "\013target_size\030\357\363\375\035 \001(\005H\027\210\001\001\022#\n" + "\023target_stopped_size\030\241\326\223\001 \001(\005H\030\210\001\001\022&\n" + "\025target_suspended_size\030\323\210\364\222\001 \001(\005H\031\210\001\001\022X\n\r" - + "update_policy\030\350\312\352S" - + " \001(\01329.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicyH\032\210\001\001\022I\n" - + "\010versions\030\233\375\271M" - + " \003(\01324.google.cloud.compute.v1.InstanceGroupManagerVersion\022\024\n" + + "update_policy\030\350\312\352S \001(\01329" + + ".google.cloud.compute.v1.InstanceGroupManagerUpdatePolicyH\032\210\001\001\022I\n" + + "\010versions\030\233\375\271M " + + "\003(\01324.google.cloud.compute.v1.InstanceGroupManagerVersion\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\033\210\001\001\"n\n" + "\033ListManagedInstancesResults\022,\n" + "(UNDEFINED_LIST_MANAGED_INSTANCES_RESULTS\020\000\022\017\n" @@ -14086,7 +14103,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010resuming\030\252\233\362_ \001(\005H\010\210\001\001\022\030\n" + "\010starting\030\300\300\363s \001(\005H\t\210\001\001\022\030\n" + "\010stopping\030\364\360\2122 \001(\005H\n" - + "\210\001\001\022\032\n\n" + + "\210\001\001\022\032\n" + + "\n" + "suspending\030\246\374\360\r" + " \001(\005H\013\210\001\001\022\032\n" + "\tverifying\030\311\241\254\327\001 \001(\005H\014\210\001\001B\r\n" @@ -14105,8 +14123,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_verifying\"\335\003\n" + "\"InstanceGroupManagerAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022X\n" - + "\005items\030\300\317\367/ \003(\0132F.google.cloud.compute.v1" - + ".InstanceGroupManagerAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\013" + + "2F.google.cloud.compute.v1.InstanceGroupManagerAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -14115,16 +14133,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032f\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022G\n" - + "\005value\030\002" - + " \001(\01328.google.cloud.compute.v1.InstanceGroupManagersScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(" + + "\01328.google.cloud.compute.v1.InstanceGroupManagersScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"\205\001\n" + "&InstanceGroupManagerAllInstancesConfig\022L\n\n" - + "properties\030\263\232\266F" - + " \001(\01320.google.cloud.compute.v1.InstancePropertiesPatchH\000\210\001\001B\r\n" + + "properties\030\263\232\266F \001(\01320.google" + + ".cloud.compute.v1.InstancePropertiesPatchH\000\210\001\001B\r\n" + "\013_properties\"\220\001\n" + "%InstanceGroupManagerAutoHealingPolicy\022\035\n" + "\014health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001\022!\n" @@ -14133,12 +14151,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_initial_delay_sec\"\304\002\n" + "-InstanceGroupManagerInstanceFlexibilityPolicy\022~\n" + "\023instance_selections\030\321\204\371\n" - + " \003(\0132^.google.cloud.compute.v1.InstanceGroupManagerInstanceF" - + "lexibilityPolicy.InstanceSelectionsEntry\032\222\001\n" + + " \003(\0132^.google.cloud.compute.v1.Ins" + + "tanceGroupManagerInstanceFlexibilityPolicy.InstanceSelectionsEntry\032\222\001\n" + "\027InstanceSelectionsEntry\022\013\n" + "\003key\030\001 \001(\t\022f\n" - + "\005value\030\002 \001(\0132W.google.cloud.compute." - + "v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection:\0028\001\"y\n" + + "\005value\030\002 \001(\0132W.google.cloud.compute.v1.InstanceGro" + + "upManagerInstanceFlexibilityPolicyInstanceSelection:\0028\001\"y\n" + ">InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection\022\030\n\r" + "machine_types\030\201\335\201& \003(\t\022\024\n" + "\004rank\030\254\230\325\001 \001(\005H\000\210\001\001B\007\n" @@ -14176,14 +14194,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022I\n" - + "\026requested_run_duration\030\371\213\331n \001(" - + "\0132!.google.cloud.compute.v1.DurationH\005\210\001\001\022\032\n" + + "\026requested_run_duration\030\371\213\331n" + + " \001(\0132!.google.cloud.compute.v1.DurationH\005\210\001\001\022\032\n" + "\tresize_by\030\302\317\300\376\001 \001(\005H\006\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022!\n" + "\021self_link_with_id\030\202\254\235\025 \001(\tH\010\210\001\001\022\025\n" + "\005state\030\221\211\2534 \001(\tH\t\210\001\001\022X\n" - + "\006status\030\362\237\267V \001(\0132@.google.cloud.compute.v1" - + ".InstanceGroupManagerResizeRequestStatusH\n" + + "\006status\030\362\237\267V \001(\013" + + "2@.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusH\n" + "\210\001\001\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\013\210\001\001\"\217\001\n" + "\005State\022\023\n" @@ -14209,8 +14227,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\'InstanceGroupManagerResizeRequestStatus\0225\n" + "\005error\030\210\244\223." + " \001(\0132\036.google.cloud.compute.v1.ErrorH\000\210\001\001\022j\n" - + "\014last_attempt\030\244\254\250\317\001 \001(\0132K.google.c" - + "loud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptH\001\210\001\001B\010\n" + + "\014last_attempt\030\244\254\250\317\001 \001(\0132K.google.cloud.compute.v" + + "1.InstanceGroupManagerResizeRequestStatusLastAttemptH\001\210\001\001B\010\n" + "\006_errorB\017\n\r" + "_last_attempt\"u\n" + "2InstanceGroupManagerResizeRequestStatusLastAttempt\0225\n" @@ -14219,8 +14237,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_error\"\334\002\n" + ".InstanceGroupManagerResizeRequestsListResponse\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n" - + "\005items\030\300\317\367/ \003(\0132:.google.cloud." - + "compute.v1.InstanceGroupManagerResizeRequest\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132:.google.cloud.compute.v1.InstanceGroupManagerResizeRequest\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -14244,14 +14262,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_initial_delay_secB\007\n" + "\005_mode\"\321\003\n" + "\032InstanceGroupManagerStatus\022k\n" - + "\024all_instances_config\030\201\256\3305 \001(\0132E.g" - + "oogle.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfigH\000\210\001\001\022\033\n\n" + + "\024all_instances_config\030\201\256\3305 \001(\0132E.google.cloud.co" + + "mpute.v1.InstanceGroupManagerStatusAllInstancesConfigH\000\210\001\001\022\033\n\n" + "autoscaler\030\327\375\322\366\001 \001(\tH\001\210\001\001\022\031\n" + "\tis_stable\030\360\357\3303 \001(\010H\002\210\001\001\022U\n" - + "\010stateful\030\314\346\310t \001(\0132;.google.c" - + "loud.compute.v1.InstanceGroupManagerStatusStatefulH\003\210\001\001\022a\n" - + "\016version_target\030\330\335\376\211\001 " - + "\001(\0132@.google.cloud.compute.v1.InstanceGroupManagerStatusVersionTargetH\004\210\001\001B\027\n" + + "\010stateful\030\314\346\310t \001(\0132;.google.cloud.compute.v" + + "1.InstanceGroupManagerStatusStatefulH\003\210\001\001\022a\n" + + "\016version_target\030\330\335\376\211\001 \001(\0132@.google.c" + + "loud.compute.v1.InstanceGroupManagerStatusVersionTargetH\004\210\001\001B\027\n" + "\025_all_instances_configB\r\n" + "\013_autoscalerB\014\n\n" + "_is_stableB\013\n" @@ -14260,12 +14278,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ",InstanceGroupManagerStatusAllInstancesConfig\022 \n" + "\020current_revision\030\341\207\245\022 \001(\tH\000\210\001\001\022\031\n" + "\teffective\030\247\323\330C \001(\010H\001\210\001\001B\023\n" - + "\021_current_revisionB\014\n\n" + + "\021_current_revisionB\014\n" + + "\n" + "_effective\"\360\001\n" + "\"InstanceGroupManagerStatusStateful\022#\n" + "\023has_stateful_config\030\360\347\3264 \001(\010H\000\210\001\001\022t\n" - + "\024per_instance_configs\030\251\325\370\372\001 \001(\0132M.google.cloud.compute.v" - + "1.InstanceGroupManagerStatusStatefulPerInstanceConfigsH\001\210\001\001B\026\n" + + "\024per_instance_configs\030\251\325\370\372\001 \001(" + + "\0132M.google.cloud.compute.v1.InstanceGrou" + + "pManagerStatusStatefulPerInstanceConfigsH\001\210\001\001B\026\n" + "\024_has_stateful_configB\027\n" + "\025_per_instance_configs\"h\n" + "4InstanceGroupManagerStatusStatefulPerInstanceConfigs\022\036\n\r" @@ -14277,10 +14297,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " InstanceGroupManagerUpdatePolicy\022-\n" + "\034instance_redistribution_type\030\230\337\304\213\001 \001(" + "\tH\000\210\001\001\022C\n" - + "\tmax_surge\030\223\311\243\220\001" - + " \001(\0132\'.google.cloud.compute.v1.FixedOrPercentH\001\210\001\001\022I\n" - + "\017max_unavailable\030\365\313\213\301\001 " - + "\001(\0132\'.google.cloud.compute.v1.FixedOrPercentH\002\210\001\001\022\037\n" + + "\tmax_surge\030\223\311\243\220\001 \001(\0132\'.goo" + + "gle.cloud.compute.v1.FixedOrPercentH\001\210\001\001\022I\n" + + "\017max_unavailable\030\365\313\213\301\001" + + " \001(\0132\'.google.cloud.compute.v1.FixedOrPercentH\002\210\001\001\022\037\n" + "\016minimal_action\030\224\215\202\201\001 \001(\tH\003\210\001\001\022.\n" + "\036most_disruptive_allowed_action\030\215\316\302\037 \001(\tH\004\210\001\001\022#\n" + "\022replacement_method\030\256\317\237\361\001 \001(\tH\005\210\001\001\022\024\n" @@ -14308,8 +14328,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033InstanceGroupManagerVersion\022\"\n" + "\021instance_template\030\344\201\273\223\001 \001(\tH\000\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022D\n" - + "\013target_size\030\357\363\375\035 \001(\0132\'" - + ".google.cloud.compute.v1.FixedOrPercentH\002\210\001\001B\024\n" + + "\013target_size\030\357\363\375\035" + + " \001(\0132\'.google.cloud.compute.v1.FixedOrPercentH\002\210\001\001B\024\n" + "\022_instance_templateB\007\n" + "\005_nameB\016\n" + "\014_target_size\"D\n" @@ -14346,8 +14366,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n" + "\020_next_page_token\"\261\001\n" + "1InstanceGroupManagersListManagedInstancesResponse\022G\n" - + "\021managed_instances\030\336\233\251\240\001" - + " \003(\0132(.google.cloud.compute.v1.ManagedInstance\022\037\n" + + "\021managed_instances\030\336\233\251\240\001 \003(\0132" + + "(.google.cloud.compute.v1.ManagedInstance\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n" + "\020_next_page_token\"\353\001\n" + "/InstanceGroupManagersListPerInstanceConfigsResp\022<\n" @@ -14368,8 +14388,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tinstances\030\376\374\357\r" + " \003(\t\"\273\001\n" + "\037InstanceGroupManagersScopedList\022Q\n" - + "\027instance_group_managers\030\220\372\211f" - + " \003(\0132-.google.cloud.compute.v1.InstanceGroupManager\0229\n" + + "\027instance_group_managers\030\220\372\211f \003(\0132-.goog" + + "le.cloud.compute.v1.InstanceGroupManager\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"k\n" @@ -14395,15 +14415,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\tB\020\n" + "\016_force_suspend\"\200\001\n" + "0InstanceGroupManagersUpdatePerInstanceConfigsReq\022L\n" - + "\024per_instance_configs\030\251\325\370\372\001" - + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\"e\n" + + "\024per_instance_configs\030\251\325\370\372\001 \003(" + + "\0132*.google.cloud.compute.v1.PerInstanceConfig\"e\n" + "!InstanceGroupsAddInstancesRequest\022@\n" + "\tinstances\030\376\374\357\r" + " \003(\0132*.google.cloud.compute.v1.InstanceReference\"\276\002\n" + "\033InstanceGroupsListInstances\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022A\n" - + "\005items\030\300\317\367/ \003(\0132/.google." - + "cloud.compute.v1.InstanceWithNamedPorts\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132/.google.cloud.compute.v1.InstanceWithNamedPorts\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -14462,10 +14482,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\274\002\n" + "\031InstanceManagedByIgmError\022]\n" - + "\005error\030\210\244\223. \001(\0132F.google.c" - + "loud.compute.v1.InstanceManagedByIgmErrorManagedInstanceErrorH\000\210\001\001\022q\n" - + "\027instance_action_details\030\243\374\253\213\001 \001(\0132G.google.cloud.c" - + "ompute.v1.InstanceManagedByIgmErrorInstanceActionDetailsH\001\210\001\001\022\031\n" + + "\005error\030\210\244\223. \001(\0132F.google.cloud.compute.v" + + "1.InstanceManagedByIgmErrorManagedInstanceErrorH\000\210\001\001\022q\n" + + "\027instance_action_details\030\243\374\253\213\001" + + " \001(\0132G.google.cloud.compute.v1.Inst" + + "anceManagedByIgmErrorInstanceActionDetailsH\001\210\001\001\022\031\n" + "\ttimestamp\030\226\322\244\032 \001(\tH\002\210\001\001B\010\n" + "\006_errorB\032\n" + "\030_instance_action_detailsB\014\n\n" @@ -14483,7 +14504,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010DELETING\020\250\247\207\374\001\022\013\n" + "\004NONE\020\270\316\222\001\022\022\n\n" + "RECREATING\020\354\213\376\210\001\022\021\n\n" - + "REFRESHING\020\247\376\354M\022\022\n\n" + + "REFRESHING\020\247\376\354M\022\022\n" + + "\n" + "RESTARTING\020\363\356\353\230\001\022\020\n" + "\010RESUMING\020\252\373\211\325\001\022\020\n" + "\010STARTING\020\300\240\213\351\001\022\020\n" @@ -14506,48 +14528,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016InstanceParams\022M\n" + "\032request_valid_for_duration\030\335\226\2677" + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022c\n" - + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132@.google.cloud.c" - + "ompute.v1.InstanceParams.ResourceManagerTagsEntry\032:\n" + + "\025resource_manager_tags\030\374\233\213\264\001" + + " \003(\0132@.google.cloud.compute.v1.InstanceParams.ResourceManagerTagsEntry\032:\n" + "\030ResourceManagerTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\035\n" + "\033_request_valid_for_duration\"\330\020\n" + "\022InstanceProperties\022\\\n" - + "\031advanced_machine_features\030\262\347\252\303\001 \001" - + "(\01320.google.cloud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n" + + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320.google.cl" + + "oud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n" + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n" - + "\034confidential_instance_config\030\365\222\372\351\001" - + " \001(\01323.google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\034\n" + + "\034confidential_instance_config\030\365\222\372\351\001 \001(\01323" + + ".google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\0227\n" + "\005disks\030\366\314\312- \003(\0132%.google.cloud.compute.v1.AttachedDisk\022J\n" + "\022guest_accelerators\030\357\314\207\335\001" + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022*\n" + "\032key_revocation_action_type\030\342\334\300p \001(\tH\004\210\001\001\022K\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\01327.google.cloud.compute.v1.InstanceProperties.LabelsEntry\022\034\n" + + "\006labels\030\377\277\301\356\001 " + + "\003(\01327.google.cloud.compute.v1.InstanceProperties.LabelsEntry\022\034\n" + "\014machine_type\030\262\260\312l \001(\tH\005\210\001\001\022;\n" + "\010metadata\030\257\366\265)" + " \001(\0132!.google.cloud.compute.v1.MetadataH\006\210\001\001\022 \n" + "\020min_cpu_platform\030\367\233\352s \001(\tH\007\210\001\001\022H\n" + "\022network_interfaces\030\213\332\222\031" + " \003(\0132).google.cloud.compute.v1.NetworkInterface\022^\n" - + "\032network_performance_config\030\342\227\370\275\001 \001(\01321.goog" - + "le.cloud.compute.v1.NetworkPerformanceConfigH\010\210\001\001\022*\n" + + "\032network_performance_config\030\342\227\370\275\001" + + " \001(\01321.google.cloud.compute.v1.NetworkPerformanceConfigH\010\210\001\001\022*\n" + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\t\210\001\001\022R\n" + "\024reservation_affinity\030\273\270\242K" + " \001(\0132,.google.cloud.compute.v1.ReservationAffinityH\n" + "\210\001\001\022g\n" - + "\025resource_manager_tags\030\374\233\213\264\001" - + " \003(\0132D.google.cloud.compute.v1.I" - + "nstanceProperties.ResourceManagerTagsEntry\022\034\n" + + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132D" + + ".google.cloud.compute.v1.InstanceProperties.ResourceManagerTagsEntry\022\034\n" + "\021resource_policies\030\341\234\314\n" + " \003(\t\022@\n\n" - + "scheduling\030\224\313\261\270\001" - + " \001(\0132#.google.cloud.compute.v1.SchedulingH\013\210\001\001\022E\n" + + "scheduling\030\224\313\261\270\001 \001(\0132#.google.cloud.compute.v1.SchedulingH", + "\013\210\001\001\022E\n" + "\020service_accounts\030\260\304\253\204\001" + " \003(\0132\'.google.cloud.compute.v1.ServiceAccount\022Y\n" - + "\030shielded_instance_config\030\265\213", - "\221\006 \001(\0132/.google.cloud.compute.v1.ShieldedInstanceConfigH\014\210\001\001\0223\n" + + "\030shielded_instance_config\030\265\213\221\006 \001(\0132/.googl" + + "e.cloud.compute.v1.ShieldedInstanceConfigH\014\210\001\001\0223\n" + "\004tags\030\231\350\330\001 \001(\0132\035.google.cloud.compute.v1.TagsH\r" + "\210\001\001\032-\n" + "\013LabelsEntry\022\013\n" @@ -14581,10 +14602,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031_shielded_instance_configB\007\n" + "\005_tags\"\240\002\n" + "\027InstancePropertiesPatch\022P\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\0132<.google.cloud.compute.v1.InstancePropertiesPatch.LabelsEntry\022S\n" - + "\010metadata\030\257\366\265)" - + " \003(\0132>.google.cloud.compute.v1.InstancePropertiesPatch.MetadataEntry\032-\n" + + "\006labels\030\377\277\301\356\001 \003(\0132<.goog" + + "le.cloud.compute.v1.InstancePropertiesPatch.LabelsEntry\022S\n" + + "\010metadata\030\257\366\265) \003(\0132>.g" + + "oogle.cloud.compute.v1.InstancePropertiesPatch.MetadataEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\032/\n\r" @@ -14597,16 +14618,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020InstanceSettings\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022K\n" - + "\010metadata\030\257\366\265) " - + "\001(\01321.google.cloud.compute.v1.InstanceSettingsMetadataH\002\210\001\001\022\024\n" + + "\010metadata\030\257\366\265) \001(\01321.google.c" + + "loud.compute.v1.InstanceSettingsMetadataH\002\210\001\001\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\003\210\001\001B\016\n" + "\014_fingerprintB\007\n" + "\005_kindB\013\n" + "\t_metadataB\007\n" + "\005_zone\"\267\001\n" + "\030InstanceSettingsMetadata\022N\n" - + "\005items\030\300\317\367/" - + " \003(\0132<.google.cloud.compute.v1.InstanceSettingsMetadata.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(" + + "\0132<.google.cloud.compute.v1.InstanceSettingsMetadata.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\032,\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -14618,13 +14639,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022G\n\n" - + "properties\030\263\232\266F" - + " \001(\0132+.google.cloud.compute.v1.InstancePropertiesH\005\210\001\001\022\026\n" + + "properties\030\263\232\266F \001(\0132+.googl" + + "e.cloud.compute.v1.InstancePropertiesH\005\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\006\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022 \n" + "\017source_instance\030\271\230\375\274\001 \001(\tH\010\210\001\001\022U\n" - + "\026source_instance_params\030\314\320\304@" - + " \001(\0132-.google.cloud.compute.v1.SourceInstanceParamsH\t\210\001\001B\025\n" + + "\026source_instance_params\030\314\320\304@ " + + "\001(\0132-.google.cloud.compute.v1.SourceInstanceParamsH\t\210\001\001B\025\n" + "\023_creation_timestampB\016\n" + "\014_descriptionB\005\n" + "\003_idB\007\n" @@ -14637,8 +14658,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027_source_instance_params\"\270\003\n" + "\036InstanceTemplateAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n" - + "\005items\030\300\317\367/ \003(\0132B.google.cloud.compute.v1.In" - + "stanceTemplateAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132B." + + "google.cloud.compute.v1.InstanceTemplateAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -14646,12 +14667,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032b\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022C\n" - + "\005value\030\002 \001(\01324.google.cloud.c" - + "ompute.v1.InstanceTemplatesScopedList:\0028\001B\005\n" + + "\005value\030\002" + + " \001(\01324.google.cloud.compute.v1.InstanceTemplatesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" - + "\020_next_page_tokenB\014\n" - + "\n" + + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"\261\002\n" + "\024InstanceTemplateList\022\020\n" @@ -14669,8 +14689,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\257\001\n" + "\033InstanceTemplatesScopedList\022I\n" - + "\022instance_templates\030\217\270\245\333\001 \003(\0132).go" - + "ogle.cloud.compute.v1.InstanceTemplate\0229\n" + + "\022instance_templates\030\217\270\245\333\001" + + " \003(\0132).google.cloud.compute.v1.InstanceTemplate\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\216\003\n" @@ -14698,16 +14718,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021resource_policies\030\341\234\314\n" + " \003(\t\"\212\002\n" + "$InstancesBulkInsertOperationMetadata\022t\n" - + "\023per_location_status\030\232\351\204P \003(\0132T.google.cloud.compute.v1.I" - + "nstancesBulkInsertOperationMetadata.PerLocationStatusEntry\032l\n" + + "\023per_location_status\030\232\351\204P \003(\0132T" + + ".google.cloud.compute.v1.InstancesBulkIn" + + "sertOperationMetadata.PerLocationStatusEntry\032l\n" + "\026PerLocationStatusEntry\022\013\n" + "\003key\030\001 \001(\t\022A\n" - + "\005value\030\002 \001(\01322.googl" - + "e.cloud.compute.v1.BulkInsertOperationStatus:\0028\001\"\330\001\n" + + "\005value\030\002" + + " \001(\01322.google.cloud.compute.v1.BulkInsertOperationStatus:\0028\001\"\330\001\n" + "&InstancesGetEffectiveFirewallsResponse\022t\n" - + "\020firewall_policys\030\302\312\374\303\001 \003(" - + "\0132V.google.cloud.compute.v1.InstancesGet" - + "EffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" + + "\020firewall_policys\030\302\312\374\303\001 \003(\0132V.google.clo" + + "ud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" + "\tfirewalls\030\363\306\350\201\001" + " \003(\0132!.google.cloud.compute.v1.Firewall\"\254\004\n" + "=InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\022\034\n" @@ -14738,8 +14758,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\t\"\310\002\n" + "\"InstancesReportHostAsFaultyRequest\022#\n" + "\023disruption_schedule\030\203\305\333- \001(\tH\000\210\001\001\022`\n\r" - + "fault_reasons\030\222\253\221P \003(\013" - + "2F.google.cloud.compute.v1.InstancesReportHostAsFaultyRequestFaultReason\"\202\001\n" + + "fault_reasons\030\222\253\221P \003(\0132F.google.clou" + + "d.compute.v1.InstancesReportHostAsFaultyRequestFaultReason\"\202\001\n" + "\022DisruptionSchedule\022!\n" + "\035UNDEFINED_DISRUPTION_SCHEDULE\020\000\022\'\n" + "\037DISRUPTION_SCHEDULE_UNSPECIFIED\020\333\356\310\236\001\022\016\n" @@ -14765,15 +14785,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\327\001\n" + "\031InstancesSetLabelsRequest\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022R\n" - + "\006labels\030\377\277\301\356\001 \003(\0132>.googl" - + "e.cloud.compute.v1.InstancesSetLabelsRequest.LabelsEntry\032-\n" + + "\006labels\030\377\277\301\356\001 \003(\0132>.google.cloud.comput" + + "e.v1.InstancesSetLabelsRequest.LabelsEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\024\n" + "\022_label_fingerprint\"q\n" + "#InstancesSetMachineResourcesRequest\022J\n" - + "\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.g" - + "oogle.cloud.compute.v1.AcceleratorConfig\"O\n" + + "\022guest_accelerators\030\357\314\207\335\001" + + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\"O\n" + "\036InstancesSetMachineTypeRequest\022\034\n" + "\014machine_type\030\262\260\312l \001(\tH\000\210\001\001B\017\n\r" + "_machine_type\"Z\n" @@ -14794,8 +14814,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006scopes\030\237\231\222O \003(\tB\010\n" + "\006_email\"w\n" + "&InstancesStartWithEncryptionKeyRequest\022M\n" - + "\005disks\030\366\314\312- \003(\0132;.google.c" - + "loud.compute.v1.CustomerEncryptionKeyProtectedDisk\"\301\t\n" + + "\005disks\030\366\314\312-" + + " \003(\0132;.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk\"\301\t\n" + "\017InstantSnapshot\022\035\n" + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" @@ -14804,8 +14824,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022H\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\01324.google.cloud.compute.v1.InstantSnapshot.LabelsEntry\022\024\n" + + "\006labels\030\377\277\301\356\001 \003(\0132" + + "4.google.cloud.compute.v1.InstantSnapshot.LabelsEntry\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\010\210\001\001\022W\n" + "\017resource_status\030\303\372\367v" @@ -14856,8 +14876,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\316\003\n" + "\035InstantSnapshotAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n" - + "\005items\030\300\317\367/ \003(\0132A.google.cloud.comp" - + "ute.v1.InstantSnapshotAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132A.google.cloud.compute.v1.InstantSnapshotAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -14866,8 +14886,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002" - + " \001(\01323.google.cloud.compute.v1.InstantSnapshotsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001" + + "(\01323.google.cloud.compute.v1.InstantSnapshotsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -14891,8 +14911,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022storage_size_bytes\030\361\215\346\270\001 \001(\003H\000\210\001\001B\025\n" + "\023_storage_size_bytes\"\254\001\n" + "\032InstantSnapshotsScopedList\022G\n" - + "\021instant_snapshots\030\321\274\227\235\001 \003(\0132(.g" - + "oogle.cloud.compute.v1.InstantSnapshot\0229\n" + + "\021instant_snapshots\030\321\274\227\235\001" + + " \003(\0132(.google.cloud.compute.v1.InstantSnapshot\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"h\n" @@ -14905,16 +14925,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013aai_enabled\030\313\242\261\271\001 \001(\010H\000\210\001\001\022\036\n\r" + "admin_enabled\030\321\354\301\324\001 \001(\010H\001\210\001\001\022r\n" + "\036application_aware_interconnect\030\236\370\315\314\001" - + " \001(\0132A.google.cloud.comput" - + "e.v1.InterconnectApplicationAwareInterconnectH\002\210\001\001\022\036\n" + + " \001(\0132A.google.cloud.compute.v1.InterconnectApplicationAwareInterconnectH\002\210\001\001\022\036\n" + "\022available_features\030\363\271\326\354\001 \003(\t\022J\n\r" - + "circuit_infos\030\257\203\315N \003(\01320.google.cl" - + "oud.compute.v1.InterconnectCircuitInfo\022\"\n" + + "circuit_infos\030\257\203\315N" + + " \003(\01320.google.cloud.compute.v1.InterconnectCircuitInfo\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n\r" + "customer_name\030\314\334\337\001 \001(\tH\004\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022T\n" - + "\020expected_outages\030\233\352\216~" - + " \003(\01327.google.cloud.compute.v1.InterconnectOutageNotification\022\"\n" + + "\020expected_outages\030\233\352\216~ \003(\01327.google." + + "cloud.compute.v1.InterconnectOutageNotification\022\"\n" + "\021google_ip_address\030\242\205\245\323\001 \001(\tH\006\210\001\001\022$\n" + "\023google_reference_id\030\325\265\212\377\001 \001(\tH\007\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\010\210\001\001\022$\n" @@ -14924,8 +14943,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004kind\030\224\367\310\001 \001(\tH\n" + "\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\013\210\001\001\022E\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\01321.google.cloud.compute.v1.Interconnect.LabelsEntry\022\032\n" + + "\006labels\030\377\277\301\356\001 \003" + + "(\01321.google.cloud.compute.v1.Interconnect.LabelsEntry\022\032\n" + "\tlink_type\030\337\210\276\371\001 \001(\tH\014\210\001\001\022\031\n" + "\010location\030\265\277\276\212\001 \001(\tH\r" + "\210\001\001\022D\n" @@ -14966,7 +14985,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034UNDEFINED_REQUESTED_FEATURES\020\000\"C\n" + "\005State\022\023\n" + "\017UNDEFINED_STATE\020\000\022\016\n" - + "\006ACTIVE\020\206\346\211\226\001\022\025\n\r" + + "\006ACTIVE\020\206\346\211\226\001\022\025\n" + + "\r" + "UNPROVISIONED\020\333\307\327\366\001B\016\n" + "\014_aai_enabledB\020\n" + "\016_admin_enabledB!\n" @@ -14995,22 +15015,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\010\n" + "\006_state\"\247\004\n" + "(InterconnectApplicationAwareInterconnect\022\207\001\n" - + "\033bandwidth_percentage_policy\030\351\334\226Y \001(\0132Z." - + "google.cloud.compute.v1.InterconnectAppl" - + "icationAwareInterconnectBandwidthPercentagePolicyH\000\210\001\001\022#\n" + + "\033bandwidth_percentage_policy\030\351\334\226Y \001(\0132Z.google.cloud.c" + + "ompute.v1.InterconnectApplicationAwareIn" + + "terconnectBandwidthPercentagePolicyH\000\210\001\001\022#\n" + "\023profile_description\030\346\354\250} \001(\tH\001\210\001\001\022z\n" - + "\031shape_average_percentages\030\331\270\364{" - + " \003(\0132T.google.cloud.compute.v1.Inte" - + "rconnectApplicationAwareInterconnectBandwidthPercentage\022}\n" - + "\026strict_priority_policy\030\267\225\227E \001(\0132U.google.cloud.compute.v1.Int" - + "erconnectApplicationAwareInterconnectStrictPriorityPolicyH\002\210\001\001B\036\n" + + "\031shape_average_percentages\030\331\270\364{ \003(\0132T.go" + + "ogle.cloud.compute.v1.InterconnectApplic" + + "ationAwareInterconnectBandwidthPercentage\022}\n" + + "\026strict_priority_policy\030\267\225\227E \001(\0132U.g" + + "oogle.cloud.compute.v1.InterconnectAppli" + + "cationAwareInterconnectStrictPriorityPolicyH\002\210\001\001B\036\n" + "\034_bandwidth_percentage_policyB\026\n" + "\024_profile_descriptionB\031\n" + "\027_strict_priority_policy\"\210\002\n" + ";InterconnectApplicationAwareInterconnectBandwidthPercentage\022\032\n\n" + "percentage\030\232\345\267H \001(\r" - + "H\000\210\001\001\022\035\n" - + "\r" + + "H\000\210\001\001\022\035\n\r" + "traffic_class\030\266\371\277^ \001(\tH\001\210\001\001\"m\n" + "\014TrafficClass\022\033\n" + "\027UNDEFINED_TRAFFIC_CLASS\020\000\022\t\n" @@ -15023,9 +15043,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_percentageB\020\n" + "\016_traffic_class\"\273\001\n" + "AInterconnectApplicationAwareInterconnectBandwidthPercentagePolicy\022v\n" - + "\025bandwidth_percentages\030\213\375\243o \003(\0132T.g" - + "oogle.cloud.compute.v1.InterconnectAppli" - + "cationAwareInterconnectBandwidthPercentage\">\n" + + "\025bandwidth_percentages\030\213\375\243o \003(\0132T.google.cloud.co" + + "mpute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage\">\n" + ".google.cloud.compute.v1.InterconnectAttachmentPartnerMetadataH\031\210\001\001\022e\n" - + "\031private_interconnect_info\030\203\354\221q \001(\0132:.goog" - + "le.cloud.compute.v1.InterconnectAttachmentPrivateInfoH\032\210\001\001\022\026\n" + + "\020partner_metadata\030\306\341\266\037 \001(\0132>.googl" + + "e.cloud.compute.v1.InterconnectAttachmentPartnerMetadataH\031\210\001\001\022e\n" + + "\031private_interconnect_info\030\203\354\221q \001(\0132:.google.cloud.compu" + + "te.v1.InterconnectAttachmentPrivateInfoH\032\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\033\210\001\001\022\037\n" + "\016remote_service\030\274\377\362\272\001 \001(\tH\034\210\001\001\022\026\n" + "\006router\030\311\256\356F \001(\tH\035\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\036\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\037\210\001\001\022\033\n\n" + "stack_type\030\221\265\213\313\001 \001(\tH \210\001\001\022\025\n" - + "\005state\030\221\211\2534 \001(\tH!\210\001\001\022\036\n\r" + + "\005state\030\221\211\2534 \001(\tH!\210\001\001\022\036\n" + + "\r" + "subnet_length\030\210\304\267\205\001 \001(\005H\"\210\001\001\022\024\n" + "\004type\030\272\236\332\001 \001(\tH#\210\001\001\022\035\n\r" + "vlan_tag8021q\030\234\350\2279 \001(\005H$\210\001\001\032-\n" @@ -15166,19 +15186,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_vlan_tag8021q\"\343\003\n" + "$InterconnectAttachmentAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022Z\n" - + "\005items\030\300\317\367/ \003(\0132H.google.cloud.compute.v1." - + "InterconnectAttachmentAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132" + + "H.google.cloud.compute.v1.InterconnectAttachmentAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" + "\014unreachables\030\237\240\206t \003(\t\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\004\210\001\001\032h\n\n" + + " .google.cloud.compute.v1.WarningH\004\210\001\001", + "\032h\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022I\n" - + "\005value\030\002 \001(\0132:.google.cloud.compute." - + "v1.InterconnectAttachmentsScopedList:\0028\001", - "B\005\n" + + "\005value\030\002 \001" + + "(\0132:.google.cloud.compute.v1.InterconnectAttachmentsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -15186,8 +15206,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\263\002\n" + ".InterconnectAttachmentConfigurationConstraints\022\030\n" + "\007bgp_md5\030\212\350\363\261\001 \001(\tH\000\210\001\001\022w\n" - + "\023bgp_peer_asn_ranges\030\202\273\371\342\001 \003(\0132V.google.cloud.compute.v1.I" - + "nterconnectAttachmentConfigurationConstraintsBgpPeerASNRange\"b\n" + + "\023bgp_peer_asn_ranges\030\202\273\371\342\001 \003(\0132V" + + ".google.cloud.compute.v1.InterconnectAtt" + + "achmentConfigurationConstraintsBgpPeerASNRange\"b\n" + "\006BgpMd5\022\025\n" + "\021UNDEFINED_BGP_MD5\020\000\022\024\n" + "\014MD5_OPTIONAL\020\201\242\340\375\001\022\023\n" @@ -15202,27 +15223,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_maxB\006\n" + "\004_min\"\201\007\n" + "\033InterconnectAttachmentGroup\022^\n" - + "\013attachments\030\260\227\317\237\001 \003(\0132E.google." - + "cloud.compute.v1.InterconnectAttachmentGroup.AttachmentsEntry\022[\n\n" - + "configured\030\276\364\373\214\001" - + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\"\n" + + "\013attachments\030\260\227\317\237\001 \003(\0132E.google.cloud.compute." + + "v1.InterconnectAttachmentGroup.AttachmentsEntry\022[\n\n" + + "configured\030\276\364\373\214\001 \001(\0132>.google" + + ".cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\003\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\004\210\001\001\022S\n" - + "\006intent\030\234\355\304\313\001 \001(\013" - + "2:.google.cloud.compute.v1.InterconnectAttachmentGroupIntentH\005\210\001\001\022#\n" + + "\006intent\030\234\355\304\313\001 \001(\0132:.google.clou" + + "d.compute.v1.InterconnectAttachmentGroupIntentH\005\210\001\001\022#\n" + "\022interconnect_group\030\216\267\251\271\001 \001(\tH\006\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022g\n" - + "\021logical_structure\030\275\231\364C \001(\0132D.goo" - + "gle.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureH\010\210\001\001\022\024\n" + + "\021logical_structure\030\275\231\364C \001(\0132D.google.cloud.comp" + + "ute.v1.InterconnectAttachmentGroupLogicalStructureH\010\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\n" + "\210\001\001\032r\n" + "\020AttachmentsEntry\022\013\n" + "\003key\030\001 \001(\t\022M\n" - + "\005value\030\002" - + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupAttachment:\0028\001B\r\n" + + "\005value\030\002 \001(\0132>.goog" + + "le.cloud.compute.v1.InterconnectAttachmentGroupAttachment:\0028\001B\r\n" + "\013_configuredB\025\n" + "\023_creation_timestampB\016\n" + "\014_descriptionB\007\n" @@ -15238,13 +15259,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "attachment\030\243\262\335W \001(\tH\000\210\001\001B\r\n" + "\013_attachment\"\256\001\n" + "%InterconnectAttachmentGroupConfigured\022p\n" - + "\020availability_sla\030\304\270\263\341\001 \001(\0132M.google.c" - + "loud.compute.v1.InterconnectAttachmentGroupConfiguredAvailabilitySLAH\000\210\001\001B\023\n" + + "\020availability_sla\030\304\270\263\341\001 \001(\0132M.google.cloud.compute.v" + + "1.InterconnectAttachmentGroupConfiguredAvailabilitySLAH\000\210\001\001B\023\n" + "\021_availability_sla\"\212\003\n" + "4InterconnectAttachmentGroupConfiguredAvailabilitySLA\022\035\n\r" + "effective_sla\030\220\325\337D \001(\tH\000\210\001\001\022\203\001\n" - + "\025intended_sla_blockers\030\204\255\346\325\001 \003(\0132`.google.cloud.comput" - + "e.v1.InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers\"\232\001\n" + + "\025intended_sla_blockers\030\204\255\346\325\001" + + " \003(\0132`.google.cloud.compute.v1.Interconn" + + "ectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers\"\232\001\n" + "\014EffectiveSla\022\033\n" + "\027UNDEFINED_EFFECTIVE_SLA\020\000\022!\n" + "\031EFFECTIVE_SLA_UNSPECIFIED\020\250\247\220\352\001\022\r\n" @@ -15282,22 +15304,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027PRODUCTION_NON_CRITICAL\020\267\275\3757B\023\n" + "\021_availability_sla\"\215\001\n" + "+InterconnectAttachmentGroupLogicalStructure\022^\n" - + "\007regions\030\377\357\362\005 \003(\0132J.google.cloud.compute." - + "v1.InterconnectAttachmentGroupLogicalStructureRegion\"\273\001\n" + + "\007regions\030\377\357\362\005 \003(\0132J.google.cloud.compute.v1.Interconnec" + + "tAttachmentGroupLogicalStructureRegion\"\273\001\n" + "1InterconnectAttachmentGroupLogicalStructureRegion\022c\n" - + "\006metros\030\372\354\227\376\001 \003(\0132O.google.cloud.compute.v1.Interco" - + "nnectAttachmentGroupLogicalStructureRegionMetro\022\026\n" + + "\006metros\030\372\354\227\376\001 \003(\0132O.googl" + + "e.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetro\022\026\n" + "\006region\030\364\315\240B \001(\tH\000\210\001\001B\t\n" + "\007_region\"\312\001\n" + "6InterconnectAttachmentGroupLogicalStructureRegionMetro\022o\n\n" - + "facilities\030\201\305\364\377\001 \003(\0132W.google.cloud.compute.v1.Intercon" - + "nectAttachmentGroupLogicalStructureRegionMetroFacility\022\025\n" + + "facilities\030\201\305\364\377\001 \003(\0132W.google" + + ".cloud.compute.v1.InterconnectAttachment" + + "GroupLogicalStructureRegionMetroFacility\022\025\n" + "\005metro\030\231\332\2761 \001(\tH\000\210\001\001B\010\n" + "\006_metro\"\327\001\n" + ">InterconnectAttachmentGroupLogicalStructureRegionMetroFacility\022\031\n" + "\010facility\030\243\335\371\356\001 \001(\tH\000\210\001\001\022m\n" - + "\005zones\030\307\244\2557 \003(\0132[.google.cloud.compute.v1.InterconnectAt" - + "tachmentGroupLogicalStructureRegionMetroFacilityZoneB\013\n" + + "\005zones\030\307\244\2557 \003(\0132[.google.cloud" + + ".compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZoneB\013\n" + "\t_facility\"|\n" + "BInterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone\022\027\n" + "\013attachments\030\260\227\317\237\001 \003(\t\022\024\n" @@ -15305,15 +15328,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\304\001\n" + "8InterconnectAttachmentGroupsGetOperationalStatusResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022^\n" - + "\006result\030\235\220\267B \001(\0132F.google.cloud.compute.v1." - + "InterconnectAttachmentGroupsOperationalStatusH\001\210\001\001B\007\n" + + "\006result\030\235\220\267B \001(\0132" + + "F.google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusH\001\210\001\001B\007\n" + "\005_etagB\t\n" + "\007_result\"\210\003\n" + "(InterconnectAttachmentGroupsListResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022F\n" - + "\005items\030\300\317\367/" - + " \003(\01324.google.cloud.compute.v1.InterconnectAttachmentGroup\022\024\n" + + "\005items\030\300\317\367/ \003(\0132" + + "4.google.cloud.compute.v1.InterconnectAttachmentGroup\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -15327,15 +15350,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\210\005\n" + "-InterconnectAttachmentGroupsOperationalStatus\022w\n" - + "\023attachment_statuses\030\274\257\230\352\001 \003(\0132V.google.cl" - + "oud.compute.v1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus\022[\n\n" - + "configured\030\276\364\373\214\001 \001(\0132>.google.cloud.comp" - + "ute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\035\n" + + "\023attachment_statuses\030\274\257\230\352\001 \003(\0132V.google.cloud.compute.v1" + + ".InterconnectAttachmentGroupsOperationalStatusAttachmentStatus\022[\n\n" + + "configured\030\276\364\373\214\001" + + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\035\n" + "\014group_status\030\262\263\305\241\001 \001(\tH\001\210\001\001\022S\n" - + "\006intent\030\234\355\304\313\001 \001(\0132:.google.cloud.comp" - + "ute.v1.InterconnectAttachmentGroupIntentH\002\210\001\001\022[\n" - + "\013operational\030\322\307\354= \001(\0132>.google.c" - + "loud.compute.v1.InterconnectAttachmentGroupConfiguredH\003\210\001\001\"u\n" + + "\006intent\030\234\355\304\313\001" + + " \001(\0132:.google.cloud.compute.v1.InterconnectAttachmentGroupIntentH\002\210\001\001\022[\n" + + "\013operational\030\322\307\354= \001(\0132>.google.cloud.compute.v" + + "1.InterconnectAttachmentGroupConfiguredH\003\210\001\001\"u\n" + "\013GroupStatus\022\032\n" + "\026UNDEFINED_GROUP_STATUS\020\000\022\020\n" + "\010DEGRADED\020\256\246\240\275\001\022\021\n\n" @@ -15379,8 +15402,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_status\"\275\002\n" + "\032InterconnectAttachmentList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022A\n" - + "\005items\030\300\317\367/" - + " \003(\0132/.google.cloud.compute.v1.InterconnectAttachment\022\024\n" + + "\005items\030\300\317\367/ \003(\013" + + "2/.google.cloud.compute.v1.InterconnectAttachment\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -15403,8 +15426,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "H\000\210\001\001B\013\n" + "\t_tag8021q\"\301\001\n" + "!InterconnectAttachmentsScopedList\022U\n" - + "\030interconnect_attachments\030\377\322\353\312\001" - + " \003(\0132/.google.cloud.compute.v1.InterconnectAttachment\0229\n" + + "\030interconnect_attachments\030\377\322\353\312\001 \003(\0132/." + + "google.cloud.compute.v1.InterconnectAttachment\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\305\001\n" @@ -15417,12 +15440,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_google_circuit_idB\023\n" + "\021_google_demarc_id\"\225\005\n" + "\027InterconnectDiagnostics\022P\n\n" - + "arp_caches\030\221\326\330\305\001 \003(\01328.google.cloud.c" - + "ompute.v1.InterconnectDiagnosticsARPEntry\022(\n" + + "arp_caches\030\221\326\330\305\001" + + " \003(\01328.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry\022(\n" + "\027bundle_aggregation_type\030\224\311\262\317\001 \001(\tH\000\210\001\001\022)\n" + "\031bundle_operational_status\030\334\227\3402 \001(\tH\001\210\001\001\022L\n" - + "\005links\030\271\237\2151 \003(\0132:.google.cloud." - + "compute.v1.InterconnectDiagnosticsLinkStatus\022\034\n" + + "\005links\030\271\237\2151" + + " \003(\0132:.google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus\022\034\n" + "\013mac_address\030\204\322\310\236\001 \001(\tH\002\210\001\001\"\212\001\n" + "\025BundleAggregationType\022%\n" + "!UNDEFINED_BUNDLE_AGGREGATION_TYPE\020\000\022#\n" @@ -15465,19 +15488,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_stateB\010\n" + "\006_value\"\361\006\n" + "!InterconnectDiagnosticsLinkStatus\022P\n\n" - + "arp_caches\030\221\326\330\305\001 \003(\01328.google.cloud" - + ".compute.v1.InterconnectDiagnosticsARPEntry\022\032\n\n" + + "arp_caches\030\221\326\330\305\001" + + " \003(\01328.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry\022\032\n\n" + "circuit_id\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\r" + "google_demarc\030\214\217\003 \001(\tH\001\210\001\001\022\\\n" - + "\013lacp_status\030\257\304\236\254\001" - + " \001(\0132>.google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatusH\002\210\001\001\022U\n" - + "\006macsec\030\242\301\227\374\001 \001(\0132<.google.cloud.compute.v" - + "1.InterconnectDiagnosticsMacsecStatusH\003\210\001\001\022\"\n" + + "\013lacp_status\030\257\304\236\254\001 \001(\0132>.googl" + + "e.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatusH\002\210\001\001\022U\n" + + "\006macsec\030\242\301\227\374\001 \001(" + + "\0132<.google.cloud.compute.v1.InterconnectDiagnosticsMacsecStatusH\003\210\001\001\022\"\n" + "\022operational_status\030\377\261\360_ \001(\tH\004\210\001\001\022i\n" - + "\027receiving_optical_power\030\337\255\330t \001(\0132@.goo" - + "gle.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPowerH\005\210\001\001\022m\n" - + "\032transmitting_optical_power\030\235\272\211\333\001 \001(\0132@.google.cloud" - + ".compute.v1.InterconnectDiagnosticsLinkOpticalPowerH\006\210\001\001\"\177\n" + + "\027receiving_optical_power\030\337\255\330t \001(\0132@.google.cloud.comp" + + "ute.v1.InterconnectDiagnosticsLinkOpticalPowerH\005\210\001\001\022m\n" + + "\032transmitting_optical_power\030\235\272\211\333\001" + + " \001(\0132@.google.cloud.compute.v1.In" + + "terconnectDiagnosticsLinkOpticalPowerH\006\210\001\001\"\177\n" + "\021OperationalStatus\022 \n" + "\034UNDEFINED_OPERATIONAL_STATUS\020\000\022$\n" + "\034LINK_OPERATIONAL_STATUS_DOWN\020\375\344\246\206\001\022\"\n" @@ -15495,25 +15519,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_cknB\016\n" + "\014_operational\"\224\006\n" + "\021InterconnectGroup\022Q\n\n" - + "configured\030\276\364\373\214\001" - + " \001(\01324.google.cloud.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\"\n" + + "configured\030\276\364\373\214\001 \001(\01324.google" + + ".cloud.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\003\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\004\210\001\001\022I\n" - + "\006intent\030\234\355\304\313\001 \001(\01320.google." - + "cloud.compute.v1.InterconnectGroupIntentH\005\210\001\001\022X\n\r" - + "interconnects\030\245\333\205\370\001 \003(\0132=.googl" - + "e.cloud.compute.v1.InterconnectGroup.InterconnectsEntry\022\024\n" + + "\006intent\030\234\355\304\313\001" + + " \001(\01320.google.cloud.compute.v1.InterconnectGroupIntentH\005\210\001\001\022X\n\r" + + "interconnects\030\245\333\205\370\001 \003(\0132=.google.cloud.comput" + + "e.v1.InterconnectGroup.InterconnectsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022_\n" - + "\022physical_structure\030\213\320\220]" - + " \001(\0132;.google.cloud.compute.v1.InterconnectGroupPhysicalStructureH\010\210\001\001\022\032\n" + + "\022physical_structure\030\213\320\220] \001(\0132;.g" + + "oogle.cloud.compute.v1.InterconnectGroupPhysicalStructureH\010\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\032l\n" + "\022InterconnectsEntry\022\013\n" + "\003key\030\001 \001(\t\022E\n" - + "\005value\030\002 \001(\01326.goo" - + "gle.cloud.compute.v1.InterconnectGroupInterconnect:\0028\001B\r\n" + + "\005value\030\002 \001(\01326.google.cloud.comp" + + "ute.v1.InterconnectGroupInterconnect:\0028\001B\r\n" + "\013_configuredB\025\n" + "\023_creation_timestampB\016\n" + "\014_descriptionB\007\n" @@ -15525,13 +15549,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_physical_structureB\014\n\n" + "_self_link\"\242\001\n" + "\033InterconnectGroupConfigured\022k\n" - + "\023topology_capability\030\350\331\340D \001(\0132F.google.cloud.compute.v1" - + ".InterconnectGroupConfiguredTopologyCapabilityH\000\210\001\001B\026\n" + + "\023topology_capability\030\350\331\340D \001(\013" + + "2F.google.cloud.compute.v1.InterconnectGroupConfiguredTopologyCapabilityH\000\210\001\001B\026\n" + "\024_topology_capability\"\374\002\n" + "-InterconnectGroupConfiguredTopologyCapability\022\212\001\n" - + "\034intended_capability_blockers\030\354\375\300\375\001" - + " \003(\0132`.google.cloud.compute.v1.Inter" - + "connectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers\022\035\n\r" + + "\034intended_capability_blockers\030\354\375\300\375\001 \003(\0132`.goo" + + "gle.cloud.compute.v1.InterconnectGroupCo" + + "nfiguredTopologyCapabilityIntendedCapabilityBlockers\022\035\n\r" + "supported_sla\030\227\364\242\034 \001(\tH\000\210\001\001\"\214\001\n" + "\014SupportedSla\022\033\n" + "\027UNDEFINED_SUPPORTED_SLA\020\000\022\r\n" @@ -15572,17 +15596,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014interconnect\030\216\311\214k \001(\tH\000\210\001\001B\017\n\r" + "_interconnect\"{\n" + "\"InterconnectGroupPhysicalStructure\022U\n" - + "\006metros\030\372\354\227\376\001 \003(\0132A" - + ".google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetros\"\260\001\n" + + "\006metros\030\372\354\227\376\001 \003(\0132A.google.cloud." + + "compute.v1.InterconnectGroupPhysicalStructureMetros\"\260\001\n" + "(InterconnectGroupPhysicalStructureMetros\022c\n\n" - + "facilities\030\201\305\364\377\001 \003(\0132K.google.cloud.compute.v1" - + ".InterconnectGroupPhysicalStructureMetrosFacilities\022\025\n" + + "facilities\030\201\305\364\377\001 \003(\013" + + "2K.google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilities\022\025\n" + "\005metro\030\231\332\2761 \001(\tH\000\210\001\001B\010\n" + "\006_metro\"\300\001\n" + "2InterconnectGroupPhysicalStructureMetrosFacilities\022\031\n" + "\010facility\030\243\335\371\356\001 \001(\tH\000\210\001\001\022b\n" - + "\005zones\030\307\244\2557 \003(\0132P.google.cloud." - + "compute.v1.InterconnectGroupPhysicalStructureMetrosFacilitiesZonesB\013\n" + + "\005zones\030\307\244\2557 \003(\0132P.google.cloud.compute.v1.Int" + + "erconnectGroupPhysicalStructureMetrosFacilitiesZonesB\013\n" + "\t_facility\"s\n" + "7InterconnectGroupPhysicalStructureMetrosFacilitiesZones\022\031\n\r" + "interconnects\030\245\333\205\370\001 \003(\t\022\024\n" @@ -15590,13 +15614,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\320\003\n" + "\037InterconnectGroupsCreateMembers\022(\n" + "\030intent_mismatch_behavior\030\300\325\262N \001(\tH\000\210\001\001\022d\n\r" - + "interconnects\030\245\333\205\370\001 \003(\0132I.google.cloud.com" - + "pute.v1.InterconnectGroupsCreateMembersInterconnectInput\022p\n" - + "\025template_interconnect\030\263\260\225k \001(\0132I.google.cloud.compute.v1.Int" - + "erconnectGroupsCreateMembersInterconnectInputH\001\210\001\001\"t\n" + + "interconnects\030\245\333\205\370\001 \003(\0132I.google.cloud.compute.v1.Interc" + + "onnectGroupsCreateMembersInterconnectInput\022p\n" + + "\025template_interconnect\030\263\260\225k \001(\0132I.g" + + "oogle.cloud.compute.v1.InterconnectGroupsCreateMembersInterconnectInputH\001\210\001\001\"t\n" + "\026IntentMismatchBehavior\022&\n" + "\"UNDEFINED_INTENT_MISMATCH_BEHAVIOR\020\000\022\016\n" - + "\006CREATE\020\374\251\342\267\001\022\r\n" + + "\006CREATE\020\374\251\342\267\001\022\r" + + "\n" + "\006REJECT\020\237\317\361~\022\023\n" + "\013UNSPECIFIED\020\227\276\230\373\001B\033\n" + "\031_intent_mismatch_behaviorB\030\n" @@ -15638,20 +15663,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025_requested_link_count\"\207\001\n" + "&InterconnectGroupsCreateMembersRequest\022Q\n" + "\007request\030\217\345\273\n" - + " \001(\01328.google.clo" - + "ud.compute.v1.InterconnectGroupsCreateMembersH\000\210\001\001B\n\n" + + " \001(\01328.google.cloud.compute.v1.InterconnectGroupsCreateMembersH\000\210\001\001B\n\n" + "\010_request\"\260\001\n" + ".InterconnectGroupsGetOperationalStatusResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022T\n" - + "\006result\030\235\220\267B \001(\0132<.goo" - + "gle.cloud.compute.v1.InterconnectGroupsOperationalStatusH\001\210\001\001B\007\n" + + "\006result\030\235\220\267B \001(\0132<.google.cloud.comp" + + "ute.v1.InterconnectGroupsOperationalStatusH\001\210\001\001B\007\n" + "\005_etagB\t\n" + "\007_result\"\364\002\n" + "\036InterconnectGroupsListResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022<\n" - + "\005items\030\300\317\367/" - + " \003(\0132*.google.cloud.compute.v1.InterconnectGroup\022\024\n" + + "\005items\030\300\317\367/ \003(\013" + + "2*.google.cloud.compute.v1.InterconnectGroup\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -15665,16 +15689,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\350\004\n" + "#InterconnectGroupsOperationalStatus\022Q\n\n" - + "configured\030\276\364\373\214\001 \001(\013" - + "24.google.cloud.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\035\n" + + "configured\030\276\364\373\214\001 \001(\01324.google.clou" + + "d.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\035\n" + "\014group_status\030\262\263\305\241\001 \001(\tH\001\210\001\001\022I\n" - + "\006intent\030\234\355\304\313\001 \001(\01320.google." - + "cloud.compute.v1.InterconnectGroupIntentH\002\210\001\001\022q\n" - + "\025interconnect_statuses\030\261\351\203\325\001 \003(\013" - + "2N.google.cloud.compute.v1.InterconnectG" - + "roupsOperationalStatusInterconnectStatus\022Q\n" - + "\013operational\030\322\307\354= \001(\01324.google.cloud." - + "compute.v1.InterconnectGroupConfiguredH\003\210\001\001\"\202\001\n" + + "\006intent\030\234\355\304\313\001" + + " \001(\01320.google.cloud.compute.v1.InterconnectGroupIntentH\002\210\001\001\022q\n" + + "\025interconnect_statuses\030\261\351\203\325\001 \003(\0132N.google.clou" + + "d.compute.v1.InterconnectGroupsOperationalStatusInterconnectStatus\022Q\n" + + "\013operational\030\322\307\354=" + + " \001(\01324.google.cloud.compute.v1.InterconnectGroupConfiguredH\003\210\001\001\"\202\001\n" + "\013GroupStatus\022\032\n" + "\026UNDEFINED_GROUP_STATUS\020\000\022\020\n" + "\010DEGRADED\020\256\246\240\275\001\022\021\n\n" @@ -15687,8 +15710,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_operational\"\207\003\n" + "5InterconnectGroupsOperationalStatusInterconnectStatus\022\036\n\r" + "admin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022N\n" - + "\013diagnostics\030\254\263\372\236\001 \001(\01320.google." - + "cloud.compute.v1.InterconnectDiagnosticsH\001\210\001\001\022\034\n" + + "\013diagnostics\030\254\263\372\236\001" + + " \001(\01320.google.cloud.compute.v1.InterconnectDiagnosticsH\001\210\001\001\022\034\n" + "\014interconnect\030\216\311\214k \001(\tH\002\210\001\001\022\031\n" + "\tis_active\030\273\327\3406 \001(\tH\003\210\001\001\"d\n" + "\010IsActive\022\027\n" @@ -15712,7 +15735,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" - + "\010_warning\"\372\n\n" + + "\010_warning\"\270\013\n" + "\024InterconnectLocation\022\030\n" + "\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022!\n" + "\021availability_zone\030\220\320\307K \001(\tH\001\210\001\001\022\036\n" @@ -15729,20 +15752,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\n" + "\210\001\001\022&\n" + "\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\013\210\001\001\022Q\n" - + "\014region_infos\030\372\350\356\224\001" - + " \003(\01327.google.cloud.compute.v1.InterconnectLocationRegionInfo\022\032\n" - + "\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\026\n" + + "\014region_infos\030\372\350\356\224\001 \003(\01327.goog" + + "le.cloud.compute.v1.InterconnectLocationRegionInfo\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022<\n" + + "0single_region_production_critical_peer_locations\030\317\233\313\321\001 \003(" + + "\t\022\026\n" + "\006status\030\362\237\267V \001(\tH\r" + "\210\001\001\022\034\n" + "\014supports_pzs\030\356\366\205( \001(\010H\016\210\001\001\"H\n" - + "\021AvailableFeatures\022 \n" + + "\021Av", + "ailableFeatures\022 \n" + "\034UNDEFINED_AVAILABLE_FEATURES\020\000\022\021\n" + "\tIF_MACSEC\020\204\374\372\274\001\"\242\001\n" + "\022AvailableLinkTypes\022\"\n" + "\036UNDEFINED_AVAILABLE_LINK_TYPES\020\000\022\"\n" + "\032LINK_TYPE_ETHERNET_100G_LR\020\347\362\201\241\001\022 \n" - + "\031L", - "INK_TYPE_ETHERNET_10G_LR\020\245\271\361p\022\"\n" + + "\031LINK_TYPE_ETHERNET_10G_LR\020\245\271\361p\022\"\n" + "\033LINK_TYPE_ETHERNET_400G_LR4\020\312\364\310<\"\352\001\n" + "\tContinent\022\027\n" + "\023UNDEFINED_CONTINENT\020\000\022\016\n" @@ -15773,13 +15798,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_nameB\030\n" + "\026_peeringdb_facility_idB\014\n\n" + "_self_linkB\t\n" - + "\007_statusB\017\n" - + "\r" + + "\007_statusB\017\n\r" + "_supports_pzs\"\271\002\n" + "\030InterconnectLocationList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022?\n" - + "\005items\030\300\317\367/ \003(\0132" - + "-.google.cloud.compute.v1.InterconnectLocation\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132-.google.cloud.compute.v1.InterconnectLocation\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -15788,8 +15812,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n" - + "\n" + + "_self_linkB\n\n" + "\010_warning\"\272\002\n" + "\036InterconnectLocationRegionInfo\022 \n" + "\017expected_rtt_ms\030\372\203\276\311\001 \001(\003H\000\210\001\001\022!\n" @@ -15810,8 +15833,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\01327.google.cloud.compute.v1.InterconnectMacsecPreSharedKeyB\014\n\n" + "_fail_open\"v\n" + "\030InterconnectMacsecConfig\022Z\n" - + "\017pre_shared_keys\030\362\313\265\310\001 \003(\0132=.google.cloud.compute.v" - + "1.InterconnectMacsecConfigPreSharedKey\"\250\001\n" + + "\017pre_shared_keys\030\362\313\265\310\001 \003(\0132=.google.cloud.c" + + "ompute.v1.InterconnectMacsecConfigPreSharedKey\"\250\001\n" + "$InterconnectMacsecConfigPreSharedKey\022\022\n" + "\003cak\030\315\377\005 \001(\tH\000\210\001\001\022\022\n" + "\003ckn\030\206\202\006 \001(\tH\001\210\001\001\022\024\n" @@ -15858,14 +15881,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_nameB\t\n" + "\007_sourceB\r\n" + "\013_start_timeB\010\n" - + "\006_state\"\313\013\n" + + "\006_state\"\212\014\n" + "\032InterconnectRemoteLocation\022\030\n" + "\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022~\n" - + "$attachment_configuration_constraints\030\321\350\353\233\001 \001(\0132G.googl" - + "e.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsH\001\210\001\001\022\024\n" + + "$attachment_configuration_constraints\030\321\350\353\233\001 \001(\013" + + "2G.google.cloud.compute.v1.InterconnectA" + + "ttachmentConfigurationConstraintsH\001\210\001\001\022\024\n" + "\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022[\n" - + "\013constraints\030\266\314\356\001 \001(\0132>.g" - + "oogle.cloud.compute.v1.InterconnectRemoteLocationConstraintsH\003\210\001\001\022\031\n" + + "\013constraints\030\266\314\356\001" + + " \001(\0132>.google.cloud.compute.v1.InterconnectRemoteLocationConstraintsH\003\210\001\001\022\031\n" + "\tcontinent\030\264\333\320? \001(\tH\004\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\005\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\022\"\n" @@ -15877,14 +15901,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004lacp\030\242\241\312\001 \001(\tH\013\210\001\001\022$\n" + "\024max_lag_size100_gbps\030\265\377\366t \001(\005H\014\210\001\001\022$\n" + "\023max_lag_size10_gbps\030\225\346\230\214\001 \001(\005H\r" - + "\210\001\001\022\024\n" - + "\004name\030\213\365\315\001 \001(\tH\016\210\001\001\022&\n" - + "\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\017\210\001\001\022j\n" - + "\025permitted_connections\030\256\263\345\322\001 \003(\0132G.g" - + "oogle.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections\022\037\n" - + "\016remote_service\030\274\377\362\272\001 \001(\tH\020\210\001\001\022\032\n" - + "\tself_link\030\215\222\305\331\001 \001(\tH\021\210\001\001\022\026\n" - + "\006status\030\362\237\267V \001(\tH\022\210\001\001\"\202\001\n" + + "\210\001\001\022$\n" + + "\024max_lag_size400_gbps\030\322\214\2052 \001(\005H\016\210\001\001\022\024\n" + + "\004name\030\213\365\315\001 \001(\tH\017\210\001\001\022&\n" + + "\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\020\210\001\001\022j\n" + + "\025permitted_connections\030\256\263\345\322\001 \003" + + "(\0132G.google.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections\022\037\n" + + "\016remote_service\030\274\377\362\272\001 \001(\tH\021\210\001\001\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\022\210\001\001\022\026\n" + + "\006status\030\362\237\267V \001(\tH\023\210\001\001\"\202\001\n" + "\tContinent\022\027\n" + "\023UNDEFINED_CONTINENT\020\000\022\016\n" + "\006AFRICA\020\372\234\257\227\001\022\017\n" @@ -15913,7 +15938,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_kindB\007\n" + "\005_lacpB\027\n" + "\025_max_lag_size100_gbpsB\026\n" - + "\024_max_lag_size10_gbpsB\007\n" + + "\024_max_lag_size10_gbpsB\027\n" + + "\025_max_lag_size400_gbpsB\007\n" + "\005_nameB\030\n" + "\026_peeringdb_facility_idB\021\n" + "\017_remote_serviceB\014\n\n" @@ -15923,9 +15949,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031port_pair_remote_location\030\247\262\274\354\001 \001(" + "\tH\000\210\001\001\022\037\n" + "\016port_pair_vlan\030\352\362\203\344\001 \001(\tH\001\210\001\001\022t\n" - + "\023subnet_length_range\030\306\260\373W \001" - + "(\0132O.google.cloud.compute.v1.Interconnec" - + "tRemoteLocationConstraintsSubnetLengthRangeH\002\210\001\001\"\234\001\n" + + "\023subnet_length_range\030\306\260\373W \001(\0132O.goog" + + "le.cloud.compute.v1.InterconnectRemoteLo" + + "cationConstraintsSubnetLengthRangeH\002\210\001\001\"\234\001\n" + "\026PortPairRemoteLocation\022\'\n" + "#UNDEFINED_PORT_PAIR_REMOTE_LOCATION\020\000\022)\n" + "\"PORT_PAIR_MATCHING_REMOTE_LOCATION\020\323\213\354b\022.\n" @@ -15960,18 +15986,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025interconnect_location\030\306\330\333\352\001 \001(\tH\000\210\001\001B\030\n" + "\026_interconnect_location\"z\n" + "#InterconnectsGetDiagnosticsResponse\022H\n" - + "\006result\030\235\220\267B" - + " \001(\01320.google.cloud.compute.v1.InterconnectDiagnosticsH\000\210\001\001B\t\n" + + "\006result\030\235\220\267B \001" + + "(\01320.google.cloud.compute.v1.InterconnectDiagnosticsH\000\210\001\001B\t\n" + "\007_result\"\233\001\n" + "$InterconnectsGetMacsecConfigResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022I\n" - + "\006result\030\235\220\267B \001(\0132" - + "1.google.cloud.compute.v1.InterconnectMacsecConfigH\001\210\001\001B\007\n" + + "\006result\030\235\220\267B \001(\01321.google." + + "cloud.compute.v1.InterconnectMacsecConfigH\001\210\001\001B\007\n" + "\005_etagB\t\n" + "\007_result\"\351\001\n" + "\034InvalidateCacheUrlMapRequest\022a\n" - + " cache_invalidation_rule_resource\030\255\303\223\225\001 \001(\0132..goo" - + "gle.cloud.compute.v1.CacheInvalidationRuleB\003\340A\002\022!\n" + + " cache_invalidation_rule_resource\030\255\303\223\225\001 \001(\0132..google.cloud" + + ".compute.v1.CacheInvalidationRuleB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n" @@ -16000,8 +16026,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\210\001\001\022#\n" + "\023removable_from_disk\030\256\205\252\014 \001(\010H\013\210\001\001\022\'\n" + "\034required_coattached_licenses\030\201\272\315= \003(\t\022[\n" - + "\025resource_requirements\030\241\262\227f \001(\01324.google.cloud.c" - + "ompute.v1.LicenseResourceRequirementsH\014\210\001\001\022\032\n" + + "\025resource_requirements\030\241\262\227f" + + " \001(\01324.google.cloud.compute.v1.LicenseResourceRequirementsH\014\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\r" + "\210\001\001\022!\n" + "\021self_link_with_id\030\202\254\235\025 \001(\tH\016\210\001\001\022!\n" @@ -16020,8 +16046,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_nameB\r\n" + "\013_os_licenseB\026\n" + "\024_removable_from_diskB\030\n" - + "\026_resource_requirementsB\014\n" - + "\n" + + "\026_resource_requirementsB\014\n\n" + "_self_linkB\024\n" + "\022_self_link_with_idB\023\n" + "\021_sole_tenant_onlyB\017\n\r" @@ -16032,8 +16057,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022J\n\r" - + "license_alias\030\322\221\342\024 \003(\013" - + "20.google.cloud.compute.v1.LicenseCodeLicenseAlias\022\024\n" + + "license_alias\030\322\221\342\024 \003(\01320.google" + + ".cloud.compute.v1.LicenseCodeLicenseAlias\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\005\210\001\001\022\025\n" + "\005state\030\221\211\2534 \001(\tH\006\210\001\001\022\034\n" @@ -16236,8 +16261,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" - + "\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001" @@ -16318,7 +16342,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r\n" + + "\t_order_byB\r" + + "\n" + "\013_page_tokenB\014\n\n" + "_parent_idB\031\n" + "\027_return_partial_success\"\226\002\n" @@ -16353,7 +16378,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" @@ -16392,7 +16418,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" @@ -16425,8 +16452,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r" - + "\n" + + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" + "\027_return_partial_success\"\231\002\n" + "\027ListHealthChecksRequest\022\027\n" @@ -16434,7 +16460,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" - + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + + "page_token\030\311\260\304\t \001", + "(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" @@ -16445,8 +16472,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021ListImagesRequest\022\027\n" + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" - + "H\001\210\001\001", - "\022\030\n" + + "H\001\210\001\001\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" @@ -16518,8 +16544,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"ListInstancesInstanceGroupsRequest\022\027\n" + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n" + "\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022}\n" - + "/instance_groups_list_instances_request_resource\030\237\250\214\343\001 \001(\0132" - + ";.google.cloud.compute.v1.InstanceGroupsListInstancesRequestB\003\340A\002\022\033\n" + + "/instance_groups_list_instances_request_resource\030\237\250\214\343\001" + + " \001(\0132;.google." + + "cloud.compute.v1.InstanceGroupsListInstancesRequestB\003\340A\002\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" @@ -16543,8 +16570,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\211\001\n" + "6region_instance_groups_list_instances_request_resource\030\324\251\200\027" - + " \001(\0132A.google.cloud.comp" - + "ute.v1.RegionInstanceGroupsListInstancesRequestB\003\340A\002\022\'\n" + + " \001(\0132A.google.cloud.compute.v1.Re" + + "gionInstanceGroupsListInstancesRequestB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" @@ -16644,7 +16671,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r\n" + + "\t_order_byB\r" + + "\n" + "\013_page_tokenB\031\n" + "\027_return_partial_success\"\232\002\n" + "\030ListInterconnectsRequest\022\027\n" @@ -16781,8 +16809,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "H\001\210\001\001\022\'\n" + "\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\213\001\n" + "7network_endpoint_groups_list_endpoints_request_resource\030\216\230\257\034" - + " \001(\0132B." - + "google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequestB\003\340A\002\022\030\n" + + " \001(\0132B.google.cl" + + "oud.compute.v1.NetworkEndpointGroupsListEndpointsRequestB\003\340A\002\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" @@ -16819,7 +16847,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r\n" + + "\t_order_byB\r" + + "\n" + "\013_page_tokenB\031\n" + "\027_return_partial_success\"\234\002\n" + "\032ListNetworkProfilesRequest\022\027\n" @@ -16860,8 +16889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r" - + "\n" + + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" + "\027_return_partial_success\"\262\002\n" + "\030ListNodeTemplatesRequest\022\027\n" @@ -16995,7 +17023,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" @@ -17101,8 +17130,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r" - + "\n" + + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" + "\027_return_partial_success\"\276\002\n" + "$ListRegionHealthCheckServicesRequest\022\027\n" @@ -17142,7 +17170,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" - + "\007_filterB\016\n" + + "\007_filterB\016", + "\n" + "\014_max_resultsB\013\n" + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" @@ -17153,8 +17182,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "H\001\210\001\001\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" - + "\007project\030\231\226\301l \001", - "(\tB\003\340A\002\022\026\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" @@ -17570,7 +17598,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_max_resultsB\013\n" + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" - + "\027_return_partial_success\"\260\002\n" + + "\027_return_partial_success\"\231\003\n" + "\026ListSubnetworksRequest\022\027\n" + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" @@ -17579,12 +17607,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n" - + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + + "\026return_partial_success\030\266\244\317\366\001" + + " \001(\010H\004\210\001\001\022\025\n" + + "\005views\030\356\264\3005 \001(\tH\005\210\001\001\"F\n" + + "\005Views\022\023\n" + + "\017UNDEFINED_VIEWS\020\000\022\016\n" + + "\007DEFAULT\020\241\304\3756\022\030\n" + + "\020WITH_UTILIZATION\020\211\240\257\360\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" + "\t_order_byB\r\n" + "\013_page_tokenB\031\n" - + "\027_return_partial_success\"\236\002\n" + + "\027_return_partial_successB\010\n" + + "\006_views\"\236\002\n" + "\034ListTargetGrpcProxiesRequest\022\027\n" + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" @@ -17643,8 +17678,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" - + "\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n" @@ -17671,8 +17705,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" - + "\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" @@ -17725,7 +17758,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + "\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n" @@ -17746,7 +17780,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017service_project\030\217\347\200\375\001 \001(\tH\005\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" - + "\t_order_byB\r\n" + + "\t_order_byB\r" + + "\n" + "\013_page_tokenB\031\n" + "\027_return_partial_successB\022\n" + "\020_service_project\"\260\002\n" @@ -17785,8 +17820,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022n\n" - + "(projects_list_xpn_hosts_request_resource\030\227\320\316q \001(\01324.go" - + "ogle.cloud.compute.v1.ProjectsListXpnHostsRequestB\003\340A\002\022\'\n" + + "(projects_list_xpn_hosts_request_resource\030\227\320\316q" + + " \001(\01324.google.cloud.compute.v1.ProjectsListXpnHostsRequestB\003\340A\002\022\'\n" + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n" + "\014_max_resultsB\013\n" @@ -17824,9 +17859,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tLocalDisk\022\032\n\n" + "disk_count\030\355\257\235W \001(\005H\000\210\001\001\022\035\n" + "\014disk_size_gb\030\267\232\347\226\001 \001(\005H\001\210\001\001\022\031\n" - + "\tdisk_type\030\234\351\254, \001(\tH\002\210\001\001B\r\n" - + "\013_disk_countB\017\n" - + "\r" + + "\tdisk_type\030\234\351\254, \001(\tH\002\210\001\001B\r" + + "\n" + + "\013_disk_countB\017\n\r" + "_disk_size_gbB\014\n\n" + "_disk_type\"\\\n" + "\020LocalizedMessage\022\027\n" @@ -17840,8 +17875,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014target_shape\030\363\346\273\241\001 \001(\tH\000\210\001\001\032a\n" + "\016LocationsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002" - + " \001(\0132/.google.cloud.compute.v1.LocationPolicyLocation:\0028\001\"^\n" + + "\005value\030\002 \001(\0132/.goog" + + "le.cloud.compute.v1.LocationPolicyLocation:\0028\001\"^\n" + "\013TargetShape\022\032\n" + "\026UNDEFINED_TARGET_SHAPE\020\000\022\t\n" + "\003ANY\020\314\373\003\022\026\n" @@ -17849,8 +17884,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010BALANCED\020\210\272\255\337\001B\017\n\r" + "_target_shape\"\216\002\n" + "\026LocationPolicyLocation\022W\n" - + "\013constraints\030\266\314\356\001 \001(\0132:.goo" - + "gle.cloud.compute.v1.LocationPolicyLocationConstraintsH\000\210\001\001\022\032\n\n" + + "\013constraints\030\266\314\356\001" + + " \001(\0132:.google.cloud.compute.v1.LocationPolicyLocationConstraintsH\000\210\001\001\022\032\n\n" + "preference\030\333\371\362G \001(\tH\001\210\001\001\"`\n\n" + "Preference\022\030\n" + "\024UNDEFINED_PREFERENCE\020\000\022\014\n" @@ -17863,30 +17898,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tmax_count\030\364\374\222\211\001 \001(\005H\000\210\001\001B\014\n\n" + "_max_count\"\344\n\n" + "\014MachineImage\022\"\n" - + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n" + + "\022creation_timestamp\030\266\217\307\016 \001(\tH", + "\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n" + "\013guest_flush\030\335\223\354\267\001 \001(\010H\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022P\n" - + "\023instance_properties\030\235\236\330f" - + " \001(\0132+.google.cloud.compute.v1.InstancePropertiesH\004\210\001\001\022\024\n" + + "\023instance_properties\030\235\236\330f \001(\0132+.goo" + + "gle.cloud.compute.v1.InstancePropertiesH\004\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022E\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\01321.google.cloud.compute.v1.MachineImage.LabelsEntry\022]\n" - + "\034machine_image_encryption_key\030\377\377\347\373\001 \001(\0132.", - ".google.cloud.compute.v1.CustomerEncryptionKeyH\007\210\001\001\022\024\n" + + "\006labels\030\377\277\301\356\001 \003(" + + "\01321.google.cloud.compute.v1.MachineImage.LabelsEntry\022]\n" + + "\034machine_image_encryption_key\030\377\377\347\373\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\007\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\036\n\r" + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\t\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\n" + "\210\001\001\022;\n" - + "\013saved_disks\030\276\355\300\275\001 \003" - + "(\0132\".google.cloud.compute.v1.SavedDisk\022\032\n" + + "\013saved_disks\030\276\355\300\275\001" + + " \003(\0132\".google.cloud.compute.v1.SavedDisk\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022Y\n" - + "\033source_disk_encryption_keys\030\262\370\317\260\001" - + " \003(\01320.google.cloud.compute.v1.SourceDiskEncryptionKey\022 \n" + + "\033source_disk_encryption_keys\030\262\370\317\260\001 " + + "\003(\01320.google.cloud.compute.v1.SourceDiskEncryptionKey\022 \n" + "\017source_instance\030\271\230\375\274\001 \001(\tH\014\210\001\001\022^\n" - + "\032source_instance_properties\030\371\321\313\342\001 \001(\01321.google" - + ".cloud.compute.v1.SourceInstancePropertiesH\r" + + "\032source_instance_properties\030\371\321\313\342\001" + + " \001(\01321.google.cloud.compute.v1.SourceInstancePropertiesH\r" + "\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\016\210\001\001\022\035\n" + "\021storage_locations\030\232\355\263\234\001 \003(\t\022#\n" @@ -17935,8 +17971,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132%.google.cloud.compute.v1.Accelerators\022\035\n" + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022G\n\n" - + "deprecated\030\263\313\321\365\001 \001(\0132*.google." - + "cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n" + + "deprecated\030\263\313\321\365\001" + + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\033\n\n" + "guest_cpus\030\322\313\310\273\001 \001(\005H\004\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\005\210\001\001\022\036\n" @@ -17957,7 +17993,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005ARM64\020\372\313\351\035\022\016\n" + "\006X86_64\020\307\244\346\312\001B\017\n\r" + "_architectureB\025\n" - + "\023_creation_timestampB\r\n" + + "\023_creation_timestampB\r" + + "\n" + "\013_deprecatedB\016\n" + "\014_descriptionB\r\n" + "\013_guest_cpusB\005\n" @@ -17973,8 +18010,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\302\003\n" + "\031MachineTypeAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022O\n" - + "\005items\030\300\317\367/ \003(\0132=.google.cloud.compu" - + "te.v1.MachineTypeAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132=.go" + + "ogle.cloud.compute.v1.MachineTypeAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -17983,8 +18020,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032]\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002" - + " \001(\0132/.google.cloud.compute.v1.MachineTypesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132/.google.clo" + + "ud.compute.v1.MachineTypesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -18012,22 +18049,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016current_action\030\274\247\215U \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\001\210\001\001\022\030\n" + "\010instance\030\225\251\332\010 \001(\tH\002\210\001\001\022S\n" - + "\017instance_health\030\306\222\274\266\001 \003(\01326.google" - + ".cloud.compute.v1.ManagedInstanceInstanceHealth\022\037\n" + + "\017instance_health\030\306\222\274\266\001" + + " \003(\01326.google.cloud.compute.v1.ManagedInstanceInstanceHealth\022\037\n" + "\017instance_status\030\334\255\237S \001(\tH\003\210\001\001\022R\n" - + "\014last_attempt\030\244\254\250\317\001 \001(\01323.google.clou" - + "d.compute.v1.ManagedInstanceLastAttemptH\004\210\001\001\022\024\n" + + "\014last_attempt\030\244\254\250\317\001 \001" + + "(\01323.google.cloud.compute.v1.ManagedInstanceLastAttemptH\004\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022T\n" - + "\033preserved_state_from_config\030\342\353\205/" - + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\006\210\001\001\022U\n" - + "\033preserved_state_from_policy\030\322\257\276\340\001 \001(\0132\'.goog" - + "le.cloud.compute.v1.PreservedStateH\007\210\001\001\022{\n" - + "\"properties_from_flexibility_policy\030\301\305\224J" - + " \001(\0132G.google.cloud.compute.v1.Managed" - + "InstancePropertiesFromFlexibilityPolicyH\010\210\001\001\022I\n" - + "\007version\030\330\271\324\247\001" - + " \001(\0132/.google.cloud.compute.v1.ManagedInstanceVersionH" - + "\t\210\001\001\"\205\002\n\r" + + "\033preserved_state_from_config\030\342\353\205/ \001" + + "(\0132\'.google.cloud.compute.v1.PreservedStateH\006\210\001\001\022U\n" + + "\033preserved_state_from_policy\030\322\257\276\340\001" + + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\007\210\001\001\022{\n" + + "\"properties_from_flexibility_policy\030\301\305\224J \001(\0132G.google.cloud.co" + + "mpute.v1.ManagedInstancePropertiesFromFlexibilityPolicyH\010\210\001\001\022I\n" + + "\007version\030\330\271\324\247\001 \001(" + + "\0132/.google.cloud.compute.v1.ManagedInstanceVersionH\t\210\001\001\"\205\002\n\r" + "CurrentAction\022\034\n" + "\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n\n" + "ABANDONING\020\315\312\220\271\001\022\020\n" @@ -18077,8 +18112,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026_detailed_health_stateB\017\n\r" + "_health_check\"{\n" + "\032ManagedInstanceLastAttempt\022R\n" - + "\006errors\030\353\336\325\226\001 \001(\01329.google.clou" - + "d.compute.v1.ManagedInstanceLastAttemptErrorsH\000\210\001\001B\t\n" + + "\006errors\030\353\336\325\226\001 \001" + + "(\01329.google.cloud.compute.v1.ManagedInstanceLastAttemptErrorsH\000\210\001\001B\t\n" + "\007_errors\"W\n" + " ManagedInstanceLastAttemptErrors\0223\n" + "\006errors\030\353\336\325\226\001 \003(\0132\037.google.cloud.compute.v1.Errors\"_\n" @@ -18097,8 +18132,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_fingerprintB\007\n" + "\005_kind\"\217\002\n" + "\016MetadataFilter\022L\n\r" - + "filter_labels\030\246\365\350\222\001 \003(\01321.google.clo" - + "ud.compute.v1.MetadataFilterLabelMatch\022%\n" + + "filter_labels\030\246\365\350\222\001 " + + "\003(\01321.google.cloud.compute.v1.MetadataFilterLabelMatch\022%\n" + "\025filter_match_criteria\030\300\320\266r \001(\tH\000\210\001\001\"n\n" + "\023FilterMatchCriteria\022#\n" + "\037UNDEFINED_FILTER_MATCH_CRITERIA\020\000\022\020\n" @@ -18116,8 +18151,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022l\n" - + "®ion_addresses_move_request_resource\030\304\260\210\303\001 \001(\01323.g" - + "oogle.cloud.compute.v1.RegionAddressesMoveRequestB\003\340A\002\022\032\n\n" + + "®ion_addresses_move_request_resource\030\304\260\210\303\001" + + " \001(\01323.google.cloud.compute.v1.RegionAddressesMoveRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\275\001\n" + "\026MoveDiskProjectRequest\022U\n" @@ -18134,15 +18169,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\360\001\n" + "\030MoveGlobalAddressRequest\022\030\n" + "\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022l\n" - + "&global_addresses_move_request_resource\030\363\361\261\220\001" - + " \001(\01323.google.cloud.compute.v1.GlobalAddressesMoveRequestB\003\340A\002\022!\n" + + "&global_addresses_move_request_resource\030\363\361\261\220\001 \001(\0132" + + "3.google.cloud.compute.v1.GlobalAddressesMoveRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\311\001\n" + "\032MoveInstanceProjectRequest\022]\n" - + "\036instance_move_request_resource\030\302\274\316\224\001 \001(\0132,.goo" - + "gle.cloud.compute.v1.InstanceMoveRequestB\003\340A\002\022!\n" + + "\036instance_move_request_resource\030\302\274\316\224\001" + + " \001(\0132,.google.cloud.compute.v1.InstanceMoveRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -18193,12 +18228,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tH\014\210\001\001\022\037\n" + "\017network_profile\030\230\371\305R \001(\tH\r" + "\210\001\001\022>\n" - + "\006params\030\206\363\253%" - + " \001(\0132&.google.cloud.compute.v1.NetworkParamsH\016\210\001\001\022<\n" + + "\006params\030\206\363\253% \001(" + + "\0132&.google.cloud.compute.v1.NetworkParamsH\016\210\001\001\022<\n" + "\010peerings\030\263\252\251!" + " \003(\0132\'.google.cloud.compute.v1.NetworkPeering\022N\n" - + "\016routing_config\030\333\251\323\371\001 \001(\013" - + "2-.google.cloud.compute.v1.NetworkRoutingConfigH\017\210\001\001\022\032\n" + + "\016routing_config\030\333\251\323\371\001" + + " \001(\0132-.google.cloud.compute.v1.NetworkRoutingConfigH\017\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022!\n" + "\021self_link_with_id\030\202\254\235\025 \001(\tH\021\210\001\001\022\027\n" + "\013subnetworks\030\305\324\245\306\001 \003(\t\"\240\001\n" @@ -18225,8 +18260,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\024\n" + "\022_self_link_with_id\"\247\006\n" + "\021NetworkAttachment\022]\n" - + "\024connection_endpoints\030\335\242\276\233\001 \003(\0132;.google.cloud.comput" - + "e.v1.NetworkAttachmentConnectedEndpoint\022&\n" + + "\024connection_endpoints\030\335\242\276\233\001 \003(\0132;.goo" + + "gle.cloud.compute.v1.NetworkAttachmentConnectedEndpoint\022&\n" + "\025connection_preference\030\334\371\244\210\001 \001(\tH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\033\n" @@ -18260,8 +18295,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_self_link_with_id\"\273\003\n" + "\037NetworkAttachmentAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022U\n" - + "\005items\030\300\317\367/" - + " \003(\0132C.google.cloud.compute.v1.NetworkAttachmentAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132C.google.cloud.comp" + + "ute.v1.NetworkAttachmentAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -18269,8 +18304,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032c\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022D\n" - + "\005value\030\002" - + " \001(\01325.google.cloud.compute.v1.NetworkAttachmentsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01325.goog" + + "le.cloud.compute.v1.NetworkAttachmentsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -18300,8 +18335,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026_subnetwork_cidr_range\"\263\002\n" + "\025NetworkAttachmentList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022<\n" - + "\005items\030\300\317\367/ \003" - + "(\0132*.google.cloud.compute.v1.NetworkAttachment\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132*.google.cloud.compute.v1.NetworkAttachment\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -18310,12 +18345,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n" - + "\n" + + "_self_linkB\n\n" + "\010_warning\"\262\001\n" + "\034NetworkAttachmentsScopedList\022K\n" - + "\023network_attachments\030\237\336\326\370\001 \003(\0132*.g" - + "oogle.cloud.compute.v1.NetworkAttachment\0229\n" + + "\023network_attachments\030\237\336\326\370\001" + + " \003(\0132*.google.cloud.compute.v1.NetworkAttachment\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\304\003\n" @@ -18343,8 +18377,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(NetworkEdgeSecurityServiceAggregatedList\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022^\n" - + "\005items\030\300\317\367/ \003(\0132L.google.c" - + "loud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132L.google.cloud.compute.v1.NetworkE" + + "dgeSecurityServiceAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -18353,8 +18387,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\005\210\001\001\032l\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022M\n" - + "\005value\030\002 \001(\0132>.g" - + "oogle.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList:\0028\001B\007\n" + + "\005value\030\002 \001(\0132>.google.cloud.compute.v1.N" + + "etworkEdgeSecurityServicesScopedList:\0028\001B\007\n" + "\005_etagB\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" @@ -18362,14 +18396,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\316\001\n" + "%NetworkEdgeSecurityServicesScopedList\022^\n" - + "\036network_edge_security_services\030\254\313\370\020" - + " \003(\01323.google.cloud.compute.v1.NetworkEdgeSecurityService\0229\n" + + "\036network_edge_security_services\030\254\313\370\020 \003(\01323.g" + + "oogle.cloud.compute.v1.NetworkEdgeSecurityService\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\236\003\n" + "\017NetworkEndpoint\022Q\n" - + "\013annotations\030\244\366\2655 \003(\01329.google.cl" - + "oud.compute.v1.NetworkEndpoint.AnnotationsEntry\022\'\n" + + "\013annotations\030\244\366\2655" + + " \003(\01329.google.cloud.compute.v1.NetworkEndpoint.AnnotationsEntry\022\'\n" + "\027client_destination_port\030\206\210\202; \001(\005H\000\210\001\001\022\024\n" + "\004fqdn\030\225\245\300\001 \001(\tH\001\210\001\001\022\030\n" + "\010instance\030\225\251\332\010 \001(\tH\002\210\001\001\022\033\n\n" @@ -18386,14 +18420,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_ipv6_addressB\007\n" + "\005_port\"\211\013\n" + "\024NetworkEndpointGroup\022V\n" - + "\013annotations\030\244\366\2655" - + " \003(\0132>.google.cloud.compute.v1.NetworkEndpointGroup.AnnotationsEntry\022S\n\n" - + "app_engine\030\240\214\300\242\001 \001(\01326.google.cloud.comput" - + "e.v1.NetworkEndpointGroupAppEngineH\000\210\001\001\022[\n" - + "\016cloud_function\030\242\345\363\367\001 \001(\0132:.google.clo" - + "ud.compute.v1.NetworkEndpointGroupCloudFunctionH\001\210\001\001\022P\n" - + "\tcloud_run\030\201\313\3724 \001(\01325.goo" - + "gle.cloud.compute.v1.NetworkEndpointGroupCloudRunH\002\210\001\001\022\"\n" + + "\013annotations\030\244\366\2655 \003(\0132>.google.clou" + + "d.compute.v1.NetworkEndpointGroup.AnnotationsEntry\022S\n\n" + + "app_engine\030\240\214\300\242\001 \001(\01326.goo" + + "gle.cloud.compute.v1.NetworkEndpointGroupAppEngineH\000\210\001\001\022[\n" + + "\016cloud_function\030\242\345\363\367\001 " + + "\001(\0132:.google.cloud.compute.v1.NetworkEndpointGroupCloudFunctionH\001\210\001\001\022P\n" + + "\tcloud_run\030\201\313\3724" + + " \001(\01325.google.cloud.compute.v1.NetworkEndpointGroupCloudRunH\002\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n" + "\014default_port\030\277\367\360\311\001 \001(\005H\004\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\020\n" @@ -18403,8 +18437,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007network\030\256\264\205o \001(\tH\t\210\001\001\022%\n" + "\025network_endpoint_type\030\323\306\2648 \001(\tH\n" + "\210\001\001\022N\n" - + "\010psc_data\030\311\333\246\"" - + " \001(\01324.google.cloud.compute.v1.NetworkEndpointGroupPscDataH\013\210\001\001\022#\n" + + "\010psc_data\030\311\333\246\" \001(\01324.goo" + + "gle.cloud.compute.v1.NetworkEndpointGroupPscDataH\013\210\001\001\022#\n" + "\022psc_target_service\030\346\302\252\200\001 \001(\tH\014\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\r" + "\210\001\001\022\032\n" @@ -18446,8 +18480,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\335\003\n" + "\"NetworkEndpointGroupAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022X\n" - + "\005items\030\300\317\367/ \003(\0132F.google.cloud.compute." - + "v1.NetworkEndpointGroupAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132F.googl" + + "e.cloud.compute.v1.NetworkEndpointGroupAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -18456,8 +18490,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032f\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022G\n" - + "\005value\030\002 \001(\01328.google.cloud.compute" - + ".v1.NetworkEndpointGroupsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01328.goog" + + "le.cloud.compute.v1.NetworkEndpointGroupsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -18468,8 +18502,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010url_mask\030\274\217\2441 \001(\tH\001\210\001\001\022\030\n" + "\007version\030\330\271\324\247\001 \001(\tH\002\210\001\001B\n\n" + "\010_serviceB\013\n" - + "\t_url_maskB\n" - + "\n" + + "\t_url_maskB\n\n" + "\010_version\"r\n" + "!NetworkEndpointGroupCloudFunction\022\031\n" + "\010function\030\330\347\275\222\001 \001(\tH\000\210\001\001\022\030\n" @@ -18515,11 +18548,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_psc_connection_idB\030\n" + "\026_psc_connection_status\"u\n" + "+NetworkEndpointGroupsAttachEndpointsRequest\022F\n" - + "\021network_endpoints\030\255\221\272G" - + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"u\n" + + "\021network_endpoints\030\255\221\272G \003(", + "\0132(.google.cloud.compute.v1.NetworkEndpoint\"u\n" + "+NetworkEndpointGroupsDetachEndpointsRequest\022F\n" - + "\021network_endpoints\030\255\221\272G" - + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"\244\001\n" + + "\021network_endpoints\030\255\221\272G \003(\013" + + "2(.google.cloud.compute.v1.NetworkEndpoint\"\244\001\n" + ")NetworkEndpointGroupsListEndpointsRequest\022\036\n\r" + "health_status\030\265\326\272\265\001 \001(\tH\000\210\001\001\"E\n" + "\014HealthStatus\022\033\n" @@ -18527,11 +18560,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004SHOW\020\375\245\233\001\022\013\n" + "\004SKIP\020\377\272\233\001B\020\n" + "\016_health_status\"\253\002\n" - + ")Ne", - "tworkEndpointGroupsListNetworkEndpoints\022\020\n" + + ")NetworkEndpointGroupsListNetworkEndpoints\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022J\n" - + "\005items\030\300\317\367/ \003(\01328.go" - + "ogle.cloud.compute.v1.NetworkEndpointWithHealthStatus\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\01328.google.cloud.compute.v1.NetworkEndpointWithHealthStatus\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" @@ -18547,15 +18579,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\317\001\n" + "\037NetworkEndpointWithHealthStatus\022K\n" - + "\007healths\030\227\223\255{ \003(\01327.google.cloud.com" - + "pute.v1.HealthStatusForNetworkEndpoint\022J\n" - + "\020network_endpoint\030\206\221\212\033" - + " \001(\0132(.google.cloud.compute.v1.NetworkEndpointH\000\210\001\001B\023\n" + + "\007healths\030\227\223\255{ \003(\01327." + + "google.cloud.compute.v1.HealthStatusForNetworkEndpoint\022J\n" + + "\020network_endpoint\030\206\221\212\033 " + + "\001(\0132(.google.cloud.compute.v1.NetworkEndpointH\000\210\001\001B\023\n" + "\021_network_endpoint\"\332\003\n" + "#NetworkFirewallPolicyAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n" - + "\005items\030\300\317\367/ \003(\0132G.google.cloud.compute.v1.Ne" - + "tworkFirewallPolicyAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132G.google.clo" + + "ud.compute.v1.NetworkFirewallPolicyAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -18564,8 +18596,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002" - + " \001(\01323.google.cloud.compute.v1.FirewallPoliciesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01323.google.c" + + "loud.compute.v1.FirewallPoliciesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -18645,15 +18677,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\257\001\n\r" + "NetworkParams\022b\n" - + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132?.google.cloud.compute." - + "v1.NetworkParams.ResourceManagerTagsEntry\032:\n" + + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132?.googl" + + "e.cloud.compute.v1.NetworkParams.ResourceManagerTagsEntry\032:\n" + "\030ResourceManagerTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\316\010\n" + "\016NetworkPeering\022\"\n" + "\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022[\n" - + "\021connection_status\030\363\360\321\372\001 \001(\01327.google.clo" - + "ud.compute.v1.NetworkPeeringConnectionStatusH\001\210\001\001\022&\n" + + "\021connection_status\030\363\360\321\372\001 " + + "\001(\01327.google.cloud.compute.v1.NetworkPeeringConnectionStatusH\001\210\001\001\022&\n" + "\026exchange_subnet_routes\030\320\312\306\014 \001(\010H\002\210\001\001\022$\n" + "\024export_custom_routes\030\215\245\337\034 \001(\010H\003\210\001\001\0223\n" + "#export_subnet_routes_with_public_ip\030\342\352\331." @@ -18692,8 +18724,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "$_export_subnet_routes_with_public_ipB\027\n" + "\025_import_custom_routesB&\n" + "$_import_subnet_routes_with_public_ipB\007\n" - + "\005_nameB\n" - + "\n" + + "\005_nameB\n\n" + "\010_networkB\013\n" + "\t_peer_mtuB\r\n" + "\013_stack_typeB\010\n" @@ -18701,10 +18732,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_state_detailsB\022\n" + "\020_update_strategy\"\314\003\n" + "\036NetworkPeeringConnectionStatus\022g\n" - + "\017consensus_state\030\311\275\213\265\001 \001(\0132E.google." - + "cloud.compute.v1.NetworkPeeringConnectionStatusConsensusStateH\000\210\001\001\022r\n" - + "\025traffic_configuration\030\264\324\266? \001(\0132K.google.cloud.comp" - + "ute.v1.NetworkPeeringConnectionStatusTrafficConfigurationH\001\210\001\001\022\037\n" + + "\017consensus_state\030\311\275\213\265\001" + + " \001(\0132E.google.cloud.compute.v1.Network" + + "PeeringConnectionStatusConsensusStateH\000\210\001\001\022r\n" + + "\025traffic_configuration\030\264\324\266? \001(\0132K.g" + + "oogle.cloud.compute.v1.NetworkPeeringCon" + + "nectionStatusTrafficConfigurationH\001\210\001\001\022\037\n" + "\017update_strategy\030\251\334\365\002 \001(\tH\002\210\001\001\"j\n" + "\016UpdateStrategy\022\035\n" + "\031UNDEFINED_UPDATE_STRATEGY\020\000\022\020\n" @@ -18762,15 +18795,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016NetworkProfile\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022P\n" - + "\010features\030\275\310\263u \001(\01326.goog" - + "le.cloud.compute.v1.NetworkProfileNetworkFeaturesH\002\210\001\001\022\020\n" + + "\010features\030\275\310\263u" + + " \001(\01326.google.cloud.compute.v1.NetworkProfileNetworkFeaturesH\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022J\n" - + "\010location\030\265\277\276\212\001 \001(\0132/.g" - + "oogle.cloud.compute.v1.NetworkProfileLocationH\005\210\001\001\022\024\n" + + "\010location\030\265\277\276\212\001" + + " \001(\0132/.google.cloud.compute.v1.NetworkProfileLocationH\005\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022P\n" - + "\014profile_type\030\220\300\315G" - + " \001(\01322.google.cloud.compute.v1.NetworkProfileProfileTypeH\007\210\001\001\022\032\n" + + "\014profile_type\030\220\300\315G \001(\01322.goog" + + "le.cloud.compute.v1.NetworkProfileProfileTypeH\007\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022!\n" + "\021self_link_with_id\030\202\254\235\025 \001(\tH\t\210\001\001\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\n" @@ -19009,8 +19042,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033NetworkProfilesListResponse\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\0229\n" - + "\005items\030\300\317\367/" - + " \003(\0132\'.google.cloud.compute.v1.NetworkProfile\022\024\n" + + "\005items\030\300\317\367/ \003(\0132\'" + + ".google.cloud.compute.v1.NetworkProfile\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -19050,31 +19083,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\035_bgp_best_path_selection_modeB\030\n" + "\026_bgp_inter_region_costB#\n" + "!_effective_bgp_always_compare_medB\"\n" - + " _effective_bgp_inter_region_costB\017\n\r" + + " _effective_bgp_inter_region_costB\017\n" + + "\r" + "_routing_mode\"\204\002\n" + "\031NetworksAddPeeringRequest\022\"\n" + "\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022I\n" - + "\017network_peering\030\257\214\354\234\001 \001(\0132\'.go" - + "ogle.cloud.compute.v1.NetworkPeeringH\002\210\001\001\022\035\n" + + "\017network_peering\030\257\214\354\234\001" + + " \001(\0132\'.google.cloud.compute.v1.NetworkPeeringH\002\210\001\001\022\035\n" + "\014peer_network\030\321\340\333\356\001 \001(\tH\003\210\001\001B\025\n" + "\023_auto_create_routesB\007\n" + "\005_nameB\022\n" + "\020_network_peeringB\017\n\r" + "_peer_network\"\326\001\n" + "%NetworksGetEffectiveFirewallsResponse\022s\n" - + "\020firewall_policys\030\302\312\374\303\001 \003(\0132U.google.cloud.compute.v1." - + "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" - + "\tfirewalls\030\363\306\350\201\001 " - + "\003(\0132!.google.cloud.compute.v1.Firewall\"\363\003\n" + + "\020firewall_policys\030\302\312\374\303\001 \003(\0132U.google.c" + + "loud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" + + "\tfirewalls\030\363\306\350\201\001" + + " \003(\0132!.google.cloud.compute.v1.Firewall\"\363\003\n" + ".google.cloud.compute" - + ".v1.NodeTemplateAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132>.goog" + + "le.cloud.compute.v1.NodeTemplateAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -19347,8 +19378,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032^\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022?\n" - + "\005value\030\002" - + " \001(\01320.google.cloud.compute.v1.NodeTemplatesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01320.google.clou" + + "d.compute.v1.NodeTemplatesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -19375,16 +19406,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_local_ssdB\t\n" + "\007_memory\"\243\001\n" + "\027NodeTemplatesScopedList\022A\n" - + "\016node_templates\030\274\242\355\250\001" - + " \003(\0132%.google.cloud.compute.v1.NodeTemplate\0229\n" + + "\016node_templates\030\274\242\355\250\001 " + + "\003(\0132%.google.cloud.compute.v1.NodeTemplate\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\306\004\n" + "\010NodeType\022\035\n" + "\014cpu_platform\030\252\352\321\303\001 \001(\tH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022G\n\n" - + "deprecated\030\263\313\321\365\001 \001(" - + "\0132*.google.cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n" + + "deprecated\030\263\313\321\365\001" + + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\033\n\n" + "guest_cpus\030\322\313\310\273\001 \001(\005H\004\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n" @@ -19411,8 +19442,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\271\003\n" + "\026NodeTypeAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n" - + "\005items\030\300\317\367/ \003(\0132:.google.cloud" - + ".compute.v1.NodeTypeAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(" + + "\0132:.google.cloud.compute.v1.NodeTypeAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -19421,8 +19452,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032Z\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022;\n" - + "\005value\030\002" - + " \001(\0132,.google.cloud.compute.v1.NodeTypesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132,.google." + + "cloud.compute.v1.NodeTypesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -19449,8 +19480,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024NotificationEndpoint\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022Y\n\r" - + "grpc_settings\030\244\306\300\331\001" - + " \001(\01329.google.cloud.compute.v1.NotificationEndpointGrpcSettingsH\002\210\001\001\022\020\n" + + "grpc_settings\030\244\306\300\331\001 \001(\01329.google.clou" + + "d.compute.v1.NotificationEndpointGrpcSettingsH\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\026\n" @@ -19479,8 +19510,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_retry_duration_sec\"\271\002\n" + "\030NotificationEndpointList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022?\n" - + "\005items\030\300\317\367/ \003(\0132-.goo" - + "gle.cloud.compute.v1.NotificationEndpoint\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132-.google.cloud.compute.v1.NotificationEndpoint\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -19503,8 +19534,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\005B\003\350G\003H\006\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\007\210\001\001\022\034\n" + "\013insert_time\030\223\251\350\316\001 \001(\tH\010\210\001\001\022w\n" - + "(instances_bulk_insert_operation_metadata\030\301\206\301* \001(\0132=.googl" - + "e.cloud.compute.v1.InstancesBulkInsertOperationMetadataH\t\210\001\001\022\024\n" + + "(instances_bulk_insert_operation_metadata\030\301\206\301*" + + " \001(\0132=.google.cloud.compute.v1.InstancesBulkInsertOperationMetadataH" + + "\t\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\n" + "\210\001\001\022\031\n" + "\004name\030\213\365\315\001 \001(\tB\003\350G\001H\013\210\001\001\022\"\n" @@ -19514,11 +19546,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010progress\030\255\204\323\" \001(\005H\016\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\017\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\205\001\n" - + "/set_common_instance_metadata_operation_metadata\030\344\255\352\351\001 \001(\0132C." - + "google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataH\021\210\001\001\022\032\n\n" + + "/set_common_instance_metadata_operation_metadata\030\344\255\352\351\001" + + " \001(\0132C.google.cloud.compute.v1." + + "SetCommonInstanceMetadataOperationMetadataH\021\210\001\001\022\032\n\n" + "start_time\030\212\351\356\021 \001(\tH\022\210\001\001\022F\n" - + "\006status\030\362\237\267V \001(\0162)" - + ".google.cloud.compute.v1.Operation.StatusB\003\350G\002H\023\210\001\001\022\037\n" + + "\006status\030\362\237\267V" + + " \001(\0162).google.cloud.compute.v1.Operation.StatusB\003\350G\002H\023\210\001\001\022\037\n" + "\016status_message\030\272\311\351\215\001 \001(\tH\024\210\001\001\022\031\n" + "\ttarget_id\030\211\225\215{ \001(\004H\025\210\001\001\022\033\n" + "\013target_link\030\350\223\361\035 \001(\tH\026\210\001\001\022\024\n" @@ -19551,16 +19584,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "0_set_common_instance_metadata_operation_metadataB\r\n" + "\013_start_timeB\t\n" + "\007_statusB\021\n" - + "\017_status_messageB\014\n" - + "\n" + + "\017_status_messageB\014\n\n" + "_target_idB\016\n" + "\014_target_linkB\007\n" + "\005_userB\007\n" + "\005_zone\"\274\003\n" + "\027OperationAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022M\n" - + "\005items\030\300\317\367/ \003(\0132;.google.c" - + "loud.compute.v1.OperationAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132;.google.cloud.compute.v1.OperationAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -19569,8 +19601,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032[\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022<\n" - + "\005value\030\002" - + " \001(\0132-.google.cloud.compute.v1.OperationsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132-.go" + + "ogle.cloud.compute.v1.OperationsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -19604,8 +19636,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "%enforcing_consecutive_gateway_failure\030\332\337\212\274\001" + " \001(\005H\004\210\001\001\022&\n" + "\026enforcing_success_rate\030\274\357\337\\ \001(\005H\005\210\001\001\022;\n" - + "\010interval\030\305\311\377\017 \001(\0132" - + "!.google.cloud.compute.v1.DurationH\006\210\001\001\022$\n" + + "\010interval\030\305\311\377\017" + + " \001(\0132!.google.cloud.compute.v1.DurationH\006\210\001\001\022$\n" + "\024max_ejection_percent\030\230\246\345\010 \001(\005H\007\210\001\001\022+\n" + "\032success_rate_minimum_hosts\030\367\241\332\372\001" + " \001(\005H\010\210\001\001\022,\n" @@ -19650,20 +19682,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_num_intervalsB\007\n" + "\005_type\"\272\006\n" + "\017PacketMirroring\022Z\n\r" - + "collector_ilb\030\355\211\266\313\001 \001(\0132:.google.clou" - + "d.compute.v1.PacketMirroringForwardingRuleInfoH\000\210\001\001\022\"\n" + + "collector_ilb\030\355\211\266\313\001 \001" + + "(\0132:.google.cloud.compute.v1.PacketMirroringForwardingRuleInfoH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\027\n" + "\006enable\030\203\313\324\224\001 \001(\tH\003\210\001\001\022G\n" - + "\006filter\030\370\226\243\240\001 \001" - + "(\0132..google.cloud.compute.v1.PacketMirroringFilterH\004\210\001\001\022\020\n" + + "\006filter\030\370\226\243\240\001" + + " \001(\0132..google.cloud.compute.v1.PacketMirroringFilterH\004\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022`\n" - + "\022mirrored_resources\030\304\237\302;" - + " \001(\0132<.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoH\007\210\001\001\022\024\n" + + "\022mirrored_resources\030\304\237\302; \001(\0132<.google.cloud.co" + + "mpute.v1.PacketMirroringMirroredResourceInfoH\007\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022L\n" - + "\007network\030\256\264\205o \001(\01323.go" - + "ogle.cloud.compute.v1.PacketMirroringNetworkInfoH\t\210\001\001\022\031\n" + + "\007network\030\256\264\205o" + + " \001(\01323.google.cloud.compute.v1.PacketMirroringNetworkInfoH" + + "\t\210\001\001\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\r" + "H\n" + "\210\001\001\022\026\n" @@ -19681,16 +19714,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\025\n" + "\023_mirrored_resourcesB\007\n" - + "\005_nameB\n" - + "\n" + + "\005_nameB\n\n" + "\010_networkB\013\n" + "\t_priorityB\t\n" + "\007_regionB\014\n\n" + "_self_link\"\316\003\n" + "\035PacketMirroringAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n" - + "\005items\030\300\317\367/ \003(\0132A" - + ".google.cloud.compute.v1.PacketMirroringAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132A.google.cloud.compute.v1" + + ".PacketMirroringAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -19699,8 +19731,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.goo" - + "gle.cloud.compute.v1.PacketMirroringsScopedList:\0028\001B\005\n" + + "\005value\030\002" + + " \001(\01323.google.cloud.compute.v1.PacketMirroringsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -19737,10 +19769,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\367\001\n" + "#PacketMirroringMirroredResourceInfo\022^\n" + "\tinstances\030\376\374\357\r" - + " \003(\0132H." - + "google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo\022_\n" - + "\013subnetworks\030\305\324\245\306\001 \003(\0132F.google.cloud.compute." - + "v1.PacketMirroringMirroredResourceInfoSubnetInfo\022\017\n" + + " \003(\0132H.google.cloud.compute.v1." + + "PacketMirroringMirroredResourceInfoInstanceInfo\022_\n" + + "\013subnetworks\030\305\324\245\306\001 \003(\0132F.googl" + + "e.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo\022\017\n" + "\004tags\030\231\350\330\001 \003(\t\"\177\n" + "/PacketMirroringMirroredResourceInfoInstanceInfo\022\036\n\r" + "canonical_url\030\244\377\243\364\001 \001(\tH\000\210\001\001\022\022\n" @@ -19776,18 +19808,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\333\001\n" + "\031PatchBackendBucketRequest\022\036\n" + "\016backend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n" - + "\027backend_bucket_resource\030\230\316\307\265\001 \001(\0132&.goo" - + "gle.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + + "\027backend_bucket_resource\030\230\316\307\265\001" + + " \001(\0132&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n" + "\013_request_id\"\340\001\n" + "\032PatchBackendServiceRequest\022 \n" + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n" - + "\030backend_service_resource\030\243\201\337\245\001" - + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'.g" + + "oogle.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\n" + + "\340A\002\362G\007project\022\032\n" + + "\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\275\001\n" + "\032PatchFirewallPolicyRequest\022 \n" @@ -19806,8 +19840,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\201\002\n" + "\032PatchForwardingRuleRequest\022 \n" + "\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n" - + "\030forwarding_rule_resource\030\257\300\320\217\001 \001(\0132" - + "\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + + "\030forwarding_rule_res", + "ource\030\257\300\320\217\001" + + " \001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -19815,10 +19850,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\346\001\n" + " PatchGlobalForwardingRuleRequest\022 \n" + "\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n" - + "\030forwarding_rule_resource\030\257\300\320\217\001" - + " \001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" - + "\007proje", - "ct\030\231\226\301l \001(\tB\r" + + "\030forwarding_rule_resource\030\257\300\320\217\001 \001(" + + "\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\203\002\n" @@ -19826,14 +19860,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\'\n" + "\027public_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n" - + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..go" - + "ogle.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n" + + " public_delegated_prefix_resource\030\205\370\330\026" + + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\323\001\n" + "\027PatchHealthCheckRequest\022\035\n" + "\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n" - + "\025health_check_resource\030\250\303\244`" - + " \001(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + + "\025health_check_resource\030\250\303\244` \001(\013" + + "2$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -19844,19 +19878,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\036.google.cloud.compute.v1.ImageB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" - + "\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\225\002\n" + " PatchInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n" - + "\037instance_group_manager_resource\030\212\212\276|" - + " \001(\0132-.google.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n" + + "\037instance_group_manager_resource\030\212\212\276| \001(\0132-.google." + + "cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\n" + + "\340A\002\362G\007project\022\032\n" + + "\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" - + "\340A\002\362G\004zoneB\r" - + "\n" + + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\216\002\n" + "\033PatchInstanceSettingRequest\022V\n" + "\032instance_settings_resource\030\200\247\316\212\001" @@ -19871,8 +19904,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_update_mask\"\302\002\n" + "\'PatchInterconnectAttachmentGroupRequest\022-\n" + "\035interconnect_attachment_group\030\364\357\230$ \001(\tB\003\340A\002\022l\n" - + "&interconnect_attachment_group_resource\030\371\337\341\004 \001(\01324.google.cl" - + "oud.compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n" + + "&interconnect_attachment_group_resource\030\371\337\341\004" + + " \001(\01324.google.cloud.compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n" @@ -19881,8 +19914,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_update_mask\"\240\002\n" + "\"PatchInterconnectAttachmentRequest\022(\n" + "\027interconnect_attachment\030\364\212\367\222\001 \001(\tB\003\340A\002\022a\n" - + " interconnect_attachment_resource\030\371\244\240e" - + " \001(\0132/.google.cloud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n" + + " interconnect_attachment_resource\030\371\244\240e \001(\0132/.goog" + + "le.cloud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -19890,8 +19923,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\231\002\n" + "\035PatchInterconnectGroupRequest\022#\n" + "\022interconnect_group\030\216\267\251\271\001 \001(\tB\003\340A\002\022W\n" - + "\033interconnect_group_resource\030\237\363\346(" - + " \001(\0132*.google.cloud.compute.v1.InterconnectGroupB\003\340A\002\022!\n" + + "\033interconnect_group_resource\030\237\363\346( \001(\0132*.google.c" + + "loud.compute.v1.InterconnectGroupB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n" @@ -19900,16 +19933,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_update_mask\"\325\001\n" + "\030PatchInterconnectRequest\022\034\n" + "\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022M\n" - + "\025interconnect_resource\030\237\241\314\275\001 \001(\013" - + "2%.google.cloud.compute.v1.InterconnectB\003\340A\002\022!\n" + + "\025interconnect_resource\030\237\241\314\275\001" + + " \001(\0132%.google.cloud.compute.v1.InterconnectB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\213\002\n" + "\035PatchNetworkAttachmentRequest\022\"\n" + "\022network_attachment\030\324\227\217k \001(\tB\003\340A\002\022W\n" - + "\033network_attachment_resource\030\231\360\314d \001(\0132*.googl" - + "e.cloud.compute.v1.NetworkAttachmentB\003\340A\002\022!\n" + + "\033network_attachment_resource\030\231\360\314d" + + " \001(\0132*.google.cloud.compute.v1.NetworkAttachmentB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -19917,8 +19950,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\203\003\n" + "&PatchNetworkEdgeSecurityServiceRequest\022-\n" + "\035network_edge_security_service\030\247\237\357J \001(\tB\003\340A\002\022l\n" - + "&network_edge_security_service_resource\030\246\243\333\343\001" - + " \001(\01323.google.cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022\025\n" + + "&network_edge_security_service_resource\030\246\243\333\343\001 \001(\01323.google." + + "cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022\025\n" + "\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" @@ -19944,8 +19977,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\351\001\n" - + "\025PatchNodeGroupRequest\022\033\n" - + "\n" + + "\025PatchNodeGroupRequest\022\033\n\n" + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022H\n" + "\023node_group_resource\030\253\263\372\360\001" + " \001(\0132\".google.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n" @@ -19958,8 +19990,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033PatchPacketMirroringRequest\022 \n" + "\020packet_mirroring\030\314\271\321\n" + " \001(\tB\003\340A\002\022T\n" - + "\031packet_mirroring_resource\030\241\374\250\353\001 \001(\0132(.googl" - + "e.cloud.compute.v1.PacketMirroringB\003\340A\002\022!\n" + + "\031packet_mirroring_resource\030\241\374\250\353\001" + + " \001(\0132(.google.cloud.compute.v1.PacketMirroringB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -19967,8 +19999,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\252\002\n" + "4PatchPacketMirroringRuleNetworkFirewallPolicyRequest\022 \n" + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n" - + "\035firewall_policy_rule_resource\030\203\337\272w " - + "\001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + + "\035firewall_policy_rule_resource\030\203\337\272w" + + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" @@ -19977,10 +20009,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\344\002\n" + "2PatchPerInstanceConfigsInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\232\001\n" - + "?instance_" - + "group_managers_patch_per_instance_configs_req_resource\030\377\233\210\252\001" - + " \001(\0132H.google.cloud." - + "compute.v1.InstanceGroupManagersPatchPerInstanceConfigsReqB\003\340A\002\022!\n" + + "?instance_group_managers_patch_per_instance_configs_req_resource\030\377\233\210\252\001" + + " \001(\0132H.google.cloud.compute.v1.InstanceGroup" + + "ManagersPatchPerInstanceConfigsReqB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -19993,32 +20024,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n" + "@region_instance_group_manager_patch_instance_config_req_resource\030\312\315\241^" - + " \001(\0132I.google.cloud.compute" - + ".v1.RegionInstanceGroupManagerPatchInstanceConfigReqB\003\340A\002\022\032\n\n" + + " \001(\0132I.goog" + + "le.cloud.compute.v1.RegionInstanceGroupManagerPatchInstanceConfigReqB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\201\002\n" + "#PatchPublicAdvertisedPrefixeRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022(\n" + "\030public_advertised_prefix\030\236\367\3110 \001(\tB\003\340A\002\022b\n" - + "!public_advertised_prefix_resource\030\217\327\262o" - + " \001(\0132/.google.cloud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n" - + "\n" + + "!public_advertised_prefix_resource\030\217\327\262o \001(\0132" + + "/.google.cloud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\236\002\n" + "\"PatchPublicDelegatedPrefixeRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\'\n" + "\027public_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n" - + " public_delegated_prefix_resource\030\205\370\330\026 \001(\013" - + "2..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n" + + " public_delegated_prefix_resource\030\205\370\330\026" + + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\203\002\n" + "\034PatchRegionAutoscalerRequest\022\033\n\n" + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n" - + "\023autoscaler_resource\030\366\360\377b" - + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + + "\023autoscaler_resource\030\366\360\377b \001(\0132" + + "#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -20027,8 +20057,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\207\002\n" + " PatchRegionBackendServiceRequest\022 \n" + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n" - + "\030backend_service_resource\030\243\201\337\245\001" - + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'.g" + + "oogle.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -20036,8 +20066,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\372\001\n" + "\035PatchRegionHealthCheckRequest\022\035\n" + "\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n" - + "\025health_check_resource\030\250\303\244` \001(\0132$.g" - + "oogle.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + + "\025health_check_resource\030\250\303\244`" + + " \001(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -20045,8 +20075,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\231\002\n" + "$PatchRegionHealthCheckServiceRequest\022%\n" + "\024health_check_service\030\333\233\335\302\001 \001(\tB\003\340A\002\022[\n" - + "\035health_check_service_resource\030\362\233\320\343\001 \001(\0132+.goog" - + "le.cloud.compute.v1.HealthCheckServiceB\003\340A\002\022!\n" + + "\035health_check_service_resource\030\362\233\320\343\001" + + " \001(\0132+.google.cloud.compute.v1.HealthCheckServiceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -20054,8 +20084,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\237\002\n" + "&PatchRegionInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n" - + "\037instance_group_manager_resource\030\212\212\276| \001(" - + "\0132-.google.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n" + + "\037instance_group_manager_resource\030\212\212\276|" + + " \001(\0132-.google.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -20063,12 +20093,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\216\002\n" + "\'PatchRegionNetworkFirewallPolicyRequest\022 \n" + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n" - + "\030firewall_policy_resource\030\274\266\207\354\001 \001(\013" - + "2\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + + "\030firewall_policy_resource\030\274\266\207\354\001" + + " \001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n" + "\013_request_id\"\263\002\n" + " PatchRegionSecurityPolicyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -20076,8 +20107,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n" + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n" - + "\030security_policy_resource\030\374\252\211g \001(\013" - + "2\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n" + + "\030security_policy_resource\030\374\252\211g" + + " \001(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n" + "\013_request_idB\016\n" + "\014_update_mask\"\363\001\n" @@ -20114,8 +20145,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n" + "\017resource_policy\030\203\245\367K \001(\tB\003\340A\002\022Q\n" - + "\030resource_policy_resource\030\312\214\321$" - + " \001(\0132\'.google.cloud.compute.v1.ResourcePolicyB\003\340A\002\022\034\n" + + "\030resource_policy_resource\030\312\214\321$ \001(\0132\'.goo" + + "gle.cloud.compute.v1.ResourcePolicyB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n" + "\013_request_idB\016\n" + "\014_update_mask\"\363\001\n" @@ -20139,16 +20170,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\361\001\n" + "\036PatchRuleFirewallPolicyRequest\022 \n" + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n" - + "\035firewall_policy_rule_resource\030\203\337\272w" - + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + + "\035firewall_policy_rule_resource\030\203\337\272w \001" + + "(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n" + "\t_priorityB\r\n" + "\013_request_id\"\233\002\n" + "%PatchRuleNetworkFirewallPolicyRequest\022 \n" + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n" - + "\035firewall_policy_rule_resource\030\203\337\272w \001(\0132+." - + "google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + + "\035firewall_policy_rule_resource\030\203\337\272w" + + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" @@ -20172,8 +20203,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\037\n" + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n" - + "\035security_policy_rule_resource\030\303\272\202\300\001" - + " \001(\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n" + + "\035security_policy_rule_resource\030\303\272\202\300\001 \001(\0132+" + + ".google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\r" + "validate_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n" + "\t_priorityB\016\n" @@ -20184,8 +20215,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n" - + "\035security_policy_rule_resource\030\303\272\202\300\001 \001(\0132+.goog" - + "le.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n" + + "\035security_policy_rule_resource\030\303\272\202\300\001" + + " \001(\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\r" + "validate_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n" + "\t_priorityB\016\n" @@ -20196,8 +20227,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n" + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n" - + "\030security_policy_resource\030\374\252\211g \001(\0132\'.go" - + "ogle.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n" + + "\030security_policy_resource\030\374\252\211g" + + " \001(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n" + "\013_request_idB\016\n" + "\014_update_mask\"\215\002\n" @@ -20207,8 +20238,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n" + "\022service_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002\022X\n" - + "\033service_attachment_resource\030\240\266\304\341\001 \001(\0132*.google." - + "cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n" + + "\033service_attachment_resource\030\240\266\304\341\001" + + " \001(\0132*.google.cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n" + "\013_request_id\"\361\001\n" + "\033PatchSnapshotSettingRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -20243,8 +20274,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n" + "\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002\022U\n" - + "\032target_grpc_proxy_resource\030\322\352\353\234\001" - + " \001(\0132(.google.cloud.compute.v1.TargetGrpcProxyB\003\340A\002B\r\n" + + "\032target_grpc_proxy_resource\030\322\352\353\234\001 \001(\0132(" + + ".google.cloud.compute.v1.TargetGrpcProxyB\003\340A\002B\r\n" + "\013_request_id\"\344\001\n" + "\033PatchTargetHttpProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -20271,16 +20302,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B\r\n" + "\013_request_id\"\322\005\n" + "\013PathMatcher\022h\n" - + "$default_custom_error_response_policy\030\251\213\340&" - + " \001(\01322.google.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022O\n" - + "\024default_route_action\030\252\264\327\264\001" - + " \001(\0132(.google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022 \n" + + "$default_custom_error_response_policy\030\251\213\340& \001(\01322.google.clou" + + "d.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022O\n" + + "\024default_route_action\030\252\264\327\264\001 \001(\0132(." + + "google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022 \n" + "\017default_service\030\267\345\305\260\001 \001(\tH\002\210\001\001\022R\n" - + "\024default_url_redirect\030\352\253\266\253\001" - + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\003\210\001\001\022\034\n" + + "\024default_url_redirect\030\352\253\266\253\001 \001(\0132+.googl" + + "e.cloud.compute.v1.HttpRedirectActionH\003\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022I\n\r" - + "header_action\030\250\240\270\234\001 " - + "\001(\0132).google.cloud.compute.v1.HttpHeaderActionH\005\210\001\001\022\024\n" + + "header_action\030\250\240\270\234\001" + + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\005\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\0228\n\n" + "path_rules\030\335\300\3461 \003(\0132!.google.cloud.compute.v1.PathRule\022?\n" + "\013route_rules\030\201\207\267\263\001" @@ -20296,8 +20327,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034custom_error_response_policy\030\353\370\332`" + " \001(\01322.google.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\020\n" + "\005paths\030\356\301\3402 \003(\t\022G\n" - + "\014route_action\030\354\251\271\312\001" - + " \001(\0132(.google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022\030\n" + + "\014route_action\030\354\251\271\312\001 \001(" + + "\0132(.google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022\030\n" + "\007service\030\265\215\217\262\001 \001(\tH\002\210\001\001\022J\n" + "\014url_redirect\030\254\241\230\301\001" + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\003\210\001\001B\037\n" @@ -20308,8 +20339,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021PerInstanceConfig\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022H\n" - + "\017preserved_state\030\252\342\240\001 \001(\0132\'.goo" - + "gle.cloud.compute.v1.PreservedStateH\002\210\001\001\022\026\n" + + "\017preserved_state\030\252\342\240\001" + + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\002\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\003\210\001\001\"\220\001\n" + "\006Status\022\024\n" + "\020UNDEFINED_STATUS\020\000\022\020\n" @@ -20331,11 +20362,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\254\002\n" - + "\"PerformMaintenanceNodeGroupRequest\022\033\n" - + "\n" + + "\"PerformMaintenanceNodeGroupRequest\022\033\n\n" + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022~\n" + "0node_groups_perform_maintenance_request_resource\030\326\270\256X" - + " \001(\0132<.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestB\003\340A\002\022!\n" + + " \001(\0132<.google.cloud.c" + + "ompute.v1.NodeGroupsPerformMaintenanceRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -20348,20 +20379,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022\"\n" + "\021reservation_block\030\332\304\211\376\001 \001(\tB\003\340A\002\022\217\001\n" - + "8reservations_blocks_perform_maintenance_request_resource\030\211\251\324\347\001" - + " \001(\0132D.google.clou" - + "d.compute.v1.ReservationsBlocksPerformMaintenanceRequestB\003\340A\002\022\033\n" + + "8reservations_blocks_perform_maintenance_request_resource\030\211\251\324\347\001 \001" + + "(\0132D.google.cloud.compute.v1.ReservationsBlocksPerformMaintenanceRequestB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\262\002\n" + "$PerformMaintenanceReservationRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\n" + + "\340A\002\362G\007project\022\032\n" + + "\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022\201\001\n" - + "1reservations_perform_maintenance_request_resource\030\240\365\224\016" - + " \001(\0132>.google.cloud.com" - + "pute.v1.ReservationsPerformMaintenanceRequestB\003\340A\002\022\033\n" + + "1reservations_perform_maintenance_request_resource\030\240\365\224\016 \001(\0132>." + + "google.cloud.compute.v1.ReservationsPerformMaintenanceRequestB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\336\001\n" @@ -20376,8 +20406,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\360\001\n" + "\006Policy\022?\n\r" - + "audit_configs\030\215\272\270\234\001" - + " \003(\0132$.google.cloud.compute.v1.AuditConfig\0226\n" + + "audit_conf", + "igs\030\215\272\270\234\001 \003(\0132$.google.cloud.compute.v1.AuditConfig\0226\n" + "\010bindings\030\216\305\244\300\001 \003(\0132" + " .google.cloud.compute.v1.Binding\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\032\n" @@ -20390,27 +20420,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017expression_sets\030\230\253\203\342\001" + " \003(\0132).google.cloud.compute.v1.WafExpressionSet\"\276\005\n" + "\016PreservedState\022D\n" - + "\005", - "disks\030\366\314\312-" - + " \003(\01322.google.cloud.compute.v1.PreservedState.DisksEntry\022S\n\r" - + "external_i_ps\030\215\323\200\376\001" - + " \003(\01328.google.cloud.compute.v1.PreservedState.ExternalIPsEntry\022R\n\r" - + "internal_i_ps\030\333\233\357f" - + " \003(\01328.google.cloud.compute.v1.PreservedState.InternalIPsEntry\022J\n" - + "\010metadata\030\257\366\265)" - + " \003(\01325.google.cloud.compute.v1.PreservedState.MetadataEntry\032b\n\n" + + "\005disks\030\366\314\312- \003(\01322.google." + + "cloud.compute.v1.PreservedState.DisksEntry\022S\n\r" + + "external_i_ps\030\215\323\200\376\001 \003(\01328.google.c" + + "loud.compute.v1.PreservedState.ExternalIPsEntry\022R\n\r" + + "internal_i_ps\030\333\233\357f \003(\01328.goog" + + "le.cloud.compute.v1.PreservedState.InternalIPsEntry\022J\n" + + "\010metadata\030\257\366\265) \003(\01325.googl" + + "e.cloud.compute.v1.PreservedState.MetadataEntry\032b\n\n" + "DisksEntry\022\013\n" + "\003key\030\001 \001(\t\022C\n" - + "\005value\030\002 \001(\01324.goog" - + "le.cloud.compute.v1.PreservedStatePreservedDisk:\0028\001\032m\n" + + "\005value\030\002" + + " \001(\01324.google.cloud.compute.v1.PreservedStatePreservedDisk:\0028\001\032m\n" + "\020ExternalIPsEntry\022\013\n" + "\003key\030\001 \001(\t\022H\n" - + "\005value\030\002 \001(\01329.google.cloud.compu" - + "te.v1.PreservedStatePreservedNetworkIp:\0028\001\032m\n" + + "\005value\030\002 \001(\01329.go" + + "ogle.cloud.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032m\n" + "\020InternalIPsEntry\022\013\n" + "\003key\030\001 \001(\t\022H\n" - + "\005value\030\002" - + " \001(\01329.google.cloud.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032/\n\r" + + "\005value\030\002 \001(\01329.google.clou" + + "d.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032/\n\r" + "MetadataEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\254\002\n" @@ -20431,8 +20460,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_source\"\236\002\n" + " PreservedStatePreservedNetworkIp\022\034\n" + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022_\n\n" - + "ip_address\030\334\361\334\301\001 \001(\0132B.g" - + "oogle.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddressH\001\210\001\001\"\\\n\n" + + "ip_address\030\334\361\334\301\001 \001(\0132B.google.cloud.compute.v1.P" + + "reservedStatePreservedNetworkIpIpAddressH\001\210\001\001\"\\\n\n" + "AutoDelete\022\031\n" + "\025UNDEFINED_AUTO_DELETE\020\000\022\014\n" + "\005NEVER\020\354\244\257#\022%\n" @@ -20442,18 +20471,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")PreservedStatePreservedNetworkIpIpAddress\022\030\n" + "\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022\027\n" + "\007literal\030\257\301\200W \001(\tH\001\210\001\001B\n\n" - + "\010_addressB\n\n" + + "\010_addressB\n" + + "\n" + "\010_literal\"\241\001\n" + "\024PreviewRouterRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n" + "\006router\030\311\256\356F \001(\tB\003\340A\002\022@\n" - + "\017router_resource\030\304\200\202J \001(\013" - + "2\037.google.cloud.compute.v1.RouterB\003\340A\002\"\352\n\n" + + "\017router_resource\030\304\200\202J" + + " \001(\0132\037.google.cloud.compute.v1.RouterB\003\340A\002\"\352\n\n" + "\007Project\022 \n" + "\020cloud_armor_tier\030\254\232\216\002 \001(\tH\000\210\001\001\022K\n" - + "\030common_instance_metadata\030\305\374\313X \001(" - + "\0132!.google.cloud.compute.v1.MetadataH\001\210\001\001\022\"\n" + + "\030common_instance_metadata\030\305\374\313X" + + " \001(\0132!.google.cloud.compute.v1.MetadataH\001\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022%\n" + "\024default_network_tier\030\221\305\371\340\001 \001(\tH\003\210\001\001\022(\n" + "\027default_service_account\030\245\371\267\216\001 \001(\tH\004\210\001\001\022\034\n" @@ -20464,8 +20494,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\0221\n" + "\006quotas\030\373\241\342; \003(\0132\036.google.cloud.compute.v1.Quota\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022T\n" - + "\025usage_export_location\030\302\262\334\245\001 \001(\0132,.goo" - + "gle.cloud.compute.v1.UsageExportLocationH\n" + + "\025usage_export_location\030\302\262\334\245\001" + + " \001(\0132,.google.cloud.compute.v1.UsageExportLocationH\n" + "\210\001\001\022\036\n" + "\016vm_dns_setting\030\262\247\210\034 \001(\tH\013\210\001\001\022\"\n" + "\022xpn_project_status\030\301\315\365l \001(\tH\014\210\001\001\"~\n" @@ -20548,9 +20578,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\032\n" + "\tpdp_scope\030\321\312\376\371\001 \001(\tH\t\210\001\001\022j\n" - + "\030public_delegated_prefixs\030\213\276\205\313\001" - + " \003(\0132D.google.cloud.compute.v1" - + ".PublicAdvertisedPrefixPublicDelegatedPrefix\022\032\n" + + "\030public_delegated_prefixs\030\213\276\205\313\001 \003(\0132D.google." + + "cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\n" + "\210\001\001\022\036\n\r" + "shared_secret\030\312\247\217\266\001 \001(\tH\013\210\001\001\022\026\n" @@ -20583,15 +20612,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\020\n" + "\016_ip_cidr_rangeB\007\n" + "\005_kindB\007\n" - + "\005_nameB\014\n\n" + + "\005_nameB\014\n" + + "\n" + "_pdp_scopeB\014\n\n" + "_self_linkB\020\n" + "\016_shared_secretB\t\n" + "\007_status\"\275\002\n" + "\032PublicAdvertisedPrefixList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022A\n" - + "\005items\030\300\317\367/" - + " \003(\0132/.google.cloud.compute.v1.PublicAdvertisedPrefix\022\024\n" + + "\005items\030\300\317\367/ \003(" + + "\0132/.google.cloud.compute.v1.PublicAdvertisedPrefix\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -20627,8 +20657,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\n" + "\210\001\001\022\035\n\r" + "parent_prefix\030\307\347\241\007 \001(\tH\013\210\001\001\022o\n" - + "\034public_delegated_sub_prefixs\030\214\376\213Z" - + " \003(\0132F.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix\022\026\n" + + "\034public_delegated_sub_prefixs\030\214\376\213Z \003(\0132F.google.cloud.com" + + "pute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix\022\026\n" + "\006region\030\364\315\240B \001(\tH\014\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\r" + "\210\001\001\022\026\n" @@ -20667,8 +20697,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_status\"\341\003\n" + "#PublicDelegatedPrefixAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n" - + "\005items\030\300\317\367/ \003(\0132G.google.cloud.compute.v1.Publ" - + "icDelegatedPrefixAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132G.google.cloud" + + ".compute.v1.PublicDelegatedPrefixAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -20677,8 +20707,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032h\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022I\n" - + "\005value\030\002" - + " \001(\0132:.google.cloud.compute.v1.PublicDelegatedPrefixesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132:.google.clo" + + "ud.compute.v1.PublicDelegatedPrefixesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -20686,8 +20716,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\273\002\n" + "\031PublicDelegatedPrefixList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022@\n" - + "\005items\030\300\317\367/ " - + "\003(\0132..google.cloud.compute.v1.PublicDelegatedPrefix\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132..google.cloud.compute.v1.PublicDelegatedPrefix\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -20910,8 +20940,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_ownerB\010\n" + "\006_usage\"\340\003\n" + "\021QuotaExceededInfo\022R\n\n" - + "dimensions\030\315\377\310\305\001 \003(\0132:.google.cloud.comput" - + "e.v1.QuotaExceededInfo.DimensionsEntry\022\035\n" + + "dimensions\030\315\377\310\305\001 \003(\0132:.goo" + + "gle.cloud.compute.v1.QuotaExceededInfo.DimensionsEntry\022\035\n" + "\014future_limit\030\277\274\332\331\001 \001(\001H\000\210\001\001\022\025\n" + "\005limit\030\273\227\2151 \001(\001H\001\210\001\001\022\033\n\n" + "limit_name\030\217\211\360\275\001 \001(\tH\002\210\001\001\022\034\n" @@ -20978,9 +21008,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_source\"\327\002\n" + ",RecreateInstancesInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\223\001\n" - + ";instance_group_managers_recreate_instances_request_resource\030\200\302\232\n" - + " \001(\0132F.google.clo" - + "ud.compute.v1.InstanceGroupManagersRecreateInstancesRequestB\003\340A\002\022!\n" + + ";instance_group_managers_r", + "ecreate_instances_request_resource\030\200\302\232\n" + + " \001(\0132F.google.cloud.compute.v1.InstanceGr" + + "oupManagersRecreateInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -20989,13 +21020,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\333\002\n" + "2RecreateInstancesRegionInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n" - + "\007project\030\231\226", - "\301l \001(\tB\r" + + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\215\001\n" + "8region_instance_group_managers_recreate_request_resource\030\224\374\304Q" - + " \001(\0132C.google.cloud.compute.v1.RegionIns" - + "tanceGroupManagersRecreateRequestB\003\340A\002\022\032\n\n" + + " \001(\0132C.google.cloud.comp" + + "ute.v1.RegionInstanceGroupManagersRecreateRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\250\001\n" + "\tReference\022\024\n" @@ -21009,14 +21039,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_target\"\204\005\n" + "\006Region\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\n" - + "deprecated\030\263\313\321\365\001 " - + "\001(\0132*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n" + + "deprecated\030\263\313\321\365\001" + + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022R\n" - + "\024quota_status_warning\030\366\211\272\220\001" - + " \001(\0132+.google.cloud.compute.v1.QuotaStatusWarningH\006\210\001\001\0221\n" + + "\024quota_status_warning\030\366\211\272\220\001 \001(\0132+.goo" + + "gle.cloud.compute.v1.QuotaStatusWarningH\006\210\001\001\0221\n" + "\006quotas\030\373\241\342; \003(\0132\036.google.cloud.compute.v1.Quota\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\010\210\001\001\022\034\n" @@ -21089,8 +21119,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" - + "\020_next_page_tokenB\014\n" - + "\n" + + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"E\n" + "1RegionInstanceGroupManagerDeleteInstanceConfigReq\022\020\n" @@ -21110,11 +21139,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\200\001\n" + "0RegionInstanceGroupManagerPatchInstanceConfigReq\022L\n" - + "\024per_instance_configs\030\251\325\370\372\001" - + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\"\201\001\n" + + "\024per_instance_configs\030\251\325\370\372\001 \003(\0132" + + "*.google.cloud.compute.v1.PerInstanceConfig\"\201\001\n" + "1RegionInstanceGroupManagerUpdateInstanceConfigReq\022L\n" - + "\024per_instance_configs\030\251\325\370\372\001 \003(\0132*.go" - + "ogle.cloud.compute.v1.PerInstanceConfig\"J\n" + + "\024per_instance_configs\030\251\325\370\372\001" + + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\"J\n" + "2RegionInstanceGroupManagersAbandonInstancesRequest\022\024\n" + "\tinstances\030\376\374\357\r" + " \003(\t\"\373\002\n" @@ -21123,7 +21152,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tinstances\030\376\374\357\r" + " \003(\t\022\037\n" + "\016minimal_action\030\224\215\202\201\001 \001(\tH\001\210\001\001\022.\n" - + "\036most_disruptive_allowed_action\030\215\316\302\037 \001(\tH\002\210\001\001\"-\n\r" + + "\036most_disruptive_allowed_action\030\215\316\302\037 \001(\tH\002\210\001\001\"-\n" + + "\r" + "MinimalAction\022\034\n" + "\030UNDEFINED_MINIMAL_ACTION\020\000\"K\n" + "\033MostDisruptiveAllowedAction\022,\n" @@ -21141,8 +21171,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\010H\000\210\001\001B%\n" + "#_skip_instances_on_validation_error\"\252\001\n" + "-RegionInstanceGroupManagersListErrorsResponse\022D\n" - + "\005items\030\300\317\367/" - + " \003(\01322.google.cloud.compute.v1.InstanceManagedByIgmError\022\037\n" + + "\005items\030\300\317\367/ \003(\01322.google.clo" + + "ud.compute.v1.InstanceManagedByIgmError\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n" + "\020_next_page_token\"\356\001\n" + "2RegionInstanceGroupManagersListInstanceConfigsResp\022<\n" @@ -21154,8 +21184,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020_next_page_tokenB\n\n" + "\010_warning\"\260\001\n" + "0RegionInstanceGroupManagersListInstancesResponse\022G\n" - + "\021managed_instances\030\336\233\251\240\001 \003(" - + "\0132(.google.cloud.compute.v1.ManagedInstance\022\037\n" + + "\021managed_instances\030\336\233\251\240\001" + + " \003(\0132(.google.cloud.compute.v1.ManagedInstance\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n" + "\020_next_page_token\"B\n" + "*RegionInstanceGroupManagersRecreateRequest\022\024\n" @@ -21187,8 +21217,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_force_suspend\"\304\002\n" + "!RegionInstanceGroupsListInstances\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022A\n" - + "\005items\030\300\317\367/" - + " \003(\0132/.google.cloud.compute.v1.InstanceWithNamedPorts\022\024\n" + + "\005items\030\300\317\367/ \003(\0132/.goo" + + "gle.cloud.compute.v1.InstanceWithNamedPorts\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -21233,13 +21263,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021network_endpoints\030\255\221\272G" + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"\201\002\n" + ":RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse\022\210\001\n" - + "\020firewall_policys\030\302\312\374\303\001 \003(\0132j.google.cloud" - + ".compute.v1.RegionNetworkFirewallPolicie" - + "sGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" + + "\020firewall_policys\030\302\312\374\303\001 \003(" + + "\0132j.google.cloud.compute.v1.RegionNetwor" + + "kFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n" + "\tfirewalls\030\363\306\350\201\001" + " \003(\0132!.google.cloud.compute.v1.Firewall\"\224\004\n" - + "QRegi" - + "onNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\022\034\n" + + "QRegionNetworkFirewallPolicie" + + "sGetEffectiveFirewallsResponseEffectiveFirewallPolicy\022\034\n" + "\014display_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022O\n" + "\026packet_mirroring_rules\030\304\377\300\375\001" @@ -21262,8 +21292,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_type\"\321\001\n" + "\026RegionSetLabelsRequest\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n" - + "\006labels\030\377\277\301\356\001" - + " \003(\0132;.google.cloud.compute.v1.RegionSetLabelsRequest.LabelsEntry\032-\n" + + "\006labels\030\377\277\301\356\001 \003(\0132;.google.cloud." + + "compute.v1.RegionSetLabelsRequest.LabelsEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\024\n" @@ -21312,8 +21342,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022\200\001\n" + "1target_pools_remove_health_check_request_resource\030\263\347\266\221\001" - + " \001(\0132<.google" - + ".cloud.compute.v1.TargetPoolsRemoveHealthCheckRequestB\003\340A\002B\r\n" + + " \001(\0132<.google.cloud.compute.v1.TargetPoolsRemoveHealthCheckRequestB\003\340A\002B\r\n" + "\013_request_id\"\247\002\n" + "\037RemoveInstanceTargetPoolRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -21322,13 +21351,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022x\n" + "-target_pools_remove_instance_request_resource\030\203\300\213\016" - + " \001(\01329.google.cloud.compute.v1.TargetPoolsRemoveInstanceRequestB\003\340A\002B\r\n" + + " \001(\01329.google.cl" + + "oud.compute.v1.TargetPoolsRemoveInstanceRequestB\003\340A\002B\r\n" + "\013_request_id\"\264\002\n" + "#RemoveInstancesInstanceGroupRequest\022\036\n" + "\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022\201\001\n" - + "1instance_groups_remove_instances_request_resource\030\271\321\267\272\001" - + " \001(\0132=.google.clo" - + "ud.compute.v1.InstanceGroupsRemoveInstancesRequestB\003\340A\002\022!\n" + + "1instance_groups_remove_instances_request_resource\030\271\321\267\272\001 " + + "\001(\0132=.google.cloud.compute.v1.InstanceGroupsRemoveInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -21345,17 +21374,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\366\001\n" + "\033RemovePeeringNetworkRequest\022\027\n" + "\007network\030\256\264\205o \001(\tB\003\340A\002\022p\n" - + "(networks_remove_peering_request_resource\030\376\333\351\310\001 " - + "\001(\01325.google.cloud.compute.v1.NetworksRemovePeeringRequestB\003\340A\002\022!\n" + + "(networks_remove_peering_request_resource\030\376\333\351\310\001" + + " \001(\01325.google.cloud.compute.v1.NetworksRemovePeeringRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\243\002\n" + "!RemoveResourcePoliciesDiskRequest\022\024\n" + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022}\n" - + "/disks_remove_resource_policies_request_resource\030\356\301\241\320\001" - + " \001(\0132;.google.cloud.co" - + "mpute.v1.DisksRemoveResourcePoliciesRequestB\003\340A\002\022!\n" + + "/disks_remove_resource_policies_request_resource\030\356\301\241\320\001 \001(\0132;" + + ".google.cloud.compute.v1.DisksRemoveResourcePoliciesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -21365,8 +21393,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "%RemoveResourcePoliciesInstanceRequest\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\204\001\n" + "3instances_remove_resource_policies_request_resource\030\366\335\274\027" - + " \001(\0132?.google.cloud.compute.v1.Insta" - + "ncesRemoveResourcePoliciesRequestB\003\340A\002\022!\n" + + " \001(\0132?.google.cloud." + + "compute.v1.InstancesRemoveResourcePoliciesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -21378,9 +21406,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\211\001\n" - + "6region_disks_remove_resource_policies_request_resource\030\243\303\225\004" - + " \001(\0132A.google.clo" - + "ud.compute.v1.RegionDisksRemoveResourcePoliciesRequestB\003\340A\002\022\032\n\n" + + "6region_disks_remove_resource_policies_request_resource\030\243\303\225\004 " + + "\001(\0132A.google.cloud.compute.v1.RegionDisksRemoveResourcePoliciesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\226\001\n" + "\037RemoveRuleFirewallPolicyRequest\022 \n" @@ -21422,30 +21449,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!ReportHostAsFaultyInstanceRequest\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022~\n" + "0instances_report_host_as_faulty_request_resource\030\246\224\315\353\001" - + " \001(\0132;.google.cloud.compute" - + ".v1.InstancesReportHostAsFaultyRequestB\003\340A\002\022!\n" + + " \001(\0132;.goog" + + "le.cloud.compute.v1.InstancesReportHostAsFaultyRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" - + "\013_request_id\"K\n" + + "\013_request_id\"\177\n" + "\023RequestMirrorPolicy\022 \n" - + "\017backend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001B\022\n" - + "\020_backend_service\"\213\002\n" + + "\017backend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001\022\037\n" + + "\016mirror_percent\030\305\217\245\204\001 \001(\001H\001\210\001\001B\022\n" + + "\020_backend_serviceB\021\n" + + "\017_mirror_percent\"\213\002\n" + "\"RequestRemovePeeringNetworkRequest\022\027\n" + "\007network\030\256\264\205o \001(\tB\003\340A\002\022~\n" - + "0networks_request_remove_peering_request_resource\030\316\344\367G \001(\0132<.googl" - + "e.cloud.compute.v1.NetworksRequestRemovePeeringRequestB\003\340A\002\022!\n" + + "0networks_request_remove_peering_request_resource\030\316\344\367G" + + " \001(\0132<.google.cloud.comp" + + "ute.v1.NetworksRequestRemovePeeringRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\225\020\n" + "\013Reservation\022k\n" - + "\033advanced_deployment_control\030\240\222\346\303\001 \001(\0132=.goo" - + "gle.cloud.compute.v1.ReservationAdvancedDeploymentControlH\000\210\001\001\022_\n" - + "\025aggregate_reservation\030\314\362\203\213\001 \001(\01327.google.cloud.compute" - + ".v1.AllocationAggregateReservationH\001\210\001\001\022\033\n\n" + + "\033advanced_deployment_control\030\240\222\346\303\001 \001(\0132=.google.cloud.co" + + "mpute.v1.ReservationAdvancedDeploymentControlH\000\210\001\001\022_\n" + + "\025aggregate_reservation\030\314\362\203\213\001" + + " \001(\01327.google.cloud.compute.v1.AllocationAggregateReservationH\001\210\001\001\022\033\n\n" + "commitment\030\225\226\363\345\001 \001(\tH\002\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022I\n" + "\025delete_after_duration\030\253\233\277\232\001" @@ -21460,20 +21490,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\210\001\001\022\036\n" + "\022linked_commitments\030\330\375\310\340\001 \003(\t\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022g\n" - + "\032reservation_sharing_policy\030\310\265\233b \001(\0132;.google.cloud.compute.v1" - + ".AllocationReservationSharingPolicyH\014\210\001\001\022X\n" + + "\032reservation_sharing_policy\030\310\265\233b \001" + + "(\0132;.google.cloud.compute.v1.AllocationReservationSharingPolicyH\014\210\001\001\022X\n" + "\021resource_policies\030\341\234\314\n" + " \003(\0132:.google.cloud.compute.v1.Reservation.ResourcePoliciesEntry\022R\n" - + "\017resource_status\030\303\372\367v \001(\01321" - + ".google.cloud.compute.v1.AllocationResourceStatusH\r" + + "\017resource_status\030\303\372\367v" + + " \001(\01321.google.cloud.compute.v1.AllocationResourceStatusH\r" + "\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\016\210\001\001\022\037\n" + "\017scheduling_type\030\205\376\244_ \001(\tH\017\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022F\n" - + "\016share_settings\030\203\221\224\177" - + " \001(\0132&.google.cloud.compute.v1.ShareSettingsH\021\210\001\001\022`\n" - + "\024specific_reservation\030\277\240\211\301\001" - + " \001(\01329.google.cloud.compute.v1.AllocationSpecificSKUReservationH\022\210\001\001\022-\n" + + "\016share_settings\030\203\221\224\177 \001" + + "(\0132&.google.cloud.compute.v1.ShareSettingsH\021\210\001\001\022`\n" + + "\024specific_reservation\030\277\240\211\301\001 \001(" + + "\01329.google.cloud.compute.v1.AllocationSpecificSKUReservationH\022\210\001\001\022-\n" + "\035specific_reservation_required\030\237\307\203l" + " \001(\010H\023\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\024\210\001\001\022\024\n" @@ -21543,8 +21573,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_key\"\302\003\n" + "\031ReservationAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022O\n" - + "\005items\030\300\317\367/ " - + "\003(\0132=.google.cloud.compute.v1.ReservationAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132=.google" + + ".cloud.compute.v1.ReservationAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -21553,8 +21583,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032]\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002 \001(\0132/.go" - + "ogle.cloud.compute.v1.ReservationsScopedList:\0028\001B\005\n" + + "\005value\030\002" + + " \001(\0132/.google.cloud.compute.v1.ReservationsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -21563,14 +21593,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020ReservationBlock\022\025\n" + "\005count\030\217\242\235- \001(\005H\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022P\n" - + "\013health_info\030\261\351\230p" - + " \001(\01323.google.cloud.compute.v1.ReservationBlockHealthInfoH\002\210\001\001\022\020\n" + + "\013health_info\030\261\351\230p \001" + + "(\01323.google.cloud.compute.v1.ReservationBlockHealthInfoH\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022\035\n" + "\014in_use_count\030\275\253\246\353\001 \001(\005H\004\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022]\n" - + "\021physical_topology\030\327\251\264\205\001 \001(\01329.g" - + "oogle.cloud.compute.v1.ReservationBlockPhysicalTopologyH\007\210\001\001\022W\n" + + "\021physical_topology\030\327\251\264\205\001 \001(\01329.google.cloud." + + "compute.v1.ReservationBlockPhysicalTopol", + "ogyH\007\210\001\001\022W\n" + "\027reservation_maintenance\030\240\206\265\242\001" + " \001(\0132-.google.cloud.compute.v1.GroupMaintenanceInfoH\010\210\001\001\022,\n" + "\033reservation_sub_block_count\030\353\261\335\235\001 \001(\005H" @@ -21586,8 +21617,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020UNDEFINED_STATUS\020\000\022\020\n" + "\010CREATING\020\271\275\235\331\001\022\020\n" + "\010DELETING\020\250\247\207\374\001\022\017\n" - + "\007INVALID\020\327\373\355\374", - "\001\022\014\n" + + "\007INVALID\020\327\373\355\374\001\022\014\n" + "\005READY\020\203\303\217%B\010\n" + "\006_countB\025\n" + "\023_creation_timestampB\016\n" @@ -21606,8 +21636,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\316\002\n" + "\032ReservationBlockHealthInfo\022)\n" + "\030degraded_sub_block_count\030\315\350\264\332\001" - + " \001(\005H\000\210\001\001\022\036\n" - + "\r" + + " \001(\005H\000\210\001\001\022\036\n\r" + "health_status\030\265\326\272\265\001 \001(\tH\001\210\001\001\022\'\n" + "\027healthy_sub_block_count\030\274\271\306\002 \001(\005H\002\210\001\001\"q\n" + "\014HealthStatus\022\033\n" @@ -21627,12 +21656,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_cluster\"\235\002\n" + "(ReservationBlockPhysicalTopologyInstance\022\033\n" + "\013instance_id\030\205\262\330\025 \001(\004H\000\210\001\001\022~\n" - + "\026physical_host_topology\030\276\223\257\272\001" - + " \001(\0132U.google.cloud.compute.v1.Reserv" - + "ationBlockPhysicalTopologyInstancePhysicalHostTopologyH\001\210\001\001\022\032\n\n" + + "\026physical_host_topology\030\276\223\257\272\001 \001(\0132U.go" + + "ogle.cloud.compute.v1.ReservationBlockPh" + + "ysicalTopologyInstancePhysicalHostTopologyH\001\210\001\001\022\032\n\n" + "project_id\030\201\310\322T \001(\004H\002\210\001\001B\016\n" + "\014_instance_idB\031\n" - + "\027_physical_host_topologyB\r\n" + + "\027_physical_host_topologyB\r" + + "\n" + "\013_project_id\"\207\001\n" + "\n" - + "\005items\030\300\317\367/ \003(\0132,.g" - + "oogle.cloud.compute.v1.ReservationSubBlock\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132,.google.cloud.compute.v1.ReservationSubBlock\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -21785,8 +21815,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\360\001\n" + "\021ResizeDiskRequest\022\024\n" + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022Z\n" - + "\035disks_resize_request_resource\030\240\302\253% \001(\013" - + "2+.google.cloud.compute.v1.DisksResizeRequestB\003\340A\002\022!\n" + + "\035disks_resize_request_resource\030\240\302\253% \001(\0132+.google.cl" + + "oud.compute.v1.DisksResizeRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -21807,8 +21837,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022h\n" - + "$region_disks_resize_request_resource\030\225\252\374\324\001" - + " \001(\01321.google.cloud.compute.v1.RegionDisksResizeRequestB\003\340A\002\022\032\n\n" + + "$region_disks_resize_request_resource\030\225\252\374\324\001 \001(\013" + + "21.google.cloud.compute.v1.RegionDisksResizeRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\326\001\n" + "\'ResizeRegionInstanceGroupManagerRequest\022&\n" @@ -21855,24 +21885,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016ResourcePolicy\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022q\n" - + "\035disk_consistency_group_policy\030\233\204\362\341\001 \001(\0132A.google.cloud.com" - + "pute.v1.ResourcePolicyDiskConsistencyGroupPolicyH\002\210\001\001\022c\n" - + "\026group_placement_policy\030\214\233\233\005" - + " \001(\0132;.google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicyH\003\210\001\001\022\020\n" + + "\035disk_consistency_group_policy\030\233\204\362\341\001" + + " \001(\0132A.google.cloud.compute.v1.Reso" + + "urcePolicyDiskConsistencyGroupPolicyH\002\210\001\001\022c\n" + + "\026group_placement_policy\030\214\233\233\005 \001(\0132;.g" + + "oogle.cloud.compute.v1.ResourcePolicyGroupPlacementPolicyH\003\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\004\210\001\001\022h\n" - + "\030instance_schedule_policy\030\260\320\271\244\001" - + " \001(\0132=.google.cloud.compute.v1.Res" - + "ourcePolicyInstanceSchedulePolicyH\005\210\001\001\022\024\n" + + "\030instance_schedule_policy\030\260\320\271\244\001 \001(\0132=" + + ".google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyH\005\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\010\210\001\001\022V\n" - + "\017resource_status\030\303\372\367v" - + " \001(\01325.google.cloud.compute.v1.ResourcePolicyResourceStatusH" - + "\t\210\001\001\022\032\n" + + "\017resource_status\030\303\372\367v \001" + + "(\01325.google.cloud.compute.v1.ResourcePolicyResourceStatusH\t\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\n" + "\210\001\001\022g\n" - + "\030snapshot_schedule_policy\030\337\326\201h \001(\0132=.google.cloud.compu" - + "te.v1.ResourcePolicySnapshotSchedulePolicyH\013\210\001\001\022\026\n" + + "\030snapshot_schedule_policy\030\337\326\201h" + + " \001(\0132=.google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyH\013\210\001\001\022\026\n" + "\006status\030\362\237\267V \001(\tH\014\210\001\001\022V\n" + "\017workload_policy\030\372\205\3326" + " \001(\01325.google.cloud.compute.v1.ResourcePolicyWorkloadPolicyH\r" @@ -21901,8 +21930,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\034ResourcePolicyAggregatedList\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022R\n" - + "\005items\030\300\317\367/ \003(\0132@.google.cloud" - + ".compute.v1.ResourcePolicyAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132@.google.cloud.compute.v1." + + "ResourcePolicyAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -21948,13 +21977,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017_hours_in_cycleB\r\n" + "\013_start_time\"\256\003\n" + "$ResourcePolicyInstanceSchedulePolicy\022\037\n" - + "\017expiration_time\030\335\254\350m \001(\tH\000\210\001\001\022\032\n\n" + + "\017expiration_time\030\335\254\350m \001(\tH\000\210\001\001\022\032\n" + + "\n" + "start_time\030\212\351\356\021 \001(\tH\001\210\001\001\022\031\n" + "\ttime_zone\030\336\203\311\021 \001(\tH\002\210\001\001\022h\n" - + "\021vm_start_schedule\030\334\220\274\010 \001(\0132E.google.cloud.compute.v1" - + ".ResourcePolicyInstanceSchedulePolicyScheduleH\003\210\001\001\022h\n" - + "\020vm_stop_schedule\030\254\345\237\313\001 \001(\013" - + "2E.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleH\004\210\001\001B\022\n" + + "\021vm_start_schedule\030\334\220\274\010 \001" + + "(\0132E.google.cloud.compute.v1.ResourcePol" + + "icyInstanceSchedulePolicyScheduleH\003\210\001\001\022h\n" + + "\020vm_stop_schedule\030\254\345\237\313\001 \001(\0132E.google.cl" + + "oud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleH\004\210\001\001B\022\n" + "\020_expiration_timeB\r\n" + "\013_start_timeB\014\n\n" + "_time_zoneB\024\n" @@ -21980,8 +22011,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\271\001\n" + "\034ResourcePolicyResourceStatus\022|\n" - + "\030instance_schedule_policy\030\260\320\271\244\001 \001(\0132Q.google.cloud.co" - + "mpute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatusH\000\210\001\001B\033\n" + + "\030instance_schedule_policy\030\260\320\271\244\001" + + " \001(\0132Q.google.cloud.compute.v1.Res" + + "ourcePolicyResourceStatusInstanceSchedulePolicyStatusH\000\210\001\001B\033\n" + "\031_instance_schedule_policy\"\266\001\n" + "8ResourcePolicyResourceStatusInstanceSchedulePolicyStatus\022$\n" + "\023last_run_start_time\030\207\357\301\220\001 \001(\tH\000\210\001\001\022$\n" @@ -21989,12 +22021,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024_last_run_start_timeB\026\n" + "\024_next_run_start_time\"\250\003\n" + "$ResourcePolicySnapshotSchedulePolicy\022n\n" - + "\020retention_policy\030\363\312\334 \001(\0132L.goo" - + "gle.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicyH\000\210\001\001\022`\n" - + "\010schedule\030\227\245\232\263\001 \001(\0132E.google.cloud.compu" - + "te.v1.ResourcePolicySnapshotSchedulePolicyScheduleH\001\210\001\001\022t\n" - + "\023snapshot_properties\030\216\225\262X \001(\0132O.google.cloud.compute.v1.Resour" - + "cePolicySnapshotSchedulePolicySnapshotPropertiesH\002\210\001\001B\023\n" + + "\020retention_policy\030\363\312\334 \001(\0132L.google.cloud.co" + + "mpute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicyH\000\210\001\001\022`\n" + + "\010schedule\030\227\245\232\263\001 \001(\0132E.google.cloud.compute.v1.Resour" + + "cePolicySnapshotSchedulePolicyScheduleH\001\210\001\001\022t\n" + + "\023snapshot_properties\030\216\225\262X \001(\0132O.go" + + "ogle.cloud.compute.v1.ResourcePolicySnap" + + "shotSchedulePolicySnapshotPropertiesH\002\210\001\001B\023\n" + "\021_retention_policyB\013\n" + "\t_scheduleB\026\n" + "\024_snapshot_properties\"\325\002\n" @@ -22009,21 +22042,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_max_retention_daysB\030\n" + "\026_on_source_disk_delete\"\347\002\n" + ",ResourcePolicySnapshotSchedulePolicySchedule\022Q\n" - + "\016daily_schedule\030\375\343\212)" - + " \001(\01321.google.cloud.compute.v1.ResourcePolicyDailyCycleH\000\210\001\001\022S\n" - + "\017hourly_schedule\030\245\261\243\022" - + " \001(\01322.google.cloud.compute.v1.ResourcePolicyHourlyCycleH\001\210\001\001\022T\n" - + "\017weekly_schedule\030\225\211\271\253\001 \001(\01322.google.cloud.com" - + "pute.v1.ResourcePolicyWeeklyCycleH\002\210\001\001B\021\n" + + "\016daily_schedule\030\375\343\212) \001(\0132" + + "1.google.cloud.compute.v1.ResourcePolicyDailyCycleH\000\210\001\001\022S\n" + + "\017hourly_schedule\030\245\261\243\022 " + + "\001(\01322.google.cloud.compute.v1.ResourcePolicyHourlyCycleH\001\210\001\001\022T\n" + + "\017weekly_schedule\030\225\211\271\253\001" + + " \001(\01322.google.cloud.compute.v1.ResourcePolicyWeeklyCycleH\002\210\001\001B\021\n" + "\017_daily_scheduleB\022\n" + "\020_hourly_scheduleB\022\n" + "\020_weekly_schedule\"\320\002\n" + "6ResourcePolicySnapshotSchedulePolicySnapshotProperties\022\032\n\n" + "chain_name\030\311\332\335 \001(\tH\000\210\001\001\022\034\n" + "\013guest_flush\030\335\223\354\267\001 \001(\010H\001\210\001\001\022o\n" - + "\006labels\030\377\277\301\356\001 \003(\0132[.goo" - + "gle.cloud.compute.v1.ResourcePolicySnaps" - + "hotSchedulePolicySnapshotProperties.LabelsEntry\022\035\n" + + "\006labels\030\377\277\301\356\001 \003(\0132[.google.cloud.co" + + "mpute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties.LabelsEntry\022\035\n" + "\021storage_locations\030\232\355\263\234\001 \003(\t\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -22031,8 +22063,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_chain_nameB\016\n" + "\014_guest_flush\"q\n" + "\031ResourcePolicyWeeklyCycle\022T\n" - + "\014day_of_weeks\030\332\237\373z" - + " \003(\0132;.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek\"\264\002\n" + + "\014day_of_weeks\030\332\237\373z \003(\0132;" + + ".google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek\"\264\002\n" + "\"ResourcePolicyWeeklyCycleDayOfWeek\022\022\n" + "\003day\030\234\207\006 \001(\tH\000\210\001\001\022\030\n" + "\010duration\030\224\233\221J \001(\tH\001\210\001\001\022\032\n\n" @@ -22067,13 +22099,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026_max_topology_distanceB\007\n" + "\005_type\"\236\004\n" + "\016ResourceStatus\022m\n" - + "\033effective_instance_metadata\030\201\216\240\032 \001(\0132@.google.cloud.co" - + "mpute.v1.ResourceStatusEffectiveInstanceMetadataH\000\210\001\001\022\036\n\r" + + "\033effective_instance_metadata\030\201\216\240\032" + + " \001(\0132@.google.cloud.compute.v1.Res" + + "ourceStatusEffectiveInstanceMetadataH\000\210\001\001\022\036\n\r" + "physical_host\030\220\370\266\335\001 \001(\tH\001\210\001\001\022d\n" - + "\026physical_host_topology\030\276\223\257\272\001 \001(" - + "\0132;.google.cloud.compute.v1.ResourceStatusPhysicalHostTopologyH\002\210\001\001\022N\n\n" - + "scheduling\030\224\313\261\270\001" - + " \001(\01321.google.cloud.compute.v1.ResourceStatusSchedulingH\003\210\001\001\022R\n" + + "\026physical_host_topology\030\276\223\257\272\001 \001(\0132;.google.c" + + "loud.compute.v1.ResourceStatusPhysicalHostTopologyH\002\210\001\001\022N\n\n" + + "scheduling\030\224\313\261\270\001 \001(\0132" + + "1.google.cloud.compute.v1.ResourceStatusSchedulingH\003\210\001\001\022R\n" + "\024upcoming_maintenance\030\360\240\264l" + " \001(\0132,.google.cloud.compute.v1.UpcomingMaintenanceH\004\210\001\001B\036\n" + "\034_effective_instance_metadataB\020\n" @@ -22127,24 +22160,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*ResumeInstancesInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n" + "9instance_group_managers_resume_instances_request_resource\030\302\276\302=" - + " \001(\0132D.google" - + ".cloud.compute.v1.InstanceGroupManagersResumeInstancesRequestB\003\340A\002\022!\n" + + " \001(\0132D.google.cloud.compu" + + "te.v1.InstanceGroupManagersResumeInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" - + "\340A\002\362G\004zoneB\r" - + "\n" + + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\351\002\n" + "0ResumeInstancesRegionInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n" - + "@region_instance_group" - + "_managers_resume_instances_request_resource\030\267\203\200\335\001" - + " \001(\0132J.google.cloud.compute.v1." - + "RegionInstanceGroupManagersResumeInstancesRequestB\003\340A\002\022\032\n\n" + + "@region_instance_group_managers_resume_instances_request_resource\030\267\203\200\335\001" + + " \001(\0132J.google.cloud.compute.v1.RegionInstan" + + "ceGroupManagersResumeInstancesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\226\014\n" + "\005Route\0229\n" @@ -22176,7 +22207,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010priority\030\244\363\241\324\001 \001(\r" + "H\023\210\001\001\022\035\n" + "\014route_status\030\250\315\262\307\001 \001(\tH\024\210\001\001\022\033\n\n" - + "route_type\030\360\266\236\263\001 \001(\tH\025\210\001\001\022\032\n" + + "route_", + "type\030\360\266\236\263\001 \001(\tH\025\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\026\210\001\001\022\017\n" + "\004tags\030\231\350\330\001 \003(\t\0227\n" + "\010warnings\030\327\210\301\355\001" @@ -22195,8 +22227,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tRouteType\022\030\n" + "\024UNDEFINED_ROUTE_TYPE\020\000\022\t\n" + "\003BGP\020\253\201\004\022\016\n" - + "\006STATIC\020\356\204\203\223\001\022\016", - "\n" + + "\006STATIC\020\356\204\203\223\001\022\016\n" + "\006SUBNET\020\335\356\274\223\001\022\016\n" + "\007TRANSIT\020\263\203\306YB\025\n" + "\023_creation_timestampB\016\n" @@ -22247,8 +22278,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\253\001\n" + "\013RouteParams\022`\n" - + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.google.c" - + "loud.compute.v1.RouteParams.ResourceManagerTagsEntry\032:\n" + + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.google.cloud.compute" + + ".v1.RouteParams.ResourceManagerTagsEntry\032:\n" + "\030ResourceManagerTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\310\002\n" @@ -22275,8 +22306,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_matchB\013\n" + "\t_priority\"\244\006\n" + "\006Router\0226\n" - + "\003bgp\030\313\371\005" - + " \001(\0132\".google.cloud.compute.v1.RouterBgpH\000\210\001\001\022=\n" + + "\003bgp\030\313\371\005 \001(\0132" + + "\".google.cloud.compute.v1.RouterBgpH\000\210\001\001\022=\n" + "\tbgp_peers\030\335\255\356\327\001" + " \003(\0132&.google.cloud.compute.v1.RouterBgpPeer\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" @@ -22287,8 +22318,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "interfaces\030\332\364\340\005" + " \003(\0132(.google.cloud.compute.v1.RouterInterface\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022W\n" - + "\027md5_authentication_keys\030\232\256\361!" - + " \003(\01323.google.cloud.compute.v1.RouterMd5AuthenticationKey\022\024\n" + + "\027md5_authentication_keys\030\232\256\361! \003(\01323" + + ".google.cloud.compute.v1.RouterMd5AuthenticationKey\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\0223\n" + "\004nats\030\362\366\315\001 \003(\0132\".google.cloud.compute.v1.RouterNat\022\027\n" + "\007network\030\256\264\205o \001(\tH\007\210\001\001\022=\n" @@ -22315,8 +22346,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_range\"\263\003\n" + "\024RouterAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022J\n" - + "\005items\030\300\317\367/ \003(\0132" - + "8.google.cloud.compute.v1.RouterAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\01328.google.clo" + + "ud.compute.v1.RouterAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -22336,8 +22367,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n" + "\021advertised_groups\030\266\336\205\n" + " \003(\t\022Q\n" - + "\024advertised_ip_ranges\030\314\330\363\020" - + " \003(\01320.google.cloud.compute.v1.RouterAdvertisedIpRange\022\022\n" + + "\024advertised_ip_ranges\030\314\330\363\020 \003(\01320.goo" + + "gle.cloud.compute.v1.RouterAdvertisedIpRange\022\022\n" + "\003asn\030\374\364\005 \001(\r" + "H\001\210\001\001\022!\n" + "\020identifier_range\030\247\314\225\357\001 \001(\tH\002\210\001\001\022#\n" @@ -22358,14 +22389,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n" + "\021advertised_groups\030\266\336\205\n" + " \003(\t\022Q\n" - + "\024advertised_ip_ranges\030\314\330\363\020" - + " \003(\01320.google.cloud.compute.v1.RouterAdvertisedIpRange\022)\n" + + "\024advertised_ip_ranges\030\314\330\363\020 \003(\01320.goog" + + "le.cloud.compute.v1.RouterAdvertisedIpRange\022)\n" + "\031advertised_route_priority\030\274\234\366X \001(\r" + "H\001\210\001\001\022=\n" - + "\003bfd\030\240\371\005 \001(\0132).goog" - + "le.cloud.compute.v1.RouterBgpPeerBfdH\002\210\001\001\022`\n" - + "\030custom_learned_ip_ranges\030\304\210\304\345\001 \003(\0132" - + ":.google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange\022.\n" + + "\003bfd\030\240\371\005" + + " \001(\0132).google.cloud.compute.v1.RouterBgpPeerBfdH\002\210\001\001\022`\n" + + "\030custom_learned_ip_ranges\030\304\210\304\345\001 \003(\0132:.google.clo" + + "ud.compute.v1.RouterBgpPeerCustomLearnedIpRange\022.\n" + "\035custom_learned_route_priority\030\304\342\306\235\001" + " \001(\005H\003\210\001\001\022\027\n" + "\006enable\030\203\313\324\224\001 \001(\tH\004\210\001\001\022\033\n" @@ -22389,8 +22420,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017peer_ip_address\030\331\227\207c \001(\tH\017\210\001\001\022*\n" + "\031peer_ipv4_nexthop_address\030\216\203\337\337\001 \001(\tH\020\210\001\001\022*\n" + "\031peer_ipv6_nexthop_address\030\220\373\255\352\001 \001(\tH\021\210\001\001\022*\n" - + "\031router_appliance_instance\030\235\307\247\337\001 \001(\tH\022\210\001\001\"M\n" - + "\r" + + "\031router_appliance_instance\030\235\307\247\337\001 \001(\tH\022\210\001\001\"M\n\r" + "AdvertiseMode\022\034\n" + "\030UNDEFINED_ADVERTISE_MODE\020\000\022\016\n" + "\006CUSTOM\020\361\376\245\271\001\022\016\n" @@ -22484,8 +22514,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n" - + "\n" + + "_self_linkB\n\n" + "\010_warning\"W\n" + "\032RouterMd5AuthenticationKey\022\022\n" + "\003key\030\337\274\006 \001(\tH\000\210\001\001\022\024\n" @@ -22501,8 +22530,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\010H\002\210\001\001\022\032\n" + "\016endpoint_types\030\317\252\326\357\001 \003(\t\022%\n" + "\025icmp_idle_timeout_sec\030\312\320\336\001 \001(\005H\003\210\001\001\022H\n\n" - + "log_config\030\235\321\301\247\001" - + " \001(\0132+.google.cloud.compute.v1.RouterNatLogConfigH\004\210\001\001\022 \n" + + "log_config\030\235\321\301\247\001 \001(\0132+." + + "google.cloud.compute.v1.RouterNatLogConfigH\004\210\001\001\022 \n" + "\020max_ports_per_vm\030\341\311\236w \001(\005H\005\210\001\001\022 \n" + "\020min_ports_per_vm\030\263\255\344X \001(\005H\006\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022Q\n" @@ -22514,8 +22543,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"source_subnetwork_ip_ranges_to_nat\030\333\357\241x \001(\tH\t\210\001\001\0224\n" + "$source_subnetwork_ip_ranges_to_nat64\030\331\347\247v \001(\tH\n" + "\210\001\001\022J\n" - + "\013subnetworks\030\305\324\245\306\001 \003" - + "(\01321.google.cloud.compute.v1.RouterNatSubnetworkToNat\0220\n" + + "\013subnetworks\030\305\324\245\306\001 \003(\01321.google." + + "cloud.compute.v1.RouterNatSubnetworkToNat\0220\n" + " tcp_established_idle_timeout_sec\030\355\353\260j \001(\005H\013\210\001\001\022*\n" + "\031tcp_time_wait_timeout_sec\030\375\273\363\364\001" + " \001(\005H\014\210\001\001\022/\n" @@ -22578,8 +22607,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_enableB\t\n" + "\007_filter\"\335\001\n\r" + "RouterNatRule\022D\n" - + "\006action\030\266\374\275Y \001(\0132,.goo" - + "gle.cloud.compute.v1.RouterNatRuleActionH\000\210\001\001\022\034\n" + + "\006action\030\266\374\275Y" + + " \001(\0132,.google.cloud.compute.v1.RouterNatRuleActionH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\025\n" + "\005match\030\305\263\2671 \001(\tH\002\210\001\001\022\034\n" + "\013rule_number\030\354\333\232\377\001 \001(\r" @@ -22607,8 +22636,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n" + "\005_name\"\255\001\n" + "\014RouterParams\022a\n" - + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132>.google.cloud.comp" - + "ute.v1.RouterParams.ResourceManagerTagsEntry\032:\n" + + "\025resource_manager_tags\030\374\233\213\264\001" + + " \003(\0132>.google.cloud.compute.v1.RouterParams.ResourceManagerTagsEntry\032:\n" + "\030ResourceManagerTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\306\002\n" @@ -22617,8 +22646,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132\036.google.cloud.compute.v1.Route\022A\n" + "\026best_routes_for_router\030\371\373\3668" + " \003(\0132\036.google.cloud.compute.v1.Route\022N\n" - + "\017bgp_peer_status\030\373\327\225h \003(\01322.goog" - + "le.cloud.compute.v1.RouterStatusBgpPeerStatus\022E\n\n" + + "\017bgp_peer_status\030\373\327\225h" + + " \003(\01322.google.cloud.compute.v1.RouterStatusBgpPeerStatus\022E\n\n" + "nat_status\030\320\231\213\036" + " \003(\0132..google.cloud.compute.v1.RouterStatusNatStatus\022\027\n" + "\007network\030\256\264\205o \001(\tH\000\210\001\001B\n\n" @@ -22629,7 +22658,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "bfd_status\030\361\270\323\274\001" + " \001(\0132\".google.cloud.compute.v1.BfdStatusH\000\210\001\001\022\033\n" + "\013enable_ipv4\030\241\366\303V \001(\010H\001\210\001\001\022\033\n" - + "\013enable_ipv6\030\243\366\303V \001(\010H\002\210\001\001\022\033\n\n" + + "\013enable_ipv6\030\243\366\303V \001(\010H\002\210\001\001\022\033\n" + + "\n" + "ip_address\030\334\361\334\301\001 \001(\tH\003\210\001\001\022$\n" + "\024ipv4_nexthop_address\030\321\215\334\002 \001(\tH\004\210\001\001\022$\n" + "\024ipv6_nexthop_address\030\323\205\253\r" @@ -22689,8 +22719,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\0223\n" + "\"num_vm_endpoints_with_nat_mappings\030\354\266\250\364\001" + " \001(\005H\002\210\001\001\022S\n" - + "\013rule_status\030\225\305\356B \003(\0132;.google.c" - + "loud.compute.v1.RouterStatusNatStatusNatRuleStatus\022*\n" + + "\013rule_status\030\225\305\356B \003(\0132;.google.cloud.compute" + + ".v1.RouterStatusNatStatusNatRuleStatus\022*\n" + "\037user_allocated_nat_ip_resources\030\327\351\272e \003(\t\022\"\n" + "\026user_allocated_nat_ips\030\242\262\331\361\001 \003(\tB\033\n" + "\031_min_extra_nat_ips_neededB\007\n" @@ -22708,8 +22738,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_rule_number\"\177\n" + "\024RouterStatusResponse\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022=\n" - + "\006result\030\235\220\267B" - + " \001(\0132%.google.cloud.compute.v1.RouterStatusH\001\210\001\001B\007\n" + + "\006result\030\235\220\267B \001(\0132%.go" + + "ogle.cloud.compute.v1.RouterStatusH\001\210\001\001B\007\n" + "\005_kindB\t\n" + "\007_result\"l\n" + "\035RoutersGetRoutePolicyResponse\022>\n" @@ -22746,7 +22776,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n\n" + + "_self_linkB\n" + + "\n" + "\010_warning\"`\n" + "\026RoutersPreviewResponse\0229\n" + "\010resource\030\216\210\257]" @@ -22785,8 +22816,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\024\n" + "\004boot\030\362\365\270\001 \001(\010H\001\210\001\001\022\033\n" + "\013device_name\030\324\265\232 \001(\tH\002\210\001\001\022T\n" - + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132." - + ".google.cloud.compute.v1.CustomerEncryptionKeyH\003\210\001\001\022\035\n" + + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132..google.clou" + + "d.compute.v1.CustomerEncryptionKeyH\003\210\001\001\022\035\n" + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004\210\001\001\022\031\n" + "\tdisk_type\030\234\351\254, \001(\tH\005\210\001\001\022E\n" + "\021guest_os_features\030\321\340\347%" @@ -22824,7 +22855,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024_disk_encryption_keyB\017\n\r" + "_disk_size_gbB\014\n\n" + "_disk_typeB\010\n" - + "\006_indexB\014\n\n" + + "\006_indexB\014\n" + + "\n" + "_interfaceB\007\n" + "\005_kindB\007\n" + "\005_modeB\t\n" @@ -22847,7 +22879,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036UNDEFINED_STORAGE_BYTES_STATUS\020\000\022\020\n" + "\010UPDATING\020\306\356\354\353\001\022\021\n\n" + "UP_TO_DATE\020\316\242\2470B\017\n\r" - + "_architectureB\007\n" + + "_architecture", + "B\007\n" + "\005_kindB\016\n" + "\014_source_diskB\020\n" + "\016_storage_bytesB\027\n" @@ -22867,24 +22900,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006_state\"\254\013\n\n" + "Scheduling\022\"\n" + "\021automatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022#\n" - + "\023avail", - "ability_domain\030\250\240\264x \001(\005H\001\210\001\001\022+\n" + + "\023availability_domain\030\250\240\264x \001(\005H\001\210\001\001\022+\n" + "\032host_error_timeout_seconds\030\223\334\331\302\001" + " \001(\005H\002\210\001\001\022+\n" + "\033instance_termination_action\030\273\377\2313 \001(\tH\003\210\001\001\022M\n" + "\032local_ssd_recovery_timeout\030\346\257\346\177" - + " \001(\0132!.google.cloud.compute.v1.DurationH\004\210\001\001\022\036\n" - + "\r" + + " \001(\0132!.google.cloud.compute.v1.DurationH\004\210\001\001\022\036\n\r" + "location_hint\030\321\201\222\247\001 \001(\tH\005\210\001\001\022D\n" + "\020max_run_duration\030\303\257\270\315\001" + " \001(\0132!.google.cloud.compute.v1.DurationH\006\210\001\001\022\036\n\r" + "min_node_cpus\030\273\244\242\227\001 \001(\005H\007\210\001\001\022L\n" - + "\017node_affinities\030\243\204\232\334\001 \003(\013" - + "2/.google.cloud.compute.v1.SchedulingNodeAffinity\022#\n" + + "\017node_affinities\030\243\204\232\334\001" + + " \003(\0132/.google.cloud.compute.v1.SchedulingNodeAffinity\022#\n" + "\023on_host_maintenance\030\334\362\347\036 \001(\tH\010\210\001\001\022a\n" - + "\027on_instance_stop_action\030\311\215\325\374\001 " - + "\001(\01327.google.cloud.compute.v1.SchedulingOnInstanceStopActionH" - + "\t\210\001\001\022\034\n" + + "\027on_instance_stop_action\030\311\215\325\374\001 \001(\01327.google" + + ".cloud.compute.v1.SchedulingOnInstanceStopActionH\t\210\001\001\022\034\n" + "\013preemptible\030\241\345\313\232\001 \001(\010H\n" + "\210\001\001\022!\n" + "\022provisioning_model\030\327\226\036 \001(\tH\013\210\001\001\022&\n" @@ -22933,7 +22963,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\t_operator\"Z\n" + "\036SchedulingOnInstanceStopAction\022\"\n" + "\021discard_local_ssd\030\317\351\255\230\001 \001(\010H\000\210\001\001B\024\n" - + "\022_discard_local_ssd\"S\n\n" + + "\022_discard_local_ssd\"S\n" + + "\n" + "Screenshot\022\031\n" + "\010contents\030\232\266\275\361\001 \001(\tH\000\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\013\n" @@ -22942,8 +22973,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036SecurityPoliciesAggregatedList\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022T\n" - + "\005items\030\300\317\367/ \003(\0132B.google.clo" - + "ud.compute.v1.SecurityPoliciesAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132B.google.cloud.compute.v" + + "1.SecurityPoliciesAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -22952,8 +22983,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\005\210\001\001\032a\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.google.cloud." - + "compute.v1.SecurityPoliciesScopedList:\0028\001B\007\n" + + "\005value\030\002" + + " \001(\01323.google.cloud.compute.v1.SecurityPoliciesScopedList:\0028\001B\007\n" + "\005_etagB\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" @@ -22961,8 +22992,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\277\001\n" + "7SecurityPoliciesListPreconfiguredExpressionSetsResponse\022b\n" - + "\035preconfigured_expression_sets\030\372\214\327\377\001" - + " \001(\01322.google.cloud.compute.v1.SecurityPoliciesWafConfigH\000\210\001\001B \n" + + "\035preconfigured_expression_sets\030\372\214\327\377\001 " + + "\001(\01322.google.cloud.compute.v1.SecurityPoliciesWafConfigH\000\210\001\001B \n" + "\036_preconfigured_expression_sets\"\252\001\n" + "\032SecurityPoliciesScopedList\022E\n" + "\021security_policies\030\357\246\367<" @@ -22971,27 +23002,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"r\n" + "\031SecurityPoliciesWafConfig\022G\n" - + "\twaf_rules\030\324\303\333#" - + " \001(\0132,.google.cloud.compute.v1.PreconfiguredWafSetH\000\210\001\001B\014\n\n" + + "\twaf_rules\030\324\303\333# \001(\0132," + + ".google.cloud.compute.v1.PreconfiguredWafSetH\000\210\001\001B\014\n\n" + "_waf_rules\"\257\n\n" + "\016SecurityPolicy\022k\n" - + "\032adaptive_protection_config\030\337\373\321G \001(\0132?.google.cloud.compute.v1." - + "SecurityPolicyAdaptiveProtectionConfigH\000\210\001\001\022f\n" - + "\027advanced_options_config\030\300\323\235\326\001 \001(\013" - + "2<.google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigH\001\210\001\001\022\"\n" + + "\032adaptive_protection_config\030\337\373\321G \001(" + + "\0132?.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigH\000\210\001\001\022f\n" + + "\027advanced_options_config\030\300\323\235\326\001 \001(\0132<.google.cl" + + "oud.compute.v1.SecurityPolicyAdvancedOptionsConfigH\001\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022c\n" - + "\026ddos_protection_config\030\315\204\377\027 \001(\0132;.google.cloud.comput" - + "e.v1.SecurityPolicyDdosProtectionConfigH\003\210\001\001\022\034\n" + + "\026ddos_protection_config\030\315\204\377\027" + + " \001(\0132;.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigH\003\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\010\210\001\001\022G\n" - + "\006labels\030\377\277\301\356\001 \003(\01323" - + ".google.cloud.compute.v1.SecurityPolicy.LabelsEntry\022\024\n" + + "\006labels\030\377\277\301\356\001 \003(\01323.google.clou" + + "d.compute.v1.SecurityPolicy.LabelsEntry\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022h\n" - + "\030recaptcha_options_config\030\333\324\275\367\001 \001(\0132=.google" - + ".cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfigH\n" + + "\030recaptcha_options_config\030\333\324\275\367\001 \001(\0132=.google.cloud.compu" + + "te.v1.SecurityPolicyRecaptchaOptionsConfigH\n" + "\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\013\210\001\001\022=\n" + "\005rules\030\367\221\3653" @@ -23024,15 +23055,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\007\n" + "\005_type\"\315\001\n" + "&SecurityPolicyAdaptiveProtectionConfig\022\203\001\n" - + "\032layer7_ddos_defense_config\030\243\331\303\320\001" - + " \001(\0132V.google.cloud.compute.v1.Secu" - + "rityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigH\000\210\001\001B\035\n" + + "\032layer7_ddos_defense_config\030\243\331\303\320\001 \001(\0132V." + + "google.cloud.compute.v1.SecurityPolicyAd" + + "aptiveProtectionConfigLayer7DdosDefenseConfigH\000\210\001\001B\035\n" + "\033_layer7_ddos_defense_config\"\363\002\n" + "=SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig\022\027\n" + "\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022 \n" + "\017rule_visibility\030\265\330\220\330\001 \001(\tH\001\210\001\001\022\203\001\n" - + "\021threshold_configs\030\235\253\343\034 \003(\0132e.google.cloud.compute.v1.Secu" - + "rityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig\"R\n" + + "\021threshold_configs\030\235\253\343\034 \003(\0132e." + + "google.cloud.compute.v1.SecurityPolicyAd" + + "aptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig\"R\n" + "\016RuleVisibility\022\035\n" + "\031UNDEFINED_RULE_VISIBILITY\020\000\022\017\n" + "\007PREMIUM\020\267\264\301\276\001\022\020\n" @@ -23051,9 +23083,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"detection_relative_to_baseline_qps\030\205\233\366\212\001" + " \001(\002H\006\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\245\001\n" - + "\033traffic_granularity_configs\030\276\264\332( \003(\0132}.google.cloud" - + ".compute.v1.SecurityPolicyAdaptiveProtec" - + "tionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigB#\n" + + "\033traffic_granularity_configs\030\276\264\332( \003(\0132}.google.cloud.compute.v1." + + "SecurityPolicyAdaptiveProtectionConfigLa" + + "yer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigB#\n" + "!_auto_deploy_confidence_thresholdB\035\n" + "\033_auto_deploy_expiration_secB*\n" + "(_auto_deploy_impacted_baseline_thresholdB\035\n" @@ -23062,8 +23094,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031_detection_load_thresholdB%\n" + "#_detection_relative_to_baseline_qpsB\007\n" + "\005_name\"\320\002\n" - + "dSecurityPolicyAdaptiveProtectionConf" - + "igLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig\022)\n" + + "dSecurityPolicyAdaptiveProtectionConfigLayer7Ddos" + + "DefenseConfigThresholdConfigTrafficGranularityConfig\022)\n" + "\030enable_each_unique_value\030\305\212\336\337\001" + " \001(\010H\000\210\001\001\022\024\n" + "\004type\030\272\236\332\001 \001(\tH\001\210\001\001\022\025\n" @@ -23077,8 +23109,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_typeB\010\n" + "\006_value\"\336\003\n" + "#SecurityPolicyAdvancedOptionsConfig\022p\n" - + "\022json_custom_config\030\271\331\2315 \001(\0132L.google.cloud.compute.v1.Secu" - + "rityPolicyAdvancedOptionsConfigJsonCustomConfigH\000\210\001\001\022\035\n" + + "\022json_custom_config\030\271\331\2315 \001(\0132L." + + "google.cloud.compute.v1.SecurityPolicyAd" + + "vancedOptionsConfigJsonCustomConfigH\000\210\001\001\022\035\n" + "\014json_parsing\030\331\204\332\206\001 \001(\tH\001\210\001\001\022\031\n" + "\tlog_level\030\311\275\204C \001(\tH\002\210\001\001\022#\n" + "\027user_ip_request_headers\030\262\357\342\310\001 \003(\t\"k\n" @@ -23106,8 +23139,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020_ddos_protection\"\203\002\n" + "\022SecurityPolicyList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" - + "\005items\030\300\317\367/ \003(" - + "\0132\'.google.cloud.compute.v1.SecurityPolicy\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132\'.google.cloud.compute.v1.SecurityPolicy\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" @@ -23125,22 +23158,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022SecurityPolicyRule\022\026\n" + "\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022[\n\r" - + "header_action\030\250\240\270\234\001" - + " \001(\0132;.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionH\002\210\001\001\022\024\n" + + "header_action\030\250\240\270\234\001 \001(\0132;.goo" + + "gle.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionH\002\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022I\n" - + "\005match\030\305\263\2671 \001(\01322.googl" - + "e.cloud.compute.v1.SecurityPolicyRuleMatcherH\004\210\001\001\022Y\n\r" - + "network_match\030\364\370\372\334\001 \001(\01329.g" - + "oogle.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherH\005\210\001\001\022k\n" - + "\030preconfigured_waf_config\030\343\237\2268 \001(\0132A.google.cloud.compute" - + ".v1.SecurityPolicyRulePreconfiguredWafConfigH\006\210\001\001\022\027\n" + + "\005match\030\305\263\2671" + + " \001(\01322.google.cloud.compute.v1.SecurityPolicyRuleMatcherH\004\210\001\001\022Y\n" + + "\r" + + "network_match\030\364\370\372\334\001 \001(\01329.google.cloud." + + "compute.v1.SecurityPolicyRuleNetworkMatcherH\005\210\001\001\022k\n" + + "\030preconfigured_waf_config\030\343\237\2268" + + " \001(\0132A.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigH\006\210\001\001\022\027\n" + "\007preview\030\310\307\243h \001(\010H\007\210\001\001\022\031\n" + "\010priority\030\244\363\241\324\001 \001(\005H\010\210\001\001\022_\n" - + "\022rate_limit_options\030\373\311\232 " - + " \001(\0132;.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsH" - + "\t\210\001\001\022\\\n" - + "\020redirect_options\030\273\222\356M \001(\0132:.google.clo" - + "ud.compute.v1.SecurityPolicyRuleRedirectOptionsH\n" + + "\022rate_limit_options\030\373\311\232 \001(\013" + + "2;.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsH\t\210\001\001\022\\\n" + + "\020redirect_options\030\273\222\356M" + + " \001(\0132:.google.cloud.compute.v1.SecurityPolicyRuleRedirectOptionsH\n" + "\210\001\001B\t\n" + "\007_actionB\016\n" + "\014_descriptionB\020\n" @@ -23154,20 +23187,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_rate_limit_optionsB\023\n" + "\021_redirect_options\"\225\001\n" + "\"SecurityPolicyRuleHttpHeaderAction\022o\n" - + "\027request_headers_to_adds\030\315\253\372) \003(\0132K.google.clo" - + "ud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\"\220\001\n" + + "\027request_headers_to_adds\030\315\253\372) \003(\0132K.google.cloud.compute.v" + + "1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\"\220\001\n" + "2SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\022\033\n" + "\013header_name\030\375\301\3074 \001(\tH\000\210\001\001\022\034\n" + "\014header_value\030\277\362\353` \001(\tH\001\210\001\001B\016\n" + "\014_header_nameB\017\n\r" + "_header_value\"\233\003\n" + "\031SecurityPolicyRuleMatcher\022P\n" - + "\006config\030\302\206\376y \001(\01328.google.cloud.comp" - + "ute.v1.SecurityPolicyRuleMatcherConfigH\000\210\001\001\0223\n" + + "\006config\030\302\206\376y" + + " \001(\01328.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigH\000\210\001\001\0223\n" + "\004expr\030\365\363\276\001" + " \001(\0132\035.google.cloud.compute.v1.ExprH\001\210\001\001\022\\\n" - + "\014expr_options\030\324\304\354\347\001 \001" - + "(\0132=.google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsH\002\210\001\001\022\037\n" + + "\014expr_options\030\324\304\354\347\001 \001(\0132=.google." + + "cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsH\002\210\001\001\022\037\n" + "\016versioned_expr\030\275\343\326\231\001 \001(\tH\003\210\001\001\"@\n\r" + "VersionedExpr\022\034\n" + "\030UNDEFINED_VERSIONED_EXPR\020\000\022\021\n\n" @@ -23179,9 +23212,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037SecurityPolicyRuleMatcherConfig\022\031\n\r" + "src_ip_ranges\030\323\200\207\316\001 \003(\t\"\257\001\n" + "$SecurityPolicyRuleMatcherExprOptions\022q\n" - + "\021recaptcha_options\030\306\366\307\271\001 \001(\0132" - + "M.google.cloud.compute.v1.SecurityPolicy" - + "RuleMatcherExprOptionsRecaptchaOptionsH\000\210\001\001B\024\n" + + "\021recaptcha_options\030\306\366\307\271\001 \001(\0132M.google.clo" + + "ud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsH\000\210\001\001B\024\n" + "\022_recaptcha_options\"~\n" + "4SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions\022!\n" + "\026action_token_site_keys\030\235\352\311\034 \003(\t\022#\n" @@ -23196,26 +23228,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tsrc_ports\030\367\273\236\324\001 \003(\t\022\033\n" + "\020src_region_codes\030\226\343\237/ \003(\t\022n\n" + "\023user_defined_fields\030\243\211\300\r" - + " \003(\0132N.google.cloud.compute.v1.SecurityPolicy" - + "RuleNetworkMatcherUserDefinedFieldMatch\"i\n" + + " \003(\0132N.google.clo" + + "ud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch\"i\n" + "5SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\021\n" + "\006values\030\242\272\226w \003(\tB\007\n" + "\005_name\"\215\001\n" + "(SecurityPolicyRulePreconfiguredWafConfig\022a\n\n" - + "exclusions\030\345\370\277c \003(\0132J.google.cloud.compute.v1" - + ".SecurityPolicyRulePreconfiguredWafConfigExclusion\"\202\005\n" + + "exclusions\030\345\370\277c \003(\0132J.google.cloud.compute.v1.SecurityPol" + + "icyRulePreconfiguredWafConfigExclusion\"\202\005\n" + "1SecurityPolicyRulePreconfiguredWafConfigExclusion\022|\n" - + "\032request_cookies_to_exclude\030\366\336\337J \003(\0132U.google.cloud.c" - + "ompute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022|\n" - + "\032request_headers_to_exclude\030\237\244\223\036 \003(\0132U.google.c" - + "loud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022\202\001\n" - + "\037request_query_params_to_exclude\030\210\236\272\242\001 \003" - + "(\0132U.google.cloud.compute.v1.SecurityPol" - + "icyRulePreconfiguredWafConfigExclusionFieldParams\022y\n" - + "\027request_uris_to_exclude\030\236\252\237+" - + " \003(\0132U.google.cloud.compute.v1.Security" - + "PolicyRulePreconfiguredWafConfigExclusionFieldParams\022\033\n" + + "\032request_cookies_to_exclude\030\366\336\337J \003(\0132U.google.cloud.compute.v1.Se" + + "curityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022|\n" + + "\032request_headers_to_exclude\030\237\244\223\036 \003(\0132U.google.cloud.compute" + + ".v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022\202\001\n" + + "\037request_query_params_to_exclude\030\210\236\272\242\001 \003(\0132U.google." + + "cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022y\n" + + "\027request_uris_to_exclude\030\236\252\237+ \003(\0132U.goog" + + "le.cloud.compute.v1.SecurityPolicyRulePr" + + "econfiguredWafConfigExclusionFieldParams\022\033\n" + "\017target_rule_ids\030\343\343\325\355\001 \003(\t\022 \n" + "\017target_rule_set\030\215\257\326\355\001 \001(\tH\000\210\001\001B\022\n" + "\020_target_rule_set\"\347\001\n" @@ -23233,20 +23264,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004_val\"\232\010\n" + "\"SecurityPolicyRuleRateLimitOptions\022 \n" + "\020ban_duration_sec\030\326\232\272\024 \001(\005H\000\210\001\001\022d\n\r" - + "ban_threshold\030\273\250\377\356\001 \001(\0132D.google.c" - + "loud.compute.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\001\210\001\001\022\037\n" + + "ban_threshold\030\273\250\377\356\001 \001(\0132D.google.cloud.compute" + + ".v1.SecurityPolicyRuleRateLimitOptionsThresholdH\001\210\001\001\022\037\n" + "\016conform_action\030\317\306\350\366\001 \001(\tH\002\210\001\001\022\037\n" + "\016enforce_on_key\030\374\235\326\306\001 \001(\tH\003\210\001\001\022p\n" - + "\026enforce_on_key_configs\030\256\276\225\020" - + " \003(\0132M.google.cloud.compute.v1.Security" - + "PolicyRuleRateLimitOptionsEnforceOnKeyConfig\022#\n" + + "\026enforce_on_key_configs\030\256\276\225\020 \003(\0132M.goog" + + "le.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig\022#\n" + "\023enforce_on_key_name\030\356\303\232? \001(\tH\004\210\001\001\022\035\n\r" + "exceed_action\030\241\312\332O \001(\tH\005\210\001\001\022d\n" - + "\027exceed_redirect_options\030\346\214\355\341\001 \001(\0132:.google.c" - + "loud.compute.v1.SecurityPolicyRuleRedirectOptionsH\006\210\001\001\022k\n" - + "\024rate_limit_threshold\030\210\277\317\226\001" - + " \001(\0132D.google.cloud.compute.v1.Secur" - + "ityPolicyRuleRateLimitOptionsThresholdH\007\210\001\001\"\364\001\n" + + "\027exceed_redirect_options\030\346\214\355\341\001 \001(\0132:.google.cloud.compute" + + ".v1.SecurityPolicyRuleRedirectOptionsH\006\210\001\001\022k\n" + + "\024rate_limit_threshold\030\210\277\317\226\001 \001(\0132D.g" + + "oogle.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\007\210\001\001\"\364\001\n" + "\014EnforceOnKey\022\034\n" + "\030UNDEFINED_ENFORCE_ON_KEY\020\000\022\t\n" + "\003ALL\020\201\373\003\022\023\n" @@ -23318,8 +23347,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_offsetB\007\n" + "\005_size\"\326\001\n" + "\020SecuritySettings\022O\n" - + "\025aws_v4_authentication\030\227\353\370\316\001" - + " \001(\0132\'.google.cloud.compute.v1.AWSV4SignatureH\000\210\001\001\022\"\n" + + "\025aws_v4_authentication\030\227\353\370\316\001 \001(\0132\'" + + ".google.cloud.compute.v1.AWSV4SignatureH\000\210\001\001\022\"\n" + "\021client_tls_policy\030\352\213\272\334\001 \001(\tH\001\210\001\001\022\035\n" + "\021subject_alt_names\030\337\263\257\235\001 \003(\tB\030\n" + "\026_aws_v4_authenticationB\024\n" @@ -23353,11 +23382,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006scopes\030\237\231\222O \003(\tB\010\n" + "\006_email\"\361\n\n" + "\021ServiceAttachment\022[\n" - + "\023connected_endpoints\030\310\227\270\"" - + " \003(\0132;.google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint\022&\n" + + "\023connected_endpoints\030\310\227\270\" \003(\0132;.goog" + + "le.cloud.compute.v1.ServiceAttachmentConnectedEndpoint\022&\n" + "\025connection_preference\030\334\371\244\210\001 \001(\tH\000\210\001\001\022a\n" - + "\025consumer_accept_lists\030\307\266\204\300\001 \003(\0132>.google.cloud.com" - + "pute.v1.ServiceAttachmentConsumerProjectLimit\022 \n" + + "\025consumer_accept_lists\030\307\266\204\300\001" + + " \003(\0132>.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit\022 \n" + "\025consumer_reject_lists\030\236\231\245a \003(\t\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\027\n" @@ -23366,8 +23395,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013fingerprint\030\344\321\363o \001(\tH\004\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022M\n" - + "\010metadata\030\257\366\265) \003(\01328.google.cloud.comp" - + "ute.v1.ServiceAttachment.MetadataEntry\022\024\n" + + "\010metadata\030\257\366\265)" + + " \003(\01328.google.cloud.compute.v1.ServiceAttachment.MetadataEntry\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\027\n" + "\013nat_subnets\030\230\217\333\262\001 \003(\t\022(\n" + "\030producer_forwarding_rule\030\321\250\234v \001(\tH\010\210\001\001\022,\n" @@ -23406,8 +23435,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017_target_service\"\324\003\n" + "\037ServiceAttachmentAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022U\n" - + "\005items\030\300\317\367/ \003(\0132C.google.cloud.compu" - + "te.v1.ServiceAttachmentAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132C.google.cloud.compute.v1.ServiceAttachmentAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -23438,7 +23467,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017NEEDS_ATTENTION\020\274\213\242\244\001\022\016\n" + "\007PENDING\020\367\252\360\020\022\017\n" + "\010REJECTED\020\376\210\204S\022\031\n" - + "\022STATUS_UNSPECIFIED\020\312\314\213\024B\023\n" + + "\022S", + "TATUS_UNSPECIFIED\020\312\314\213\024B\023\n" + "\021_consumer_networkB\013\n" + "\t_endpointB\036\n" + "\034_propagated_connection_countB\024\n" @@ -23454,8 +23484,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022_project_id_or_num\"\263\002\n" + "\025ServiceAttachmentList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022<\n" - + "\005items\030\300\317\367/ \003(\0132*.go", - "ogle.cloud.compute.v1.ServiceAttachment\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132*.google.cloud.compute.v1.ServiceAttachment\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -23476,8 +23506,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\212\001\n" - + "7target_ssl_proxies_set_backend_service_request_resource\030\244\351\250B \001(\0132" - + "A.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequestB\003\340A\002\022!\n" + + "7target_ssl_proxies_set_backend_service_request_resource\030\244\351\250B" + + " \001(\0132A.google.clo" + + "ud.compute.v1.TargetSslProxiesSetBackendServiceRequestB\003\340A\002\022!\n" + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\247\002\n" + "&SetBackendServiceTargetTcpProxyRequest\022!\n" @@ -23485,8 +23516,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n" + "7target_tcp_proxies_set_backend_service_request_resource\030\357\321\302\202\001" - + " \001(\0132A.google.cloud.compute" - + ".v1.TargetTcpProxiesSetBackendServiceRequestB\003\340A\002\022!\n" + + " \001(\0132A.google.cloud.compute.v1.TargetTcpProxiesSetBackendServiceRequestB\003\340A\002\022!\n" + "\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\261\002\n" + "\032SetBackupTargetPoolRequest\022\036\n" @@ -23496,8 +23526,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n" + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022T\n" - + "\031target_reference_resource\030\360\267\335\371\001" - + " \001(\0132(.google.cloud.compute.v1.TargetReferenceB\003\340A\002B\021\n" + + "\031target_reference_resource\030\360\267\335\371\001 \001(\0132(.goo" + + "gle.cloud.compute.v1.TargetReferenceB\003\340A\002B\021\n" + "\017_failover_ratioB\r\n" + "\013_request_id\"\256\002\n" + "(SetCertificateMapTargetHttpsProxyRequest\022!\n" @@ -23505,8 +23535,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\217\001\n" + "9target_https_proxies_set_certificate_map_request_resource\030\273\266\376\336\001" - + " \001(\0132C.google.clo" - + "ud.compute.v1.TargetHttpsProxiesSetCertificateMapRequestB\003\340A\002\022\"\n" + + " \001(\0132C.google.cloud.compute.v" + + "1.TargetHttpsProxiesSetCertificateMapRequestB\003\340A\002\022\"\n" + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\247\002\n" + "&SetCertificateMapTargetSslProxyRequest\022!\n" @@ -23514,31 +23544,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n" + "7target_ssl_proxies_set_certificate_map_request_resource\030\272\226\203\244\001" - + " \001(\0132A.google.cloud.compute.v1.Targe" - + "tSslProxiesSetCertificateMapRequestB\003\340A\002\022!\n" + + " \001(\0132A.g" + + "oogle.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequestB\003\340A\002\022!\n" + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\352\001\n" + "\037SetCloudArmorTierProjectRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022y\n" + ".projects_set_cloud_armor_tier_request_resource\030\317\373\336$" - + " \001(\01329.google.cloud.comp" - + "ute.v1.ProjectsSetCloudArmorTierRequestB\003\340A\002\022\032\n\n" + + " \001(\01329.google.cloud.compute.v1.ProjectsSetCloudArmorTierRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\214\003\n" + "*SetCommonInstanceMetadataOperationMetadata\022$\n" + "\023client_operation_id\030\347\215\336\215\001 \001(\tH\000\210\001\001\022\203\001\n" - + "\027per_location_operations\030\224\321\202\303\001" - + " \003(\0132^.google.cloud.compute.v1.Set" - + "CommonInstanceMetadataOperationMetadata.PerLocationOperationsEntry\032\231\001\n" + + "\027per_location_operations\030\224\321\202\303\001 \003(\0132^" + + ".google.cloud.compute.v1.SetCommonInstan" + + "ceMetadataOperationMetadata.PerLocationOperationsEntry\032\231\001\n" + "\032PerLocationOperationsEntry\022\013\n" + "\003key\030\001 \001(\t\022j\n" - + "\005value\030\002 \001(\0132[.google.cloud.compute.v1.SetCommo" - + "nInstanceMetadataOperationMetadataPerLocationOperationInfo:\0028\001B\026\n" + + "\005value\030\002 \001(\0132[.google.cloud.compute.v1.SetCommonInstanceMet" + + "adataOperationMetadataPerLocationOperationInfo:\0028\001B\026\n" + "\024_client_operation_id\"\262\002\n" + "BSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo\0226\n" - + "\005error\030\210\244\223." - + " \001(\0132\037.google.cloud.compute.v1.StatusH\000\210\001\001\022\025\n" + + "\005error\030\210\244\223. " + + "\001(\0132\037.google.cloud.compute.v1.StatusH\000\210\001\001\022\025\n" + "\005state\030\221\211\2534 \001(\tH\001\210\001\001\"\210\001\n" + "\005State\022\023\n" + "\017UNDEFINED_STATE\020\000\022\020\n" @@ -23560,8 +23589,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "#SetDefaultNetworkTierProjectRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\201\001\n" - + "2projects_set_default_network_tier_request_resource\030\212\300\243<" - + " \001(\0132=.google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequestB\003\340A\002\022\032\n\n" + + "2projects_set_default_network_tier_request_resource\030\212\300\243< \001(\0132=.go" + + "ogle.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\351\001\n" + "$SetDeletionProtectionInstanceRequest\022$\n" @@ -23589,21 +23618,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a" - + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + + "\"security_policy_reference_resource\030\360\264\253a \001(\0132" + + "0.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + "\013_request_id\"\202\002\n" + "*SetEdgeSecurityPolicyBackendServiceRequest\022 \n" + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n" - + "\n" + + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.googl" - + "e.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + + "\"security_policy_reference_resource\030\360\264\253a" + + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + "\013_request_id\"\273\001\n" + " SetIamPolicyBackendBucketRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.clo" - + "ud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\274\001\n" + "!SetIamPolicyBackendServiceRequest\022d\n" @@ -23615,43 +23643,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.google." - + "cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n" + + " zone_set_policy_request_resource\030\273\270\230\266\001" + + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n" + "!SetIamPolicyFirewallPolicyRequest\022|\n" + "/global_organization_set_policy_request_resource\030\336\224\314T" - + " \001(\0132;.google.cloud.comp" - + "ute.v1.GlobalOrganizationSetPolicyRequestB\003\340A\002\022\030\n" + + " \001(\0132;.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n" + "\030SetIamPolicyImageRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.c" - + "loud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\310\001\n" + "\033SetIamPolicyInstanceRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001" - + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\276\001\n" + + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.goog" + + "le.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\276\001\n" + "#SetIamPolicyInstanceTemplateRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.cloud" - + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\317\001\n" + "\"SetIamPolicyInstantSnapshotRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001" - + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\311\001\n" + + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.g" + + "oogle.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\311\001\n" + ".SetIamPolicyInterconnectAttachmentGroupRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132" - + "/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.clo" + + "ud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\277\001\n" + "$SetIamPolicyInterconnectGroupRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.goog" - + "le.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\265\001\n" + "\032SetIamPolicyLicenseRequest\022d\n" @@ -23660,15 +23687,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\272\001\n" + "\037SetIamPolicyMachineImageRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001" - + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.goo" + + "gle.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n" + "$SetIamPolicyNetworkAttachmentRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001" - + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/." + + "google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\303\001\n" + "(SetIamPolicyNetworkFirewallPolicyRequest\022d\n" + "\"global_set_policy_request_resource\030\262\347\333\240\001" @@ -23679,19 +23706,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132" - + "-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\322\001\n" + + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.google.clo" + + "ud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\322\001\n" + "\037SetIamPolicyNodeTemplateRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.cloud." - + "compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001" + + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\332\001\n" + "\'SetIamPolicyRegionBackendServiceRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001" - + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.goog" + + "le.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\320\001\n" + "\035SetIamPolicyRegionDiskRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" @@ -23702,14 +23729,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(SetIamPolicyRegionInstantSnapshotRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/" - + ".google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clou" + + "d.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\341\001\n" + ".SetIamPolicyRegionNetworkFirewallPolicyRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clou" - + "d.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001" + + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\313\001\n" + "\036SetIamPolicyReservationRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" @@ -23720,37 +23747,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!SetIamPolicyResourcePolicyRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001" - + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.go" + + "ogle.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n" + "$SetIamPolicyServiceAttachmentRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.cloud" - + ".compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001" + + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\266\001\n" + "\033SetIamPolicySnapshotRequest\022d\n" - + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.cloud" - + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + + "\"global_set_policy_request_resource\030\262\347\333\240\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\313\001\n" + "\036SetIamPolicyStoragePoolRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001" - + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\320\001\n" + + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.googl" + + "e.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\320\001\n" + "\035SetIamPolicySubnetworkRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clo" - + "ud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + + "\"region_set_policy_request_resource\030\203\307\353\203\001" + + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\336\002\n" + ".SetInstanceTemplateInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\230\001\n" + ">instance_group_managers_set_instance_template_request_resource\030\305\331\326\004" - + " \001(\0132H.goo" - + "gle.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequestB\003\340A\002\022!\n" + + " \001(\0132H.google.cloud.co" + + "mpute.v1.InstanceGroupManagersSetInstanceTemplateRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -23763,16 +23790,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\224\001\n" + ".google.cloud.compute.v1.T" - + "argetSslProxiesSetProxyHeaderRequestB\003\340A\002\022!\n" + + "4target_ssl_proxies_set_proxy_header_request_resource\030\256\311\361a \001(\013" + + "2>.google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequestB\003\340A\002\022!\n" + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\235\002\n" + "#SetProxyHeaderTargetTcpProxyRequest\022!\n" @@ -24036,8 +24061,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n" + "4target_tcp_proxies_set_proxy_header_request_resource\030\303\230\361h" - + " \001(\0132>.google.cloud.comp" - + "ute.v1.TargetTcpProxiesSetProxyHeaderRequestB\003\340A\002\022!\n" + + " \001(\0132>.google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequestB\003\340A\002\022!\n" + "\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\247\002\n" + "&SetQuicOverrideTargetHttpsProxyRequest\022!\n" @@ -24045,8 +24069,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\212\001\n" + "7target_https_proxies_set_quic_override_request_resource\030\342\365\343\"" - + " \001(\0132A.goo" - + "gle.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequestB\003\340A\002\022\"\n" + + " \001(\0132A.google.cloud.co" + + "mpute.v1.TargetHttpsProxiesSetQuicOverrideRequestB\003\340A\002\022\"\n" + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\356\001\n" + "\034SetSchedulingInstanceRequest\022\030\n" @@ -24064,17 +24088,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.google.cloud" - + ".compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + + "\"security_policy_reference_resource\030\360\264\253a" + + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + "\013_request_id\"\243\002\n" + " SetSecurityPolicyInstanceRequest\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022z\n" + ".instances_set_security_policy_request_resource\030\212\321\272v" - + " \001(\0132:.google.cloud.compute" - + ".v1.InstancesSetSecurityPolicyRequestB\003\340A\002\022!\n" + + " \001(\0132:.google.cloud.compute.v1.InstancesSetSecurityPolicyRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n" - + "\n" + + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" @@ -24085,15 +24107,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a" - + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + + "\"security_policy_reference_resource\030\360\264\253a " + + "\001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n" + "\013_request_id\"\233\002\n" + "&SetSecurityPolicyTargetInstanceRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a \001(\01320" - + ".google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022 \n" + + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.google.clou" + + "d.compute.v1.SecurityPolicyReferenceB\003\340A\002\022 \n" + "\017target_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" @@ -24103,15 +24125,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n" - + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.goog" - + "le.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022\033\n" + + "\"security_policy_reference_resource\030\360\264\253a" + + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022\033\n" + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\244\002\n" + " SetServiceAccountInstanceRequest\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022{\n" - + ".instances_set_service_account_request_resource\030\270\236\262\203\001" - + " \001(\0132:.google.cloud.compute.v" - + "1.InstancesSetServiceAccountRequestB\003\340A\002\022!\n" + + ".instances_set_service_account_request_resource\030\270\236\262\203\001 " + + "\001(\0132:.google.cloud.compute.v1.InstancesSetServiceAccountRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24124,8 +24145,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022v\n" + "+shielded_instance_integrity_policy_resource\030\266\334\215\303\001" - + " \001(\01328.google.clo" - + "ud.compute.v1.ShieldedInstanceIntegrityPolicyB\003\340A\002\022\033\n" + + " \001(\01328.google.cloud.compute.v" + + "1.ShieldedInstanceIntegrityPolicyB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\345\002\n" @@ -24133,10 +24154,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\236\001\n" - + "Aregion_target_https_p" - + "roxies_set_ssl_certificates_request_resource\030\207\204\246\272\001" - + " \001(\0132J.google.cloud.compute.v1" - + ".RegionTargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\032\n\n" + + "Aregion_target_https_proxies_set_ssl_certificates_request_resource\030\207\204\246\272\001" + + " \001(\0132J.google.cloud.compute.v1.RegionTarge" + + "tHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n" + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\260\002\n" @@ -24145,8 +24165,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\220\001\n" + ":target_https_proxies_set_ssl_certificates_request_resource\030\334\253\262j" - + " \001(\0132D.go" - + "ogle.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\"\n" + + " \001(\0132D.google.cloud.c" + + "ompute.v1.TargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\"\n" + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\251\002\n" + "\'SetSslCertificatesTargetSslProxyRequest\022!\n" @@ -24154,24 +24174,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\214\001\n" + "8target_ssl_proxies_set_ssl_certificates_request_resource\030\275\313\305F" - + " \001(\0132B.google.cloud.comput" - + "e.v1.TargetSslProxiesSetSslCertificatesRequestB\003\340A\002\022!\n" + + " \001(\0132B.google.cloud.compute.v1.TargetS" + + "slProxiesSetSslCertificatesRequestB\003\340A\002\022!\n" + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\363\001\n" + "#SetSslPolicyTargetHttpsProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Z\n" - + "\035ssl_policy_reference_resource\030\274\364\237p" - + " \001(\0132+.google.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022\"\n" + + "\035ssl_policy_reference_resource\030\274\364\237p \001(\0132+.goo" + + "gle.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022\"\n" + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\360\001\n" + "!SetSslPolicyTargetSslProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Z\n" - + "\035ssl_policy_reference_resource\030\274\364\237p" - + " \001(\0132+.google.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022!\n" + + "\035ssl_policy_reference_resource\030\274\364\237p \001(\0132+" + + ".google.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022!\n" + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n" + "\013_request_id\"\334\001\n" + "\026SetTagsInstanceRequest\022\030\n" @@ -24182,8 +24202,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tags_resource\030\364\232\205\236\001" + " \001(\0132\035.google.cloud.compute.v1.TagsB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" - + "\340A\002\362G\004zoneB\r" - + "\n" + + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\207\002\n" + "\036SetTargetForwardingRuleRequest\022 \n" + "\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022!\n" @@ -24205,8 +24224,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")SetTargetPoolsInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n" + "9instance_group_managers_set_target_pools_request_resource\030\210\206\210\206\001" - + " \001(\0132C.g" - + "oogle.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022!\n" + + " \001(\0132C.google.cloud." + + "compute.v1.InstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24218,9 +24237,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n" - + "@region_instance_group_managers_set_target_pools_request_resource\030\375\312\305%" - + " \001(\0132I.google.cloud.compute.v" - + "1.RegionInstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022\032\n\n" + + "@region_instance_group_managers_set_target_pools_request_resource\030\375\312\305% " + + "\001(\0132I.google.cloud.compute.v1.RegionInst" + + "anceGroupManagersSetTargetPoolsRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\220\002\n" + "%SetUrlMapRegionTargetHttpProxyRequest\022!\n" @@ -24230,8 +24249,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n" + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n" + "\032url_map_reference_resource\030\225\346\216\276\001" - + " \001(\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r" - + "\n" + + " \001(\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n" + "\013_request_id\"\222\002\n" + "&SetUrlMapRegionTargetHttpsProxyRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -24262,8 +24280,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\\\n" - + "\036usage_export_location_resource\030\353\314\324\t \001(\0132,.google.c" - + "loud.compute.v1.UsageExportLocationB\003\340A\002B\r\n" + + "\036usage_export_location_resource\030\353\314\324\t" + + " \001(\0132,.google.cloud.compute.v1.UsageExportLocationB\003\340A\002B\r\n" + "\013_request_id\"\372\002\n\r" + "ShareSettings\022N\n" + "\013project_map\030\266\326\377?" @@ -24271,8 +24289,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "share_type\030\232\227\270\253\001 \001(\tH\000\210\001\001\032f\n" + "\017ProjectMapEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.google.c" - + "loud.compute.v1.ShareSettingsProjectConfig:\0028\001\"\204\001\n" + + "\005value\030\002" + + " \001(\01323.google.cloud.compute.v1.ShareSettingsProjectConfig:\0028\001\"\204\001\n" + "\tShareType\022\030\n" + "\024UNDEFINED_SHARE_TYPE\020\000\022\014\n" + "\005LOCAL\020\313\316\317\"\022\024\n" @@ -24292,11 +24310,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_enable_secure_bootB\016\n" + "\014_enable_vtpm\"\213\002\n" + "\030ShieldedInstanceIdentity\022W\n" - + "\016encryption_key\030\243\307\351\350\001" - + " \001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\000\210\001\001\022\024\n" + + "\016encryption_key\030\243\307\351\350\001 " + + "\001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\000\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022T\n" - + "\013signing_key\030\245\220\205\231\001 " - + "\001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\002\210\001\001B\021\n" + + "\013signing_key\030\245\220\205\231\001 \001(\01326.google" + + ".cloud.compute.v1.ShieldedInstanceIdentityEntryH\002\210\001\001B\021\n" + "\017_encryption_keyB\007\n" + "\005_kindB\016\n" + "\014_signing_key\"i\n" @@ -24327,8 +24345,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(SimulateMaintenanceEventNodeGroupRequest\022\033\n\n" + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\214\001\n" + "7node_groups_simulate_maintenance_event_request_resource\030\334\371\313\247\001" - + " \001(\0132B.google.cloud.comput" - + "e.v1.NodeGroupsSimulateMaintenanceEventRequestB\003\340A\002\022!\n" + + " \001(\0132B.google.cloud.compute.v1.NodeGro" + + "upsSimulateMaintenanceEventRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24346,8 +24364,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016download_bytes\030\364\313\271\317\001 \001(\003H\007\210\001\001\022+\n" + "\033enable_confidential_compute\030\274\353\3310 \001(\010H\010\210\001\001\022\034\n" + "\013guest_flush\030\335\223\354\267\001 \001(\010H\t\210\001\001\022E\n" - + "\021guest_os_features\030\321\340\347%" - + " \003(\0132\'.google.cloud.compute.v1.GuestOsFeature\022\020\n" + + "\021guest_os_features\030\321\340\347% \003(" + + "\0132\'.google.cloud.compute.v1.GuestOsFeature\022\020\n" + "\002id\030\233\032 \001(\004H\n" + "\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022!\n" @@ -24362,8 +24380,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\017\210\001\001\022\036\n\r" + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\020\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\021\210\001\001\022W\n" - + "\027snapshot_encryption_key\030\376\366\324\024 \001(\0132..google.clou" - + "d.compute.v1.CustomerEncryptionKeyH\022\210\001\001\022\035\n\r" + + "\027snapshot_encryption_key\030\376\366\324\024" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\022\210\001\001\022\035\n\r" + "snapshot_type\030\325\331\245; \001(\tH\023\210\001\001\022\034\n" + "\013source_disk\030\301\356\264\327\001 \001(\tH\024\210\001\001\022[\n" + "\032source_disk_encryption_key\030\341\240\270\375\001" @@ -24372,8 +24390,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tH\026\210\001\001\022\037\n" + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\027\210\001\001\022\'\n" + "\027source_instant_snapshot\030\206\204\303h \001(\tH\030\210\001\001\022g\n" - + "&source_instant_snapshot_encryption_key\030\374\205\224\320\001" - + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\022+\n" + + "&source_instant_snapshot_encryption_key\030\374\205\224\320\001 \001(" + + "\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\022+\n" + "\032source_instant_snapshot_id\030\364\323\220\211\001 \001(\tH\032\210\001\001\022/\n" + "\037source_snapshot_schedule_policy\030\203\266\265p \001(\tH\033\210\001\001\0222\n" + "\"source_snapshot_schedule_policy_id\030\327\247\316! \001(" @@ -24448,21 +24466,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n" - + "\n" + + "_self_linkB\n\n" + "\010_warning\"\214\001\n" + "\020SnapshotSettings\022c\n" - + "\020storage_location\030\371\321\340\333\001 \001(\0132@.google.cloud.com" - + "pute.v1.SnapshotSettingsStorageLocationSettingsH\000\210\001\001B\023\n" + + "\020storage_location\030\371\321\340\333\001 \001(\0132@.google.cloud.compute.v1.Snap" + + "shotSettingsStorageLocationSettingsH\000\210\001\001B\023\n" + "\021_storage_location\"\336\003\n" + "\'SnapshotSettingsStorageLocationSettings\022f\n" - + "\tlocations\030\336\256\221\305\001 \003(\0132O.google.cloud.comp" - + "ute.v1.SnapshotSettingsStorageLocationSettings.LocationsEntry\022\026\n" + + "\tlocations\030\336\256\221\305\001 \003(\0132O.google.cloud.compute.v1.Snaps" + + "hotSettingsStorageLocationSettings.LocationsEntry\022\026\n" + "\006policy\030\262\312\266+ \001(\tH\000\210\001\001\032\213\001\n" + "\016LocationsEntry\022\013\n" + "\003key\030\001 \001(\t\022h\n" - + "\005value\030\002 \001(\0132Y.google.cloud.compute.v1.S" - + "napshotSettingsStorageLocationSettingsStorageLocationPreference:\0028\001\"\231\001\n" + + "\005value\030\002 \001(\0132Y.google.cloud.compute.v1.SnapshotSetti" + + "ngsStorageLocationSettingsStorageLocationPreference:\0028\001\"\231\001\n" + "\006Policy\022\024\n" + "\020UNDEFINED_POLICY\020\000\022\024\n" + "\014LOCAL_REGION\020\350\354\265\300\001\022\033\n" @@ -24474,31 +24491,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n" + "\005_name\"\265\001\n" + "\027SourceDiskEncryptionKey\022T\n" - + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132..goo" - + "gle.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\034\n" + + "\023disk_encryption_key\030\205\355\304\201\001" + + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\034\n" + "\013source_disk\030\301\356\264\327\001 \001(\tH\001\210\001\001B\026\n" + "\024_disk_encryption_keyB\016\n" + "\014_source_disk\"a\n" + "\024SourceInstanceParams\022I\n" - + "\014disk_configs\030\317\331\252p" - + " \003(\01320.google.cloud.compute.v1.DiskInstantiationConfig\"\361\010\n" + + "\014disk_configs\030\317\331\252p \003(\01320.goo" + + "gle.cloud.compute.v1.DiskInstantiationConfig\"\361\010\n" + "\030SourceInstanceProperties\022\037\n" + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\000\210\001\001\022$\n" + "\023deletion_protection\030\352\377\262\332\001 \001(\010H\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022<\n" + "\005disks\030\366\314\312-" + " \003(\0132*.google.cloud.compute.v1.SavedAttachedDisk\022J\n" - + "\022guest_accelerators\030\357\314\207\335\001 \003(\013" - + "2*.google.cloud.compute.v1.AcceleratorConfig\022*\n" + + "\022guest_accelerators\030\357\314\207\335\001" + + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022*\n" + "\032key_revocation_action_type\030\342\334\300p \001(\tH\003\210\001\001\022Q\n" - + "\006labels\030\377\277\301\356\001 \003(\0132=.google.cl" - + "oud.compute.v1.SourceInstanceProperties.LabelsEntry\022\034\n" + + "\006labels\030\377\277\301\356\001 \003(\0132=.google.cloud.compute." + + "v1.SourceInstanceProperties.LabelsEntry\022\034\n" + "\014machine_type\030\262\260\312l \001(\tH\004\210\001\001\022;\n" + "\010metadata\030\257\366\265)" + " \001(\0132!.google.cloud.compute.v1.MetadataH\005\210\001\001\022 \n" + "\020min_cpu_platform\030\367\233\352s \001(\tH\006\210\001\001\022H\n" - + "\022network_interfaces\030\213\332\222\031" - + " \003(\0132).google.cloud.compute.v1.NetworkInterface\022@\n\n" + + "\022network_interfaces\030\213\332\222\031 \003(\0132).go" + + "ogle.cloud.compute.v1.NetworkInterface\022@\n\n" + "scheduling\030\224\313\261\270\001" + " \001(\0132#.google.cloud.compute.v1.SchedulingH\007\210\001\001\022E\n" + "\020service_accounts\030\260\304\253\204\001" @@ -24508,7 +24525,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\215\001\n" - + "\027KeyRevocationActionType\022(\n" + + "\027", + "KeyRevocationActionType\022(\n" + "$UNDEFINED_KEY_REVOCATION_ACTION_TYPE\020\000\022.\n" + "&KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED\020\332\221\336\336\001\022\013\n" + "\004NONE\020\270\316\222\001\022\013\n" @@ -24524,21 +24542,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_tags\"\240\006\n" + "\016SslCertificate\022\034\n" + "\013certificate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\"\n" - + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001", - "\001\022\034\n" + + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\034\n" + "\013expire_time\030\355\323\221\322\001 \001(\tH\003\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022V\n" - + "\007managed\030\237\237\244\216\001 \001" - + "(\0132<.google.cloud.compute.v1.SslCertificateManagedSslCertificateH\006\210\001\001\022\024\n" + + "\007managed\030\237\237\244\216\001 \001(\0132<.google." + + "cloud.compute.v1.SslCertificateManagedSslCertificateH\006\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\034\n" + "\013private_key\030\243\363\245\254\001 \001(\tH\010\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\t\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\n" + "\210\001\001\022_\n" - + "\014self_managed\030\254\363\201\235\001 \001(\0132" - + "@.google.cloud.compute.v1.SslCertificateSelfManagedSslCertificateH\013\210\001\001\022%\n" + + "\014self_managed\030\254\363\201\235\001 \001(\0132@.google.clo" + + "ud.compute.v1.SslCertificateSelfManagedSslCertificateH\013\210\001\001\022%\n" + "\031subject_alternative_names\030\343\357\223\374\001 \003(\t\022\024\n" + "\004type\030\272\236\332\001 \001(\tH\014\210\001\001\"[\n" + "\004Type\022\022\n" @@ -24561,8 +24578,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_type\"\313\003\n" + "\034SslCertificateAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n" - + "\005items\030\300\317\367/ \003(\0132@.google.cl" - + "oud.compute.v1.SslCertificateAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132@.google.cloud.compute." + + "v1.SslCertificateAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -24571,8 +24588,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022A\n" - + "\005value\030\002 \001(\01322.google.cloud.c" - + "ompute.v1.SslCertificatesScopedList:\0028\001B\005\n" + + "\005value\030\002" + + " \001(\01322.google.cloud.compute.v1.SslCertificatesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -24580,8 +24597,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\255\002\n" + "\022SslCertificateList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" - + "\005items\030\300\317\367/ \003(\013" - + "2\'.google.cloud.compute.v1.SslCertificate\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132\'.google.cloud.compute.v1.SslCertificate\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -24593,8 +24610,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\320\003\n" + "#SslCertificateManagedSslCertificate\022i\n\r" - + "domain_status\030\315\247\347\253\001 \003(\0132N.googl" - + "e.cloud.compute.v1.SslCertificateManagedSslCertificate.DomainStatusEntry\022\022\n" + + "domain_status\030\315\247\347\253\001 \003(\0132N.google.cloud.comp" + + "ute.v1.SslCertificateManagedSslCertificate.DomainStatusEntry\022\022\n" + "\007domains\030\257\210\233l \003(\t\022\026\n" + "\006status\030\362\237\267V \001(\tH\000\210\001\001\0323\n" + "\021DomainStatusEntry\022\013\n" @@ -24623,8 +24640,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031SslPoliciesAggregatedList\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022O\n" - + "\005items\030\300\317\367/ \003(\0132=.google.cl" - + "oud.compute.v1.SslPoliciesAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132=.google.cloud.compute." + + "v1.SslPoliciesAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -24638,8 +24655,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_etagB\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" - + "\020_next_page_tokenB\014\n" - + "\n" + + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"\245\002\n" + "\017SslPoliciesList\022\020\n" @@ -24661,7 +24677,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014ssl_policies\030\243\344\215d" + " \003(\0132\".google.cloud.compute.v1.SslPolicy\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n" + + "\n" + "\010_warning\"\331\005\n" + "\tSslPolicy\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\032\n" @@ -24705,8 +24722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " StartAsyncReplicationDiskRequest\022\024\n" + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022{\n" + ".disks_start_async_replication_request_resource\030\332\236\300\340\001" - + " \001(\0132:.google.cloud.compu" - + "te.v1.DisksStartAsyncReplicationRequestB\003\340A\002\022!\n" + + " \001(\0132:.google.cloud.compute.v1.DisksStartAsyncReplicationRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24719,8 +24735,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\210\001\n" + "5region_disks_start_async_replication_request_resource\030\205\310\226\342\001" - + " \001(\0132@.googl" - + "e.cloud.compute.v1.RegionDisksStartAsyncReplicationRequestB\003\340A\002\022\032\n\n" + + " \001(\0132@.google.cloud.comp" + + "ute.v1.RegionDisksStartAsyncReplicationRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\233\001\n" + "\024StartInstanceRequest\022\030\n" @@ -24734,10 +24750,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")StartInstancesInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\215\001\n" + "8instance_group_managers_start_instances_request_resource\030\253\245\277|" - + " \001(\0132C.google.cloud.comp" - + "ute.v1.InstanceGroupManagersStartInstancesRequestB\003\340A\002\022!\n" + + " \001(\0132C.google.cloud.compute.v1.Insta" + + "nceGroupManagersStartInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\n" + + "\340A\002\362G\007project\022\032\n" + + "\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" @@ -24747,16 +24764,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n" - + "?region_instance_group_managers_start_instances_request_resource\030\226\233\377\354\001" - + " \001(\0132I.google.cloud.compute.v1.RegionInstance" - + "GroupManagersStartInstancesRequestB\003\340A\002\022\032\n\n" + + "?region" + + "_instance_group_managers_start_instances_request_resource\030\226\233\377\354\001" + + " \001(\0132I.google.clo" + + "ud.compute.v1.RegionInstanceGroupManagersStartInstancesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\265\002\n" + "%StartWithEncryptionKeyInstanceRequest\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\206\001\n" + "4instances_start_with_encryption_key_request_resource\030\377\376\317\322\001" - + " \001(\0132?.google.cloud.compute" - + ".v1.InstancesStartWithEncryptionKeyRequestB\003\340A\002\022!\n" + + " \001(\0132?.google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24764,29 +24781,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"|\n" + "\016StatefulPolicy\022V\n" - + "\017preserved_state\030\252\342\240\001 \001(\013" - + "25.google.cloud.compute.v1.StatefulPolicyPreservedStateH\000\210\001\001B\022\n" + + "\017preserved_state\030\252\342\240\001 \001(\01325.google.cl" + + "oud.compute.v1.StatefulPolicyPreservedStateH\000\210\001\001B\022\n" + "\020_preserved_state\"\216\005\n" + "\034StatefulPolicyPreservedState\022R\n" - + "\005disks\030\366\314\312-" - + " \003(\0132@.google.cloud.compute.v1.StatefulPolicyPreservedState.DisksEntry\022a\n" - + "\r" - + "external_i_ps\030\215\323\200\376\001 \003(\0132F.google.cloud." - + "compute.v1.StatefulPolicyPreservedState.ExternalIPsEntry\022`\n\r" - + "internal_i_ps\030\333\233\357f \003" - + "(\0132F.google.cloud.compute.v1.StatefulPolicyPreservedState.InternalIPsEntry\032m\n\n" + + "\005disks\030\366\314\312- \003(\0132" + + "@.google.cloud.compute.v1.StatefulPolicyPreservedState.DisksEntry\022a\n\r" + + "external_i_ps\030\215\323\200\376\001 \003(\0132F.google.cloud.compute.v1.S" + + "tatefulPolicyPreservedState.ExternalIPsEntry\022`\n\r" + + "internal_i_ps\030\333\233\357f \003(\0132F.google." + + "cloud.compute.v1.StatefulPolicyPreservedState.InternalIPsEntry\032m\n\n" + "DisksEntry\022\013\n" + "\003key\030\001 \001(\t\022N\n" - + "\005value\030\002 \001(\0132?.g" - + "oogle.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice:\0028\001\032r\n" + + "\005value\030\002 \001(\0132?.google.cloud." + + "compute.v1.StatefulPolicyPreservedStateDiskDevice:\0028\001\032r\n" + "\020ExternalIPsEntry\022\013\n" + "\003key\030\001 \001(\t\022M\n" - + "\005value\030\002 \001(\0132>.goog" - + "le.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\032r\n" + + "\005value\030\002 \001(\0132>.google.cloud.com" + + "pute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\032r\n" + "\020InternalIPsEntry\022\013\n" + "\003key\030\001 \001(\t\022M\n" - + "\005value\030\002 \001(\0132>.google.c" - + "loud.compute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\"\264\001\n" + + "\005value\030\002 \001(\0132>.google.cloud.compute" + + ".v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\"\264\001\n" + "&StatefulPolicyPreservedStateDiskDevice\022\034\n" + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\"\\\n\n" + "AutoDelete\022\031\n" @@ -24810,8 +24826,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037StopAsyncReplicationDiskRequest\022\024\n" + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n" - + "\n" + + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" @@ -24825,8 +24840,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\232\002\n" + "$StopGroupAsyncReplicationDiskRequest\022\206\001\n" + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001" - + " \001(\0132?.googl" - + "e.cloud.compute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n" + + " \001(\0132?.google.cloud.comp" + + "ute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -24834,8 +24849,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\244\002\n" + "*StopGroupAsyncReplicationRegionDiskRequest\022\206\001\n" - + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001 " - + "\001(\0132?.google.cloud.compute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n" + + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001" + + " \001(\0132?.google" + + ".cloud.compute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" @@ -24854,24 +24870,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(StopInstancesInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\213\001\n" + "7instance_group_managers_stop_instances_request_resource\030\215\245\364\021" - + " \001(\0132B.goog" - + "le.cloud.compute.v1.InstanceGroupManagersStopInstancesRequestB\003\340A\002\022!\n" + + " \001(\0132B.google.cloud.com" + + "pute.v1.InstanceGroupManagersStopInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" - + "\340A\002\362G\004zoneB\r" - + "\n" + + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\343\002\n" + ".StopInstancesRegionInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\231\001\n" - + ">region_instance_group_m" - + "anagers_stop_instances_request_resource\030\302\234\362\200\001" - + " \001(\0132H.google.cloud.compute.v1.Regi" - + "onInstanceGroupManagersStopInstancesRequestB\003\340A\002\022\032\n\n" + + ">region_instance_group_managers_stop_instances_request_resource\030\302\234\362\200\001" + + " \001(\0132H." + + "google.cloud.compute.v1.RegionInstanceGroupManagersStopInstancesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\205\013\n" + "\013StoragePool\022*\n" @@ -24881,8 +24895,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\005\210\001\001\022D\n" - + "\006labels\030\377\277\301\356\001 \003(\01320.googl" - + "e.cloud.compute.v1.StoragePool.LabelsEntry\022\024\n" + + "\006labels\030\377\277\301\356\001" + + " \003(\01320.google.cloud.compute.v1.StoragePool.LabelsEntry\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022.\n" + "\035performance_provisioning_type\030\375\235\266\337\001 \001(" + "\tH\007\210\001\001\022-\n" @@ -24891,14 +24905,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\025pool_provisioned_iops\030\227\311\2715 \001(\003H\t\210\001\001\022+\n" + "\033pool_provisioned_throughput\030\230\215\330P \001(\003H\n" + "\210\001\001\022S\n" - + "\017resource_status\030\303\372\367v \001(\01322.google" - + ".cloud.compute.v1.StoragePoolResourceStatusH\013\210\001\001\022\032\n" + + "\017resource_status\030\303\372\367v" + + " \001(\01322.google.cloud.compute.v1.StoragePoolResourceStatusH\013\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022!\n" + "\021self_link_with_id\030\202\254\235\025 \001(\tH\r" + "\210\001\001\022\025\n" + "\005state\030\221\211\2534 \001(\tH\016\210\001\001\022J\n" - + "\006status\030\362\237\267V \001(\01322.goog" - + "le.cloud.compute.v1.StoragePoolResourceStatusH\017\210\001\001\022\"\n" + + "\006status\030\362\237\267V \001(\01322.google.cloud.com" + + "pute.v1.StoragePoolResourceStatusH\017\210\001\001\022\"\n" + "\021storage_pool_type\030\271\201\260\210\001 \001(\tH\020\210\001\001\022\024\n" + "\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\032-\n" + "\013LabelsEntry\022\013\n" @@ -24935,8 +24949,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031StoragePoolAggregatedList\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022O\n" - + "\005items\030\300\317\367/ \003(\0132=.go" - + "ogle.cloud.compute.v1.StoragePoolAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132=.google.cloud.c" + + "ompute.v1.StoragePoolAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -24945,8 +24959,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\005\210\001\001\032]\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022>\n" - + "\005value\030\002 \001(\0132/.google.clo" - + "ud.compute.v1.StoragePoolsScopedList:\0028\001B\007\n" + + "\005value\030\002" + + " \001(\0132/.google.cloud.compute.v1.StoragePoolsScopedList:\0028\001B\007\n" + "\005_etagB\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" @@ -25003,8 +25017,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024StoragePoolListDisks\022\024\n" + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n" + "\002id\030\233\032 \001(\tH\001\210\001\001\022:\n" - + "\005items\030\300\317\367/ \003(\0132" - + "(.google.cloud.compute.v1.StoragePoolDisk\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132(.google.cloud.compute.v1.StoragePoolDisk\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n" @@ -25044,8 +25058,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"_total_provisioned_disk_throughput\"\347\007\n" + "\017StoragePoolType\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\n" - + "deprecated\030\263\313\321\365\001 \001(\0132*.google" - + ".cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n" + + "deprecated\030\263\313\321\365\001" + + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n" + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\0220\n" @@ -25082,8 +25096,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\265\003\n" + "\035StoragePoolTypeAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n" - + "\005items\030\300\317\367/ \003(\0132A.google.cloud.c" - + "ompute.v1.StoragePoolTypeAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132A.google.cloud.compute.v1.St" + + "oragePoolTypeAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -25091,8 +25105,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.goo" - + "gle.cloud.compute.v1.StoragePoolTypesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01323.google.cloud.co" + + "mpute.v1.StoragePoolTypesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -25100,8 +25114,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\257\002\n" + "\023StoragePoolTypeList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022:\n" - + "\005items\030\300\317\367/" - + " \003(\0132(.google.cloud.compute.v1.StoragePoolType\022\024\n" + + "\005items\030\300\317\367/ \003(" + + "\0132(.google.cloud.compute.v1.StoragePoolType\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -25113,8 +25127,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"\255\001\n" + "\032StoragePoolTypesScopedList\022H\n" - + "\022storage_pool_types\030\332\255\320\203\001 \003" - + "(\0132(.google.cloud.compute.v1.StoragePoolType\0229\n" + + "\022storage_pool_types\030\332\255\320\203\001" + + " \003(\0132(.google.cloud.compute.v1.StoragePoolType\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\240\001\n" @@ -25123,7 +25137,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132$.google.cloud.compute.v1.StoragePool\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" - + "\010_warning\"\256\023\n\n" + + "\010_warning\"\242\024\n\n" + "Subnetwork\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022 \n" @@ -25141,26 +25155,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021ipv6_gce_endpoint\030\343\312\342\230\001 \001(\tH\014\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\r" + "\210\001\001\022I\n\n" - + "log_config\030\235\321\301\247\001" - + " \001(\0132,.google.cloud.compute.v1.SubnetworkLogConfigH\016\210\001\001\022\024\n" + + "log_config\030\235\321\301\247\001 \001(\0132,.googl" + + "e.cloud.compute.v1.SubnetworkLogConfigH\016\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\017\210\001\001\022\027\n" + "\007network\030\256\264\205o \001(\tH\020\210\001\001\022A\n" - + "\006params\030\206\363\253% \001(" - + "\0132).google.cloud.compute.v1.SubnetworkParamsH\021\210\001\001\022)\n" + + "\006params\030\206\363\253% \001(\0132).google.c", + "loud.compute.v1.SubnetworkParamsH\021\210\001\001\022)\n" + "\030private_ip_google_access\030\316\350\375\310\001 \001(\010H\022\210\001\001\022*\n" + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\023\210\001\001\022\030\n" + "\007purpose\030\236\372\357\226\001 \001(\tH\024\210\001\001\022\026\n" + "\006region\030\364\315\240B \001(\tH\025\210\001\001\022(\n" + "\027reserved_internal_range\030\262\236\277\210\001 \001(\tH\026\210\001\001\022\024\n" + "\004role\030\366\200\326\001 \001(\tH\027\210\001\001\022Q\n" - + "\023secondary_ip_ranges\030\343\377\224A \003" - + "(\01321.google.cloud.compute.v1.SubnetworkSecondaryRange\022\032\n" + + "\023secondary_ip_ranges\030\343\377\224A \003(\01321.google." + + "cloud.compute.v1.SubnetworkSecondaryRange\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\030\210\001\001\022\033\n\n" + "stack_type\030\221\265\213\313\001 \001(\tH\031\210\001\001\022\025\n" - + "\005state\030", - "\221\211\2534 \001(\tH\032\210\001\001\022/\n" + + "\005state\030\221\211\2534 \001(\tH\032\210\001\001\022/\n" + "$system_reserved_external_ipv6_ranges\030\341\210\223\037 \003(\t\0220\n" - + "$system_reserved_internal_ipv6_ranges\030\323\230\221\316\001 \003(\t\"y\n" + + "$system_reserved_internal_ipv6_ranges\030\323\230\221\316\001 \003(\t\022Z\n" + + "\023utilization_details\030\245\212\346;" + + " \001(\01325.google.cloud.compute.v1.SubnetworkUtilizationDetailsH\033\210\001\001\"y\n" + "\016Ipv6AccessType\022\036\n" + "\032UNDEFINED_IPV6_ACCESS_TYPE\020\000\022\017\n" + "\010EXTERNAL\020\313\247\375\020\022\020\n" @@ -25227,21 +25242,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_roleB\014\n\n" + "_self_linkB\r\n" + "\013_stack_typeB\010\n" - + "\006_state\"\277\003\n" + + "\006_stateB\026\n" + + "\024_utilization_details\"\277\003\n" + "\030SubnetworkAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n" - + "\005items\030\300\317\367/ \003(\0132<.google.cloud." - + "compute.v1.SubnetworkAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132<.google.cloud.compute.v1.SubnetworkAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" + "\014unreachables\030\237\240\206t \003(\t\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\n" + + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n" + + "\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022=\n" - + "\005value\030\002" - + " \001(\0132..google.cloud.compute.v1.SubnetworksScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132" + + "..google.cloud.compute.v1.SubnetworksScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -25286,20 +25303,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016_flow_samplingB\013\n" + "\t_metadata\"\265\001\n" + "\020SubnetworkParams\022e\n" - + "\025resource_manager_tags\030\374\233\213\264\001" - + " \003(\0132B.google.cloud.compute.v1.SubnetworkParams.ResourceManagerTagsEntry\032:\n" + + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132B.goog" + + "le.cloud.compute.v1.SubnetworkParams.ResourceManagerTagsEntry\032:\n" + "\030ResourceManagerTagsEntry\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\"\275\001\n" + "\030SubnetworkSecondaryRange\022\035\n\r" - + "ip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\033\n" - + "\n" + + "ip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\033\n\n" + "range_name\030\315\360\264\236\001 \001(\tH\001\210\001\001\022(\n" + "\027reserved_internal_range\030\262\236\277\210\001 \001(\tH\002\210\001\001B\020\n" + "\016_ip_cidr_rangeB\r\n" + "\013_range_nameB\032\n" - + "\030_reserved_internal_range\"V\n" + + "\030_reserved_internal_range\"\310\004\n" + + "\034SubnetworkUtilizationDetails\022y\n" + + "\"external_ipv6_instance_utilization\030\334\302\223\310\001 \001(\0132D.goo" + + "gle.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\000\210\001\001\022r\n" + + "\034external_ipv6_lb_utilization\030\275\227\217A \001(\0132D.google." + + "cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\001\210\001\001\022o\n" + + "\031internal_ipv6_utilization\030\214\312\236! \001(\0132D.google.cloud.c" + + "ompute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\002\210\001\001\022b\n" + + "\021ipv4_utilizations\030\253\235\250b \003(\0132D.google.cloud.compute.v1.Subne" + + "tworkUtilizationDetailsIPV4UtilizationB%\n" + + "#_external_ipv6_instance_utilizationB\037\n" + + "\035_external_ipv6_lb_utilizationB\034\n" + + "\032_internal_ipv6_utilization\"\306\001\n" + + "+SubnetworkUtilizationDetailsIPV4Utilization\022\033\n\n" + + "range_name\030\315\360\264\236\001 \001(\tH\000\210\001\001\022#\n" + + "\022total_allocated_ip\030\272\231\210\205\001 \001(\003H\001\210\001\001\022\035\n\r" + + "total_free_ip\030\337\343\2562 \001(\003H\002\210\001\001B\r\n" + + "\013_range_nameB\025\n" + + "\023_total_allocated_ipB\020\n" + + "\016_total_free_ip\"\336\001\n" + + "+SubnetworkUtilizationDetailsIPV6Utilization\022E\n" + + "\022total_allocated_ip\030\272\231\210\205\001 \001(\0132" + + " .google.cloud.compute.v1.Uint128H\000\210\001\001\022?\n\r" + + "total_free_ip\030\337\343\2562 \001(\0132" + + " .google.cloud.compute.v1.Uint128H\001\210\001\001B\025\n" + + "\023_total_allocated_ipB\020\n" + + "\016_total_free_ip\"V\n" + "#SubnetworksExpandIpCidrRangeRequest\022\035\n\r" + "ip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001B\020\n" + "\016_ip_cidr_range\"\234\001\n" @@ -25338,8 +25379,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "+SuspendInstancesInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\221\001\n" + ":instance_group_managers_suspend_instances_request_resource\030\321\215\241\026" - + " \001(\0132E.google.cloud" - + ".compute.v1.InstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022!\n" + + " \001(\0132E.google.cloud.co" + + "mpute.v1.InstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -25352,8 +25393,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\236\001\n" + "Aregion_instance_group_managers_suspend_instances_request_resource\030\374\345\224f" - + " \001(\0132K.google.cloud.compute.v1.Regi" - + "onInstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022\032\n\n" + + " \001(\0132K.google.cloud.compute.v1.RegionI" + + "nstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\211\001\n" + " SwitchToCustomModeNetworkRequest\022\027\n" @@ -25465,8 +25506,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014unreachables\030\237\240\206t \003(\t\032b\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022C\n" - + "\005value\030\002 \001(\01324.google.cloud" - + ".compute.v1.TargetHttpProxiesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01324.google.cloud.co" + + "mpute.v1.TargetHttpProxiesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -25556,8 +25597,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_url_map\"\322\003\n" + "\036TargetHttpsProxyAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n" - + "\005items\030\300\317\367/ \003(\0132B.google.cl" - + "oud.compute.v1.TargetHttpsProxyAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132B.google.cloud" + + ".compute.v1.TargetHttpsProxyAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -25566,11 +25607,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032c\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022D\n" - + "\005value\030\002 \001(\01325.google.cloud" - + ".compute.v1.TargetHttpsProxiesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01325.google.cloud.co" + + "mpute.v1.TargetHttpsProxiesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n" + + "\020_next_page_tokenB\014\n" + + "\n" + "_self_linkB\n\n" + "\010_warning\"\261\002\n" + "\024TargetHttpsProxyList\022\020\n" @@ -25616,8 +25658,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_zone\"\313\003\n" + "\034TargetInstanceAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n" - + "\005items\030\300\317\367/ \003(\0132@.goo" - + "gle.cloud.compute.v1.TargetInstanceAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132@.google" + + ".cloud.compute.v1.TargetInstanceAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -25626,8 +25668,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022A\n" - + "\005value\030\002 \001(\01322.google.c" - + "loud.compute.v1.TargetInstancesScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01322.google.clou" + + "d.compute.v1.TargetInstancesScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -25635,8 +25677,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\255\002\n" + "\022TargetInstanceList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" - + "\005items\030\300\317\367/" - + " \003(\0132\'.google.cloud.compute.v1.TargetInstance\022\024\n" + + "\005items\030\300\317\367/ " + + "\003(\0132\'.google.cloud.compute.v1.TargetInstance\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" @@ -25693,8 +25735,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021_session_affinity\"\277\003\n" + "\030TargetPoolAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n" - + "\005items\030\300\317\367/ \003(\0132<.google.cloud.compute." - + "v1.TargetPoolAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/" + + " \003(\0132<.google.cloud.compute.v1.TargetPoolAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -25729,8 +25771,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_self_linkB\n\n" + "\010_warning\"l\n" + " TargetPoolsAddHealthCheckRequest\022H\n\r" - + "health_checks\030\256\257\346\325\001" - + " \003(\0132-.google.cloud.compute.v1.HealthCheckReference\"a\n" + + "health_checks\030\256\257\346\325\001 \003" + + "(\0132-.google.cloud.compute.v1.HealthCheckReference\"a\n" + "\035TargetPoolsAddInstanceRequest\022@\n" + "\tinstances\030\376\374\357\r" + " \003(\0132*.google.cloud.compute.v1.InstanceReference\"o\n" @@ -25775,8 +25817,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\030\n" + "\007service\030\265\215\217\262\001 \001(\tH\010\210\001\001\022\034\n" + "\020ssl_certificates\030\217\242\303\256\001 \003(\t\022\033\n\n" - + "ssl_policy\030\305\375\340\214\001 \001(\tH\t\210\001\001\"H\n" - + "\013ProxyHeader\022\032\n" + + "ssl_policy\030\305\375\340\214\001 \001(\tH\t\210\001\001\"H\n", + "\013ProxyHeader\022\032\n" + "\026UNDEFINED_PROXY_HEADER\020\000\022\013\n" + "\004NONE\020\270\316\222\001\022\020\n" + "\010PROXY_V1\020\254\244\267\237\001B\022\n" @@ -25788,7 +25830,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_nameB\017\n\r" + "_proxy_headerB\014\n\n" + "_self_linkB\n\n" - + "\010_serviceB\r\n" + + "\010_serviceB\r" + + "\n" + "\013_ssl_policy\"\255\002\n" + "\022TargetSslProxyList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" @@ -25839,7 +25882,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014_descriptionB\005\n" + "\003_idB\007\n" + "\005_kindB\007\n" - + "\005_nameB\r\n" + + "\005_nameB\r" + + "\n" + "\013_proxy_bindB\017\n\r" + "_proxy_headerB\t\n" + "\007_regionB\014\n\n" @@ -25847,8 +25891,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_service\"\314\003\n" + "\034TargetTcpProxyAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n" - + "\005items\030\300\317\367/ \003(\0132@.google.cloud.compu", - "te.v1.TargetTcpProxyAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132@.google.cloud.compute." + + "v1.TargetTcpProxyAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -25862,7 +25906,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" - + "_self_linkB\n\n" + + "_self_linkB\n" + + "\n" + "\010_warning\"\255\002\n" + "\022TargetTcpProxyList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" @@ -25907,16 +25952,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003_idB\007\n" + "\005_kindB\024\n" + "\022_label_fingerprintB\007\n" - + "\005_nameB\n" - + "\n" + + "\005_nameB\n\n" + "\010_networkB\t\n" + "\007_regionB\014\n\n" + "_self_linkB\t\n" + "\007_status\"\321\003\n" + "\036TargetVpnGatewayAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n" - + "\005items\030\300\317\367/ \003(\0132B." - + "google.cloud.compute.v1.TargetVpnGatewayAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132B.goo" + + "gle.cloud.compute.v1.TargetVpnGatewayAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -25925,8 +25969,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032b\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022C\n" - + "\005value\030\002 \001(\01324.goo" - + "gle.cloud.compute.v1.TargetVpnGatewaysScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\01324.google" + + ".cloud.compute.v1.TargetVpnGatewaysScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -25987,13 +26031,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\'TestIamPermissionsBackendServiceRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\315\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001" + + "(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\315\001\n" + "\035TestIamPermissionsDiskRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google" - + ".cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl" + + "oud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\305\001\n" + "+TestIamPermissionsExternalVpnGatewayRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" @@ -26002,8 +26046,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\250\001\n" + "\'TestIamPermissionsFirewallPolicyRequest\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud." - + "compute.v1.TestPermissionsRequestB\003\340A\002\"\300\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001" + + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\300\001\n" + "&TestIamPermissionsGlobalAddressRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" @@ -26012,13 +26056,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036TestIamPermissionsImageRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\326\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 " + + "\001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\326\001\n" + "&TestIamPermissionsInstanceGroupRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(" - + "\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/" + + ".google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\321\001\n" + "!TestIamPermissionsInstanceRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" @@ -26029,13 +26073,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")TestIamPermissionsInstanceTemplateRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog" - + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\330\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google." + + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\330\001\n" + "(TestIamPermissionsInstantSnapshotRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google." - + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo" + + "ud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\316\001\n" + "4TestIamPermissionsInterconnectAttachmentGroupRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" @@ -26055,13 +26099,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " TestIamPermissionsLicenseRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001" - + "(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\277\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132" + + "/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\277\001\n" + "%TestIamPermissionsMachineImageRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.g" - + "oogle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog" + + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n" + "*TestIamPermissionsNetworkAttachmentRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" @@ -26077,20 +26121,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".TestIamPermissionsNetworkFirewallPolicyRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\322\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 " + + "\001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\322\001\n" + "\"TestIamPermissionsNodeGroupRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/." - + "google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo" + + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\327\001\n" + "%TestIamPermissionsNodeTemplateRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/." - + "google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\332\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo" + + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\332\001\n" + "(TestIamPermissionsPacketMirroringRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" @@ -26101,8 +26145,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\325\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(" + + "\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\325\001\n" + "#TestIamPermissionsRegionDiskRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" @@ -26113,20 +26157,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\340\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001" + + "(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\340\001\n" + ".TestIamPermissionsRegionInstantSnapshotRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.googl" - + "e.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\346\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.c" + + "loud.compute.v1.TestPermissionsRequestB\003\340A\002\"\346\001\n" + "4TestIamPermissionsRegionNetworkFirewallPolicyRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud" - + ".compute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001" + + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n" + "$TestIamPermissionsReservationRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" @@ -26143,25 +26187,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 " - + "\001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013" + + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n" + "!TestIamPermissionsSnapshotRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog" - + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google." + + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n" + "$TestIamPermissionsStoragePoolRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clou" - + "d.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + + "!test_permissions_request_resource\030\246\305\267\321\001" + + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\325\001\n" + "#TestIamPermissionsSubnetworkRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud." - + "compute.v1.TestPermissionsRequestB\003\340A\002\"\327\001\n" + + "!test_permissions_request_resource\030\246\305\267\321\001" + + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\327\001\n" + "\'TestIamPermissionsTargetInstanceRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" @@ -26178,8 +26222,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo" - + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"0\n" + + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google" + + ".cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"0\n" + "\026TestPermissionsRequest\022\026\n" + "\013permissions\030\204\351\313\034 \003(\t\"1\n" + "\027TestPermissionsResponse\022\026\n" @@ -26254,12 +26298,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" - + "\013_autoscalerB\r\n" + + "\013_autoscalerB\r" + + "\n" + "\013_request_id\"\334\001\n" + "\032UpdateBackendBucketRequest\022\036\n" + "\016backend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n" - + "\027backend_bucket_resource\030\230\316\307\265\001 \001(\0132&.g" - + "oogle.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + + "\027backend_bucket_resource\030\230\316\307\265\001 \001(\0132&.goog" + + "le.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" @@ -26287,15 +26332,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_idB\016\n" + "\014_update_mask\"\373\001\n" + "\"UpdateDisplayDeviceInstanceRequest\022P\n" - + "\027display_device_resource\030\332\204\221\212\001 \001(\0132&.go" - + "ogle.cloud.compute.v1.DisplayDeviceB\003\340A\002\022\030\n" + + "\027display_device_resource\030\332\204\221\212\001" + + " \001(\0132&.google.cloud.compute.v1.DisplayDeviceB\003\340A\002\022\030\n" + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" - + "\340A\002\362G\004zoneB\r" - + "\n" + + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\306\001\n" + "\025UpdateFirewallRequest\022\031\n" + "\010firewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022D\n" @@ -26332,7 +26376,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037_most_disruptive_allowed_actionB\r\n" + "\013_request_id\"\360\001\n" + "\024UpdateLicenseRequest\022\027\n" - + "\007license\030\301\210\302O \001(\tB\003\340A\002\022C\n" + + "\007license\030\301\210\302O \001(\tB", + "\003\340A\002\022C\n" + "\020license_resource\030\314\324\352\320\001 \001(\0132" + " .google.cloud.compute.v1.LicenseB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -26363,8 +26408,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "3UpdatePerInstanceConfigsInstanceGroupManagerRequest\022&\n" + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n" + "@instance_group_managers_update_per_instance_configs_req_resource\030\276\301\266C" - + " \001(\0132I.google.cloud.compute.v1.InstanceGrou" - + "pManagersUpdatePerInstanceConfigsReqB\003\340A\002\022!\n" + + " \001(\0132I.google.cloud.compute.v1.InstanceGroupMa" + + "nagersUpdatePerInstanceConfigsReqB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" @@ -26377,13 +26422,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\037\n" + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n" + "Aregion_instance_group_manager_update_instance_config_req_resource\030\247\256\272*" - + " \001(\0132J.google.cloud.compute.v1.RegionInstanceGr" - + "oupManagerUpdateInstanceConfigReqB\003\340A\002\022\032\n\n" + + " \001(\0132J.goo" + + "gle.cloud.compute.v1.RegionInstanceGroupManagerUpdateInstanceConfigReqB\003\340A\002\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + "\013_request_id\"\204\002\n" + "\035UpdateRegionAutoscalerRequest\022\033\n\n" - + "a", - "utoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n" + + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n" + "\023autoscaler_resource\030\366\360\377b" + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -26466,7 +26510,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n" + "\025route_policy_resource\030\205\275\2657" + " \001(\0132$.google.cloud.compute.v1.RoutePolicyB\003\340A\002\022\026\n" - + "\006router\030\311\256\356F \001(\tB\003\340A\002B\r\n" + + "\006router\030\311\256\356F \001(\tB\003\340A\002B\r" + + "\n" + "\013_request_id\"\336\001\n" + "\023UpdateRouterRequest\022!\n" + "\007project\030\231\226\301l \001(\tB\r" @@ -26482,8 +26527,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022c\n" - + "!shielded_instance_config_resource\030\330\226\335\201\001 \001(\0132/.google.cloud" - + ".compute.v1.ShieldedInstanceConfigB\003\340A\002\022\033\n" + + "!shielded_instance_config_resource\030\330\226\335\201\001" + + " \001(\0132/.google.cloud.compute.v1.ShieldedInstanceConfigB\003\340A\002\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" + "\013_request_id\"\237\002\n" @@ -26492,8 +26537,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\035\n" + "\014storage_pool\030\340\306\361\253\001 \001(\tB\003\340A\002\022K\n" - + "\025storage_pool_resource\030\215\274\371J \001(\013" - + "2$.google.cloud.compute.v1.StoragePoolB\003\340A\002\022\034\n" + + "\025storage_pool_resource\030\215\274\371J \001(\0132$." + + "google.cloud.compute.v1.StoragePoolB\003\340A\002\022\034\n" + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\033\n" + "\004zone\030\254\307\344\001 \001(\tB\n" + "\340A\002\362G\004zoneB\r\n" @@ -26509,25 +26554,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013_request_id\"\362\007\n" + "\006UrlMap\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022h\n" - + "$default_custom_error_response_policy\030\251\213\340& \001(\01322.google.cloud." - + "compute.v1.CustomErrorResponsePolicyH\001\210\001\001\022O\n" - + "\024default_route_action\030\252\264\327\264\001 \001(\0132(.go" - + "ogle.cloud.compute.v1.HttpRouteActionH\002\210\001\001\022 \n" + + "$default_custom_error_response_policy\030\251\213\340& \001(\01322.google.cloud.com" + + "pute.v1.CustomErrorResponsePolicyH\001\210\001\001\022O\n" + + "\024default_route_action\030\252\264\327\264\001 \001(\0132(.googl" + + "e.cloud.compute.v1.HttpRouteActionH\002\210\001\001\022 \n" + "\017default_service\030\267\345\305\260\001 \001(\tH\003\210\001\001\022R\n" - + "\024default_url_redirect\030\352\253\266\253\001 \001(\0132+.google." - + "cloud.compute.v1.HttpRedirectActionH\004\210\001\001\022\034\n" + + "\024default_url_redirect\030\352\253\266\253\001" + + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\004\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\033\n" + "\013fingerprint\030\344\321\363o \001(\tH\006\210\001\001\022I\n\r" - + "header_action\030\250\240\270\234\001" - + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\007\210\001\001\0229\n\n" + + "header_action\030\250\240\270\234\001 " + + "\001(\0132).google.cloud.compute.v1.HttpHeaderActionH\007\210\001\001\0229\n\n" + "host_rules\030\240\207\327\224\001" + " \003(\0132!.google.cloud.compute.v1.HostRule\022\020\n" + "\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\t\210\001\001\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\n" + "\210\001\001\022?\n\r" - + "path_matchers\030\333\210\305\201\001 \003" - + "(\0132$.google.cloud.compute.v1.PathMatcher\022\026\n" + + "path_matchers\030\333\210\305\201\001" + + " \003(\0132$.google.cloud.compute.v1.PathMatcher\022\026\n" + "\006region\030\364\315\240B \001(\tH\013\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\0225\n" + "\005tests\030\241\234\3114 \003(\0132#.google.cloud.compute.v1.UrlMapTestB\025\n" @@ -26565,8 +26610,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023expected_output_url\030\230\242\367\316\001 \001(\tH\001\210\001\001\022/\n" + "\037expected_redirect_response_code\030\357\352\200\t" + " \001(\005H\002\210\001\001\022=\n" - + "\007headers\030\206\337\235{ \003(\0132)" - + ".google.cloud.compute.v1.UrlMapTestHeader\022\024\n" + + "\007headers\030\206\337\235{ \003(\0132).go" + + "ogle.cloud.compute.v1.UrlMapTestHeader\022\024\n" + "\004host\030\250\353\303\001 \001(\tH\003\210\001\001\022\024\n" + "\004path\030\245\310\321\001 \001(\tH\004\210\001\001\022\030\n" + "\007service\030\265\215\217\262\001 \001(\tH\005\210\001\001B\016\n" @@ -26601,8 +26646,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032X\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\0229\n" - + "\005value\030\002" - + " \001(\0132*.google.cloud.compute.v1.UrlMapsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(" + + "\0132*.google.cloud.compute.v1.UrlMapsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" @@ -26624,8 +26669,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!LOAD_BALANCING_SCHEME_UNSPECIFIED\020\274\273\207\373\001B\013\n" + "\t_resource\"m\n" + "\027UrlMapsValidateResponse\022G\n" - + "\006result\030\235\220\267B \001(\0132/.google." - + "cloud.compute.v1.UrlMapValidationResultH\000\210\001\001B\t\n" + + "\006result\030\235\220\267B \001(\0132/.google.clo" + + "ud.compute.v1.UrlMapValidationResultH\000\210\001\001B\t\n" + "\007_result\"\272\001\n\n" + "UrlRewrite\022\034\n" + "\014host_rewrite\030\365\313\232L \001(\tH\000\210\001\001\022#\n" @@ -26642,8 +26687,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007network\030\256\264\205o \001(\tH\004\210\001\001\022\030\n" + "\007purpose\030\236\372\357\226\001 \001(\tH\005\210\001\001\022\024\n" + "\004role\030\366\200\326\001 \001(\tH\006\210\001\001\022W\n" - + "\023secondary_ip_ranges\030\343\377\224A \003(\01327.goog" - + "le.cloud.compute.v1.UsableSubnetworkSecondaryRange\022\033\n\n" + + "\023secondary_ip_ranges\030\343\377\224A \003(\01327.google." + + "cloud.compute.v1.UsableSubnetworkSecondaryRange\022\033\n\n" + "stack_type\030\221\265\213\313\001 \001(\tH\007\210\001\001\022\033\n\n" + "subnetwork\030\356\247\344\222\001 \001(\tH\010\210\001\001\"S\n" + "\016Ipv6AccessType\022\036\n" @@ -26691,8 +26736,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132).google.cloud.compute.v1.UsableSubnetwork\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022M\n" - + "\017scoped_warnings\030\246\226\370f \003(\01321.goo" - + "gle.cloud.compute.v1.SubnetworksScopedWarning\022\032\n" + + "\017scoped_warnings\030\246\226\370f \003(\01321.google" + + ".cloud.compute.v1.SubnetworksScopedWarning\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" + "\014unreachables\030\237\240\206t \003(\t\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" @@ -26710,8 +26755,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033ValidateRegionUrlMapRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + "\006region\030\364\315\240B \001(\tB\003\340A\002\022p\n" - + ")region_url_maps_validate_request_resource\030\232\314\200\033 " - + "\001(\01325.google.cloud.compute.v1.RegionUrlMapsValidateRequestB\003\340A\002\022\030\n" + + ")region_url_maps_validate_request_resource\030\232\314\200\033 \001(\013" + + "25.google.cloud.compute.v1.RegionUrlMapsValidateRequestB\003\340A\002\022\030\n" + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"\260\001\n" + "\025ValidateUrlMapRequest\022\027\n" + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" @@ -26720,8 +26765,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132/.google.cloud.compute.v1.UrlMapsValidateRequestB\003\340A\002\"\257\001\n" + "\025VmEndpointNatMappings\022\035\n\r" + "instance_name\030\365\347\330l \001(\tH\000\210\001\001\022e\n" - + "\026interface_nat_mappings\030\211\200\225z \003(\013" - + "2B.google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsB\020\n" + + "\026interface_nat_mappings\030\211\200\225z \003(\0132B." + + "google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsB\020\n" + "\016_instance_name\"\342\003\n" + ")VmEndpointNatMappingsInterfaceNatMappings\022$\n" + "\030drain_nat_ip_port_ranges\030\301\343\307\274\001 \003(\t\022\036\n" @@ -26729,8 +26774,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031num_total_drain_nat_ports\030\371\245\377\237\001" + " \001(\005H\000\210\001\001\022$\n" + "\023num_total_nat_ports\030\200\333\200\217\001 \001(\005H\001\210\001\001\022l\n\r" - + "rule_mappings\030\310\356\352\347\001 \003(\0132Q.google" - + ".cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings\022&\n" + + "rule_mappings\030\310\356\352\347\001 \003(\0132Q.google.cl" + + "oud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings\022&\n" + "\025source_alias_ip_range\030\330\243\374\321\001 \001(\tH\002\210\001\001\022!\n" + "\021source_virtual_ip\030\377\242\271G \001(\tH\003\210\001\001B\034\n" + "\032_num_total_drain_nat_portsB\026\n" @@ -26751,8 +26796,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002id\030\233\032 \001(\tH\000\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022A\n" - + "\006result\030\235\220\267B" - + " \003(\0132..google.cloud.compute.v1.VmEndpointNatMappings\022\032\n" + + "\006result\030\235\220\267B " + + "\003(\0132..google.cloud.compute.v1.VmEndpointNatMappings\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" + "\007warning\030\234\337\226\030 \001(\0132" + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n" @@ -26801,12 +26846,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_nameB\n\n" + "\010_networkB\t\n" + "\007_regionB\014\n\n" - + "_self_linkB\r\n" + + "_self_linkB\r" + + "\n" + "\013_stack_type\"\277\003\n" + "\030VpnGatewayAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n" - + "\005items\030\300\317\367/ \003(" - + "\0132<.google.cloud.compute.v1.VpnGatewayAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132<" + + ".google.cloud.compute.v1.VpnGatewayAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -26815,11 +26861,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022=\n" - + "\005value\030\002 \001(\0132..googl" - + "e.cloud.compute.v1.VpnGatewaysScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132..google.c" + + "loud.compute.v1.VpnGatewaysScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n" + + "\020_next_page_tokenB\014\n" + + "\n" + "_self_linkB\n\n" + "\010_warning\"\245\002\n" + "\016VpnGatewayList\022\020\n" @@ -26857,24 +26904,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "H\001\210\001\001\022\032\n\n" + "tunnel_url\030\230\242\324% \001(\tH\002\210\001\001B\032\n" + "\030_local_gateway_interfaceB\031\n" - + "\027_peer_gateway_interfaceB\r" - + "\n" + + "\027_peer_gateway_interfaceB\r\n" + "\013_tunnel_url\"\312\002\n" + "\035VpnGatewayStatusVpnConnection\022&\n" + "\025peer_external_gateway\030\215\356\307\267\001 \001(\tH\000\210\001\001\022!\n" + "\020peer_gcp_gateway\030\274\351\263\206\001 \001(\tH\001\210\001\001\022`\n" - + "\005state\030\221\211\2534 \001(\0132I.google.cloud.comp" - + "ute.v1.VpnGatewayStatusHighAvailabilityRequirementStateH\002\210\001\001\022C\n" - + "\007tunnels\030\213\372\3551 \003(\013" - + "2/.google.cloud.compute.v1.VpnGatewayStatusTunnelB\030\n" + + "\005state\030\221\211\2534 \001(\0132I.google.cloud.compute" + + ".v1.VpnGatewayStatusHighAvailabilityRequirementStateH\002\210\001\001\022C\n" + + "\007tunnels\030\213\372\3551 \003(\0132/." + + "google.cloud.compute.v1.VpnGatewayStatusTunnelB\030\n" + "\026_peer_external_gatewayB\023\n" + "\021_peer_gcp_gatewayB\010\n" + "\006_state\"\332\001\n" + "\035VpnGatewayVpnGatewayInterface\022\020\n" + "\002id\030\233\032 \001(\r" + "H\000\210\001\001\022(\n" - + "\027interconnect_attachment\030\364\212\367\222\001 \001(" - + "\tH\001\210\001\001\022\033\n\n" + + "\027interconnect_attachment\030\364\212\367\222\001 \001(\tH\001\210\001\001\022\033\n" + + "\n" + "ip_address\030\334\361\334\301\001 \001(\tH\002\210\001\001\022\035\n" + "\014ipv6_address\030\234\263\357\242\001 \001(\tH\003\210\001\001B\005\n" + "\003_idB\032\n" @@ -26892,8 +26938,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + "\010_warning\"\372\014\n" + "\tVpnTunnel\022L\n" - + "\014cipher_suite\030\304\327\316\323\001 \001(\0132-.g" - + "oogle.cloud.compute.v1.VpnTunnelCipherSuiteH\000\210\001\001\022\"\n" + + "\014cipher_suite\030\304\327\316\323\001 \001(\0132-.goog" + + "le.cloud.compute.v1.VpnTunnelCipherSuiteH\000\210\001\001\022\"\n" + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022 \n" + "\017detailed_status\030\341\244\203\237\001 \001(\tH\003\210\001\001\022\020\n" @@ -26901,8 +26947,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ike_version\030\234\320\220h \001(\005H\005\210\001\001\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\007\210\001\001\022B\n" - + "\006labels\030\377\277\301\356\001 \003(\0132..googl" - + "e.cloud.compute.v1.VpnTunnel.LabelsEntry\022\"\n" + + "\006labels\030\377\277\301\356\001" + + " \003(\0132..google.cloud.compute.v1.VpnTunnel.LabelsEntry\022\"\n" + "\026local_traffic_selector\030\265\254\247\227\001 \003(\t\022\024\n" + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022&\n" + "\025peer_external_gateway\030\215\356\307\267\001 \001(\tH\t\210\001\001\0220\n" @@ -26960,11 +27006,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007_statusB\025\n" + "\023_target_vpn_gatewayB\016\n" + "\014_vpn_gatewayB\030\n" - + "\026_vpn_gateway_interface\"\274\003\n" + + "\026_vpn_gat", + "eway_interface\"\274\003\n" + "\027VpnTunnelAggregatedList\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022M\n" - + "\005items\030\300\317\367/ \003(" - + "\0132;.google.cloud.compute.v1.VpnTunnelAggregatedList.ItemsEntry\022\024\n" + + "\005items\030\300\317\367/ \003(\0132;" + + ".google.cloud.compute.v1.VpnTunnelAggregatedList.ItemsEntry\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n" @@ -26973,18 +27020,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " .google.cloud.compute.v1.WarningH\004\210\001\001\032[\n\n" + "ItemsEntry\022\013\n" + "\003key\030\001 \001(\t\022<\n" - + "\005value\030\002 \001(\0132-.google" - + ".cloud.compute.v1.VpnTunnelsScopedList:\0028\001B\005\n" + + "\005value\030\002 \001(\0132-.google.cl" + + "oud.compute.v1.VpnTunnelsScopedList:\0028\001B\005\n" + "\003_idB\007\n" + "\005_kindB\022\n" + "\020_next_page_tokenB\014\n\n" + "_self_linkB\n\n" + "\010_warning\"\304\001\n" + "\024VpnTunnelCipherSuite\022J\n" - + "\006phase1\030\226\314\230( \001(\01322.google.cl" - + "oud.compute.v1.VpnTunnelPhase1AlgorithmsH\000\210\001\001\022J\n" - + "\006phase2\030\227\314\230( \001(\01322.google.cloud." - + "compute.v1.VpnTunnelPhase2AlgorithmsH\001\210\001\001B\t\n" + + "\006phase1\030\226\314\230( \001(\01322.google.cloud" + + ".compute.v1.VpnTunnelPhase1AlgorithmsH\000\210\001\001\022J\n" + + "\006phase2\030\227\314\230(" + + " \001(\01322.google.cloud.compute.v1.VpnTunnelPhase2AlgorithmsH\001\210\001\001B\t\n" + "\007_phase1B\t\n" + "\007_phase2\"\243\002\n\r" + "VpnTunnelList\022\020\n" @@ -27023,8 +27070,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032WafExpressionSetExpression\022\020\n" + "\002id\030\233\032 \001(\tH\000\210\001\001\022\033\n" + "\013sensitivity\030\237\275\220\r" - + " \001(", - "\005H\001\210\001\001B\005\n" + + " \001(\005H\001\210\001\001B\005\n" + "\003_idB\016\n" + "\014_sensitivity\"P\n" + "\032WaitGlobalOperationRequest\022\031\n" @@ -27114,8 +27160,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_message\"\317\001\n" + "\026WeightedBackendService\022 \n" + "\017backend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001\022I\n\r" - + "header_action\030\250\240\270\234\001 \001(\0132).googl" - + "e.cloud.compute.v1.HttpHeaderActionH\001\210\001\001\022\027\n" + + "header_action\030\250\240\270\234\001" + + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\001\210\001\001\022\027\n" + "\006weight\030\370\204\305\206\001 \001(\r" + "H\002\210\001\001B\022\n" + "\020_backend_serviceB\020\n" @@ -27198,8 +27244,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010_warning\"\315\001\n" + "\024ZoneSetLabelsRequest\022!\n" + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022M\n" - + "\006labels\030\377\277\301\356\001 \003(\01329.google.cloud.comp" - + "ute.v1.ZoneSetLabelsRequest.LabelsEntry\032-\n" + + "\006labels\030\377\277\301\356\001" + + " \003(\01329.google.cloud.compute.v1.ZoneSetLabelsRequest.LabelsEntry\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\024\n" @@ -27213,5813 +27259,5819 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005_etagB\t\n" + "\007_policy2\263\006\n" + "\020AcceleratorTypes\022\326\001\n" - + "\016AggregatedList\022>.google.cloud.compute.v1.Aggre" - + "gatedListAcceleratorTypesRequest\0326.google.cloud.compute.v1.AcceleratorTypeAggreg" - + "atedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/" - + "projects/{project}/aggregated/acceleratorTypes\022\334\001\n" - + "\003Get\0222.google.cloud.compute.v1.GetAcceleratorTypeRequest\032(.google.clou" - + "d.compute.v1.AcceleratorType\"w\332A\035project" - + ",zone,accelerator_type\202\323\344\223\002Q\022O/compute/v" - + "1/projects/{project}/zones/{zone}/acceleratorTypes/{accelerator_type}\022\277\001\n" - + "\004List\0224.google.cloud.compute.v1.ListAccelerator" - + "TypesRequest\032,.google.cloud.compute.v1.A" - + "cceleratorTypeList\"S\332A\014project,zone\202\323\344\223\002" - + ">\022.google.cloud.compute.v1.Aggregat" + + "edListAcceleratorTypesRequest\0326.google.cloud.compute.v1.AcceleratorTypeAggregate" + + "dList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/pro" + + "jects/{project}/aggregated/acceleratorTypes\022\334\001\n" + + "\003Get\0222.google.cloud.compute.v1.GetAcceleratorTypeRequest\032(.google.cloud.c" + + "ompute.v1.AcceleratorType\"w\332A\035project,zo" + + "ne,accelerator_type\202\323\344\223\002Q\022O/compute/v1/p" + + "rojects/{project}/zones/{zone}/acceleratorTypes/{accelerator_type}\022\277\001\n" + + "\004List\0224.google.cloud.compute.v1.ListAcceleratorTyp" + + "esRequest\032,.google.cloud.compute.v1.Acce" + + "leratorTypeList\"S\332A\014project,zone\202\323\344\223\002>\022<" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/acceleratorTypes\032\244\001\312A\026compute.google" + + "apis.com\322A\207\001https://www.googleapis.com/a" + + "uth/compute.readonly,https://www.googlea" + + "pis.com/auth/compute,https://www.googleapis.com/auth/cloud-platform2\216\020\n" + "\tAddresses\022\300\001\n" - + "\016AggregatedList\0227.google.cloud.compute.v1.AggregatedListAddressesRequest" - + "\032..google.cloud.compute.v1.AddressAggreg" - + "atedList\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/" - + "projects/{project}/aggregated/addresses\022\324\001\n" - + "\006Delete\022-.google.cloud.compute.v1.Del" - + "eteAddressRequest\032\".google.cloud.compute" - + ".v1.Operation\"w\332A\026project,region,address" - + "\212N\020RegionOperations\202\323\344\223\002E*C/compute/v1/p" - + "rojects/{project}/regions/{region}/addresses/{address}\022\271\001\n" - + "\003Get\022*.google.cloud.compute.v1.GetAddressRequest\032 .google.clou" - + "d.compute.v1.Address\"d\332A\026project,region," - + "address\202\323\344\223\002E\022C/compute/v1/projects/{pro" - + "ject}/regions/{region}/addresses/{address}\022\346\001\n" - + "\006Insert\022-.google.cloud.compute.v1.InsertAddressRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\210\001\332A\037project,region,add" - + "ress_resource\212N\020RegionOperations\202\323\344\223\002M\"9" - + "/compute/v1/projects/{project}/regions/{region}/addresses:\020address_resource\022\257\001\n" - + "\004List\022-.google.cloud.compute.v1.ListAddre" - + "ssesRequest\032$.google.cloud.compute.v1.Ad" - + "dressList\"R\332A\016project,region\202\323\344\223\002;\0229/com" - + "pute/v1/projects/{project}/regions/{region}/addresses\022\245\002\n" - + "\004Move\022+.google.cloud.compute.v1.MoveAddressRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\313\001\332A=project,reg" - + "ion,address,region_addresses_move_reques" - + "t_resource\212N\020RegionOperations\202\323\344\223\002r\"H/co" - + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/addresses/{address}/move:®ion_addresses_move_request_resource\022\256\002\n" - + "\tSetLabels\0220.google.cloud.compute.v1.SetLabelsA" - + "ddressRequest\032\".google.cloud.compute.v1." - + "Operation\"\312\001\332A:project,region,resource,r" - + "egion_set_labels_request_resource\212N\020Regi" - + "onOperations\202\323\344\223\002t\"N/compute/v1/projects" - + "/{project}/regions/{region}/addresses/{r" - + "esource}/setLabels:\"region_set_labels_request_resource\022\302\002\n" - + "\022TestIamPermissions\0229.google.cloud.compute.v1.TestIamPermissio" - + "nsAddressRequest\0320.google.cloud.compute." - + "v1.TestPermissionsResponse\"\276\001\332A9project," - + "region,resource,test_permissions_request" - + "_resource\202\323\344\223\002|\"W/compute/v1/projects/{p" - + "roject}/regions/{region}/addresses/{resource}/testIamPermissions:!test_permissio" - + "ns_request_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth/cloud-platform2\336\014\n" + + "\016AggregatedList\0227.google.cloud.compute.v1.AggregatedListAddressesRequest\032.." + + "google.cloud.compute.v1.AddressAggregate" + + "dList\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/projects/{project}/aggregated/addresses\022\324\001\n" + + "\006Delete\022-.google.cloud.compute.v1.Delete" + + "AddressRequest\032\".google.cloud.compute.v1" + + ".Operation\"w\332A\026project,region,address\212N\020" + + "RegionOperations\202\323\344\223\002E*C/compute/v1/proj" + + "ects/{project}/regions/{region}/addresses/{address}\022\271\001\n" + + "\003Get\022*.google.cloud.compute.v1.GetAddressRequest\032 .google.cloud.c" + + "ompute.v1.Address\"d\332A\026project,region,add" + + "ress\202\323\344\223\002E\022C/compute/v1/projects/{projec" + + "t}/regions/{region}/addresses/{address}\022\346\001\n" + + "\006Insert\022-.google.cloud.compute.v1.Ins" + + "ertAddressRequest\032\".google.cloud.compute" + + ".v1.Operation\"\210\001\332A\037project,region,addres" + + "s_resource\212N\020RegionOperations\202\323\344\223\002M\"9/co" + + "mpute/v1/projects/{project}/regions/{region}/addresses:\020address_resource\022\257\001\n" + + "\004List\022-.google.cloud.compute.v1.ListAddresse" + + "sRequest\032$.google.cloud.compute.v1.Addre" + + "ssList\"R\332A\016project,region\202\323\344\223\002;\0229/comput" + + "e/v1/projects/{project}/regions/{region}/addresses\022\245\002\n" + + "\004Move\022+.google.cloud.compute.v1.MoveAddressRequest\032\".google.cloud." + + "compute.v1.Operation\"\313\001\332A=project,region" + + ",address,region_addresses_move_request_r" + + "esource\212N\020RegionOperations\202\323\344\223\002r\"H/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/addresses/{address}/move:®ion_addresses_move_request_resource\022\256\002\n" + + "\tSetLabels\0220.google.cloud.compute.v1.SetLabelsAddr" + + "essRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\312\001\332A:project,region,resource,regi" + + "on_set_labels_request_resource\212N\020RegionO" + + "perations\202\323\344\223\002t\"N/compute/v1/projects/{p" + + "roject}/regions/{region}/addresses/{reso" + + "urce}/setLabels:\"region_set_labels_request_resource\022\302\002\n" + + "\022TestIamPermissions\0229.google.cloud.compute.v1.TestIamPermissionsA" + + "ddressRequest\0320.google.cloud.compute.v1." + + "TestPermissionsResponse\"\276\001\332A9project,reg" + + "ion,resource,test_permissions_request_re" + + "source\202\323\344\223\002|\"W/compute/v1/projects/{proj" + + "ect}/regions/{region}/addresses/{resource}/testIamPermissions:!test_permissions_" + + "request_resource\032r\312A\026compute.googleapis." + + "com\322AVhttps://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cloud-platform2\336\014\n" + "\013Autoscalers\022\307\001\n" - + "\016AggregatedList\0229.google.cloud.compute.v1.Agg" - + "regatedListAutoscalersRequest\0321.google.cloud.compute.v1.AutoscalerAggregatedList" - + "\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/projects/{project}/aggregated/autoscalers\022\327\001\n" - + "\006Delete\0220.google.cloud.compute.v1.DeleteAut" - + "oscalerRequest\032\".google.cloud.compute.v1" - + ".Operation\"w\332A\027project,zone,autoscaler\212N" - + "\016ZoneOperations\202\323\344\223\002F*D/compute/v1/proje" - + "cts/{project}/zones/{zone}/autoscalers/{autoscaler}\022\301\001\n" - + "\003Get\022-.google.cloud.compute.v1.GetAutoscalerRequest\032#.google.clou" - + "d.compute.v1.Autoscaler\"f\332A\027project,zone" - + ",autoscaler\202\323\344\223\002F\022D/compute/v1/projects/" - + "{project}/zones/{zone}/autoscalers/{autoscaler}\022\351\001\n" - + "\006Insert\0220.google.cloud.comput" - + "e.v1.InsertAutoscalerRequest\032\".google.cloud.compute.v1.Operation\"\210\001\332A" - + " project,zone,autoscaler_resource\212N\016ZoneOperations\202" - + "\323\344\223\002N\"7/compute/v1/projects/{project}/zo" - + "nes/{zone}/autoscalers:\023autoscaler_resource\022\260\001\n" - + "\004List\022/.google.cloud.compute.v1.ListAutoscalersRequest\032\'.google.cloud.com" - + "pute.v1.AutoscalerList\"N\332A\014project,zone\202" - + "\323\344\223\0029\0227/compute/v1/projects/{project}/zones/{zone}/autoscalers\022\347\001\n" - + "\005Patch\022/.google.cloud.compute.v1.PatchAutoscalerReques" - + "t\032\".google.cloud.compute.v1.Operation\"\210\001\332A" - + " project,zone,autoscaler_resource\212N\016Zo" - + "neOperations\202\323\344\223\002N27/compute/v1/projects" - + "/{project}/zones/{zone}/autoscalers:\023autoscaler_resource\022\351\001\n" - + "\006Update\0220.google.clo" - + "ud.compute.v1.UpdateAutoscalerRequest\032\".google.cloud.compute.v1.Operation\"\210\001\332A" - + " project,zone,autoscaler_resource\212N\016ZoneOp" - + "erations\202\323\344\223\002N\0327/compute/v1/projects/{pr" - + "oject}/zones/{zone}/autoscalers:\023autosca" - + "ler_resource\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-platform2\305\031\n" + + "\016AggregatedList\0229.google.cloud.compute.v1.Aggreg" + + "atedListAutoscalersRequest\0321.google.clou" + + "d.compute.v1.AutoscalerAggregatedList\"G\332" + + "A\007project\202\323\344\223\0027\0225/compute/v1/projects/{project}/aggregated/autoscalers\022\327\001\n" + + "\006Delete\0220.google.cloud.compute.v1.DeleteAutosc" + + "alerRequest\032\".google.cloud.compute.v1.Op" + + "eration\"w\332A\027project,zone,autoscaler\212N\016Zo" + + "neOperations\202\323\344\223\002F*D/compute/v1/projects" + + "/{project}/zones/{zone}/autoscalers/{autoscaler}\022\301\001\n" + + "\003Get\022-.google.cloud.compute.v1.GetAutoscalerRequest\032#.google.cloud.c" + + "ompute.v1.Autoscaler\"f\332A\027project,zone,au" + + "toscaler\202\323\344\223\002F\022D/compute/v1/projects/{pr" + + "oject}/zones/{zone}/autoscalers/{autoscaler}\022\351\001\n" + + "\006Insert\0220.google.cloud.compute.v" + + "1.InsertAutoscalerRequest\032\".google.cloud.compute.v1.Operation\"\210\001\332A" + + " project,zone,autoscaler_resource\212N\016ZoneOperations\202\323\344\223" + + "\002N\"7/compute/v1/projects/{project}/zones" + + "/{zone}/autoscalers:\023autoscaler_resource\022\260\001\n" + + "\004List\022/.google.cloud.compute.v1.ListAutoscalersRequest\032\'.google.cloud.comput" + + "e.v1.AutoscalerList\"N\332A\014project,zone\202\323\344\223" + + "\0029\0227/compute/v1/projects/{project}/zones/{zone}/autoscalers\022\347\001\n" + + "\005Patch\022/.google.c" + + "loud.compute.v1.PatchAutoscalerRequest\032\".google.cloud.compute.v1.Operation\"\210\001\332A" + + " project,zone,autoscaler_resource\212N\016ZoneO" + + "perations\202\323\344\223\002N27/compute/v1/projects/{p" + + "roject}/zones/{zone}/autoscalers:\023autoscaler_resource\022\351\001\n" + + "\006Update\0220.google.cloud." + + "compute.v1.UpdateAutoscalerRequest\032\".google.cloud.compute.v1.Operation\"\210\001\332A" + + " project,zone,autoscaler_resource\212N\016ZoneOpera" + + "tions\202\323\344\223\002N\0327/compute/v1/projects/{proje" + + "ct}/zones/{zone}/autoscalers:\023autoscaler" + + "_resource\032r\312A\026compute.googleapis.com\322AVh" + + "ttps://www.googleapis.com/auth/compute,h" + + "ttps://www.googleapis.com/auth/cloud-platform2\305\031\n" + "\016BackendBuckets\022\260\002\n" - + "\017AddSignedUrlKey\022<.google.cloud.compute.v1.AddSig" - + "nedUrlKeyBackendBucketRequest\032\".google.c" - + "loud.compute.v1.Operation\"\272\001\332A.project,b" - + "ackend_bucket,signed_url_key_resource\212N\020" - + "GlobalOperations\202\323\344\223\002p\"U/compute/v1/proj" - + "ects/{project}/global/backendBuckets/{ba" - + "ckend_bucket}/addSignedUrlKey:\027signed_url_key_resource\022\334\001\n" - + "\006Delete\0223.google.cloud.compute.v1.DeleteBackendBucketRequest\032\"" - + ".google.cloud.compute.v1.Operation\"y\332A\026p" - + "roject,backend_bucket\212N\020GlobalOperations" - + "\202\323\344\223\002G*E/compute/v1/projects/{project}/g" - + "lobal/backendBuckets/{backend_bucket}\022\221\002\n" - + "\022DeleteSignedUrlKey\022?.google.cloud.compute.v1.DeleteSignedUrlKeyBackendBucketRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\225\001\332A\037project,backend_bucket,key_name\212N" - + "\020GlobalOperations\202\323\344\223\002Z\"X/compute/v1/pro" - + "jects/{project}/global/backendBuckets/{backend_bucket}/deleteSignedUrlKey\022\307\001\n" - + "\003Get\0220.google.cloud.compute.v1.GetBackendBu" - + "cketRequest\032&.google.cloud.compute.v1.Ba" - + "ckendBucket\"f\332A\026project,backend_bucket\202\323" - + "\344\223\002G\022E/compute/v1/projects/{project}/global/backendBuckets/{backend_bucket}\022\323\001\n" - + "\014GetIamPolicy\0229.google.cloud.compute.v1.G" - + "etIamPolicyBackendBucketRequest\032\037.google" - + ".cloud.compute.v1.Policy\"g\332A\020project,res" - + "ource\202\323\344\223\002N\022L/compute/v1/projects/{proje" - + "ct}/global/backendBuckets/{resource}/getIamPolicy\022\356\001\n" - + "\006Insert\0223.google.cloud.compute.v1.InsertBackendBucketRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\212\001\332A\037proje" - + "ct,backend_bucket_resource\212N\020GlobalOpera" - + "tions\202\323\344\223\002O\"4/compute/v1/projects/{proje" - + "ct}/global/backendBuckets:\027backend_bucket_resource\022\256\001\n" - + "\004List\0222.google.cloud.compute.v1.ListBackendBucketsRequest\032*.google" - + ".cloud.compute.v1.BackendBucketList\"F\332A\007" - + "project\202\323\344\223\0026\0224/compute/v1/projects/{project}/global/backendBuckets\022\214\002\n" - + "\005Patch\0222.google.cloud.compute.v1.PatchBackendBuck" - + "etRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\252\001\332A.project,backend_bucket,backen" - + "d_bucket_resource\212N\020GlobalOperations\202\323\344\223" - + "\002`2E/compute/v1/projects/{project}/globa" - + "l/backendBuckets/{backend_bucket}:\027backend_bucket_resource\022\331\002\n" - + "\025SetEdgeSecurityPolicy\022B.google.cloud.compute.v1.SetEdgeSe" - + "curityPolicyBackendBucketRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\327\001\332A9projec" - + "t,backend_bucket,security_policy_referen" - + "ce_resource\212N\020GlobalOperations\202\323\344\223\002\201\001\"[/" - + "compute/v1/projects/{project}/global/backendBuckets/{backend_bucket}/setEdgeSecu" - + "rityPolicy:\"security_policy_reference_resource\022\233\002\n" - + "\014SetIamPolicy\0229.google.cloud.compute.v1.SetIamPolicyBackendBucketReque" - + "st\032\037.google.cloud.compute.v1.Policy\"\256\001\332A" - + "3project,resource,global_set_policy_requ" - + "est_resource\202\323\344\223\002r\"L/compute/v1/projects" - + "/{project}/global/backendBuckets/{resour" - + "ce}/setIamPolicy:\"global_set_policy_request_resource\022\274\002\n" - + "\022TestIamPermissions\022?.google.cloud.compute.v1.TestIamPermissions" - + "BackendBucketRequest\0320.google.cloud.comp" - + "ute.v1.TestPermissionsResponse\"\262\001\332A2proj" - + "ect,resource,test_permissions_request_re" - + "source\202\323\344\223\002w\"R/compute/v1/projects/{proj" - + "ect}/global/backendBuckets/{resource}/te" - + "stIamPermissions:!test_permissions_request_resource\022\216\002\n" - + "\006Update\0223.google.cloud.compute.v1.UpdateBackendBucketRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\252\001\332A.pro" - + "ject,backend_bucket,backend_bucket_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002`\032E/compute/v" - + "1/projects/{project}/global/backendBuckets/{backend_bucket}:\027backend_bucket_reso" - + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" - + "//www.googleapis.com/auth/compute,https:" - + "//www.googleapis.com/auth/cloud-platform2\244\"\n" + + "\017AddSignedUrlKey\022<.google.cloud.compute.v1.AddSigned" + + "UrlKeyBackendBucketRequest\032\".google.clou" + + "d.compute.v1.Operation\"\272\001\332A.project,back" + + "end_bucket,signed_url_key_resource\212N\020Glo" + + "balOperations\202\323\344\223\002p\"U/compute/v1/project" + + "s/{project}/global/backendBuckets/{backe" + + "nd_bucket}/addSignedUrlKey:\027signed_url_key_resource\022\334\001\n" + + "\006Delete\0223.google.cloud.compute.v1.DeleteBackendBucketRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"y\332A\026proj" + + "ect,backend_bucket\212N\020GlobalOperations\202\323\344" + + "\223\002G*E/compute/v1/projects/{project}/global/backendBuckets/{backend_bucket}\022\221\002\n" + + "\022DeleteSignedUrlKey\022?.google.cloud.compute" + + ".v1.DeleteSignedUrlKeyBackendBucketReque" + + "st\032\".google.cloud.compute.v1.Operation\"\225" + + "\001\332A\037project,backend_bucket,key_name\212N\020Gl" + + "obalOperations\202\323\344\223\002Z\"X/compute/v1/projec" + + "ts/{project}/global/backendBuckets/{backend_bucket}/deleteSignedUrlKey\022\307\001\n" + + "\003Get\0220.google.cloud.compute.v1.GetBackendBucke" + + "tRequest\032&.google.cloud.compute.v1.Backe" + + "ndBucket\"f\332A\026project,backend_bucket\202\323\344\223\002" + + "G\022E/compute/v1/projects/{project}/global/backendBuckets/{backend_bucket}\022\323\001\n" + + "\014GetIamPolicy\0229.google.cloud.compute.v1.GetI" + + "amPolicyBackendBucketRequest\032\037.google.cl" + + "oud.compute.v1.Policy\"g\332A\020project,resour" + + "ce\202\323\344\223\002N\022L/compute/v1/projects/{project}" + + "/global/backendBuckets/{resource}/getIamPolicy\022\356\001\n" + + "\006Insert\0223.google.cloud.compute.v1.InsertBackendBucketRequest\032\".google." + + "cloud.compute.v1.Operation\"\212\001\332A\037project," + + "backend_bucket_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002O\"4/compute/v1/projects/{project}" + + "/global/backendBuckets:\027backend_bucket_resource\022\256\001\n" + + "\004List\0222.google.cloud.compute.v1.ListBackendBucketsRequest\032*.google.cl" + + "oud.compute.v1.BackendBucketList\"F\332A\007pro" + + "ject\202\323\344\223\0026\0224/compute/v1/projects/{project}/global/backendBuckets\022\214\002\n" + + "\005Patch\0222.google.cloud.compute.v1.PatchBackendBucketR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\252\001\332A.project,backend_bucket,backend_b" + + "ucket_resource\212N\020GlobalOperations\202\323\344\223\002`2" + + "E/compute/v1/projects/{project}/global/b" + + "ackendBuckets/{backend_bucket}:\027backend_bucket_resource\022\331\002\n" + + "\025SetEdgeSecurityPolicy\022B.google.cloud.compute.v1.SetEdgeSecur" + + "ityPolicyBackendBucketRequest\032\".google.c" + + "loud.compute.v1.Operation\"\327\001\332A9project,b" + + "ackend_bucket,security_policy_reference_" + + "resource\212N\020GlobalOperations\202\323\344\223\002\201\001\"[/com" + + "pute/v1/projects/{project}/global/backendBuckets/{backend_bucket}/setEdgeSecurit" + + "yPolicy:\"security_policy_reference_resource\022\233\002\n" + + "\014SetIamPolicy\0229.google.cloud.compute.v1.SetIamPolicyBackendBucketRequest\032" + + "\037.google.cloud.compute.v1.Policy\"\256\001\332A3pr" + + "oject,resource,global_set_policy_request" + + "_resource\202\323\344\223\002r\"L/compute/v1/projects/{p" + + "roject}/global/backendBuckets/{resource}" + + "/setIamPolicy:\"global_set_policy_request_resource\022\274\002\n" + + "\022TestIamPermissions\022?.google.cloud.compute.v1.TestIamPermissionsBac" + + "kendBucketRequest\0320.google.cloud.compute" + + ".v1.TestPermissionsResponse\"\262\001\332A2project" + + ",resource,test_permissions_request_resou" + + "rce\202\323\344\223\002w\"R/compute/v1/projects/{project" + + "}/global/backendBuckets/{resource}/testI" + + "amPermissions:!test_permissions_request_resource\022\216\002\n" + + "\006Update\0223.google.cloud.compute.v1.UpdateBackendBucketRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\252\001\332A.projec" + + "t,backend_bucket,backend_bucket_resource" + + "\212N\020GlobalOperations\202\323\344\223\002`\032E/compute/v1/p" + + "rojects/{project}/global/backendBuckets/{backend_bucket}:\027backend_bucket_resourc" + + "e\032r\312A\026compute.googleapis.com\322AVhttps://w" + + "ww.googleapis.com/auth/compute,https://www.googleapis.com/auth/cloud-platform2\244\"\n" + "\017BackendServices\022\264\002\n" - + "\017AddSignedUrlKey\022=.google.cloud.compute.v1.AddSignedUrlK" - + "eyBackendServiceRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\275\001\332A/project,backend" - + "_service,signed_url_key_resource\212N\020Globa" - + "lOperations\202\323\344\223\002r\"W/compute/v1/projects/" - + "{project}/global/backendServices/{backen" - + "d_service}/addSignedUrlKey:\027signed_url_key_resource\022\323\001\n" - + "\016AggregatedList\022=.google.cloud.compute.v1.AggregatedListBackendSe" - + "rvicesRequest\0325.google.cloud.compute.v1." - + "BackendServiceAggregatedList\"K\332A\007project" - + "\202\323\344\223\002;\0229/compute/v1/projects/{project}/aggregated/backendServices\022\340\001\n" - + "\006Delete\0224.google.cloud.compute.v1.DeleteBackendServ" - + "iceRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"|\332A\027project,backend_service\212N\020Glo" - + "balOperations\202\323\344\223\002I*G/compute/v1/project" - + "s/{project}/global/backendServices/{backend_service}\022\225\002\n" - + "\022DeleteSignedUrlKey\022@.google.cloud.compute.v1.DeleteSignedUrlKey" - + "BackendServiceRequest\032\".google.cloud.compute.v1.Operation\"\230\001\332A" - + " project,backend_service,key_name\212N\020GlobalOperations\202\323\344\223\002\\" - + "\"Z/compute/v1/projects/{project}/global/" - + "backendServices/{backend_service}/deleteSignedUrlKey\022\314\001\n" - + "\003Get\0221.google.cloud.compute.v1.GetBackendServiceRequest\032\'.google" - + ".cloud.compute.v1.BackendService\"i\332A\027pro" - + "ject,backend_service\202\323\344\223\002I\022G/compute/v1/" - + "projects/{project}/global/backendServices/{backend_service}\022\263\002\n" - + "\tGetHealth\0227.google.cloud.compute.v1.GetHealthBackendServ" - + "iceRequest\0322.google.cloud.compute.v1.Bac" - + "kendServiceGroupHealth\"\270\001\332A9project,back" - + "end_service,resource_group_reference_res" - + "ource\202\323\344\223\002v\"Q/compute/v1/projects/{proje" - + "ct}/global/backendServices/{backend_serv" - + "ice}/getHealth:!resource_group_reference_resource\022\325\001\n" - + "\014GetIamPolicy\022:.google.cloud.compute.v1.GetIamPolicyBackendServiceR" - + "equest\032\037.google.cloud.compute.v1.Policy\"" - + "h\332A\020project,resource\202\323\344\223\002O\022M/compute/v1/" - + "projects/{project}/global/backendServices/{resource}/getIamPolicy\022\362\001\n" - + "\006Insert\0224.google.cloud.compute.v1.InsertBackendServ" - + "iceRequest\032\".google.cloud.compute.v1.Operation\"\215\001\332A" - + " project,backend_service_reso" - + "urce\212N\020GlobalOperations\202\323\344\223\002Q\"5/compute/" - + "v1/projects/{project}/global/backendServices:\030backend_service_resource\022\261\001\n" - + "\004List\0223.google.cloud.compute.v1.ListBackendSer" - + "vicesRequest\032+.google.cloud.compute.v1.B" - + "ackendServiceList\"G\332A\007project\202\323\344\223\0027\0225/co" - + "mpute/v1/projects/{project}/global/backendServices\022\316\001\n\n" - + "ListUsable\0229.google.cloud.compute.v1.ListUsableBackendServicesReq" - + "uest\0321.google.cloud.compute.v1.BackendSe" - + "rviceListUsable\"R\332A\007project\202\323\344\223\002B\022@/comp" - + "ute/v1/projects/{project}/global/backendServices/listUsable\022\222\002\n" - + "\005Patch\0223.google.cloud.compute.v1.PatchBackendServiceReque" - + "st\032\".google.cloud.compute.v1.Operation\"\257" - + "\001\332A0project,backend_service,backend_serv" - + "ice_resource\212N\020GlobalOperations\202\323\344\223\002c2G/" + + "\017AddSignedUrlKey\022=.google.cloud.compute.v1.AddSignedUrlKeyB" + + "ackendServiceRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\275\001\332A/project,backend_se" + + "rvice,signed_url_key_resource\212N\020GlobalOp" + + "erations\202\323\344\223\002r\"W/compute/v1/projects/{pr" + + "oject}/global/backendServices/{backend_s" + + "ervice}/addSignedUrlKey:\027signed_url_key_resource\022\323\001\n" + + "\016AggregatedList\022=.google.cloud.compute.v1.AggregatedListBackendServi" + + "cesRequest\0325.google.cloud.compute.v1.Bac" + + "kendServiceAggregatedList\"K\332A\007project\202\323\344" + + "\223\002;\0229/compute/v1/projects/{project}/aggregated/backendServices\022\340\001\n" + + "\006Delete\0224.google.cloud.compute.v1.DeleteBackendService" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"|\332A\027project,backend_service\212N\020Global" + + "Operations\202\323\344\223\002I*G/compute/v1/projects/{" + + "project}/global/backendServices/{backend_service}\022\225\002\n" + + "\022DeleteSignedUrlKey\022@.google.cloud.compute.v1.DeleteSignedUrlKeyBac" + + "kendServiceRequest\032\".google.cloud.compute.v1.Operation\"\230\001\332A" + + " project,backend_service,key_name\212N\020GlobalOperations\202\323\344\223\002\\\"Z/" + "compute/v1/projects/{project}/global/bac" - + "kendServices/{backend_service}:\030backend_service_resource\022\335\002\n" - + "\025SetEdgeSecurityPolicy\022C.google.cloud.compute.v1.SetEdgeSecu" - + "rityPolicyBackendServiceRequest\032\".google" - + ".cloud.compute.v1.Operation\"\332\001\332A:project" - + ",backend_service,security_policy_referen" - + "ce_resource\212N\020GlobalOperations\202\323\344\223\002\203\001\"]/" - + "compute/v1/projects/{project}/global/backendServices/{backend_service}/setEdgeSe" - + "curityPolicy:\"security_policy_reference_resource\022\235\002\n" - + "\014SetIamPolicy\022:.google.cloud.compute.v1.SetIamPolicyBackendServiceRe" - + "quest\032\037.google.cloud.compute.v1.Policy\"\257" - + "\001\332A3project,resource,global_set_policy_r" - + "equest_resource\202\323\344\223\002s\"M/compute/v1/proje" - + "cts/{project}/global/backendServices/{re" - + "source}/setIamPolicy:\"global_set_policy_request_resource\022\320\002\n" - + "\021SetSecurityPolicy\022?", - ".google.cloud.compute.v1.SetSecurityPoli" - + "cyBackendServiceRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\325\001\332A:project,backend" - + "_service,security_policy_reference_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002\177\"Y/compute/v" - + "1/projects/{project}/global/backendServi" - + "ces/{backend_service}/setSecurityPolicy:" - + "\"security_policy_reference_resource\022\276\002\n\022" - + "TestIamPermissions\022@.google.cloud.comput" - + "e.v1.TestIamPermissionsBackendServiceReq" - + "uest\0320.google.cloud.compute.v1.TestPermi" - + "ssionsResponse\"\263\001\332A2project,resource,tes" - + "t_permissions_request_resource\202\323\344\223\002x\"S/c" - + "ompute/v1/projects/{project}/global/back" - + "endServices/{resource}/testIamPermission" - + "s:!test_permissions_request_resource\022\224\002\n" - + "\006Update\0224.google.cloud.compute.v1.Update" - + "BackendServiceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\257\001\332A0project,backend_s" - + "ervice,backend_service_resource\212N\020Global" - + "Operations\202\323\344\223\002c\032G/compute/v1/projects/{" - + "project}/global/backendServices/{backend" - + "_service}:\030backend_service_resource\032r\312A\026" - + "compute.googleapis.com\322AVhttps://www.goo" - + "gleapis.com/auth/compute,https://www.goo" - + "gleapis.com/auth/cloud-platform2\337\005\n\tDisk" - + "Types\022\301\001\n\016AggregatedList\0227.google.cloud." - + "compute.v1.AggregatedListDiskTypesReques" - + "t\032/.google.cloud.compute.v1.DiskTypeAggr" - + "egatedList\"E\332A\007project\202\323\344\223\0025\0223/compute/v" - + "1/projects/{project}/aggregated/diskType" - + "s\022\271\001\n\003Get\022+.google.cloud.compute.v1.GetD" - + "iskTypeRequest\032!.google.cloud.compute.v1" - + ".DiskType\"b\332A\026project,zone,disk_type\202\323\344\223" - + "\002C\022A/compute/v1/projects/{project}/zones" - + "/{zone}/diskTypes/{disk_type}\022\252\001\n\004List\022-" - + ".google.cloud.compute.v1.ListDiskTypesRe" - + "quest\032%.google.cloud.compute.v1.DiskType" - + "List\"L\332A\014project,zone\202\323\344\223\0027\0225/compute/v1" - + "/projects/{project}/zones/{zone}/diskTyp" - + "es\032\244\001\312A\026compute.googleapis.com\322A\207\001https:" - + "//www.googleapis.com/auth/compute.readon" - + "ly,https://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\273\'\n\005Disks\022\311\002\n\023AddResourcePolic" - + "ies\0227.google.cloud.compute.v1.AddResourc" - + "ePoliciesDiskRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\324\001\332A>project,zone,disk," - + "disks_add_resource_policies_request_reso" - + "urce\212N\016ZoneOperations\202\323\344\223\002|\"L/compute/v1" - + "/projects/{project}/zones/{zone}/disks/{" - + "disk}/addResourcePolicies:,disks_add_res" - + "ource_policies_request_resource\022\265\001\n\016Aggr" - + "egatedList\0223.google.cloud.compute.v1.Agg" - + "regatedListDisksRequest\032+.google.cloud.c" - + "ompute.v1.DiskAggregatedList\"A\332A\007project" - + "\202\323\344\223\0021\022//compute/v1/projects/{project}/a" - + "ggregated/disks\022\216\002\n\nBulkInsert\022..google." - + "cloud.compute.v1.BulkInsertDiskRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\253\001\332A/" - + "project,zone,bulk_insert_disk_resource_r" - + "esource\212N\016ZoneOperations\202\323\344\223\002b\"project,zone,disk,dis" + + "ks_add_resource_policies_request_resourc" + + "e\212N\016ZoneOperations\202\323\344\223\002|\"L/compute/v1/pr" + + "ojects/{project}/zones/{zone}/disks/{dis" + + "k}/addResourcePolicies:,disks_add_resour" + + "ce_policies_request_resource\022\265\001\n\016Aggrega" + + "tedList\0223.google.cloud.compute.v1.Aggreg" + + "atedListDisksRequest\032+.google.cloud.comp" + + "ute.v1.DiskAggregatedList\"A\332A\007project\202\323\344" + + "\223\0021\022//compute/v1/projects/{project}/aggr" + + "egated/disks\022\216\002\n\nBulkInsert\022..google.clo" + + "ud.compute.v1.BulkInsertDiskRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\253\001\332A/pro" + + "ject,zone,bulk_insert_disk_resource_reso" + + "urce\212N\016ZoneOperations\202\323\344\223\002b\".google.cloud.compute.v1.ListAssociatio" + + "nsFirewallPolicyRequest\032A.google.cloud.c" + + "ompute.v1.FirewallPoliciesListAssociatio" + + "nsResponse\"I\332A\000\202\323\344\223\002@\022>/compute/v1/locat" + + "ions/global/firewallPolicies/listAssocia" + + "tions\022\350\001\n\004Move\0222.google.cloud.compute.v1" + + ".MoveFirewallPolicyRequest\032\".google.clou" + + "d.compute.v1.Operation\"\207\001\332A\031firewall_pol" + + "icy,parent_id\212N\034GlobalOrganizationOperat" + + "ions\202\323\344\223\002F\"D/compute/v1/locations/global" + + "/firewallPolicies/{firewall_policy}/move" + + "\022\216\002\n\005Patch\0223.google.cloud.compute.v1.Pat" + + "chFirewallPolicyRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\253\001\332A(firewall_policy" + ",firewall_policy_resource\212N\034GlobalOrgani" - + "zationOperations\202\323\344\223\002I\"-/compute/v1/loca" - + "tions/global/firewallPolicies:\030firewall_" - + "policy_resource\022\243\001\n\004List\0224.google.cloud." - + "compute.v1.ListFirewallPoliciesRequest\032+" - + ".google.cloud.compute.v1.FirewallPolicyL" - + "ist\"8\332A\000\202\323\344\223\002/\022-/compute/v1/locations/gl" - + "obal/firewallPolicies\022\340\001\n\020ListAssociatio" - + "ns\022>.google.cloud.compute.v1.ListAssocia" - + "tionsFirewallPolicyRequest\032A.google.clou" - + "d.compute.v1.FirewallPoliciesListAssocia" - + "tionsResponse\"I\332A\000\202\323\344\223\002@\022>/compute/v1/lo" - + "cations/global/firewallPolicies/listAsso" - + "ciations\022\350\001\n\004Move\0222.google.cloud.compute" - + ".v1.MoveFirewallPolicyRequest\032\".google.c" - + "loud.compute.v1.Operation\"\207\001\332A\031firewall_" - + "policy,parent_id\212N\034GlobalOrganizationOpe" - + "rations\202\323\344\223\002F\"D/compute/v1/locations/glo" - + "bal/firewallPolicies/{firewall_policy}/m" - + "ove\022\216\002\n\005Patch\0223.google.cloud.compute.v1." - + "PatchFirewallPolicyRequest\032\".google.clou" - + "d.compute.v1.Operation\"\253\001\332A(firewall_pol" - + "icy,firewall_policy_resource\212N\034GlobalOrg" - + "anizationOperations\202\323\344\223\002[2?/compute/v1/l" - + "ocations/global/firewallPolicies/{firewa" - + "ll_policy}:\030firewall_policy_resource\022\252\002\n" - + "\tPatchRule\0227.google.cloud.compute.v1.Pat" - + "chRuleFirewallPolicyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\277\001\332A-firewall_po" - + "licy,firewall_policy_rule_resource\212N\034Glo" - + "balOrganizationOperations\202\323\344\223\002j\"I/comput" - + "e/v1/locations/global/firewallPolicies/{" - + "firewall_policy}/patchRule:\035firewall_pol" - + "icy_rule_resource\022\205\002\n\021RemoveAssociation\022" - + "?.google.cloud.compute.v1.RemoveAssociat" - + "ionFirewallPolicyRequest\032\".google.cloud." - + "compute.v1.Operation\"\212\001\332A\017firewall_polic" - + "y\212N\034GlobalOrganizationOperations\202\323\344\223\002S\"Q" - + "/compute/v1/locations/global/firewallPol" - + "icies/{firewall_policy}/removeAssociatio" - + "n\022\360\001\n\nRemoveRule\0228.google.cloud.compute." - + "v1.RemoveRuleFirewallPolicyRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\203\001\332A\017fire" - + "wall_policy\212N\034GlobalOrganizationOperatio" - + "ns\202\323\344\223\002L\"J/compute/v1/locations/global/f" - + "irewallPolicies/{firewall_policy}/remove" - + "Rule\022\247\002\n\014SetIamPolicy\022:.google.cloud.com" - + "pute.v1.SetIamPolicyFirewallPolicyReques" - + "t\032\037.google.cloud.compute.v1.Policy\"\271\001\332A8" - + "resource,global_organization_set_policy_" - + "request_resource\202\323\344\223\002x\"E/compute/v1/loca" - + "tions/global/firewallPolicies/{resource}" - + "/setIamPolicy:/global_organization_set_p" - + "olicy_request_resource\022\256\002\n\022TestIamPermis" - + "sions\022@.google.cloud.compute.v1.TestIamP" - + "ermissionsFirewallPolicyRequest\0320.google" - + ".cloud.compute.v1.TestPermissionsRespons" - + "e\"\243\001\332A*resource,test_permissions_request" - + "_resource\202\323\344\223\002p\"K/compute/v1/locations/g" - + "lobal/firewallPolicies/{resource}/testIa" - + "mPermissions:!test_permissions_request_r" - + "esource\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\317\n\n\tFirewalls\022\306\001\n\006Delete\022..google.cl" - + "oud.compute.v1.DeleteFirewallRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"h\332A\020pro" - + "ject,firewall\212N\020GlobalOperations\202\323\344\223\002<*:" - + "/compute/v1/projects/{project}/global/fi" - + "rewalls/{firewall}\022\254\001\n\003Get\022+.google.clou" - + "d.compute.v1.GetFirewallRequest\032!.google" - + ".cloud.compute.v1.Firewall\"U\332A\020project,f" - + "irewall\202\323\344\223\002<\022:/compute/v1/projects/{pro" - + "ject}/global/firewalls/{firewall}\022\327\001\n\006In" - + "sert\022..google.cloud.compute.v1.InsertFir" - + "ewallRequest\032\".google.cloud.compute.v1.O" - + "peration\"y\332A\031project,firewall_resource\212N" - + "\020GlobalOperations\202\323\344\223\002D\"//compute/v1/pro" - + "jects/{project}/global/firewalls:\021firewa" - + "ll_resource\022\237\001\n\004List\022-.google.cloud.comp" - + "ute.v1.ListFirewallsRequest\032%.google.clo" - + "ud.compute.v1.FirewallList\"A\332A\007project\202\323" - + "\344\223\0021\022//compute/v1/projects/{project}/glo" - + "bal/firewalls\022\352\001\n\005Patch\022-.google.cloud.c" - + "ompute.v1.PatchFirewallRequest\032\".google." - + "cloud.compute.v1.Operation\"\215\001\332A\"project," - + "firewall,firewall_resource\212N\020GlobalOpera" - + "tions\202\323\344\223\002O2:/compute/v1/projects/{proje" - + "ct}/global/firewalls/{firewall}:\021firewal" - + "l_resource\022\354\001\n\006Update\022..google.cloud.com" - + "pute.v1.UpdateFirewallRequest\032\".google.c" - + "loud.compute.v1.Operation\"\215\001\332A\"project,f" - + "irewall,firewall_resource\212N\020GlobalOperat" - + "ions\202\323\344\223\002O\032:/compute/v1/projects/{projec" - + "t}/global/firewalls/{firewall}:\021firewall" - + "_resource\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\231\021\n\017ForwardingRules\022\323\001\n\016Aggregated" - + "List\022=.google.cloud.compute.v1.Aggregate" - + "dListForwardingRulesRequest\0325.google.clo" - + "ud.compute.v1.ForwardingRuleAggregatedLi" - + "st\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/projec" - + "ts/{project}/aggregated/forwardingRules\022" - + "\362\001\n\006Delete\0224.google.cloud.compute.v1.Del" - + "eteForwardingRuleRequest\032\".google.cloud." - + "compute.v1.Operation\"\215\001\332A\036project,region" - + ",forwarding_rule\212N\020RegionOperations\202\323\344\223\002" - + "S*Q/compute/v1/projects/{project}/region" - + "s/{region}/forwardingRules/{forwarding_r" - + "ule}\022\335\001\n\003Get\0221.google.cloud.compute.v1.G" - + "etForwardingRuleRequest\032\'.google.cloud.c" - + "ompute.v1.ForwardingRule\"z\332A\036project,reg" - + "ion,forwarding_rule\202\323\344\223\002S\022Q/compute/v1/p" - + "rojects/{project}/regions/{region}/forwa" - + "rdingRules/{forwarding_rule}\022\203\002\n\006Insert\022" - + "4.google.cloud.compute.v1.InsertForwardi" - + "ngRuleRequest\032\".google.cloud.compute.v1." - + "Operation\"\236\001\332A\'project,region,forwarding" - + "_rule_resource\212N\020RegionOperations\202\323\344\223\002[\"" - + "?/compute/v1/projects/{project}/regions/" - + "{region}/forwardingRules:\030forwarding_rul" - + "e_resource\022\302\001\n\004List\0223.google.cloud.compu" - + "te.v1.ListForwardingRulesRequest\032+.googl" - + "e.cloud.compute.v1.ForwardingRuleList\"X\332" - + "A\016project,region\202\323\344\223\002A\022?/compute/v1/proj" + + "zationOperations\202\323\344\223\002[2?/compute/v1/loca" + + "tions/global/firewallPolicies/{firewall_" + + "policy}:\030firewall_policy_resource\022\252\002\n\tPa" + + "tchRule\0227.google.cloud.compute.v1.PatchR" + + "uleFirewallPolicyRequest\032\".google.cloud." + + "compute.v1.Operation\"\277\001\332A-firewall_polic" + + "y,firewall_policy_rule_resource\212N\034Global" + + "OrganizationOperations\202\323\344\223\002j\"I/compute/v" + + "1/locations/global/firewallPolicies/{fir" + + "ewall_policy}/patchRule:\035firewall_policy" + + "_rule_resource\022\205\002\n\021RemoveAssociation\022?.g" + + "oogle.cloud.compute.v1.RemoveAssociation" + + "FirewallPolicyRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\212\001\332A\017firewall_policy\212N" + + "\034GlobalOrganizationOperations\202\323\344\223\002S\"Q/co" + + "mpute/v1/locations/global/firewallPolici" + + "es/{firewall_policy}/removeAssociation\022\360" + + "\001\n\nRemoveRule\0228.google.cloud.compute.v1." + + "RemoveRuleFirewallPolicyRequest\032\".google" + + ".cloud.compute.v1.Operation\"\203\001\332A\017firewal" + + "l_policy\212N\034GlobalOrganizationOperations\202" + + "\323\344\223\002L\"J/compute/v1/locations/global/fire" + + "wallPolicies/{firewall_policy}/removeRul" + + "e\022\247\002\n\014SetIamPolicy\022:.google.cloud.comput" + + "e.v1.SetIamPolicyFirewallPolicyRequest\032\037" + + ".google.cloud.compute.v1.Policy\"\271\001\332A8res" + + "ource,global_organization_set_policy_req" + + "uest_resource\202\323\344\223\002x\"E/compute/v1/locatio" + + "ns/global/firewallPolicies/{resource}/se" + + "tIamPolicy:/global_organization_set_poli" + + "cy_request_resource\022\256\002\n\022TestIamPermissio" + + "ns\022@.google.cloud.compute.v1.TestIamPerm" + + "issionsFirewallPolicyRequest\0320.google.cl" + + "oud.compute.v1.TestPermissionsResponse\"\243" + + "\001\332A*resource,test_permissions_request_re" + + "source\202\323\344\223\002p\"K/compute/v1/locations/glob" + + "al/firewallPolicies/{resource}/testIamPe" + + "rmissions:!test_permissions_request_reso" + + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" + + "//www.googleapis.com/auth/compute,https:" + + "//www.googleapis.com/auth/cloud-platform" + + "2\317\n\n\tFirewalls\022\306\001\n\006Delete\022..google.cloud" + + ".compute.v1.DeleteFirewallRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"h\332A\020projec" + + "t,firewall\212N\020GlobalOperations\202\323\344\223\002<*:/co" + + "mpute/v1/projects/{project}/global/firew" + + "alls/{firewall}\022\254\001\n\003Get\022+.google.cloud.c" + + "ompute.v1.GetFirewallRequest\032!.google.cl" + + "oud.compute.v1.Firewall\"U\332A\020project,fire" + + "wall\202\323\344\223\002<\022:/compute/v1/projects/{projec" + + "t}/global/firewalls/{firewall}\022\327\001\n\006Inser" + + "t\022..google.cloud.compute.v1.InsertFirewa" + + "llRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"y\332A\031project,firewall_resource\212N\020Gl" + + "obalOperations\202\323\344\223\002D\"//compute/v1/projec" + + "ts/{project}/global/firewalls:\021firewall_" + + "resource\022\237\001\n\004List\022-.google.cloud.compute" + + ".v1.ListFirewallsRequest\032%.google.cloud." + + "compute.v1.FirewallList\"A\332A\007project\202\323\344\223\002" + + "1\022//compute/v1/projects/{project}/global" + + "/firewalls\022\352\001\n\005Patch\022-.google.cloud.comp" + + "ute.v1.PatchFirewallRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\215\001\332A\"project,fir" + + "ewall,firewall_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002O2:/compute/v1/projects/{project}" + + "/global/firewalls/{firewall}:\021firewall_r" + + "esource\022\354\001\n\006Update\022..google.cloud.comput" + + "e.v1.UpdateFirewallRequest\032\".google.clou" + + "d.compute.v1.Operation\"\215\001\332A\"project,fire" + + "wall,firewall_resource\212N\020GlobalOperation" + + "s\202\323\344\223\002O\032:/compute/v1/projects/{project}/" + + "global/firewalls/{firewall}:\021firewall_re" + + "source\032r\312A\026compute.googleapis.com\322AVhttp" + + "s://www.googleapis.com/auth/compute,http", + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\231\021\n\017ForwardingRules\022\323\001\n\016AggregatedLis" + + "t\022=.google.cloud.compute.v1.AggregatedLi" + + "stForwardingRulesRequest\0325.google.cloud." + + "compute.v1.ForwardingRuleAggregatedList\"" + + "K\332A\007project\202\323\344\223\002;\0229/compute/v1/projects/" + + "{project}/aggregated/forwardingRules\022\362\001\n" + + "\006Delete\0224.google.cloud.compute.v1.Delete" + + "ForwardingRuleRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\215\001\332A\036project,region,fo" + + "rwarding_rule\212N\020RegionOperations\202\323\344\223\002S*Q" + + "/compute/v1/projects/{project}/regions/{" + + "region}/forwardingRules/{forwarding_rule" + + "}\022\335\001\n\003Get\0221.google.cloud.compute.v1.GetF" + + "orwardingRuleRequest\032\'.google.cloud.comp" + + "ute.v1.ForwardingRule\"z\332A\036project,region" + + ",forwarding_rule\202\323\344\223\002S\022Q/compute/v1/proj" + "ects/{project}/regions/{region}/forwardi" - + "ngRules\022\243\002\n\005Patch\0223.google.cloud.compute" - + ".v1.PatchForwardingRuleRequest\032\".google." - + "cloud.compute.v1.Operation\"\300\001\332A7project," - + "region,forwarding_rule,forwarding_rule_r" - + "esource\212N\020RegionOperations\202\323\344\223\002m2Q/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/forwardingRules/{forwarding_rule}:\030for" - + "warding_rule_resource\022\273\002\n\tSetLabels\0227.go", - "ogle.cloud.compute.v1.SetLabelsForwardin" - + "gRuleRequest\032\".google.cloud.compute.v1.O" - + "peration\"\320\001\332A:project,region,resource,re" - + "gion_set_labels_request_resource\212N\020Regio" - + "nOperations\202\323\344\223\002z\"T/compute/v1/projects/" - + "{project}/regions/{region}/forwardingRul" - + "es/{resource}/setLabels:\"region_set_labe" - + "ls_request_resource\022\267\002\n\tSetTarget\0227.goog" - + "le.cloud.compute.v1.SetTargetForwardingR" + + "ngRules/{forwarding_rule}\022\203\002\n\006Insert\0224.g" + + "oogle.cloud.compute.v1.InsertForwardingR" + "uleRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\314\001\332A8project,region,forwarding_ru" - + "le,target_reference_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002x\"[/compute/v1/projects/{pro" - + "ject}/regions/{region}/forwardingRules/{" - + "forwarding_rule}/setTarget:\031target_refer" - + "ence_resource\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\203\016\n\017GlobalAddresses\022\311\001\n\006Delete" - + "\0223.google.cloud.compute.v1.DeleteGlobalA" - + "ddressRequest\032\".google.cloud.compute.v1." - + "Operation\"f\332A\017project,address\212N\020GlobalOp" - + "erations\202\323\344\223\002;*9/compute/v1/projects/{pr" - + "oject}/global/addresses/{address}\022\256\001\n\003Ge" - + "t\0220.google.cloud.compute.v1.GetGlobalAdd" - + "ressRequest\032 .google.cloud.compute.v1.Ad" - + "dress\"S\332A\017project,address\202\323\344\223\002;\0229/comput" - + "e/v1/projects/{project}/global/addresses" - + "/{address}\022\332\001\n\006Insert\0223.google.cloud.com" - + "pute.v1.InsertGlobalAddressRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"w\332A\030proje" - + "ct,address_resource\212N\020GlobalOperations\202\323" - + "\344\223\002C\"//compute/v1/projects/{project}/glo" - + "bal/addresses:\020address_resource\022\244\001\n\004List" - + "\0223.google.cloud.compute.v1.ListGlobalAdd" - + "ressesRequest\032$.google.cloud.compute.v1." - + "AddressList\"A\332A\007project\202\323\344\223\0021\022//compute/" - + "v1/projects/{project}/global/addresses\022\232" - + "\002\n\004Move\0221.google.cloud.compute.v1.MoveGl" - + "obalAddressRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\272\001\332A6project,address,glob" - + "al_addresses_move_request_resource\212N\020Glo" - + "balOperations\202\323\344\223\002h\">/compute/v1/project" - + "s/{project}/global/addresses/{address}/m" - + "ove:&global_addresses_move_request_resou" - + "rce\022\243\002\n\tSetLabels\0226.google.cloud.compute" - + ".v1.SetLabelsGlobalAddressRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\271\001\332A3proje" + + "ration\"\236\001\332A\'project,region,forwarding_ru" + + "le_resource\212N\020RegionOperations\202\323\344\223\002[\"?/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/forwardingRules:\030forwarding_rule_r" + + "esource\022\302\001\n\004List\0223.google.cloud.compute." + + "v1.ListForwardingRulesRequest\032+.google.c" + + "loud.compute.v1.ForwardingRuleList\"X\332A\016p" + + "roject,region\202\323\344\223\002A\022?/compute/v1/project" + + "s/{project}/regions/{region}/forwardingR" + + "ules\022\243\002\n\005Patch\0223.google.cloud.compute.v1" + + ".PatchForwardingRuleRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\300\001\332A7project,reg" + + "ion,forwarding_rule,forwarding_rule_reso" + + "urce\212N\020RegionOperations\202\323\344\223\002m2Q/compute/" + + "v1/projects/{project}/regions/{region}/f" + + "orwardingRules/{forwarding_rule}:\030forwar" + + "ding_rule_resource\022\273\002\n\tSetLabels\0227.googl" + + "e.cloud.compute.v1.SetLabelsForwardingRu" + + "leRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\320\001\332A:project,region,resource,regio" + + "n_set_labels_request_resource\212N\020RegionOp" + + "erations\202\323\344\223\002z\"T/compute/v1/projects/{pr" + + "oject}/regions/{region}/forwardingRules/" + + "{resource}/setLabels:\"region_set_labels_" + + "request_resource\022\267\002\n\tSetTarget\0227.google." + + "cloud.compute.v1.SetTargetForwardingRule" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\314\001\332A8project,region,forwarding_rule," + + "target_reference_resource\212N\020RegionOperat" + + "ions\202\323\344\223\002x\"[/compute/v1/projects/{projec" + + "t}/regions/{region}/forwardingRules/{for" + + "warding_rule}/setTarget:\031target_referenc" + + "e_resource\032r\312A\026compute.googleapis.com\322AV" + + "https://www.googleapis.com/auth/compute," + + "https://www.googleapis.com/auth/cloud-pl" + + "atform2\203\016\n\017GlobalAddresses\022\311\001\n\006Delete\0223." + + "google.cloud.compute.v1.DeleteGlobalAddr" + + "essRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"f\332A\017project,address\212N\020GlobalOpera" + + "tions\202\323\344\223\002;*9/compute/v1/projects/{proje" + + "ct}/global/addresses/{address}\022\256\001\n\003Get\0220" + + ".google.cloud.compute.v1.GetGlobalAddres" + + "sRequest\032 .google.cloud.compute.v1.Addre" + + "ss\"S\332A\017project,address\202\323\344\223\002;\0229/compute/v" + + "1/projects/{project}/global/addresses/{a" + + "ddress}\022\332\001\n\006Insert\0223.google.cloud.comput" + + "e.v1.InsertGlobalAddressRequest\032\".google" + + ".cloud.compute.v1.Operation\"w\332A\030project," + + "address_resource\212N\020GlobalOperations\202\323\344\223\002" + + "C\"//compute/v1/projects/{project}/global" + + "/addresses:\020address_resource\022\244\001\n\004List\0223." + + "google.cloud.compute.v1.ListGlobalAddres" + + "sesRequest\032$.google.cloud.compute.v1.Add" + + "ressList\"A\332A\007project\202\323\344\223\0021\022//compute/v1/" + + "projects/{project}/global/addresses\022\232\002\n\004" + + "Move\0221.google.cloud.compute.v1.MoveGloba" + + "lAddressRequest\032\".google.cloud.compute.v" + + "1.Operation\"\272\001\332A6project,address,global_" + + "addresses_move_request_resource\212N\020Global" + + "Operations\202\323\344\223\002h\">/compute/v1/projects/{" + + "project}/global/addresses/{address}/move" + + ":&global_addresses_move_request_resource" + + "\022\243\002\n\tSetLabels\0226.google.cloud.compute.v1" + + ".SetLabelsGlobalAddressRequest\032\".google." + + "cloud.compute.v1.Operation\"\271\001\332A3project," + + "resource,global_set_labels_request_resou" + + "rce\212N\020GlobalOperations\202\323\344\223\002j\"D/compute/v" + + "1/projects/{project}/global/addresses/{r" + + "esource}/setLabels:\"global_set_labels_re" + + "quest_resource\022\267\002\n\022TestIamPermissions\022?." + + "google.cloud.compute.v1.TestIamPermissio" + + "nsGlobalAddressRequest\0320.google.cloud.co" + + "mpute.v1.TestPermissionsResponse\"\255\001\332A2pr" + + "oject,resource,test_permissions_request_" + + "resource\202\323\344\223\002r\"M/compute/v1/projects/{pr" + + "oject}/global/addresses/{resource}/testI" + + "amPermissions:!test_permissions_request_" + + "resource\032r\312A\026compute.googleapis.com\322AVht" + + "tps://www.googleapis.com/auth/compute,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\373\016\n\025GlobalForwardingRules\022\346\001\n\006Delet" + + "e\022:.google.cloud.compute.v1.DeleteGlobal" + + "ForwardingRuleRequest\032\".google.cloud.com" + + "pute.v1.Operation\"|\332A\027project,forwarding" + + "_rule\212N\020GlobalOperations\202\323\344\223\002I*G/compute" + + "/v1/projects/{project}/global/forwarding" + + "Rules/{forwarding_rule}\022\322\001\n\003Get\0227.google" + + ".cloud.compute.v1.GetGlobalForwardingRul" + + "eRequest\032\'.google.cloud.compute.v1.Forwa" + + "rdingRule\"i\332A\027project,forwarding_rule\202\323\344" + + "\223\002I\022G/compute/v1/projects/{project}/glob" + + "al/forwardingRules/{forwarding_rule}\022\370\001\n" + + "\006Insert\022:.google.cloud.compute.v1.Insert" + + "GlobalForwardingRuleRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\215\001\332A project,for" + + "warding_rule_resource\212N\020GlobalOperations" + + "\202\323\344\223\002Q\"5/compute/v1/projects/{project}/g" + + "lobal/forwardingRules:\030forwarding_rule_r" + + "esource\022\267\001\n\004List\0229.google.cloud.compute." + + "v1.ListGlobalForwardingRulesRequest\032+.go" + + "ogle.cloud.compute.v1.ForwardingRuleList" + + "\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/projects" + + "/{project}/global/forwardingRules\022\230\002\n\005Pa" + + "tch\0229.google.cloud.compute.v1.PatchGloba" + + "lForwardingRuleRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\257\001\332A0project,forwardi" + + "ng_rule,forwarding_rule_resource\212N\020Globa" + + "lOperations\202\323\344\223\002c2G/compute/v1/projects/" + + "{project}/global/forwardingRules/{forwar" + + "ding_rule}:\030forwarding_rule_resource\022\260\002\n" + + "\tSetLabels\022=.google.cloud.compute.v1.Set" + + "LabelsGlobalForwardingRuleRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\277\001\332A3proje" + "ct,resource,global_set_labels_request_re" - + "source\212N\020GlobalOperations\202\323\344\223\002j\"D/comput" - + "e/v1/projects/{project}/global/addresses" - + "/{resource}/setLabels:\"global_set_labels" - + "_request_resource\022\267\002\n\022TestIamPermissions" - + "\022?.google.cloud.compute.v1.TestIamPermis" - + "sionsGlobalAddressRequest\0320.google.cloud" - + ".compute.v1.TestPermissionsResponse\"\255\001\332A" - + "2project,resource,test_permissions_reque" - + "st_resource\202\323\344\223\002r\"M/compute/v1/projects/" - + "{project}/global/addresses/{resource}/te" - + "stIamPermissions:!test_permissions_reque" - + "st_resource\032r\312A\026compute.googleapis.com\322A" - + "Vhttps://www.googleapis.com/auth/compute" - + ",https://www.googleapis.com/auth/cloud-p" - + "latform2\373\016\n\025GlobalForwardingRules\022\346\001\n\006De" - + "lete\022:.google.cloud.compute.v1.DeleteGlo" - + "balForwardingRuleRequest\032\".google.cloud." - + "compute.v1.Operation\"|\332A\027project,forward" - + "ing_rule\212N\020GlobalOperations\202\323\344\223\002I*G/comp" - + "ute/v1/projects/{project}/global/forward" - + "ingRules/{forwarding_rule}\022\322\001\n\003Get\0227.goo" - + "gle.cloud.compute.v1.GetGlobalForwarding" - + "RuleRequest\032\'.google.cloud.compute.v1.Fo" - + "rwardingRule\"i\332A\027project,forwarding_rule" - + "\202\323\344\223\002I\022G/compute/v1/projects/{project}/g" - + "lobal/forwardingRules/{forwarding_rule}\022" - + "\370\001\n\006Insert\022:.google.cloud.compute.v1.Ins" - + "ertGlobalForwardingRuleRequest\032\".google." - + "cloud.compute.v1.Operation\"\215\001\332A project," - + "forwarding_rule_resource\212N\020GlobalOperati" - + "ons\202\323\344\223\002Q\"5/compute/v1/projects/{project" - + "}/global/forwardingRules:\030forwarding_rul" - + "e_resource\022\267\001\n\004List\0229.google.cloud.compu" - + "te.v1.ListGlobalForwardingRulesRequest\032+" - + ".google.cloud.compute.v1.ForwardingRuleL" - + "ist\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/proje" - + "cts/{project}/global/forwardingRules\022\230\002\n" - + "\005Patch\0229.google.cloud.compute.v1.PatchGl" - + "obalForwardingRuleRequest\032\".google.cloud" - + ".compute.v1.Operation\"\257\001\332A0project,forwa" - + "rding_rule,forwarding_rule_resource\212N\020Gl" - + "obalOperations\202\323\344\223\002c2G/compute/v1/projec" - + "ts/{project}/global/forwardingRules/{for" - + "warding_rule}:\030forwarding_rule_resource\022" - + "\260\002\n\tSetLabels\022=.google.cloud.compute.v1." - + "SetLabelsGlobalForwardingRuleRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\277\001\332A3pr" - + "oject,resource,global_set_labels_request" - + "_resource\212N\020GlobalOperations\202\323\344\223\002p\"J/com" - + "pute/v1/projects/{project}/global/forwar" - + "dingRules/{resource}/setLabels:\"global_s" - + "et_labels_request_resource\022\254\002\n\tSetTarget" - + "\022=.google.cloud.compute.v1.SetTargetGlob" - + "alForwardingRuleRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\273\001\332A1project,forward" - + "ing_rule,target_reference_resource\212N\020Glo" - + "balOperations\202\323\344\223\002n\"Q/compute/v1/project" - + "s/{project}/global/forwardingRules/{forw" - + "arding_rule}/setTarget:\031target_reference" - + "_resource\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\254\022\n\033GlobalNetworkEndpointGroups\022\274\003" - + "\n\026AttachNetworkEndpoints\022P.google.cloud." - + "compute.v1.AttachNetworkEndpointsGlobalN" - + "etworkEndpointGroupRequest\032\".google.clou" - + "d.compute.v1.Operation\"\253\002\332A_project,netw" - + "ork_endpoint_group,global_network_endpoi" - + "nt_groups_attach_endpoints_request_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002\257\001\"k/compute/" - + "v1/projects/{project}/global/networkEndp" - + "ointGroups/{network_endpoint_group}/atta" - + "chNetworkEndpoints:@global_network_endpo" - + "int_groups_attach_endpoints_request_reso" - + "urce\022\201\002\n\006Delete\022@.google.cloud.compute.v" - + "1.DeleteGlobalNetworkEndpointGroupReques" - + "t\032\".google.cloud.compute.v1.Operation\"\220\001" - + "\332A\036project,network_endpoint_group\212N\020Glob" - + "alOperations\202\323\344\223\002V*T/compute/v1/projects" - + "/{project}/global/networkEndpointGroups/" - + "{network_endpoint_group}\022\274\003\n\026DetachNetwo" - + "rkEndpoints\022P.google.cloud.compute.v1.De" - + "tachNetworkEndpointsGlobalNetworkEndpoin" - + "tGroupRequest\032\".google.cloud.compute.v1." - + "Operation\"\253\002\332A_project,network_endpoint_" - + "group,global_network_endpoint_groups_det" - + "ach_endpoints_request_resource\212N\020GlobalO" - + "perations\202\323\344\223\002\257\001\"k/compute/v1/projects/{" - + "project}/global/networkEndpointGroups/{n" - + "etwork_endpoint_group}/detachNetworkEndp" - + "oints:@global_network_endpoint_groups_de" - + "tach_endpoints_request_resource\022\362\001\n\003Get\022" - + "=.google.cloud.compute.v1.GetGlobalNetwo" - + "rkEndpointGroupRequest\032-.google.cloud.co" - + "mpute.v1.NetworkEndpointGroup\"}\332A\036projec" - + "t,network_endpoint_group\202\323\344\223\002V\022T/compute" - + "/v1/projects/{project}/global/networkEnd" - + "pointGroups/{network_endpoint_group}\022\222\002\n" - + "\006Insert\022@.google.cloud.compute.v1.Insert" - + "GlobalNetworkEndpointGroupRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\241\001\332A\'proje" - + "ct,network_endpoint_group_resource\212N\020Glo" - + "balOperations\202\323\344\223\002^\";/compute/v1/project" - + "s/{project}/global/networkEndpointGroups" - + ":\037network_endpoint_group_resource\022\311\001\n\004Li" - + "st\022?.google.cloud.compute.v1.ListGlobalN" - + "etworkEndpointGroupsRequest\0321.google.clo" - + "ud.compute.v1.NetworkEndpointGroupList\"M" - + "\332A\007project\202\323\344\223\002=\022;/compute/v1/projects/{" - + "project}/global/networkEndpointGroups\022\300\002" - + "\n\024ListNetworkEndpoints\022O.google.cloud.co" - + "mpute.v1.ListNetworkEndpointsGlobalNetwo" - + "rkEndpointGroupsRequest\032B.google.cloud.c" - + "ompute.v1.NetworkEndpointGroupsListNetwo" - + "rkEndpoints\"\222\001\332A\036project,network_endpoin" - + "t_group\202\323\344\223\002k\"i/compute/v1/projects/{pro" + + "source\212N\020GlobalOperations\202\323\344\223\002p\"J/comput" + + "e/v1/projects/{project}/global/forwardin" + + "gRules/{resource}/setLabels:\"global_set_" + + "labels_request_resource\022\254\002\n\tSetTarget\022=." + + "google.cloud.compute.v1.SetTargetGlobalF" + + "orwardingRuleRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\273\001\332A1project,forwarding" + + "_rule,target_reference_resource\212N\020Global" + + "Operations\202\323\344\223\002n\"Q/compute/v1/projects/{" + + "project}/global/forwardingRules/{forward" + + "ing_rule}/setTarget:\031target_reference_re" + + "source\032r\312A\026compute.googleapis.com\322AVhttp" + + "s://www.googleapis.com/auth/compute,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\254\022\n\033GlobalNetworkEndpointGroups\022\274\003\n\026A" + + "ttachNetworkEndpoints\022P.google.cloud.com" + + "pute.v1.AttachNetworkEndpointsGlobalNetw" + + "orkEndpointGroupRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\253\002\332A_project,network" + + "_endpoint_group,global_network_endpoint_" + + "groups_attach_endpoints_request_resource" + + "\212N\020GlobalOperations\202\323\344\223\002\257\001\"k/compute/v1/" + + "projects/{project}/global/networkEndpoin" + + "tGroups/{network_endpoint_group}/attachN" + + "etworkEndpoints:@global_network_endpoint" + + "_groups_attach_endpoints_request_resourc" + + "e\022\201\002\n\006Delete\022@.google.cloud.compute.v1.D" + + "eleteGlobalNetworkEndpointGroupRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\220\001\332A\036" + + "project,network_endpoint_group\212N\020GlobalO" + + "perations\202\323\344\223\002V*T/compute/v1/projects/{p" + + "roject}/global/networkEndpointGroups/{ne" + + "twork_endpoint_group}\022\274\003\n\026DetachNetworkE" + + "ndpoints\022P.google.cloud.compute.v1.Detac" + + "hNetworkEndpointsGlobalNetworkEndpointGr" + + "oupRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\253\002\332A_project,network_endpoint_gro" + + "up,global_network_endpoint_groups_detach" + + "_endpoints_request_resource\212N\020GlobalOper" + + "ations\202\323\344\223\002\257\001\"k/compute/v1/projects/{pro" + "ject}/global/networkEndpointGroups/{netw" - + "ork_endpoint_group}/listNetworkEndpoints" - + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" - + "w.googleapis.com/auth/compute,https://ww" - + "w.googleapis.com/auth/cloud-platform2\320\010\n" - + "\020GlobalOperations\022\312\001\n\016AggregatedList\022>.g" - + "oogle.cloud.compute.v1.AggregatedListGlo" - + "balOperationsRequest\0320.google.cloud.comp" - + "ute.v1.OperationAggregatedList\"F\332A\007proje" - + "ct\202\323\344\223\0026\0224/compute/v1/projects/{project}" - + "/aggregated/operations\022\321\001\n\006Delete\0225.goog" - + "le.cloud.compute.v1.DeleteGlobalOperatio" - + "nRequest\0326.google.cloud.compute.v1.Delet" - + "eGlobalOperationResponse\"X\332A\021project,ope" - + "ration\202\323\344\223\002>*\022.google.cloud.compute.v1.GetGlobalO" - + "rganizationOperationRequest\032\".google.clo" - + "ud.compute.v1.Operation\"J\332A\toperation\220N\001" - + "\202\323\344\223\0025\0223/compute/v1/locations/global/ope" - + "rations/{operation}\022\244\001\n\004List\022@.google.cl" - + "oud.compute.v1.ListGlobalOrganizationOpe" - + "rationsRequest\032&.google.cloud.compute.v1" - + ".OperationList\"2\332A\000\202\323\344\223\002)\022\'/compute/v1/l" - + "ocations/global/operations\032r\312A\026compute.g" - + "oogleapis.com\322AVhttps://www.googleapis.c" - + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\321\013\n\035GlobalPublicD" - + "elegatedPrefixes\022\207\002\n\006Delete\022B.google.clo" - + "ud.compute.v1.DeleteGlobalPublicDelegate" - + "dPrefixeRequest\032\".google.cloud.compute.v" - + "1.Operation\"\224\001\332A\037project,public_delegate" - + "d_prefix\212N\020GlobalOperations\202\323\344\223\002Y*W/comp" - + "ute/v1/projects/{project}/global/publicD" - + "elegatedPrefixes/{public_delegated_prefi" - + "x}\022\372\001\n\003Get\022?.google.cloud.compute.v1.Get" - + "GlobalPublicDelegatedPrefixeRequest\032..go" - + "ogle.cloud.compute.v1.PublicDelegatedPre" - + "fix\"\201\001\332A\037project,public_delegated_prefix" - + "\202\323\344\223\002Y\022W/compute/v1/projects/{project}/g" - + "lobal/publicDelegatedPrefixes/{public_de" - + "legated_prefix}\022\230\002\n\006Insert\022B.google.clou" - + "d.compute.v1.InsertGlobalPublicDelegated" - + "PrefixeRequest\032\".google.cloud.compute.v1" - + ".Operation\"\245\001\332A(project,public_delegated" - + "_prefix_resource\212N\020GlobalOperations\202\323\344\223\002" - + "a\"=/compute/v1/projects/{project}/global" - + "/publicDelegatedPrefixes: public_delegat" - + "ed_prefix_resource\022\316\001\n\004List\022A.google.clo" - + "ud.compute.v1.ListGlobalPublicDelegatedP" - + "refixesRequest\0322.google.cloud.compute.v1" - + ".PublicDelegatedPrefixList\"O\332A\007project\202\323" - + "\344\223\002?\022=/compute/v1/projects/{project}/glo" - + "bal/publicDelegatedPrefixes\022\310\002\n\005Patch\022A." - + "google.cloud.compute.v1.PatchGlobalPubli" - + "cDelegatedPrefixeRequest\032\".google.cloud." - + "compute.v1.Operation\"\327\001\332A@project,public" - + "_delegated_prefix,public_delegated_prefi" - + "x_resource\212N\020GlobalOperations\202\323\344\223\002{2W/co" - + "mpute/v1/projects/{project}/global/publi" - + "cDelegatedPrefixes/{public_delegated_pre" - + "fix}: public_delegated_prefix_resource\032r" - + "\312A\026compute.googleapis.com\322AVhttps://www." - + "googleapis.com/auth/compute,https://www." - + "googleapis.com/auth/cloud-platform2\203\r\n\014H" - + "ealthChecks\022\313\001\n\016AggregatedList\022:.google." - + "cloud.compute.v1.AggregatedListHealthChe" - + "cksRequest\0323.google.cloud.compute.v1.Hea" - + "lthChecksAggregatedList\"H\332A\007project\202\323\344\223\002" - + "8\0226/compute/v1/projects/{project}/aggreg" - + "ated/healthChecks\022\324\001\n\006Delete\0221.google.cl" - + "oud.compute.v1.DeleteHealthCheckRequest\032" - + "\".google.cloud.compute.v1.Operation\"s\332A\024" - + "project,health_check\212N\020GlobalOperations\202" - + "\323\344\223\002C*A/compute/v1/projects/{project}/gl" - + "obal/healthChecks/{health_check}\022\275\001\n\003Get" - + "\022..google.cloud.compute.v1.GetHealthChec" - + "kRequest\032$.google.cloud.compute.v1.Healt" - + "hCheck\"`\332A\024project,health_check\202\323\344\223\002C\022A/" - + "compute/v1/projects/{project}/global/hea" - + "lthChecks/{health_check}\022\346\001\n\006Insert\0221.go" - + "ogle.cloud.compute.v1.InsertHealthCheckR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\204\001\332A\035project,health_check_resource\212N\020" - + "GlobalOperations\202\323\344\223\002K\"2/compute/v1/proj" - + "ects/{project}/global/healthChecks:\025heal" - + "th_check_resource\022\250\001\n\004List\0220.google.clou" - + "d.compute.v1.ListHealthChecksRequest\032(.g" - + "oogle.cloud.compute.v1.HealthCheckList\"D" - + "\332A\007project\202\323\344\223\0024\0222/compute/v1/projects/{" - + "project}/global/healthChecks\022\200\002\n\005Patch\0220" - + ".google.cloud.compute.v1.PatchHealthChec" - + "kRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\240\001\332A*project,health_check,health_ch" - + "eck_resource\212N\020GlobalOperations\202\323\344\223\002Z2A/" - + "compute/v1/projects/{project}/global/hea" - + "lthChecks/{health_check}:\025health_check_r" - + "esource\022\202\002\n\006Update\0221.google.cloud.comput" - + "e.v1.UpdateHealthCheckRequest\032\".google.c" - + "loud.compute.v1.Operation\"\240\001\332A*project,h" - + "ealth_check,health_check_resource\212N\020Glob" - + "alOperations\202\323\344\223\002Z\032A/compute/v1/projects" - + "/{project}/global/healthChecks/{health_c" - + "heck}:\025health_check_resource\032r\312A\026compute" - + ".googleapis.com\322AVhttps://www.googleapis" - + ".com/auth/compute,https://www.googleapis" - + ".com/auth/cloud-platform2\204\003\n\020ImageFamily" - + "Views\022\310\001\n\003Get\0222.google.cloud.compute.v1." - + "GetImageFamilyViewRequest\032(.google.cloud" - + ".compute.v1.ImageFamilyView\"c\332A\023project," - + "zone,family\202\323\344\223\002G\022E/compute/v1/projects/" - + "{project}/zones/{zone}/imageFamilyViews/" - + "{family}\032\244\001\312A\026compute.googleapis.com\322A\207\001" - + "https://www.googleapis.com/auth/compute." - + "readonly,https://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\374\023\n\006Images\022\272\001\n\006Delete\022+." - + "google.cloud.compute.v1.DeleteImageReque" - + "st\032\".google.cloud.compute.v1.Operation\"_" - + "\332A\rproject,image\212N\020GlobalOperations\202\323\344\223\002" - + "6*4/compute/v1/projects/{project}/global" - + "/images/{image}\022\204\002\n\tDeprecate\022..google.c" - + "loud.compute.v1.DeprecateImageRequest\032\"." - + "google.cloud.compute.v1.Operation\"\242\001\332A)p" - + "roject,image,deprecation_status_resource" - + "\212N\020GlobalOperations\202\323\344\223\002]\">/compute/v1/p" - + "rojects/{project}/global/images/{image}/" - + "deprecate:\033deprecation_status_resource\022\235" - + "\001\n\003Get\022(.google.cloud.compute.v1.GetImag" - + "eRequest\032\036.google.cloud.compute.v1.Image" - + "\"L\332A\rproject,image\202\323\344\223\0026\0224/compute/v1/pr" - + "ojects/{project}/global/images/{image}\022\272" - + "\001\n\rGetFromFamily\0222.google.cloud.compute." - + "v1.GetFromFamilyImageRequest\032\036.google.cl" - + "oud.compute.v1.Image\"U\332A\016project,family\202" - + "\323\344\223\002>\022\",/compute/v1/projects/{project" - + "}/global/images:\016image_resource\022\226\001\n\004List" - + "\022*.google.cloud.compute.v1.ListImagesReq" - + "uest\032\".google.cloud.compute.v1.ImageList" - + "\">\332A\007project\202\323\344\223\002.\022,/compute/v1/projects" - + "/{project}/global/images\022\327\001\n\005Patch\022*.goo" - + "gle.cloud.compute.v1.PatchImageRequest\032\"" - + ".google.cloud.compute.v1.Operation\"~\332A\034p" - + "roject,image,image_resource\212N\020GlobalOper" - + "ations\202\323\344\223\002F24/compute/v1/projects/{proj" - + "ect}/global/images/{image}:\016image_resour" - + "ce\022\213\002\n\014SetIamPolicy\0221.google.cloud.compu" - + "te.v1.SetIamPolicyImageRequest\032\037.google." - + "cloud.compute.v1.Policy\"\246\001\332A3project,res" - + "ource,global_set_policy_request_resource" - + "\202\323\344\223\002j\"D/compute/v1/projects/{project}/g" - + "lobal/images/{resource}/setIamPolicy:\"gl" - + "obal_set_policy_request_resource\022\230\002\n\tSet" - + "Labels\022..google.cloud.compute.v1.SetLabe" - + "lsImageRequest\032\".google.cloud.compute.v1" - + ".Operation\"\266\001\332A3project,resource,global_" - + "set_labels_request_resource\212N\020GlobalOper" - + "ations\202\323\344\223\002g\"A/compute/v1/projects/{proj" - + "ect}/global/images/{resource}/setLabels:" - + "\"global_set_labels_request_resource\022\254\002\n\022" - + "TestIamPermissions\0227.google.cloud.comput" - + "e.v1.TestIamPermissionsImageRequest\0320.go" - + "ogle.cloud.compute.v1.TestPermissionsRes" - + "ponse\"\252\001\332A2project,resource,test_permiss" - + "ions_request_resource\202\323\344\223\002o\"J/compute/v1" - + "/projects/{project}/global/images/{resou" - + "rce}/testIamPermissions:!test_permission" - + "s_request_resource\032r\312A\026compute.googleapi" - + "s.com\322AVhttps://www.googleapis.com/auth/" - + "compute,https://www.googleapis.com/auth/" - + "cloud-platform2\242\016\n\"InstanceGroupManagerR" - + "esizeRequests\022\311\002\n\006Cancel\022G.google.cloud." - + "compute.v1.CancelInstanceGroupManagerRes" - + "izeRequestRequest\032\".google.cloud.compute" - + ".v1.Operation\"\321\001\332A2project,zone,instance" - + "_group_manager,resize_request\212N\016ZoneOper" - + "ations\202\323\344\223\002\204\001\"\201\001/compute/v1/projects/{pr" - + "oject}/zones/{zone}/instanceGroupManager" - + "s/{instance_group_manager}/resizeRequest" - + "s/{resize_request}/cancel\022\300\002\n\006Delete\022G.g" - + "oogle.cloud.compute.v1.DeleteInstanceGro" - + "upManagerResizeRequestRequest\032\".google.c" - + "loud.compute.v1.Operation\"\310\001\332A2project,z" - + "one,instance_group_manager,resize_reques" - + "t\212N\016ZoneOperations\202\323\344\223\002|*z/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instanceGr" - + "oupManagers/{instance_group_manager}/res" - + "izeRequests/{resize_request}\022\301\002\n\003Get\022D.g" - + "oogle.cloud.compute.v1.GetInstanceGroupM" - + "anagerResizeRequestRequest\032:.google.clou" - + "d.compute.v1.InstanceGroupManagerResizeR" - + "equest\"\267\001\332A2project,zone,instance_group_" - + "manager,resize_request\202\323\344\223\002|\022z/compute/v" - + "1/projects/{project}/zones/{zone}/instan" - + "ceGroupManagers/{instance_group_manager}" - + "/resizeRequests/{resize_request}\022\200\003\n\006Ins" - + "ert\022G.google.cloud.compute.v1.InsertInst" - + "anceGroupManagerResizeRequestRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\210\002\332ARpr" - + "oject,zone,instance_group_manager,instan" - + "ce_group_manager_resize_request_resource" - + "\212N\016ZoneOperations\202\323\344\223\002\233\001\"i/compute/v1/pr", - "ojects/{project}/zones/{zone}/instanceGr" - + "oupManagers/{instance_group_manager}/res" - + "izeRequests:.instance_group_manager_resi" - + "ze_request_resource\022\261\002\n\004List\022F.google.cl" - + "oud.compute.v1.ListInstanceGroupManagerR" - + "esizeRequestsRequest\032G.google.cloud.comp" - + "ute.v1.InstanceGroupManagerResizeRequest" - + "sListResponse\"\227\001\332A#project,zone,instance" - + "_group_manager\202\323\344\223\002k\022i/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroupM" - + "anagers/{instance_group_manager}/resizeR" - + "equests\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\325E\n\025InstanceGroupManagers\022\241\003\n\020Abando" - + "nInstances\022D.google.cloud.compute.v1.Aba" - + "ndonInstancesInstanceGroupManagerRequest" - + "\032\".google.cloud.compute.v1.Operation\"\242\002\332" - + "A^project,zone,instance_group_manager,in" - + "stance_group_managers_abandon_instances_" - + "request_resource\212N\016ZoneOperations\202\323\344\223\002\251\001" - + "\"k/compute/v1/projects/{project}/zones/{" - + "zone}/instanceGroupManagers/{instance_gr" - + "oup_manager}/abandonInstances::instance_" - + "group_managers_abandon_instances_request" - + "_resource\022\345\001\n\016AggregatedList\022C.google.cl" - + "oud.compute.v1.AggregatedListInstanceGro" - + "upManagersRequest\032;.google.cloud.compute" - + ".v1.InstanceGroupManagerAggregatedList\"Q" - + "\332A\007project\202\323\344\223\002A\022?/compute/v1/projects/{" - + "project}/aggregated/instanceGroupManager" - + "s\022\256\003\n\027ApplyUpdatesToInstances\022K.google.c" - + "loud.compute.v1.ApplyUpdatesToInstancesI" - + "nstanceGroupManagerRequest\032\".google.clou" - + "d.compute.v1.Operation\"\241\002\332AZproject,zone" - + ",instance_group_manager,instance_group_m" - + "anagers_apply_updates_request_resource\212N" - + "\016ZoneOperations\202\323\344\223\002\254\001\"r/compute/v1/proj" - + "ects/{project}/zones/{zone}/instanceGrou" - + "pManagers/{instance_group_manager}/apply" - + "UpdatesToInstances:6instance_group_manag" - + "ers_apply_updates_request_resource\022\234\003\n\017C" - + "reateInstances\022C.google.cloud.compute.v1" - + ".CreateInstancesInstanceGroupManagerRequ" + + "ork_endpoint_group}/detachNetworkEndpoin" + + "ts:@global_network_endpoint_groups_detac" + + "h_endpoints_request_resource\022\362\001\n\003Get\022=.g" + + "oogle.cloud.compute.v1.GetGlobalNetworkE" + + "ndpointGroupRequest\032-.google.cloud.compu" + + "te.v1.NetworkEndpointGroup\"}\332A\036project,n" + + "etwork_endpoint_group\202\323\344\223\002V\022T/compute/v1" + + "/projects/{project}/global/networkEndpoi" + + "ntGroups/{network_endpoint_group}\022\222\002\n\006In" + + "sert\022@.google.cloud.compute.v1.InsertGlo" + + "balNetworkEndpointGroupRequest\032\".google." + + "cloud.compute.v1.Operation\"\241\001\332A\'project," + + "network_endpoint_group_resource\212N\020Global" + + "Operations\202\323\344\223\002^\";/compute/v1/projects/{" + + "project}/global/networkEndpointGroups:\037n" + + "etwork_endpoint_group_resource\022\311\001\n\004List\022" + + "?.google.cloud.compute.v1.ListGlobalNetw" + + "orkEndpointGroupsRequest\0321.google.cloud." + + "compute.v1.NetworkEndpointGroupList\"M\332A\007" + + "project\202\323\344\223\002=\022;/compute/v1/projects/{pro" + + "ject}/global/networkEndpointGroups\022\300\002\n\024L" + + "istNetworkEndpoints\022O.google.cloud.compu" + + "te.v1.ListNetworkEndpointsGlobalNetworkE" + + "ndpointGroupsRequest\032B.google.cloud.comp" + + "ute.v1.NetworkEndpointGroupsListNetworkE" + + "ndpoints\"\222\001\332A\036project,network_endpoint_g" + + "roup\202\323\344\223\002k\"i/compute/v1/projects/{projec" + + "t}/global/networkEndpointGroups/{network" + + "_endpoint_group}/listNetworkEndpoints\032r\312" + + "A\026compute.googleapis.com\322AVhttps://www.g" + + "oogleapis.com/auth/compute,https://www.g" + + "oogleapis.com/auth/cloud-platform2\320\010\n\020Gl" + + "obalOperations\022\312\001\n\016AggregatedList\022>.goog" + + "le.cloud.compute.v1.AggregatedListGlobal" + + "OperationsRequest\0320.google.cloud.compute" + + ".v1.OperationAggregatedList\"F\332A\007project\202" + + "\323\344\223\0026\0224/compute/v1/projects/{project}/ag" + + "gregated/operations\022\321\001\n\006Delete\0225.google." + + "cloud.compute.v1.DeleteGlobalOperationRe" + + "quest\0326.google.cloud.compute.v1.DeleteGl" + + "obalOperationResponse\"X\332A\021project,operat" + + "ion\202\323\344\223\002>*\022<" + + "/compute/v1/projects/{project}/global/op" + + "erations/{operation}\022\250\001\n\004List\0224.google.c" + + "loud.compute.v1.ListGlobalOperationsRequ" + + "est\032&.google.cloud.compute.v1.OperationL" + + "ist\"B\332A\007project\202\323\344\223\0022\0220/compute/v1/proje" + + "cts/{project}/global/operations\022\276\001\n\004Wait" + + "\0223.google.cloud.compute.v1.WaitGlobalOpe" + + "rationRequest\032\".google.cloud.compute.v1." + + "Operation\"]\332A\021project,operation\202\323\344\223\002C\"A/" + + "compute/v1/projects/{project}/global/ope" + + "rations/{operation}/wait\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\314\005\n\034GlobalOrganizat" + + "ionOperations\022\330\001\n\006Delete\022A.google.cloud." + + "compute.v1.DeleteGlobalOrganizationOpera" + + "tionRequest\032B.google.cloud.compute.v1.De" + + "leteGlobalOrganizationOperationResponse\"" + + "G\332A\toperation\202\323\344\223\0025*3/compute/v1/locatio" + + "ns/global/operations/{operation}\022\265\001\n\003Get" + + "\022>.google.cloud.compute.v1.GetGlobalOrga" + + "nizationOperationRequest\032\".google.cloud." + + "compute.v1.Operation\"J\332A\toperation\220N\001\202\323\344" + + "\223\0025\0223/compute/v1/locations/global/operat" + + "ions/{operation}\022\244\001\n\004List\022@.google.cloud" + + ".compute.v1.ListGlobalOrganizationOperat" + + "ionsRequest\032&.google.cloud.compute.v1.Op" + + "erationList\"2\332A\000\202\323\344\223\002)\022\'/compute/v1/loca" + + "tions/global/operations\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\321\013\n\035GlobalPublicDele" + + "gatedPrefixes\022\207\002\n\006Delete\022B.google.cloud." + + "compute.v1.DeleteGlobalPublicDelegatedPr" + + "efixeRequest\032\".google.cloud.compute.v1.O" + + "peration\"\224\001\332A\037project,public_delegated_p" + + "refix\212N\020GlobalOperations\202\323\344\223\002Y*W/compute" + + "/v1/projects/{project}/global/publicDele" + + "gatedPrefixes/{public_delegated_prefix}\022" + + "\372\001\n\003Get\022?.google.cloud.compute.v1.GetGlo" + + "balPublicDelegatedPrefixeRequest\032..googl" + + "e.cloud.compute.v1.PublicDelegatedPrefix" + + "\"\201\001\332A\037project,public_delegated_prefix\202\323\344" + + "\223\002Y\022W/compute/v1/projects/{project}/glob" + + "al/publicDelegatedPrefixes/{public_deleg" + + "ated_prefix}\022\230\002\n\006Insert\022B.google.cloud.c" + + "ompute.v1.InsertGlobalPublicDelegatedPre" + + "fixeRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\245\001\332A(project,public_delegated_pr" + + "efix_resource\212N\020GlobalOperations\202\323\344\223\002a\"=" + + "/compute/v1/projects/{project}/global/pu" + + "blicDelegatedPrefixes: public_delegated_" + + "prefix_resource\022\316\001\n\004List\022A.google.cloud." + + "compute.v1.ListGlobalPublicDelegatedPref" + + "ixesRequest\0322.google.cloud.compute.v1.Pu" + + "blicDelegatedPrefixList\"O\332A\007project\202\323\344\223\002" + + "?\022=/compute/v1/projects/{project}/global" + + "/publicDelegatedPrefixes\022\310\002\n\005Patch\022A.goo" + + "gle.cloud.compute.v1.PatchGlobalPublicDe" + + "legatedPrefixeRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\327\001\332A@project,public_de" + + "legated_prefix,public_delegated_prefix_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002{2W/compu" + + "te/v1/projects/{project}/global/publicDe" + + "legatedPrefixes/{public_delegated_prefix" + + "}: public_delegated_prefix_resource\032r\312A\026" + + "compute.googleapis.com\322AVhttps://www.goo" + + "gleapis.com/auth/compute,https://www.goo" + + "gleapis.com/auth/cloud-platform2\203\r\n\014Heal" + + "thChecks\022\313\001\n\016AggregatedList\022:.google.clo" + + "ud.compute.v1.AggregatedListHealthChecks" + + "Request\0323.google.cloud.compute.v1.Health" + + "ChecksAggregatedList\"H\332A\007project\202\323\344\223\0028\0226" + + "/compute/v1/projects/{project}/aggregate" + + "d/healthChecks\022\324\001\n\006Delete\0221.google.cloud" + + ".compute.v1.DeleteHealthCheckRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"s\332A\024pro" + + "ject,health_check\212N\020GlobalOperations\202\323\344\223" + + "\002C*A/compute/v1/projects/{project}/globa" + + "l/healthChecks/{health_check}\022\275\001\n\003Get\022.." + + "google.cloud.compute.v1.GetHealthCheckRe" + + "quest\032$.google.cloud.compute.v1.HealthCh" + + "eck\"`\332A\024project,health_check\202\323\344\223\002C\022A/com" + + "pute/v1/projects/{project}/global/health" + + "Checks/{health_check}\022\346\001\n\006Insert\0221.googl" + + "e.cloud.compute.v1.InsertHealthCheckRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\237\002\332A]project,zone,instance_group_manager" - + ",instance_group_managers_create_instance" - + "s_request_resource\212N\016ZoneOperations\202\323\344\223\002" - + "\247\001\"j/compute/v1/projects/{project}/zones" - + "/{zone}/instanceGroupManagers/{instance_" - + "group_manager}/createInstances:9instance" - + "_group_managers_create_instances_request" - + "_resource\022\204\002\n\006Delete\022:.google.cloud.comp" - + "ute.v1.DeleteInstanceGroupManagerRequest" - + "\032\".google.cloud.compute.v1.Operation\"\231\001\332" - + "A#project,zone,instance_group_manager\212N\016" - + "ZoneOperations\202\323\344\223\002\\*Z/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroupM" - + "anagers/{instance_group_manager}\022\234\003\n\017Del" - + "eteInstances\022C.google.cloud.compute.v1.D" - + "eleteInstancesInstanceGroupManagerReques" - + "t\032\".google.cloud.compute.v1.Operation\"\237\002" - + "\332A]project,zone,instance_group_manager,i" - + "nstance_group_managers_delete_instances_" - + "request_resource\212N\016ZoneOperations\202\323\344\223\002\247\001" - + "\"j/compute/v1/projects/{project}/zones/{" - + "zone}/instanceGroupManagers/{instance_gr" - + "oup_manager}/deleteInstances:9instance_g" - + "roup_managers_delete_instances_request_r" - + "esource\022\305\003\n\030DeletePerInstanceConfigs\022L.g" - + "oogle.cloud.compute.v1.DeletePerInstance" - + "ConfigsInstanceGroupManagerRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\266\002\332Adproj" - + "ect,zone,instance_group_manager,instance" - + "_group_managers_delete_per_instance_conf" - + "igs_req_resource\212N\016ZoneOperations\202\323\344\223\002\267\001" - + "\"s/compute/v1/projects/{project}/zones/{" - + "zone}/instanceGroupManagers/{instance_gr" - + "oup_manager}/deletePerInstanceConfigs:@i" - + "nstance_group_managers_delete_per_instan" - + "ce_configs_req_resource\022\370\001\n\003Get\0227.google" - + ".cloud.compute.v1.GetInstanceGroupManage" - + "rRequest\032-.google.cloud.compute.v1.Insta" - + "nceGroupManager\"\210\001\332A#project,zone,instan" - + "ce_group_manager\202\323\344\223\002\\\022Z/compute/v1/proj" - + "ects/{project}/zones/{zone}/instanceGrou" - + "pManagers/{instance_group_manager}\022\225\002\n\006I" - + "nsert\022:.google.cloud.compute.v1.InsertIn" - + "stanceGroupManagerRequest\032\".google.cloud" - + ".compute.v1.Operation\"\252\001\332A,project,zone," - + "instance_group_manager_resource\212N\016ZoneOp" - + "erations\202\323\344\223\002d\"A/compute/v1/projects/{pr" - + "oject}/zones/{zone}/instanceGroupManager" - + "s:\037instance_group_manager_resource\022\316\001\n\004L" - + "ist\0229.google.cloud.compute.v1.ListInstan" - + "ceGroupManagersRequest\0321.google.cloud.co" - + "mpute.v1.InstanceGroupManagerList\"X\332A\014pr" - + "oject,zone\202\323\344\223\002C\022A/compute/v1/projects/{" - + "project}/zones/{zone}/instanceGroupManag" - + "ers\022\245\002\n\nListErrors\022?.google.cloud.comput" - + "e.v1.ListErrorsInstanceGroupManagersRequ" - + "est\032@.google.cloud.compute.v1.InstanceGr" - + "oupManagersListErrorsResponse\"\223\001\332A#proje" - + "ct,zone,instance_group_manager\202\323\344\223\002g\022e/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/instanceGroupManagers/{instance_group_" - + "manager}/listErrors\022\315\002\n\024ListManagedInsta" - + "nces\022I.google.cloud.compute.v1.ListManag" - + "edInstancesInstanceGroupManagersRequest\032" - + "J.google.cloud.compute.v1.InstanceGroupM" - + "anagersListManagedInstancesResponse\"\235\001\332A" - + "#project,zone,instance_group_manager\202\323\344\223" - + "\002q\"o/compute/v1/projects/{project}/zones" - + "/{zone}/instanceGroupManagers/{instance_" - + "group_manager}/listManagedInstances\022\321\002\n\026" - + "ListPerInstanceConfigs\022K.google.cloud.co" - + "mpute.v1.ListPerInstanceConfigsInstanceG" - + "roupManagersRequest\032H.google.cloud.compu" - + "te.v1.InstanceGroupManagersListPerInstan" - + "ceConfigsResp\"\237\001\332A#project,zone,instance" - + "_group_manager\202\323\344\223\002s\"q/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroupM" - + "anagers/{instance_group_manager}/listPer" - + "InstanceConfigs\022\303\002\n\005Patch\0229.google.cloud" - + ".compute.v1.PatchInstanceGroupManagerReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\332\001\332ACproject,zone,instance_group_manage" - + "r,instance_group_manager_resource\212N\016Zone" - + "Operations\202\323\344\223\002}2Z/compute/v1/projects/{" - + "project}/zones/{zone}/instanceGroupManag" - + "ers/{instance_group_manager}:\037instance_g" - + "roup_manager_resource\022\300\003\n\027PatchPerInstan" - + "ceConfigs\022K.google.cloud.compute.v1.Patc" - + "hPerInstanceConfigsInstanceGroupManagerR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\263\002\332Acproject,zone,instance_group_mana" - + "ger,instance_group_managers_patch_per_in" - + "stance_configs_req_resource\212N\016ZoneOperat" - + "ions\202\323\344\223\002\265\001\"r/compute/v1/projects/{proje" - + "ct}/zones/{zone}/instanceGroupManagers/{" - + "instance_group_manager}/patchPerInstance" - + "Configs:?instance_group_managers_patch_p" - + "er_instance_configs_req_resource\022\246\003\n\021Rec" - + "reateInstances\022E.google.cloud.compute.v1" - + ".RecreateInstancesInstanceGroupManagerRe" + + "\204\001\332A\035project,health_check_resource\212N\020Glo" + + "balOperations\202\323\344\223\002K\"2/compute/v1/project" + + "s/{project}/global/healthChecks:\025health_" + + "check_resource\022\250\001\n\004List\0220.google.cloud.c" + + "ompute.v1.ListHealthChecksRequest\032(.goog" + + "le.cloud.compute.v1.HealthCheckList\"D\332A\007" + + "project\202\323\344\223\0024\0222/compute/v1/projects/{pro" + + "ject}/global/healthChecks\022\200\002\n\005Patch\0220.go" + + "ogle.cloud.compute.v1.PatchHealthCheckRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\245\002\332A_project,zone,instance_group_manag" - + "er,instance_group_managers_recreate_inst" - + "ances_request_resource\212N\016ZoneOperations\202" - + "\323\344\223\002\253\001\"l/compute/v1/projects/{project}/z" - + "ones/{zone}/instanceGroupManagers/{insta" - + "nce_group_manager}/recreateInstances:;in" - + "stance_group_managers_recreate_instances" - + "_request_resource\022\220\002\n\006Resize\022:.google.cl" - + "oud.compute.v1.ResizeInstanceGroupManage" - + "rRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\245\001\332A(project,zone,instance_group_ma" - + "nager,size\212N\016ZoneOperations\202\323\344\223\002c\"a/comp" + + "n\"\240\001\332A*project,health_check,health_check" + + "_resource\212N\020GlobalOperations\202\323\344\223\002Z2A/com" + + "pute/v1/projects/{project}/global/health" + + "Checks/{health_check}:\025health_check_reso" + + "urce\022\202\002\n\006Update\0221.google.cloud.compute.v" + + "1.UpdateHealthCheckRequest\032\".google.clou" + + "d.compute.v1.Operation\"\240\001\332A*project,heal" + + "th_check,health_check_resource\212N\020GlobalO" + + "perations\202\323\344\223\002Z\032A/compute/v1/projects/{p" + + "roject}/global/healthChecks/{health_chec" + + "k}:\025health_check_resource\032r\312A\026compute.go" + + "ogleapis.com\322AVhttps://www.googleapis.co" + + "m/auth/compute,https://www.googleapis.co" + + "m/auth/cloud-platform2\204\003\n\020ImageFamilyVie" + + "ws\022\310\001\n\003Get\0222.google.cloud.compute.v1.Get" + + "ImageFamilyViewRequest\032(.google.cloud.co" + + "mpute.v1.ImageFamilyView\"c\332A\023project,zon" + + "e,family\202\323\344\223\002G\022E/compute/v1/projects/{pr" + + "oject}/zones/{zone}/imageFamilyViews/{fa" + + "mily}\032\244\001\312A\026compute.googleapis.com\322A\207\001htt" + + "ps://www.googleapis.com/auth/compute.rea" + + "donly,https://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\374\023\n\006Images\022\272\001\n\006Delete\022+.goo" + + "gle.cloud.compute.v1.DeleteImageRequest\032" + + "\".google.cloud.compute.v1.Operation\"_\332A\r" + + "project,image\212N\020GlobalOperations\202\323\344\223\0026*4" + + "/compute/v1/projects/{project}/global/im" + + "ages/{image}\022\204\002\n\tDeprecate\022..google.clou" + + "d.compute.v1.DeprecateImageRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\242\001\332A)proj" + + "ect,image,deprecation_status_resource\212N\020" + + "GlobalOperations\202\323\344\223\002]\">/compute/v1/proj" + + "ects/{project}/global/images/{image}/dep" + + "recate:\033deprecation_status_resource\022\235\001\n\003" + + "Get\022(.google.cloud.compute.v1.GetImageRe" + + "quest\032\036.google.cloud.compute.v1.Image\"L\332" + + "A\rproject,image\202\323\344\223\0026\0224/compute/v1/proje" + + "cts/{project}/global/images/{image}\022\272\001\n\r" + + "GetFromFamily\0222.google.cloud.compute.v1." + + "GetFromFamilyImageRequest\032\036.google.cloud" + + ".compute.v1.Image\"U\332A\016project,family\202\323\344\223" + + "\002>\022\",/compute/v1/projects/{project}/g" + + "lobal/images:\016image_resource\022\226\001\n\004List\022*." + + "google.cloud.compute.v1.ListImagesReques" + + "t\032\".google.cloud.compute.v1.ImageList\">\332" + + "A\007project\202\323\344\223\002.\022,/compute/v1/projects/{p" + + "roject}/global/images\022\327\001\n\005Patch\022*.google" + + ".cloud.compute.v1.PatchImageRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"~\332A\034proj" + + "ect,image,image_resource\212N\020GlobalOperati" + + "ons\202\323\344\223\002F24/compute/v1/projects/{project" + + "}/global/images/{image}:\016image_resource\022" + + "\213\002\n\014SetIamPolicy\0221.google.cloud.compute." + + "v1.SetIamPolicyImageRequest\032\037.google.clo" + + "ud.compute.v1.Policy\"\246\001\332A3project,resour" + + "ce,global_set_policy_request_resource\202\323\344" + + "\223\002j\"D/compute/v1/projects/{project}/glob" + + "al/images/{resource}/setIamPolicy:\"globa" + + "l_set_policy_request_resource\022\230\002\n\tSetLab" + + "els\022..google.cloud.compute.v1.SetLabelsI" + + "mageRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\266\001\332A3project,resource,global_set" + + "_labels_request_resource\212N\020GlobalOperati" + + "ons\202\323\344\223\002g\"A/compute/v1/projects/{project" + + "}/global/images/{resource}/setLabels:\"gl" + + "obal_set_labels_request_resource\022\254\002\n\022Tes" + + "tIamPermissions\0227.google.cloud.compute.v" + + "1.TestIamPermissionsImageRequest\0320.googl" + + "e.cloud.compute.v1.TestPermissionsRespon" + + "se\"\252\001\332A2project,resource,test_permission", + "s_request_resource\202\323\344\223\002o\"J/compute/v1/pr" + + "ojects/{project}/global/images/{resource" + + "}/testIamPermissions:!test_permissions_r" + + "equest_resource\032r\312A\026compute.googleapis.c" + + "om\322AVhttps://www.googleapis.com/auth/com" + + "pute,https://www.googleapis.com/auth/clo" + + "ud-platform2\242\016\n\"InstanceGroupManagerResi" + + "zeRequests\022\311\002\n\006Cancel\022G.google.cloud.com" + + "pute.v1.CancelInstanceGroupManagerResize" + + "RequestRequest\032\".google.cloud.compute.v1" + + ".Operation\"\321\001\332A2project,zone,instance_gr" + + "oup_manager,resize_request\212N\016ZoneOperati" + + "ons\202\323\344\223\002\204\001\"\201\001/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instanceGroupManagers/{" + + "instance_group_manager}/resizeRequests/{" + + "resize_request}/cancel\022\300\002\n\006Delete\022G.goog" + + "le.cloud.compute.v1.DeleteInstanceGroupM" + + "anagerResizeRequestRequest\032\".google.clou" + + "d.compute.v1.Operation\"\310\001\332A2project,zone" + + ",instance_group_manager,resize_request\212N" + + "\016ZoneOperations\202\323\344\223\002|*z/compute/v1/proje" + + "cts/{project}/zones/{zone}/instanceGroup" + + "Managers/{instance_group_manager}/resize" + + "Requests/{resize_request}\022\301\002\n\003Get\022D.goog" + + "le.cloud.compute.v1.GetInstanceGroupMana" + + "gerResizeRequestRequest\032:.google.cloud.c" + + "ompute.v1.InstanceGroupManagerResizeRequ" + + "est\"\267\001\332A2project,zone,instance_group_man" + + "ager,resize_request\202\323\344\223\002|\022z/compute/v1/p" + + "rojects/{project}/zones/{zone}/instanceG" + + "roupManagers/{instance_group_manager}/re" + + "sizeRequests/{resize_request}\022\200\003\n\006Insert" + + "\022G.google.cloud.compute.v1.InsertInstanc" + + "eGroupManagerResizeRequestRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\210\002\332ARproje" + + "ct,zone,instance_group_manager,instance_" + + "group_manager_resize_request_resource\212N\016" + + "ZoneOperations\202\323\344\223\002\233\001\"i/compute/v1/proje" + + "cts/{project}/zones/{zone}/instanceGroup" + + "Managers/{instance_group_manager}/resize" + + "Requests:.instance_group_manager_resize_" + + "request_resource\022\261\002\n\004List\022F.google.cloud" + + ".compute.v1.ListInstanceGroupManagerResi" + + "zeRequestsRequest\032G.google.cloud.compute" + + ".v1.InstanceGroupManagerResizeRequestsLi" + + "stResponse\"\227\001\332A#project,zone,instance_gr" + + "oup_manager\202\323\344\223\002k\022i/compute/v1/projects/" + + "{project}/zones/{zone}/instanceGroupMana" + + "gers/{instance_group_manager}/resizeRequ" + + "ests\032r\312A\026compute.googleapis.com\322AVhttps:" + + "//www.googleapis.com/auth/compute,https:" + + "//www.googleapis.com/auth/cloud-platform" + + "2\325E\n\025InstanceGroupManagers\022\241\003\n\020AbandonIn" + + "stances\022D.google.cloud.compute.v1.Abando" + + "nInstancesInstanceGroupManagerRequest\032\"." + + "google.cloud.compute.v1.Operation\"\242\002\332A^p" + + "roject,zone,instance_group_manager,insta" + + "nce_group_managers_abandon_instances_req" + + "uest_resource\212N\016ZoneOperations\202\323\344\223\002\251\001\"k/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/instanceGroupManagers/{instance_group" + + "_manager}/abandonInstances::instance_gro" + + "up_managers_abandon_instances_request_re" + + "source\022\345\001\n\016AggregatedList\022C.google.cloud" + + ".compute.v1.AggregatedListInstanceGroupM" + + "anagersRequest\032;.google.cloud.compute.v1" + + ".InstanceGroupManagerAggregatedList\"Q\332A\007" + + "project\202\323\344\223\002A\022?/compute/v1/projects/{pro" + + "ject}/aggregated/instanceGroupManagers\022\256" + + "\003\n\027ApplyUpdatesToInstances\022K.google.clou" + + "d.compute.v1.ApplyUpdatesToInstancesInst" + + "anceGroupManagerRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\241\002\332AZproject,zone,in" + + "stance_group_manager,instance_group_mana" + + "gers_apply_updates_request_resource\212N\016Zo" + + "neOperations\202\323\344\223\002\254\001\"r/compute/v1/project" + + "s/{project}/zones/{zone}/instanceGroupMa" + + "nagers/{instance_group_manager}/applyUpd" + + "atesToInstances:6instance_group_managers" + + "_apply_updates_request_resource\022\234\003\n\017Crea" + + "teInstances\022C.google.cloud.compute.v1.Cr" + + "eateInstancesInstanceGroupManagerRequest" + + "\032\".google.cloud.compute.v1.Operation\"\237\002\332" + + "A]project,zone,instance_group_manager,in" + + "stance_group_managers_create_instances_r" + + "equest_resource\212N\016ZoneOperations\202\323\344\223\002\247\001\"" + + "j/compute/v1/projects/{project}/zones/{z" + + "one}/instanceGroupManagers/{instance_gro" + + "up_manager}/createInstances:9instance_gr" + + "oup_managers_create_instances_request_re" + + "source\022\204\002\n\006Delete\022:.google.cloud.compute" + + ".v1.DeleteInstanceGroupManagerRequest\032\"." + + "google.cloud.compute.v1.Operation\"\231\001\332A#p" + + "roject,zone,instance_group_manager\212N\016Zon" + + "eOperations\202\323\344\223\002\\*Z/compute/v1/projects/" + + "{project}/zones/{zone}/instanceGroupMana" + + "gers/{instance_group_manager}\022\234\003\n\017Delete" + + "Instances\022C.google.cloud.compute.v1.Dele" + + "teInstancesInstanceGroupManagerRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\237\002\332A]" + + "project,zone,instance_group_manager,inst" + + "ance_group_managers_delete_instances_req" + + "uest_resource\212N\016ZoneOperations\202\323\344\223\002\247\001\"j/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/instanceGroupManagers/{instance_group" + + "_manager}/deleteInstances:9instance_grou" + + "p_managers_delete_instances_request_reso" + + "urce\022\305\003\n\030DeletePerInstanceConfigs\022L.goog" + + "le.cloud.compute.v1.DeletePerInstanceCon" + + "figsInstanceGroupManagerRequest\032\".google" + + ".cloud.compute.v1.Operation\"\266\002\332Adproject" + + ",zone,instance_group_manager,instance_gr" + + "oup_managers_delete_per_instance_configs" + + "_req_resource\212N\016ZoneOperations\202\323\344\223\002\267\001\"s/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/instanceGroupManagers/{instance_group" + + "_manager}/deletePerInstanceConfigs:@inst" + + "ance_group_managers_delete_per_instance_" + + "configs_req_resource\022\370\001\n\003Get\0227.google.cl" + + "oud.compute.v1.GetInstanceGroupManagerRe" + + "quest\032-.google.cloud.compute.v1.Instance" + + "GroupManager\"\210\001\332A#project,zone,instance_" + + "group_manager\202\323\344\223\002\\\022Z/compute/v1/project" + + "s/{project}/zones/{zone}/instanceGroupMa" + + "nagers/{instance_group_manager}\022\225\002\n\006Inse" + + "rt\022:.google.cloud.compute.v1.InsertInsta" + + "nceGroupManagerRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\252\001\332A,project,zone,ins" + + "tance_group_manager_resource\212N\016ZoneOpera" + + "tions\202\323\344\223\002d\"A/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instanceGroupManagers:\037" + + "instance_group_manager_resource\022\316\001\n\004List" + + "\0229.google.cloud.compute.v1.ListInstanceG" + + "roupManagersRequest\0321.google.cloud.compu" + + "te.v1.InstanceGroupManagerList\"X\332A\014proje" + + "ct,zone\202\323\344\223\002C\022A/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instanceGroupManagers" + + "\022\245\002\n\nListErrors\022?.google.cloud.compute.v" + + "1.ListErrorsInstanceGroupManagersRequest" + + "\032@.google.cloud.compute.v1.InstanceGroup" + + "ManagersListErrorsResponse\"\223\001\332A#project," + + "zone,instance_group_manager\202\323\344\223\002g\022e/comp" + "ute/v1/projects/{project}/zones/{zone}/i" + "nstanceGroupManagers/{instance_group_man" - + "ager}/resize\022\234\003\n\017ResumeInstances\022C.googl" - + "e.cloud.compute.v1.ResumeInstancesInstan" - + "ceGroupManagerRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\237\002\332A]project,zone,inst" - + "ance_group_manager,instance_group_manage" - + "rs_resume_instances_request_resource\212N\016Z" - + "oneOperations\202\323\344\223\002\247\001\"j/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroupM" - + "anagers/{instance_group_manager}/resumeI" - + "nstances:9instance_group_managers_resume" - + "_instances_request_resource\022\262\003\n\023SetInsta" - + "nceTemplate\022G.google.cloud.compute.v1.Se" - + "tInstanceTemplateInstanceGroupManagerReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\255\002\332Abproject,zone,instance_group_manage" - + "r,instance_group_managers_set_instance_t" - + "emplate_request_resource\212N\016ZoneOperation" - + "s\202\323\344\223\002\260\001\"n/compute/v1/projects/{project}" + + "ager}/listErrors\022\315\002\n\024ListManagedInstance" + + "s\022I.google.cloud.compute.v1.ListManagedI" + + "nstancesInstanceGroupManagersRequest\032J.g" + + "oogle.cloud.compute.v1.InstanceGroupMana" + + "gersListManagedInstancesResponse\"\235\001\332A#pr" + + "oject,zone,instance_group_manager\202\323\344\223\002q\"" + + "o/compute/v1/projects/{project}/zones/{z" + + "one}/instanceGroupManagers/{instance_gro" + + "up_manager}/listManagedInstances\022\321\002\n\026Lis" + + "tPerInstanceConfigs\022K.google.cloud.compu" + + "te.v1.ListPerInstanceConfigsInstanceGrou" + + "pManagersRequest\032H.google.cloud.compute." + + "v1.InstanceGroupManagersListPerInstanceC" + + "onfigsResp\"\237\001\332A#project,zone,instance_gr" + + "oup_manager\202\323\344\223\002s\"q/compute/v1/projects/" + + "{project}/zones/{zone}/instanceGroupMana" + + "gers/{instance_group_manager}/listPerIns" + + "tanceConfigs\022\303\002\n\005Patch\0229.google.cloud.co" + + "mpute.v1.PatchInstanceGroupManagerReques" + + "t\032\".google.cloud.compute.v1.Operation\"\332\001" + + "\332ACproject,zone,instance_group_manager,i" + + "nstance_group_manager_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002}2Z/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instanceGroupManagers" + + "/{instance_group_manager}:\037instance_grou" + + "p_manager_resource\022\300\003\n\027PatchPerInstanceC" + + "onfigs\022K.google.cloud.compute.v1.PatchPe" + + "rInstanceConfigsInstanceGroupManagerRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\263\002\332Acproject,zone,instance_group_manager" + + ",instance_group_managers_patch_per_insta" + + "nce_configs_req_resource\212N\016ZoneOperation" + + "s\202\323\344\223\002\265\001\"r/compute/v1/projects/{project}" + "/zones/{zone}/instanceGroupManagers/{ins" - + "tance_group_manager}/setInstanceTemplate" - + ":>instance_group_managers_set_instance_t" - + "emplate_request_resource\022\231\003\n\016SetTargetPo" - + "ols\022B.google.cloud.compute.v1.SetTargetP" - + "oolsInstanceGroupManagerRequest\032\".google" - + ".cloud.compute.v1.Operation\"\236\002\332A]project" - + ",zone,instance_group_manager,instance_gr" - + "oup_managers_set_target_pools_request_re" - + "source\212N\016ZoneOperations\202\323\344\223\002\246\001\"i/compute" + + "tance_group_manager}/patchPerInstanceCon" + + "figs:?instance_group_managers_patch_per_" + + "instance_configs_req_resource\022\246\003\n\021Recrea" + + "teInstances\022E.google.cloud.compute.v1.Re" + + "createInstancesInstanceGroupManagerReque" + + "st\032\".google.cloud.compute.v1.Operation\"\245" + + "\002\332A_project,zone,instance_group_manager," + + "instance_group_managers_recreate_instanc" + + "es_request_resource\212N\016ZoneOperations\202\323\344\223" + + "\002\253\001\"l/compute/v1/projects/{project}/zone" + + "s/{zone}/instanceGroupManagers/{instance" + + "_group_manager}/recreateInstances:;insta" + + "nce_group_managers_recreate_instances_re" + + "quest_resource\022\220\002\n\006Resize\022:.google.cloud" + + ".compute.v1.ResizeInstanceGroupManagerRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\245\001\332A(project,zone,instance_group_manag" + + "er,size\212N\016ZoneOperations\202\323\344\223\002c\"a/compute" + "/v1/projects/{project}/zones/{zone}/inst" + "anceGroupManagers/{instance_group_manage" - + "r}/setTargetPools:9instance_group_manage" - + "rs_set_target_pools_request_resource\022\227\003\n" - + "\016StartInstances\022B.google.cloud.compute.v" - + "1.StartInstancesInstanceGroupManagerRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\234\002\332A\\project,zone,instance_group_manager" - + ",instance_group_managers_start_instances" - + "_request_resource\212N\016ZoneOperations\202\323\344\223\002\245" - + "\001\"i/compute/v1/projects/{project}/zones/" - + "{zone}/instanceGroupManagers/{instance_g" - + "roup_manager}/startInstances:8instance_g" - + "roup_managers_start_instances_request_re" - + "source\022\222\003\n\rStopInstances\022A.google.cloud." - + "compute.v1.StopInstancesInstanceGroupMan" - + "agerRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\231\002\332A[project,zone,instance_group" - + "_manager,instance_group_managers_stop_in" - + "stances_request_resource\212N\016ZoneOperation" - + "s\202\323\344\223\002\243\001\"h/compute/v1/projects/{project}" - + "/zones/{zone}/instanceGroupManagers/{ins" - + "tance_group_manager}/stopInstances:7inst" - + "ance_group_managers_stop_instances_reque" - + "st_resource\022\241\003\n\020SuspendInstances\022D.googl" - + "e.cloud.compute.v1.SuspendInstancesInsta" - + "nceGroupManagerRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\242\002\332A^project,zone,ins" - + "tance_group_manager,instance_group_manag" - + "ers_suspend_instances_request_resource\212N" - + "\016ZoneOperations\202\323\344\223\002\251\001\"k/compute/v1/proj" - + "ects/{project}/zones/{zone}/instanceGrou" - + "pManagers/{instance_group_manager}/suspe" - + "ndInstances::instance_group_managers_sus" - + "pend_instances_request_resource\022\305\003\n\030Upda" - + "tePerInstanceConfigs\022L.google.cloud.comp" - + "ute.v1.UpdatePerInstanceConfigsInstanceG" + + "r}/resize\022\234\003\n\017ResumeInstances\022C.google.c" + + "loud.compute.v1.ResumeInstancesInstanceG" + "roupManagerRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\266\002\332Adproject,zone,instanc" + + "e.v1.Operation\"\237\002\332A]project,zone,instanc" + "e_group_manager,instance_group_managers_" - + "update_per_instance_configs_req_resource" - + "\212N\016ZoneOperations\202\323\344\223\002\267\001\"s/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instanceGr" - + "oupManagers/{instance_group_manager}/upd" - + "atePerInstanceConfigs:@instance_group_ma" - + "nagers_update_per_instance_configs_req_r" - + "esource\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\272\027\n\016InstanceGroups\022\337\002\n\014AddInstances\022" - + "9.google.cloud.compute.v1.AddInstancesIn" - + "stanceGroupRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\357\001\332AJproject,zone,instanc" - + "e_group,instance_groups_add_instances_re" - + "quest_resource\212N\016ZoneOperations\202\323\344\223\002\212\001\"X" - + "/compute/v1/projects/{project}/zones/{zo" - + "ne}/instanceGroups/{instance_group}/addI" - + "nstances:.instance_groups_add_instances_" - + "request_resource\022\320\001\n\016AggregatedList\022<.go" - + "ogle.cloud.compute.v1.AggregatedListInst" - + "anceGroupsRequest\0324.google.cloud.compute" - + ".v1.InstanceGroupAggregatedList\"J\332A\007proj" - + "ect\202\323\344\223\002:\0228/compute/v1/projects/{project" - + "}/aggregated/instanceGroups\022\346\001\n\006Delete\0223" - + ".google.cloud.compute.v1.DeleteInstanceG" - + "roupRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\202\001\332A\033project,zone,instance_group" - + "\212N\016ZoneOperations\202\323\344\223\002M*K/compute/v1/pro" - + "jects/{project}/zones/{zone}/instanceGro" - + "ups/{instance_group}\022\322\001\n\003Get\0220.google.cl" - + "oud.compute.v1.GetInstanceGroupRequest\032&" - + ".google.cloud.compute.v1.InstanceGroup\"q" - + "\332A\033project,zone,instance_group\202\323\344\223\002M\022K/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/instanceGroups/{instance_group}\022\367\001\n\006In" - + "sert\0223.google.cloud.compute.v1.InsertIns" - + "tanceGroupRequest\032\".google.cloud.compute" - + ".v1.Operation\"\223\001\332A$project,zone,instance" - + "_group_resource\212N\016ZoneOperations\202\323\344\223\002U\":" + + "resume_instances_request_resource\212N\016Zone" + + "Operations\202\323\344\223\002\247\001\"j/compute/v1/projects/" + + "{project}/zones/{zone}/instanceGroupMana" + + "gers/{instance_group_manager}/resumeInst" + + "ances:9instance_group_managers_resume_in" + + "stances_request_resource\022\262\003\n\023SetInstance" + + "Template\022G.google.cloud.compute.v1.SetIn" + + "stanceTemplateInstanceGroupManagerReques" + + "t\032\".google.cloud.compute.v1.Operation\"\255\002" + + "\332Abproject,zone,instance_group_manager,i" + + "nstance_group_managers_set_instance_temp" + + "late_request_resource\212N\016ZoneOperations\202\323" + + "\344\223\002\260\001\"n/compute/v1/projects/{project}/zo" + + "nes/{zone}/instanceGroupManagers/{instan" + + "ce_group_manager}/setInstanceTemplate:>i" + + "nstance_group_managers_set_instance_temp" + + "late_request_resource\022\231\003\n\016SetTargetPools" + + "\022B.google.cloud.compute.v1.SetTargetPool" + + "sInstanceGroupManagerRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\236\002\332A]project,zo" + + "ne,instance_group_manager,instance_group" + + "_managers_set_target_pools_request_resou" + + "rce\212N\016ZoneOperations\202\323\344\223\002\246\001\"i/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "eGroupManagers/{instance_group_manager}/" + + "setTargetPools:9instance_group_managers_" + + "set_target_pools_request_resource\022\227\003\n\016St" + + "artInstances\022B.google.cloud.compute.v1.S" + + "tartInstancesInstanceGroupManagerRequest" + + "\032\".google.cloud.compute.v1.Operation\"\234\002\332" + + "A\\project,zone,instance_group_manager,in" + + "stance_group_managers_start_instances_re" + + "quest_resource\212N\016ZoneOperations\202\323\344\223\002\245\001\"i" + "/compute/v1/projects/{project}/zones/{zo" - + "ne}/instanceGroups:\027instance_group_resou" - + "rce\022\271\001\n\004List\0222.google.cloud.compute.v1.L" - + "istInstanceGroupsRequest\032*.google.cloud." - + "compute.v1.InstanceGroupList\"Q\332A\014project" - + ",zone\202\323\344\223\002<\022:/compute/v1/projects/{proje" - + "ct}/zones/{zone}/instanceGroups\022\346\002\n\rList" - + "Instances\022;.google.cloud.compute.v1.List" - + "InstancesInstanceGroupsRequest\0324.google." - + "cloud.compute.v1.InstanceGroupsListInsta" - + "nces\"\341\001\332AKproject,zone,instance_group,in" - + "stance_groups_list_instances_request_res" - + "ource\202\323\344\223\002\214\001\"Y/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instanceGroups/{instan" - + "ce_group}/listInstances:/instance_groups" - + "_list_instances_request_resource\022\356\002\n\017Rem" - + "oveInstances\022<.google.cloud.compute.v1.R" - + "emoveInstancesInstanceGroupRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\370\001\332AMproj" - + "ect,zone,instance_group,instance_groups_" - + "remove_instances_request_resource\212N\016Zone" - + "Operations\202\323\344\223\002\220\001\"[/compute/v1/projects/" - + "{project}/zones/{zone}/instanceGroups/{i" - + "nstance_group}/removeInstances:1instance" - + "_groups_remove_instances_request_resourc" - + "e\022\346\002\n\rSetNamedPorts\022:.google.cloud.compu" - + "te.v1.SetNamedPortsInstanceGroupRequest\032" - + "\".google.cloud.compute.v1.Operation\"\364\001\332A" - + "Lproject,zone,instance_group,instance_gr" - + "oups_set_named_ports_request_resource\212N\016" - + "ZoneOperations\202\323\344\223\002\215\001\"Y/compute/v1/proje" + + "ne}/instanceGroupManagers/{instance_grou" + + "p_manager}/startInstances:8instance_grou" + + "p_managers_start_instances_request_resou" + + "rce\022\222\003\n\rStopInstances\022A.google.cloud.com" + + "pute.v1.StopInstancesInstanceGroupManage" + + "rRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\231\002\332A[project,zone,instance_group_ma" + + "nager,instance_group_managers_stop_insta" + + "nces_request_resource\212N\016ZoneOperations\202\323" + + "\344\223\002\243\001\"h/compute/v1/projects/{project}/zo" + + "nes/{zone}/instanceGroupManagers/{instan" + + "ce_group_manager}/stopInstances:7instanc" + + "e_group_managers_stop_instances_request_" + + "resource\022\241\003\n\020SuspendInstances\022D.google.c" + + "loud.compute.v1.SuspendInstancesInstance" + + "GroupManagerRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\242\002\332A^project,zone,instan" + + "ce_group_manager,instance_group_managers" + + "_suspend_instances_request_resource\212N\016Zo" + + "neOperations\202\323\344\223\002\251\001\"k/compute/v1/project" + + "s/{project}/zones/{zone}/instanceGroupMa" + + "nagers/{instance_group_manager}/suspendI" + + "nstances::instance_group_managers_suspen" + + "d_instances_request_resource\022\305\003\n\030UpdateP" + + "erInstanceConfigs\022L.google.cloud.compute" + + ".v1.UpdatePerInstanceConfigsInstanceGrou" + + "pManagerRequest\032\".google.cloud.compute.v" + + "1.Operation\"\266\002\332Adproject,zone,instance_g" + + "roup_manager,instance_group_managers_upd" + + "ate_per_instance_configs_req_resource\212N\016" + + "ZoneOperations\202\323\344\223\002\267\001\"s/compute/v1/proje" + "cts/{project}/zones/{zone}/instanceGroup" - + "s/{instance_group}/setNamedPorts:0instan" - + "ce_groups_set_named_ports_request_resour" - + "ce\022\307\002\n\022TestIamPermissions\022?.google.cloud" - + ".compute.v1.TestIamPermissionsInstanceGr" - + "oupRequest\0320.google.cloud.compute.v1.Tes" - + "tPermissionsResponse\"\275\001\332A7project,zone,r" - + "esource,test_permissions_request_resourc" - + "e\202\323\344\223\002}\"X/compute/v1/projects/{project}/" - + "zones/{zone}/instanceGroups/{resource}/t" - + "estIamPermissions:!test_permissions_requ" - + "est_resource\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-" - + "platform2\313\004\n\027InstanceSettingsService\022\271\001\n" - + "\003Get\0222.google.cloud.compute.v1.GetInstan" - + "ceSettingRequest\032).google.cloud.compute." - + "v1.InstanceSettings\"S\332A\014project,zone\202\323\344\223" - + "\002>\022project,zone,instance," - + "network_interface,access_config_resource" - + "\212N\016ZoneOperations\202\323\344\223\002j\"P/compute/v1/pro" - + "jects/{project}/zones/{zone}/instances/{" - + "instance}/addAccessConfig:\026access_config" - + "_resource\022\265\002\n\023AddNetworkInterface\022;.goog" - + "le.cloud.compute.v1.AddNetworkInterfaceI" - + "nstanceRequest\032\".google.cloud.compute.v1" - + ".Operation\"\274\001\332A0project,zone,instance,ne" - + "twork_interface_resource\212N\016ZoneOperation" - + "s\202\323\344\223\002r\"T/compute/v1/projects/{project}/" - + "zones/{zone}/instances/{instance}/addNet" - + "workInterface:\032network_interface_resourc" - + "e\022\342\002\n\023AddResourcePolicies\022;.google.cloud" - + ".compute.v1.AddResourcePoliciesInstanceR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\351\001\332AFproject,zone,instance,instances_" - + "add_resource_policies_request_resource\212N", - "\016ZoneOperations\202\323\344\223\002\210\001\"T/compute/v1/proj" - + "ects/{project}/zones/{zone}/instances/{i" - + "nstance}/addResourcePolicies:0instances_" - + "add_resource_policies_request_resource\022\301" - + "\001\n\016AggregatedList\0227.google.cloud.compute" - + ".v1.AggregatedListInstancesRequest\032/.goo" - + "gle.cloud.compute.v1.InstanceAggregatedL" - + "ist\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/proje" - + "cts/{project}/aggregated/instances\022\222\002\n\nA" - + "ttachDisk\0222.google.cloud.compute.v1.Atta" - + "chDiskInstanceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\253\001\332A,project,zone,inst" - + "ance,attached_disk_resource\212N\016ZoneOperat" - + "ions\202\323\344\223\002e\"K/compute/v1/projects/{projec" - + "t}/zones/{zone}/instances/{instance}/att" - + "achDisk:\026attached_disk_resource\022\236\002\n\nBulk" - + "Insert\0222.google.cloud.compute.v1.BulkIns" - + "ertInstanceRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\267\001\332A3project,zone,bulk_in" - + "sert_instance_resource_resource\212N\016ZoneOp" - + "erations\202\323\344\223\002j\"@/compute/v1/projects/{pr" - + "oject}/zones/{zone}/instances/bulkInsert" - + ":&bulk_insert_instance_resource_resource" - + "\022\317\001\n\006Delete\022..google.cloud.compute.v1.De" - + "leteInstanceRequest\032\".google.cloud.compu" - + "te.v1.Operation\"q\332A\025project,zone,instanc" - + "e\212N\016ZoneOperations\202\323\344\223\002B*@/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instances/" - + "{instance}\022\233\002\n\022DeleteAccessConfig\022:.goog" - + "le.cloud.compute.v1.DeleteAccessConfigIn" + + "tform2\313\004\n\027InstanceSettingsService\022\271\001\n\003Ge" + + "t\0222.google.cloud.compute.v1.GetInstanceS" + + "ettingRequest\032).google.cloud.compute.v1." + + "InstanceSettings\"S\332A\014project,zone\202\323\344\223\002>\022" + + ".google.cloud.compute.v1.DeleteNetw" - + "orkInterfaceInstanceRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\237\001\332A,project,zon" - + "e,instance,network_interface_name\212N\016Zone" - + "Operations\202\323\344\223\002Y\"W/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{instanc" - + "e}/deleteNetworkInterface\022\357\001\n\nDetachDisk" - + "\0222.google.cloud.compute.v1.DetachDiskIns" - + "tanceRequest\032\".google.cloud.compute.v1.O" - + "peration\"\210\001\332A!project,zone,instance,devi" - + "ce_name\212N\016ZoneOperations\202\323\344\223\002M\"K/compute" - + "/v1/projects/{project}/zones/{zone}/inst" - + "ances/{instance}/detachDisk\022\267\001\n\003Get\022+.go" - + "ogle.cloud.compute.v1.GetInstanceRequest" - + "\032!.google.cloud.compute.v1.Instance\"`\332A\025" - + "project,zone,instance\202\323\344\223\002B\022@/compute/v1" + + "Operation\"\302\001\332A>project,zone,instance,net" + + "work_interface,access_config_resource\212N\016" + + "ZoneOperations\202\323\344\223\002j\"P/compute/v1/projec" + + "ts/{project}/zones/{zone}/instances/{ins" + + "tance}/addAccessConfig:\026access_config_re" + + "source\022\265\002\n\023AddNetworkInterface\022;.google." + + "cloud.compute.v1.AddNetworkInterfaceInst" + + "anceRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\274\001\332A0project,zone,instance,netwo" + + "rk_interface_resource\212N\016ZoneOperations\202\323" + + "\344\223\002r\"T/compute/v1/projects/{project}/zon" + + "es/{zone}/instances/{instance}/addNetwor" + + "kInterface:\032network_interface_resource\022\342" + + "\002\n\023AddResourcePolicies\022;.google.cloud.co" + + "mpute.v1.AddResourcePoliciesInstanceRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\351\001\332AFproject,zone,instance,instances_add" + + "_resource_policies_request_resource\212N\016Zo" + + "neOperations\202\323\344\223\002\210\001\"T/compute/v1/project" + + "s/{project}/zones/{zone}/instances/{inst" + + "ance}/addResourcePolicies:0instances_add" + + "_resource_policies_request_resource\022\301\001\n\016" + + "AggregatedList\0227.google.cloud.compute.v1" + + ".AggregatedListInstancesRequest\032/.google" + + ".cloud.compute.v1.InstanceAggregatedList" + + "\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/projects" + + "/{project}/aggregated/instances\022\222\002\n\nAtta" + + "chDisk\0222.google.cloud.compute.v1.AttachD" + + "iskInstanceRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\253\001\332A,project,zone,instanc" + + "e,attached_disk_resource\212N\016ZoneOperation" + + "s\202\323\344\223\002e\"K/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/attach" + + "Disk:\026attached_disk_resource\022\236\002\n\nBulkIns" + + "ert\0222.google.cloud.compute.v1.BulkInsert" + + "InstanceRequest\032\".google.cloud.compute.v" + + "1.Operation\"\267\001\332A3project,zone,bulk_inser" + + "t_instance_resource_resource\212N\016ZoneOpera" + + "tions\202\323\344\223\002j\"@/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instances/bulkInsert:&b" + + "ulk_insert_instance_resource_resource\022\317\001" + + "\n\006Delete\022..google.cloud.compute.v1.Delet" + + "eInstanceRequest\032\".google.cloud.compute." + + "v1.Operation\"q\332A\025project,zone,instance\212N" + + "\016ZoneOperations\202\323\344\223\002B*@/compute/v1/proje" + + "cts/{project}/zones/{zone}/instances/{in" + + "stance}\022\233\002\n\022DeleteAccessConfig\022:.google." + + "cloud.compute.v1.DeleteAccessConfigInsta" + + "nceRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\244\001\332A5project,zone,instance,access" + + "_config,network_interface\212N\016ZoneOperatio" + + "ns\202\323\344\223\002U\"S/compute/v1/projects/{project}" + + "/zones/{zone}/instances/{instance}/delet" + + "eAccessConfig\022\236\002\n\026DeleteNetworkInterface" + + "\022>.google.cloud.compute.v1.DeleteNetwork" + + "InterfaceInstanceRequest\032\".google.cloud." + + "compute.v1.Operation\"\237\001\332A,project,zone,i" + + "nstance,network_interface_name\212N\016ZoneOpe" + + "rations\202\323\344\223\002Y\"W/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instances/{instance}/" + + "deleteNetworkInterface\022\357\001\n\nDetachDisk\0222." + + "google.cloud.compute.v1.DetachDiskInstan" + + "ceRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\210\001\332A!project,zone,instance,device_" + + "name\212N\016ZoneOperations\202\323\344\223\002M\"K/compute/v1" + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}\022\242\002\n\025GetEffectiveFirewalls\022" - + "=.google.cloud.compute.v1.GetEffectiveFi" - + "rewallsInstanceRequest\032?.google.cloud.co" - + "mpute.v1.InstancesGetEffectiveFirewallsR" - + "esponse\"\210\001\332A\'project,zone,instance,netwo" - + "rk_interface\202\323\344\223\002X\022V/compute/v1/projects" - + "/{project}/zones/{zone}/instances/{insta" - + "nce}/getEffectiveFirewalls\022\357\001\n\022GetGuestA" - + "ttributes\022:.google.cloud.compute.v1.GetG" - + "uestAttributesInstanceRequest\032(.google.c" - + "loud.compute.v1.GuestAttributes\"s\332A\025proj" - + "ect,zone,instance\202\323\344\223\002U\022S/compute/v1/pro" - + "jects/{project}/zones/{zone}/instances/{" - + "instance}/getGuestAttributes\022\324\001\n\014GetIamP" - + "olicy\0224.google.cloud.compute.v1.GetIamPo" - + "licyInstanceRequest\032\037.google.cloud.compu" - + "te.v1.Policy\"m\332A\025project,zone,resource\202\323" - + "\344\223\002O\022M/compute/v1/projects/{project}/zon" - + "es/{zone}/instances/{resource}/getIamPol" - + "icy\022\330\001\n\rGetScreenshot\0225.google.cloud.com" - + "pute.v1.GetScreenshotInstanceRequest\032#.g" - + "oogle.cloud.compute.v1.Screenshot\"k\332A\025pr" - + "oject,zone,instance\202\323\344\223\002M\022K/compute/v1/p" - + "rojects/{project}/zones/{zone}/instances" - + "/{instance}/screenshot\022\352\001\n\023GetSerialPort" - + "Output\022;.google.cloud.compute.v1.GetSeri" - + "alPortOutputInstanceRequest\032).google.clo" - + "ud.compute.v1.SerialPortOutput\"k\332A\025proje" + + "es/{instance}/detachDisk\022\267\001\n\003Get\022+.googl" + + "e.cloud.compute.v1.GetInstanceRequest\032!." + + "google.cloud.compute.v1.Instance\"`\332A\025pro" + + "ject,zone,instance\202\323\344\223\002B\022@/compute/v1/pr" + + "ojects/{project}/zones/{zone}/instances/" + + "{instance}\022\242\002\n\025GetEffectiveFirewalls\022=.g" + + "oogle.cloud.compute.v1.GetEffectiveFirew" + + "allsInstanceRequest\032?.google.cloud.compu" + + "te.v1.InstancesGetEffectiveFirewallsResp" + + "onse\"\210\001\332A\'project,zone,instance,network_" + + "interface\202\323\344\223\002X\022V/compute/v1/projects/{p" + + "roject}/zones/{zone}/instances/{instance" + + "}/getEffectiveFirewalls\022\357\001\n\022GetGuestAttr" + + "ibutes\022:.google.cloud.compute.v1.GetGues" + + "tAttributesInstanceRequest\032(.google.clou" + + "d.compute.v1.GuestAttributes\"s\332A\025project" + + ",zone,instance\202\323\344\223\002U\022S/compute/v1/projec" + + "ts/{project}/zones/{zone}/instances/{ins" + + "tance}/getGuestAttributes\022\324\001\n\014GetIamPoli" + + "cy\0224.google.cloud.compute.v1.GetIamPolic" + + "yInstanceRequest\032\037.google.cloud.compute." + + "v1.Policy\"m\332A\025project,zone,resource\202\323\344\223\002" + + "O\022M/compute/v1/projects/{project}/zones/" + + "{zone}/instances/{resource}/getIamPolicy" + + "\022\330\001\n\rGetScreenshot\0225.google.cloud.comput" + + "e.v1.GetScreenshotInstanceRequest\032#.goog" + + "le.cloud.compute.v1.Screenshot\"k\332A\025proje" + "ct,zone,instance\202\323\344\223\002M\022K/compute/v1/proj" + "ects/{project}/zones/{zone}/instances/{i" - + "nstance}/serialPort\022\223\002\n\033GetShieldedInsta" - + "nceIdentity\022C.google.cloud.compute.v1.Ge" - + "tShieldedInstanceIdentityInstanceRequest" - + "\0321.google.cloud.compute.v1.ShieldedInsta" - + "nceIdentity\"|\332A\025project,zone,instance\202\323\344" - + "\223\002^\022\\/compute/v1/projects/{project}/zone" - + "s/{zone}/instances/{instance}/getShielde" - + "dInstanceIdentity\022\341\001\n\006Insert\022..google.cl" - + "oud.compute.v1.InsertInstanceRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\202\001\332A\036pr" - + "oject,zone,instance_resource\212N\016ZoneOpera" - + "tions\202\323\344\223\002J\"5/compute/v1/projects/{proje" - + "ct}/zones/{zone}/instances:\021instance_res" - + "ource\022\252\001\n\004List\022-.google.cloud.compute.v1" - + ".ListInstancesRequest\032%.google.cloud.com" - + "pute.v1.InstanceList\"L\332A\014project,zone\202\323\344" - + "\223\0027\0225/compute/v1/projects/{project}/zone" - + "s/{zone}/instances\022\343\001\n\rListReferrers\0226.g" - + "oogle.cloud.compute.v1.ListReferrersInst" - + "ancesRequest\032..google.cloud.compute.v1.I" - + "nstanceListReferrers\"j\332A\025project,zone,in" - + "stance\202\323\344\223\002L\022J/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instances/{instance}/r" - + "eferrers\022\373\001\n\022PerformMaintenance\022:.google" - + ".cloud.compute.v1.PerformMaintenanceInst" - + "anceRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\204\001\332A\025project,zone,instance\212N\016Zon" - + "eOperations\202\323\344\223\002U\"S/compute/v1/projects/" - + "{project}/zones/{zone}/instances/{instan" - + "ce}/performMaintenance\022\361\002\n\026RemoveResourc" - + "ePolicies\022>.google.cloud.compute.v1.Remo" - + "veResourcePoliciesInstanceRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\362\001\332AIproje" - + "ct,zone,instance,instances_remove_resour" - + "ce_policies_request_resource\212N\016ZoneOpera" - + "tions\202\323\344\223\002\216\001\"W/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instances/{instance}/r" - + "emoveResourcePolicies:3instances_remove_" - + "resource_policies_request_resource\022\337\002\n\022R" - + "eportHostAsFaulty\022:.google.cloud.compute" - + ".v1.ReportHostAsFaultyInstanceRequest\032\"." - + "google.cloud.compute.v1.Operation\"\350\001\332AFp" - + "roject,zone,instance,instances_report_ho" - + "st_as_faulty_request_resource\212N\016ZoneOper" - + "ations\202\323\344\223\002\207\001\"S/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instances/{instance}/" - + "reportHostAsFaulty:0instances_report_hos" - + "t_as_faulty_request_resource\022\323\001\n\005Reset\022-" - + ".google.cloud.compute.v1.ResetInstanceRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"w\332A\025project,zone,instance\212N\016ZoneOperat" - + "ions\202\323\344\223\002H\"F/compute/v1/projects/{projec" - + "t}/zones/{zone}/instances/{instance}/res" - + "et\022\326\001\n\006Resume\022..google.cloud.compute.v1." - + "ResumeInstanceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"x\332A\025project,zone,insta" - + "nce\212N\016ZoneOperations\202\323\344\223\002I\"G/compute/v1/" - + "projects/{project}/zones/{zone}/instance" - + "s/{instance}/resume\022\226\002\n\027SendDiagnosticIn" - + "terrupt\022?.google.cloud.compute.v1.SendDi" - + "agnosticInterruptInstanceRequest\032@.googl" - + "e.cloud.compute.v1.SendDiagnosticInterru" - + "ptInstanceResponse\"x\332A\025project,zone,inst" - + "ance\202\323\344\223\002Z\"X/compute/v1/projects/{projec" - + "t}/zones/{zone}/instances/{instance}/sen" - + "dDiagnosticInterrupt\022\204\002\n\025SetDeletionProt" - + "ection\022=.google.cloud.compute.v1.SetDele" - + "tionProtectionInstanceRequest\032\".google.c" - + "loud.compute.v1.Operation\"\207\001\332A\025project,z" - + "one,resource\212N\016ZoneOperations\202\323\344\223\002X\"V/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/instances/{resource}/setDeletionProtect" - + "ion\022\220\002\n\021SetDiskAutoDelete\0229.google.cloud" - + ".compute.v1.SetDiskAutoDeleteInstanceReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\233\001\332A-project,zone,instance,auto_delete," - + "device_name\212N\016ZoneOperations\202\323\344\223\002T\"R/com" - + "pute/v1/projects/{project}/zones/{zone}/" - + "instances/{instance}/setDiskAutoDelete\022\230" - + "\002\n\014SetIamPolicy\0224.google.cloud.compute.v" - + "1.SetIamPolicyInstanceRequest\032\037.google.c" - + "loud.compute.v1.Policy\"\260\001\332A6project,zone" - + ",resource,zone_set_policy_request_resour" - + "ce\202\323\344\223\002q\"M/compute/v1/projects/{project}" - + "/zones/{zone}/instances/{resource}/setIa" - + "mPolicy: zone_set_policy_request_resourc" - + "e\022\255\002\n\tSetLabels\0221.google.cloud.compute.v" - + "1.SetLabelsInstanceRequest\032\".google.clou" - + "d.compute.v1.Operation\"\310\001\332A;project,zone" - + ",instance,instances_set_labels_request_r" - + "esource\212N\016ZoneOperations\202\323\344\223\002s\"J/compute" - + "/v1/projects/{project}/zones/{zone}/inst" - + "ances/{instance}/setLabels:%instances_se" - + "t_labels_request_resource\022\342\002\n\023SetMachine" - + "Resources\022;.google.cloud.compute.v1.SetM" - + "achineResourcesInstanceRequest\032\".google." - + "cloud.compute.v1.Operation\"\351\001\332AFproject," - + "zone,instance,instances_set_machine_reso" - + "urces_request_resource\212N\016ZoneOperations\202" - + "\323\344\223\002\210\001\"T/compute/v1/projects/{project}/z" - + "ones/{zone}/instances/{instance}/setMach" - + "ineResources:0instances_set_machine_reso" - + "urces_request_resource\022\310\002\n\016SetMachineTyp" - + "e\0226.google.cloud.compute.v1.SetMachineTy" - + "peInstanceRequest\032\".google.cloud.compute" - + ".v1.Operation\"\331\001\332AAproject,zone,instance" - + ",instances_set_machine_type_request_reso" - + "urce\212N\016ZoneOperations\202\323\344\223\002~\"O/compute/v1" + + "nstance}/screenshot\022\352\001\n\023GetSerialPortOut" + + "put\022;.google.cloud.compute.v1.GetSerialP" + + "ortOutputInstanceRequest\032).google.cloud." + + "compute.v1.SerialPortOutput\"k\332A\025project," + + "zone,instance\202\323\344\223\002M\022K/compute/v1/project" + + "s/{project}/zones/{zone}/instances/{inst" + + "ance}/serialPort\022\223\002\n\033GetShieldedInstance" + + "Identity\022C.google.cloud.compute.v1.GetSh" + + "ieldedInstanceIdentityInstanceRequest\0321." + + "google.cloud.compute.v1.ShieldedInstance" + + "Identity\"|\332A\025project,zone,instance\202\323\344\223\002^" + + "\022\\/compute/v1/projects/{project}/zones/{" + + "zone}/instances/{instance}/getShieldedIn" + + "stanceIdentity\022\341\001\n\006Insert\022..google.cloud" + + ".compute.v1.InsertInstanceRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\202\001\332A\036proje" + + "ct,zone,instance_resource\212N\016ZoneOperatio" + + "ns\202\323\344\223\002J\"5/compute/v1/projects/{project}" + + "/zones/{zone}/instances:\021instance_resour" + + "ce\022\252\001\n\004List\022-.google.cloud.compute.v1.Li" + + "stInstancesRequest\032%.google.cloud.comput" + + "e.v1.InstanceList\"L\332A\014project,zone\202\323\344\223\0027" + + "\0225/compute/v1/projects/{project}/zones/{" + + "zone}/instances\022\343\001\n\rListReferrers\0226.goog" + + "le.cloud.compute.v1.ListReferrersInstanc" + + "esRequest\032..google.cloud.compute.v1.Inst" + + "anceListReferrers\"j\332A\025project,zone,insta" + + "nce\202\323\344\223\002L\022J/compute/v1/projects/{project" + + "}/zones/{zone}/instances/{instance}/refe" + + "rrers\022\373\001\n\022PerformMaintenance\022:.google.cl" + + "oud.compute.v1.PerformMaintenanceInstanc" + + "eRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\204\001\332A\025project,zone,instance\212N\016ZoneOp" + + "erations\202\323\344\223\002U\"S/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/performMaintenance\022\361\002\n\026RemoveResourcePo" + + "licies\022>.google.cloud.compute.v1.RemoveR" + + "esourcePoliciesInstanceRequest\032\".google." + + "cloud.compute.v1.Operation\"\362\001\332AIproject," + + "zone,instance,instances_remove_resource_" + + "policies_request_resource\212N\016ZoneOperatio" + + "ns\202\323\344\223\002\216\001\"W/compute/v1/projects/{project" + + "}/zones/{zone}/instances/{instance}/remo" + + "veResourcePolicies:3instances_remove_res" + + "ource_policies_request_resource\022\337\002\n\022Repo" + + "rtHostAsFaulty\022:.google.cloud.compute.v1" + + ".ReportHostAsFaultyInstanceRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\350\001\332AFproj" + + "ect,zone,instance,instances_report_host_" + + "as_faulty_request_resource\212N\016ZoneOperati" + + "ons\202\323\344\223\002\207\001\"S/compute/v1/projects/{projec" + + "t}/zones/{zone}/instances/{instance}/rep" + + "ortHostAsFaulty:0instances_report_host_a" + + "s_faulty_request_resource\022\323\001\n\005Reset\022-.go" + + "ogle.cloud.compute.v1.ResetInstanceReque" + + "st\032\".google.cloud.compute.v1.Operation\"w" + + "\332A\025project,zone,instance\212N\016ZoneOperation" + + "s\202\323\344\223\002H\"F/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/reset\022" + + "\326\001\n\006Resume\022..google.cloud.compute.v1.Res" + + "umeInstanceRequest\032\".google.cloud.comput" + + "e.v1.Operation\"x\332A\025project,zone,instance" + + "\212N\016ZoneOperations\202\323\344\223\002I\"G/compute/v1/pro" + + "jects/{project}/zones/{zone}/instances/{" + + "instance}/resume\022\226\002\n\027SendDiagnosticInter" + + "rupt\022?.google.cloud.compute.v1.SendDiagn" + + "osticInterruptInstanceRequest\032@.google.c" + + "loud.compute.v1.SendDiagnosticInterruptI" + + "nstanceResponse\"x\332A\025project,zone,instanc" + + "e\202\323\344\223\002Z\"X/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/sendDi" + + "agnosticInterrupt\022\204\002\n\025SetDeletionProtect" + + "ion\022=.google.cloud.compute.v1.SetDeletio" + + "nProtectionInstanceRequest\032\".google.clou" + + "d.compute.v1.Operation\"\207\001\332A\025project,zone" + + ",resource\212N\016ZoneOperations\202\323\344\223\002X\"V/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stances/{resource}/setDeletionProtection" + + "\022\220\002\n\021SetDiskAutoDelete\0229.google.cloud.co" + + "mpute.v1.SetDiskAutoDeleteInstanceReques" + + "t\032\".google.cloud.compute.v1.Operation\"\233\001" + + "\332A-project,zone,instance,auto_delete,dev" + + "ice_name\212N\016ZoneOperations\202\323\344\223\002T\"R/comput" + + "e/v1/projects/{project}/zones/{zone}/ins" + + "tances/{instance}/setDiskAutoDelete\022\230\002\n\014" + + "SetIamPolicy\0224.google.cloud.compute.v1.S" + + "etIamPolicyInstanceRequest\032\037.google.clou" + + "d.compute.v1.Policy\"\260\001\332A6project,zone,re" + + "source,zone_set_policy_request_resource\202" + + "\323\344\223\002q\"M/compute/v1/projects/{project}/zo" + + "nes/{zone}/instances/{resource}/setIamPo" + + "licy: zone_set_policy_request_resource\022\255" + + "\002\n\tSetLabels\0221.google.cloud.compute.v1.S" + + "etLabelsInstanceRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\310\001\332A;project,zone,in" + + "stance,instances_set_labels_request_reso" + + "urce\212N\016ZoneOperations\202\323\344\223\002s\"J/compute/v1" + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}/setMachineType:+instances_" - + "set_machine_type_request_resource\022\213\002\n\013Se" - + "tMetadata\0223.google.cloud.compute.v1.SetM" - + "etadataInstanceRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\242\001\332A\'project,zone,ins" - + "tance,metadata_resource\212N\016ZoneOperations" - + "\202\323\344\223\002a\"L/compute/v1/projects/{project}/z" - + "ones/{zone}/instances/{instance}/setMeta" - + "data:\021metadata_resource\022\332\002\n\021SetMinCpuPla" - + "tform\0229.google.cloud.compute.v1.SetMinCp" - + "uPlatformInstanceRequest\032\".google.cloud." - + "compute.v1.Operation\"\345\001\332AEproject,zone,i" - + "nstance,instances_set_min_cpu_platform_r" - + "equest_resource\212N\016ZoneOperations\202\323\344\223\002\205\001\"" - + "R/compute/v1/projects/{project}/zones/{z" - + "one}/instances/{instance}/setMinCpuPlatf" - + "orm:/instances_set_min_cpu_platform_requ" - + "est_resource\022\243\002\n\007SetName\022/.google.cloud." - + "compute.v1.SetNameInstanceRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\302\001\332A9proje" - + "ct,zone,instance,instances_set_name_requ" - + "est_resource\212N\016ZoneOperations\202\323\344\223\002o\"H/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/instances/{instance}/setName:#instances" - + "_set_name_request_resource\022\225\002\n\rSetSchedu" - + "ling\0225.google.cloud.compute.v1.SetSchedu" - + "lingInstanceRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\250\001\332A)project,zone,instan" - + "ce,scheduling_resource\212N\016ZoneOperations\202" - + "\323\344\223\002e\"N/compute/v1/projects/{project}/zo" - + "nes/{zone}/instances/{instance}/setSched" - + "uling:\023scheduling_resource\022\330\002\n\021SetSecuri" - + "tyPolicy\0229.google.cloud.compute.v1.SetSe" - + "curityPolicyInstanceRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\343\001\332ADproject,zon" - + "e,instance,instances_set_security_policy" - + "_request_resource\212N\016ZoneOperations\202\323\344\223\002\204" - + "\001\"R/compute/v1/projects/{project}/zones/" - + "{zone}/instances/{instance}/setSecurityP" - + "olicy:.instances_set_security_policy_req" - + "uest_resource\022\330\002\n\021SetServiceAccount\0229.go" - + "ogle.cloud.compute.v1.SetServiceAccountI" + + "es/{instance}/setLabels:%instances_set_l" + + "abels_request_resource\022\342\002\n\023SetMachineRes" + + "ources\022;.google.cloud.compute.v1.SetMach" + + "ineResourcesInstanceRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\351\001\332AFproject,zon" + + "e,instance,instances_set_machine_resourc" + + "es_request_resource\212N\016ZoneOperations\202\323\344\223" + + "\002\210\001\"T/compute/v1/projects/{project}/zone" + + "s/{zone}/instances/{instance}/setMachine" + + "Resources:0instances_set_machine_resourc" + + "es_request_resource\022\310\002\n\016SetMachineType\0226" + + ".google.cloud.compute.v1.SetMachineTypeI" + "nstanceRequest\032\".google.cloud.compute.v1" - + ".Operation\"\343\001\332ADproject,zone,instance,in" - + "stances_set_service_account_request_reso" - + "urce\212N\016ZoneOperations\202\323\344\223\002\204\001\"R/compute/v" - + "1/projects/{project}/zones/{zone}/instan" - + "ces/{instance}/setServiceAccount:.instan" - + "ces_set_service_account_request_resource" - + "\022\205\003\n\"SetShieldedInstanceIntegrityPolicy\022" - + "J.google.cloud.compute.v1.SetShieldedIns" - + "tanceIntegrityPolicyInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\356\001\332AApro" - + "ject,zone,instance,shielded_instance_int" - + "egrity_policy_resource\212N\016ZoneOperations\202" - + "\323\344\223\002\222\0012c/compute/v1/projects/{project}/z" - + "ones/{zone}/instances/{instance}/setShie" - + "ldedInstanceIntegrityPolicy:+shielded_in" - + "stance_integrity_policy_resource\022\367\001\n\007Set" - + "Tags\022/.google.cloud.compute.v1.SetTagsIn" - + "stanceRequest\032\".google.cloud.compute.v1." - + "Operation\"\226\001\332A#project,zone,instance,tag" - + "s_resource\212N\016ZoneOperations\202\323\344\223\002Y\"H/comp" - + "ute/v1/projects/{project}/zones/{zone}/i" - + "nstances/{instance}/setTags:\rtags_resour" - + "ce\022\215\002\n\030SimulateMaintenanceEvent\022@.google" - + ".cloud.compute.v1.SimulateMaintenanceEve" - + "ntInstanceRequest\032\".google.cloud.compute" - + ".v1.Operation\"\212\001\332A\025project,zone,instance" - + "\212N\016ZoneOperations\202\323\344\223\002[\"Y/compute/v1/pro" - + "jects/{project}/zones/{zone}/instances/{" - + "instance}/simulateMaintenanceEvent\022\323\001\n\005S" - + "tart\022-.google.cloud.compute.v1.StartInst" + + ".Operation\"\331\001\332AAproject,zone,instance,in" + + "stances_set_machine_type_request_resourc" + + "e\212N\016ZoneOperations\202\323\344\223\002~\"O/compute/v1/pr" + + "ojects/{project}/zones/{zone}/instances/" + + "{instance}/setMachineType:+instances_set" + + "_machine_type_request_resource\022\213\002\n\013SetMe" + + "tadata\0223.google.cloud.compute.v1.SetMeta" + + "dataInstanceRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\242\001\332A\'project,zone,instan" + + "ce,metadata_resource\212N\016ZoneOperations\202\323\344" + + "\223\002a\"L/compute/v1/projects/{project}/zone" + + "s/{zone}/instances/{instance}/setMetadat" + + "a:\021metadata_resource\022\332\002\n\021SetMinCpuPlatfo" + + "rm\0229.google.cloud.compute.v1.SetMinCpuPl" + + "atformInstanceRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\345\001\332AEproject,zone,inst" + + "ance,instances_set_min_cpu_platform_requ" + + "est_resource\212N\016ZoneOperations\202\323\344\223\002\205\001\"R/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/instances/{instance}/setMinCpuPlatform" + + ":/instances_set_min_cpu_platform_request" + + "_resource\022\243\002\n\007SetName\022/.google.cloud.com" + + "pute.v1.SetNameInstanceRequest\032\".google." + + "cloud.compute.v1.Operation\"\302\001\332A9project," + + "zone,instance,instances_set_name_request" + + "_resource\212N\016ZoneOperations\202\323\344\223\002o\"H/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stances/{instance}/setName:#instances_se" + + "t_name_request_resource\022\225\002\n\rSetSchedulin" + + "g\0225.google.cloud.compute.v1.SetSchedulin" + + "gInstanceRequest\032\".google.cloud.compute." + + "v1.Operation\"\250\001\332A)project,zone,instance," + + "scheduling_resource\212N\016ZoneOperations\202\323\344\223" + + "\002e\"N/compute/v1/projects/{project}/zones" + + "/{zone}/instances/{instance}/setScheduli" + + "ng:\023scheduling_resource\022\330\002\n\021SetSecurityP" + + "olicy\0229.google.cloud.compute.v1.SetSecur" + + "ityPolicyInstanceRequest\032\".google.cloud." + + "compute.v1.Operation\"\343\001\332ADproject,zone,i" + + "nstance,instances_set_security_policy_re" + + "quest_resource\212N\016ZoneOperations\202\323\344\223\002\204\001\"R" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/{instance}/setSecurityPoli" + + "cy:.instances_set_security_policy_reques" + + "t_resource\022\330\002\n\021SetServiceAccount\0229.googl" + + "e.cloud.compute.v1.SetServiceAccountInst" + "anceRequest\032\".google.cloud.compute.v1.Op" - + "eration\"w\332A\025project,zone,instance\212N\016Zone" - + "Operations\202\323\344\223\002H\"F/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{instanc" - + "e}/start\022\363\002\n\026StartWithEncryptionKey\022>.go" - + "ogle.cloud.compute.v1.StartWithEncryptio" - + "nKeyInstanceRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\364\001\332AJproject,zone,instan" - + "ce,instances_start_with_encryption_key_r" - + "equest_resource\212N\016ZoneOperations\202\323\344\223\002\217\001\"" - + "W/compute/v1/projects/{project}/zones/{z" - + "one}/instances/{instance}/startWithEncry" - + "ptionKey:4instances_start_with_encryptio" - + "n_key_request_resource\022\320\001\n\004Stop\022,.google" - + ".cloud.compute.v1.StopInstanceRequest\032\"." - + "google.cloud.compute.v1.Operation\"v\332A\025pr" - + "oject,zone,instance\212N\016ZoneOperations\202\323\344\223" - + "\002G\"E/compute/v1/projects/{project}/zones" - + "/{zone}/instances/{instance}/stop\022\331\001\n\007Su" - + "spend\022/.google.cloud.compute.v1.SuspendI" + + "eration\"\343\001\332ADproject,zone,instance,insta" + + "nces_set_service_account_request_resourc" + + "e\212N\016ZoneOperations\202\323\344\223\002\204\001\"R/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/{instance}/setServiceAccount:.instances" + + "_set_service_account_request_resource\022\205\003" + + "\n\"SetShieldedInstanceIntegrityPolicy\022J.g" + + "oogle.cloud.compute.v1.SetShieldedInstan" + + "ceIntegrityPolicyInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\356\001\332AAprojec" + + "t,zone,instance,shielded_instance_integr" + + "ity_policy_resource\212N\016ZoneOperations\202\323\344\223" + + "\002\222\0012c/compute/v1/projects/{project}/zone" + + "s/{zone}/instances/{instance}/setShielde" + + "dInstanceIntegrityPolicy:+shielded_insta" + + "nce_integrity_policy_resource\022\367\001\n\007SetTag" + + "s\022/.google.cloud.compute.v1.SetTagsInsta" + + "nceRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\226\001\332A#project,zone,instance,tags_r" + + "esource\212N\016ZoneOperations\202\323\344\223\002Y\"H/compute" + + "/v1/projects/{project}/zones/{zone}/inst" + + "ances/{instance}/setTags:\rtags_resource\022" + + "\215\002\n\030SimulateMaintenanceEvent\022@.google.cl" + + "oud.compute.v1.SimulateMaintenanceEventI" + "nstanceRequest\032\".google.cloud.compute.v1" - + ".Operation\"y\332A\025project,zone,instance\212N\016Z" - + "oneOperations\202\323\344\223\002J\"H/compute/v1/project" - + "s/{project}/zones/{zone}/instances/{inst" - + "ance}/suspend\022\275\002\n\022TestIamPermissions\022:.g" - + "oogle.cloud.compute.v1.TestIamPermission" - + "sInstanceRequest\0320.google.cloud.compute." - + "v1.TestPermissionsResponse\"\270\001\332A7project," - + "zone,resource,test_permissions_request_r" - + "esource\202\323\344\223\002x\"S/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instances/{resource}/" - + "testIamPermissions:!test_permissions_req" - + "uest_resource\022\365\001\n\006Update\022..google.cloud." - + "compute.v1.UpdateInstanceRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\226\001\332A\'projec" - + "t,zone,instance,instance_resource\212N\016Zone" - + "Operations\202\323\344\223\002U\032@/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{instanc" - + "e}:\021instance_resource\022\274\002\n\022UpdateAccessCo" - + "nfig\022:.google.cloud.compute.v1.UpdateAcc" - + "essConfigInstanceRequest\032\".google.cloud." - + "compute.v1.Operation\"\305\001\332A>project,zone,i" - + "nstance,network_interface,access_config_" - + "resource\212N\016ZoneOperations\202\323\344\223\002m\"S/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{instance}/updateAccessConfig:\026ac" - + "cess_config_resource\022\257\002\n\023UpdateDisplayDe" - + "vice\022;.google.cloud.compute.v1.UpdateDis" - + "playDeviceInstanceRequest\032\".google.cloud" - + ".compute.v1.Operation\"\266\001\332A-project,zone," - + "instance,display_device_resource\212N\016ZoneO" - + "perations\202\323\344\223\002o2T/compute/v1/projects/{p" - + "roject}/zones/{zone}/instances/{instance" - + "}/updateDisplayDevice:\027display_device_re" - + "source\022\320\002\n\026UpdateNetworkInterface\022>.goog" - + "le.cloud.compute.v1.UpdateNetworkInterfa" - + "ceInstanceRequest\032\".google.cloud.compute" - + ".v1.Operation\"\321\001\332ABproject,zone,instance" - + ",network_interface,network_interface_res" - + "ource\212N\016ZoneOperations\202\323\344\223\002u2W/compute/v" - + "1/projects/{project}/zones/{zone}/instan" - + "ces/{instance}/updateNetworkInterface:\032n" - + "etwork_interface_resource\022\337\002\n\034UpdateShie" - + "ldedInstanceConfig\022D.google.cloud.comput" - + "e.v1.UpdateShieldedInstanceConfigInstanc" + + ".Operation\"\212\001\332A\025project,zone,instance\212N\016" + + "ZoneOperations\202\323\344\223\002[\"Y/compute/v1/projec" + + "ts/{project}/zones/{zone}/instances/{ins" + + "tance}/simulateMaintenanceEvent\022\323\001\n\005Star" + + "t\022-.google.cloud.compute.v1.StartInstanc" + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\324\001\332A7project,zone,instance,shielded" - + "_instance_config_resource\212N\016ZoneOperatio" - + "ns\202\323\344\223\002\202\0012]/compute/v1/projects/{project" - + "}/zones/{zone}/instances/{instance}/upda" - + "teShieldedInstanceConfig:!shielded_insta" - + "nce_config_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\203\023\n\020InstantSnapshots\022\326\001\n" - + "\016AggregatedList\022>.google.cloud.compute.v" - + "1.AggregatedListInstantSnapshotsRequest\032" - + "6.google.cloud.compute.v1.InstantSnapsho" - + "tAggregatedList\"L\332A\007project\202\323\344\223\002<\022:/comp" - + "ute/v1/projects/{project}/aggregated/ins" - + "tantSnapshots\022\356\001\n\006Delete\0225.google.cloud." - + "compute.v1.DeleteInstantSnapshotRequest\032" - + "\".google.cloud.compute.v1.Operation\"\210\001\332A" - + "\035project,zone,instant_snapshot\212N\016ZoneOpe" - + "rations\202\323\344\223\002Q*O/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instantSnapshots/{ins" - + "tant_snapshot}\022\334\001\n\003Get\0222.google.cloud.co" - + "mpute.v1.GetInstantSnapshotRequest\032(.goo" - + "gle.cloud.compute.v1.InstantSnapshot\"w\332A" - + "\035project,zone,instant_snapshot\202\323\344\223\002Q\022O/c" + + "tion\"w\332A\025project,zone,instance\212N\016ZoneOpe" + + "rations\202\323\344\223\002H\"F/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instances/{instance}/" + + "start\022\363\002\n\026StartWithEncryptionKey\022>.googl" + + "e.cloud.compute.v1.StartWithEncryptionKe" + + "yInstanceRequest\032\".google.cloud.compute." + + "v1.Operation\"\364\001\332AJproject,zone,instance," + + "instances_start_with_encryption_key_requ" + + "est_resource\212N\016ZoneOperations\202\323\344\223\002\217\001\"W/c" + "ompute/v1/projects/{project}/zones/{zone" - + "}/instantSnapshots/{instant_snapshot}\022\342\001" - + "\n\014GetIamPolicy\022;.google.cloud.compute.v1" - + ".GetIamPolicyInstantSnapshotRequest\032\037.go" - + "ogle.cloud.compute.v1.Policy\"t\332A\025project" - + ",zone,resource\202\323\344\223\002V\022T/compute/v1/projec" - + "ts/{project}/zones/{zone}/instantSnapsho" - + "ts/{resource}/getIamPolicy\022\377\001\n\006Insert\0225." - + "google.cloud.compute.v1.InsertInstantSna" - + "pshotRequest\032\".google.cloud.compute.v1.O" - + "peration\"\231\001\332A&project,zone,instant_snaps" - + "hot_resource\212N\016ZoneOperations\202\323\344\223\002Y\"\022project,zone,inst" + + "ance,network_interface,access_config_res" + + "ource\212N\016ZoneOperations\202\323\344\223\002m\"S/compute/v" + + "1/projects/{project}/zones/{zone}/instan" + + "ces/{instance}/updateAccessConfig:\026acces" + + "s_config_resource\022\257\002\n\023UpdateDisplayDevic" + + "e\022;.google.cloud.compute.v1.UpdateDispla" + + "yDeviceInstanceRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\266\001\332A-project,zone,ins" + + "tance,display_device_resource\212N\016ZoneOper" + + "ations\202\323\344\223\002o2T/compute/v1/projects/{proj" + + "ect}/zones/{zone}/instances/{instance}/u" + + "pdateDisplayDevice:\027display_device_resou" + + "rce\022\320\002\n\026UpdateNetworkInterface\022>.google." + + "cloud.compute.v1.UpdateNetworkInterfaceI" + + "nstanceRequest\032\".google.cloud.compute.v1" + + ".Operation\"\321\001\332ABproject,zone,instance,ne" + + "twork_interface,network_interface_resour" + + "ce\212N\016ZoneOperations\202\323\344\223\002u2W/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/{instance}/updateNetworkInterface:\032netw" + + "ork_interface_resource\022\337\002\n\034UpdateShielde" + + "dInstanceConfig\022D.google.cloud.compute.v" + + "1.UpdateShieldedInstanceConfigInstanceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\324\001\332A7project,zone,instance,shielded_in" + + "stance_config_resource\212N\016ZoneOperations\202" + + "\323\344\223\002\202\0012]/compute/v1/projects/{project}/z" + + "ones/{zone}/instances/{instance}/updateS" + + "hieldedInstanceConfig:!shielded_instance" + + "_config_resource\032r\312A\026compute.googleapis." + + "com\322AVhttps://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\203\023\n\020InstantSnapshots\022\326\001\n\016Ag" + + "gregatedList\022>.google.cloud.compute.v1.A" + + "ggregatedListInstantSnapshotsRequest\0326.g" + + "oogle.cloud.compute.v1.InstantSnapshotAg" + + "gregatedList\"L\332A\007project\202\323\344\223\002<\022:/compute" + + "/v1/projects/{project}/aggregated/instan" + + "tSnapshots\022\356\001\n\006Delete\0225.google.cloud.com" + + "pute.v1.DeleteInstantSnapshotRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\210\001\332A\035pr" + + "oject,zone,instant_snapshot\212N\016ZoneOperat" + + "ions\202\323\344\223\002Q*O/compute/v1/projects/{projec" + + "t}/zones/{zone}/instantSnapshots/{instan" + + "t_snapshot}\022\334\001\n\003Get\0222.google.cloud.compu" + + "te.v1.GetInstantSnapshotRequest\032(.google" + + ".cloud.compute.v1.InstantSnapshot\"w\332A\035pr" + + "oject,zone,instant_snapshot\202\323\344\223\002Q\022O/comp" + + "ute/v1/projects/{project}/zones/{zone}/i" + + "nstantSnapshots/{instant_snapshot}\022\342\001\n\014G" + + "etIamPolicy\022;.google.cloud.compute.v1.Ge" + + "tIamPolicyInstantSnapshotRequest\032\037.googl" + + "e.cloud.compute.v1.Policy\"t\332A\025project,zo" + + "ne,resource\202\323\344\223\002V\022T/compute/v1/projects/" + + "{project}/zones/{zone}/instantSnapshots/", + "{resource}/getIamPolicy\022\377\001\n\006Insert\0225.goo" + + "gle.cloud.compute.v1.InsertInstantSnapsh" + + "otRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\231\001\332A&project,zone,instant_snapshot" + + "_resource\212N\016ZoneOperations\202\323\344\223\002Y\"\022.google.cloud.compute.v1." + + "GetInterconnectAttachmentGroupRequest\0324." + + "google.cloud.compute.v1.InterconnectAtta" + + "chmentGroup\"\222\001\332A%project,interconnect_at" + + "tachment_group\202\323\344\223\002d\022b/compute/v1/projec" + + "ts/{project}/global/interconnectAttachme" + + "ntGroups/{interconnect_attachment_group}" + + "\022\357\001\n\014GetIamPolicy\022G.google.cloud.compute" + + ".v1.GetIamPolicyInterconnectAttachmentGr" + + "oupRequest\032\037.google.cloud.compute.v1.Pol" + + "icy\"u\332A\020project,resource\202\323\344\223\002\\\022Z/compute" + + "/v1/projects/{project}/global/interconne" + + "ctAttachmentGroups/{resource}/getIamPoli" + + "cy\022\344\002\n\024GetOperationalStatus\022O.google.clo" + + "ud.compute.v1.GetOperationalStatusInterc" + + "onnectAttachmentGroupRequest\032Q.google.cl" + + "oud.compute.v1.InterconnectAttachmentGro" + + "upsGetOperationalStatusResponse\"\247\001\332A%pro" + + "ject,interconnect_attachment_group\202\323\344\223\002y" + + "\022w/compute/v1/projects/{project}/global/" + + "interconnectAttachmentGroups/{interconne" + + "ct_attachment_group}/getOperationalStatu" + + "s\022\250\002\n\006Insert\022A.google.cloud.compute.v1.I" + + "nsertInterconnectAttachmentGroupRequest\032" + + "\".google.cloud.compute.v1.Operation\"\266\001\332A" + + ".project,interconnect_attachment_group_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002l\"B/compu" + + "te/v1/projects/{project}/global/intercon" + + "nectAttachmentGroups:&interconnect_attac" + + "hment_group_resource\022\341\001\n\004List\022@.google.c" + + "loud.compute.v1.ListInterconnectAttachme" + + "ntGroupsRequest\032A.google.cloud.compute.v" + + "1.InterconnectAttachmentGroupsListRespon" + + "se\"T\332A\007project\202\323\344\223\002D\022B/compute/v1/projec" + + "ts/{project}/global/interconnectAttachme" + + "ntGroups\022\345\002\n\005Patch\022@.google.cloud.comput" + + "e.v1.PatchInterconnectAttachmentGroupReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\365\001\332ALproject,interconnect_attachment_gr" + + "oup,interconnect_attachment_group_resour" + + "ce\212N\020GlobalOperations\202\323\344\223\002\214\0012b/compute/v" + "1/projects/{project}/global/interconnect" + "AttachmentGroups/{interconnect_attachmen" - + "t_group}\022\220\002\n\003Get\022>.google.cloud.compute." - + "v1.GetInterconnectAttachmentGroupRequest" - + "\0324.google.cloud.compute.v1.InterconnectA" - + "ttachmentGroup\"\222\001\332A%project,interconnect" - + "_attachment_group\202\323\344\223\002d\022b/compute/v1/pro" - + "jects/{project}/global/interconnectAttac" - + "hmentGroups/{interconnect_attachment_gro" - + "up}\022\357\001\n\014GetIamPolicy\022G.google.cloud.comp" - + "ute.v1.GetIamPolicyInterconnectAttachmen" - + "tGroupRequest\032\037.google.cloud.compute.v1." - + "Policy\"u\332A\020project,resource\202\323\344\223\002\\\022Z/comp" - + "ute/v1/projects/{project}/global/interco" - + "nnectAttachmentGroups/{resource}/getIamP" - + "olicy\022\344\002\n\024GetOperationalStatus\022O.google." - + "cloud.compute.v1.GetOperationalStatusInt" - + "erconnectAttachmentGroupRequest\032Q.google" - + ".cloud.compute.v1.InterconnectAttachment" - + "GroupsGetOperationalStatusResponse\"\247\001\332A%" - + "project,interconnect_attachment_group\202\323\344" - + "\223\002y\022w/compute/v1/projects/{project}/glob" - + "al/interconnectAttachmentGroups/{interco" - + "nnect_attachment_group}/getOperationalSt" - + "atus\022\250\002\n\006Insert\022A.google.cloud.compute.v" - + "1.InsertInterconnectAttachmentGroupReque" - + "st\032\".google.cloud.compute.v1.Operation\"\266" - + "\001\332A.project,interconnect_attachment_grou" - + "p_resource\212N\020GlobalOperations\202\323\344\223\002l\"B/co" + + "t_group}:&interconnect_attachment_group_" + + "resource\022\270\002\n\014SetIamPolicy\022G.google.cloud" + + ".compute.v1.SetIamPolicyInterconnectAtta" + + "chmentGroupRequest\032\037.google.cloud.comput" + + "e.v1.Policy\"\275\001\332A3project,resource,global" + + "_set_policy_request_resource\202\323\344\223\002\200\001\"Z/co" + "mpute/v1/projects/{project}/global/inter" - + "connectAttachmentGroups:&interconnect_at" - + "tachment_group_resource\022\341\001\n\004List\022@.googl" - + "e.cloud.compute.v1.ListInterconnectAttac" - + "hmentGroupsRequest\032A.google.cloud.comput" - + "e.v1.InterconnectAttachmentGroupsListRes" - + "ponse\"T\332A\007project\202\323\344\223\002D\022B/compute/v1/pro" - + "jects/{project}/global/interconnectAttac" - + "hmentGroups\022\345\002\n\005Patch\022@.google.cloud.com" - + "pute.v1.PatchInterconnectAttachmentGroup" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\365\001\332ALproject,interconnect_attachment" - + "_group,interconnect_attachment_group_res" - + "ource\212N\020GlobalOperations\202\323\344\223\002\214\0012b/comput" - + "e/v1/projects/{project}/global/interconn" - + "ectAttachmentGroups/{interconnect_attach" - + "ment_group}:&interconnect_attachment_gro" - + "up_resource\022\270\002\n\014SetIamPolicy\022G.google.cl" - + "oud.compute.v1.SetIamPolicyInterconnectA" - + "ttachmentGroupRequest\032\037.google.cloud.com" - + "pute.v1.Policy\"\275\001\332A3project,resource,glo" - + "bal_set_policy_request_resource\202\323\344\223\002\200\001\"Z" - + "/compute/v1/projects/{project}/global/in" - + "terconnectAttachmentGroups/{resource}/se" - + "tIamPolicy:\"global_set_policy_request_re" - + "source\022\331\002\n\022TestIamPermissions\022M.google.c" - + "loud.compute.v1.TestIamPermissionsInterc" - + "onnectAttachmentGroupRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\301" - + "\001\332A2project,resource,test_permissions_re" - + "quest_resource\202\323\344\223\002\205\001\"`/compute/v1/proje" - + "cts/{project}/global/interconnectAttachm" - + "entGroups/{resource}/testIamPermissions:" - + "!test_permissions_request_resource\032r\312A\026c" - + "ompute.googleapis.com\322AVhttps://www.goog" - + "leapis.com/auth/compute,https://www.goog" - + "leapis.com/auth/cloud-platform2\302\020\n\027Inter" - + "connectAttachments\022\353\001\n\016AggregatedList\022E." - + "google.cloud.compute.v1.AggregatedListIn" - + "terconnectAttachmentsRequest\032=.google.cl" - + "oud.compute.v1.InterconnectAttachmentAgg" - + "regatedList\"S\332A\007project\202\323\344\223\002C\022A/compute/" - + "v1/projects/{project}/aggregated/interco" - + "nnectAttachments\022\222\002\n\006Delete\022<.google.clo" - + "ud.compute.v1.DeleteInterconnectAttachme" - + "ntRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\245\001\332A&project,region,interconnect_a" - + "ttachment\212N\020RegionOperations\202\323\344\223\002c*a/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/interconnectAttachments/{interconnec" - + "t_attachment}\022\206\002\n\003Get\0229.google.cloud.com" - + "pute.v1.GetInterconnectAttachmentRequest" - + "\032/.google.cloud.compute.v1.InterconnectA" - + "ttachment\"\222\001\332A&project,region,interconne" - + "ct_attachment\202\323\344\223\002c\022a/compute/v1/project" - + "s/{project}/regions/{region}/interconnec" - + "tAttachments/{interconnect_attachment}\022\243" - + "\002\n\006Insert\022<.google.cloud.compute.v1.Inse" - + "rtInterconnectAttachmentRequest\032\".google" - + ".cloud.compute.v1.Operation\"\266\001\332A/project" - + ",region,interconnect_attachment_resource" - + "\212N\020RegionOperations\202\323\344\223\002k\"G/compute/v1/p" - + "rojects/{project}/regions/{region}/inter" - + "connectAttachments: interconnect_attachm" - + "ent_resource\022\332\001\n\004List\022;.google.cloud.com" - + "pute.v1.ListInterconnectAttachmentsReque" - + "st\0323.google.cloud.compute.v1.Interconnec" - + "tAttachmentList\"`\332A\016project,region\202\323\344\223\002I" - + "\022G/compute/v1/projects/{project}/regions" - + "/{region}/interconnectAttachments\022\324\002\n\005Pa" - + "tch\022;.google.cloud.compute.v1.PatchInter" - + "connectAttachmentRequest\032\".google.cloud." - + "compute.v1.Operation\"\351\001\332AGproject,region" - + ",interconnect_attachment,interconnect_at" - + "tachment_resource\212N\020RegionOperations\202\323\344\223" - + "\002\205\0012a/compute/v1/projects/{project}/regi" - + "ons/{region}/interconnectAttachments/{in" - + "terconnect_attachment}: interconnect_att" - + "achment_resource\022\314\002\n\tSetLabels\022?.google." - + "cloud.compute.v1.SetLabelsInterconnectAt" - + "tachmentRequest\032\".google.cloud.compute.v" - + "1.Operation\"\331\001\332A:project,region,resource" - + ",region_set_labels_request_resource\212N\020Re" - + "gionOperations\202\323\344\223\002\202\001\"\\/compute/v1/proje" - + "cts/{project}/regions/{region}/interconn" - + "ectAttachments/{resource}/setLabels:\"reg" - + "ion_set_labels_request_resource\032r\312A\026comp" + + "connectAttachmentGroups/{resource}/setIa" + + "mPolicy:\"global_set_policy_request_resou" + + "rce\022\331\002\n\022TestIamPermissions\022M.google.clou" + + "d.compute.v1.TestIamPermissionsInterconn" + + "ectAttachmentGroupRequest\0320.google.cloud" + + ".compute.v1.TestPermissionsResponse\"\301\001\332A" + + "2project,resource,test_permissions_reque" + + "st_resource\202\323\344\223\002\205\001\"`/compute/v1/projects" + + "/{project}/global/interconnectAttachment" + + "Groups/{resource}/testIamPermissions:!te" + + "st_permissions_request_resource\032r\312A\026comp" + "ute.googleapis.com\322AVhttps://www.googlea" + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\270\026\n\022Intercon" - + "nectGroups\022\363\002\n\rCreateMembers\022>.google.cl" - + "oud.compute.v1.CreateMembersInterconnect" - + "GroupRequest\032\".google.cloud.compute.v1.O" - + "peration\"\375\001\332ANproject,interconnect_group" - + ",interconnect_groups_create_members_requ" - + "est_resource\212N\020GlobalOperations\202\323\344\223\002\222\001\"[" - + "/compute/v1/projects/{project}/global/in" - + "terconnectGroups/{interconnect_group}/cr" - + "eateMembers:3interconnect_groups_create_" - + "members_request_resource\022\355\001\n\006Delete\0227.go" - + "ogle.cloud.compute.v1.DeleteInterconnect" - + "GroupRequest\032\".google.cloud.compute.v1.O" - + "peration\"\205\001\332A\032project,interconnect_group" - + "\212N\020GlobalOperations\202\323\344\223\002O*M/compute/v1/p" - + "rojects/{project}/global/interconnectGro" - + "ups/{interconnect_group}\022\333\001\n\003Get\0224.googl" - + "e.cloud.compute.v1.GetInterconnectGroupR" - + "equest\032*.google.cloud.compute.v1.Interco" - + "nnectGroup\"r\332A\032project,interconnect_grou" - + "p\202\323\344\223\002O\022M/compute/v1/projects/{project}/" - + "global/interconnectGroups/{interconnect_" - + "group}\022\333\001\n\014GetIamPolicy\022=.google.cloud.c" - + "ompute.v1.GetIamPolicyInterconnectGroupR" - + "equest\032\037.google.cloud.compute.v1.Policy\"" - + "k\332A\020project,resource\202\323\344\223\002R\022P/compute/v1/" - + "projects/{project}/global/interconnectGr" - + "oups/{resource}/getIamPolicy\022\260\002\n\024GetOper" - + "ationalStatus\022E.google.cloud.compute.v1." - + "GetOperationalStatusInterconnectGroupReq" - + "uest\032G.google.cloud.compute.v1.Interconn" - + "ectGroupsGetOperationalStatusResponse\"\207\001" - + "\332A\032project,interconnect_group\202\323\344\223\002d\022b/co" + + "pis.com/auth/cloud-platform2\302\020\n\027Intercon" + + "nectAttachments\022\353\001\n\016AggregatedList\022E.goo" + + "gle.cloud.compute.v1.AggregatedListInter" + + "connectAttachmentsRequest\032=.google.cloud" + + ".compute.v1.InterconnectAttachmentAggreg" + + "atedList\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/" + + "projects/{project}/aggregated/interconne" + + "ctAttachments\022\222\002\n\006Delete\022<.google.cloud." + + "compute.v1.DeleteInterconnectAttachmentR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\245\001\332A&project,region,interconnect_atta" + + "chment\212N\020RegionOperations\202\323\344\223\002c*a/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/interconnectAttachments/{interconnect_a" + + "ttachment}\022\206\002\n\003Get\0229.google.cloud.comput" + + "e.v1.GetInterconnectAttachmentRequest\032/." + + "google.cloud.compute.v1.InterconnectAtta" + + "chment\"\222\001\332A&project,region,interconnect_" + + "attachment\202\323\344\223\002c\022a/compute/v1/projects/{" + + "project}/regions/{region}/interconnectAt" + + "tachments/{interconnect_attachment}\022\243\002\n\006" + + "Insert\022<.google.cloud.compute.v1.InsertI" + + "nterconnectAttachmentRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\266\001\332A/project,re" + + "gion,interconnect_attachment_resource\212N\020" + + "RegionOperations\202\323\344\223\002k\"G/compute/v1/proj" + + "ects/{project}/regions/{region}/intercon" + + "nectAttachments: interconnect_attachment" + + "_resource\022\332\001\n\004List\022;.google.cloud.comput" + + "e.v1.ListInterconnectAttachmentsRequest\032" + + "3.google.cloud.compute.v1.InterconnectAt" + + "tachmentList\"`\332A\016project,region\202\323\344\223\002I\022G/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/interconnectAttachments\022\324\002\n\005Patch" + + "\022;.google.cloud.compute.v1.PatchIntercon" + + "nectAttachmentRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\351\001\332AGproject,region,in" + + "terconnect_attachment,interconnect_attac" + + "hment_resource\212N\020RegionOperations\202\323\344\223\002\205\001" + + "2a/compute/v1/projects/{project}/regions" + + "/{region}/interconnectAttachments/{inter" + + "connect_attachment}: interconnect_attach" + + "ment_resource\022\314\002\n\tSetLabels\022?.google.clo" + + "ud.compute.v1.SetLabelsInterconnectAttac" + + "hmentRequest\032\".google.cloud.compute.v1.O" + + "peration\"\331\001\332A:project,region,resource,re" + + "gion_set_labels_request_resource\212N\020Regio" + + "nOperations\202\323\344\223\002\202\001\"\\/compute/v1/projects" + + "/{project}/regions/{region}/interconnect" + + "Attachments/{resource}/setLabels:\"region" + + "_set_labels_request_resource\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\270\026\n\022Interconnec" + + "tGroups\022\363\002\n\rCreateMembers\022>.google.cloud" + + ".compute.v1.CreateMembersInterconnectGro" + + "upRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\375\001\332ANproject,interconnect_group,in" + + "terconnect_groups_create_members_request" + + "_resource\212N\020GlobalOperations\202\323\344\223\002\222\001\"[/co" + "mpute/v1/projects/{project}/global/inter" - + "connectGroups/{interconnect_group}/getOp" - + "erationalStatus\022\376\001\n\006Insert\0227.google.clou" - + "d.compute.v1.InsertInterconnectGroupRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\226\001\332A#project,interconnect_group_resource" - + "\212N\020GlobalOperations\202\323\344\223\002W\"8/compute/v1/p" - + "rojects/{project}/global/interconnectGro" - + "ups:\033interconnect_group_resource\022\303\001\n\004Lis" - + "t\0226.google.cloud.compute.v1.ListIntercon" - + "nectGroupsRequest\0327.google.cloud.compute" - + ".v1.InterconnectGroupsListResponse\"J\332A\007p" - + "roject\202\323\344\223\002:\0228/compute/v1/projects/{proj" - + "ect}/global/interconnectGroups\022\244\002\n\005Patch" - + "\0226.google.cloud.compute.v1.PatchIntercon" - + "nectGroupRequest\032\".google.cloud.compute." - + "v1.Operation\"\276\001\332A6project,interconnect_g" - + "roup,interconnect_group_resource\212N\020Globa" - + "lOperations\202\323\344\223\002l2M/compute/v1/projects/" - + "{project}/global/interconnectGroups/{int" - + "erconnect_group}:\033interconnect_group_res" - + "ource\022\243\002\n\014SetIamPolicy\022=.google.cloud.co" - + "mpute.v1.SetIamPolicyInterconnectGroupRe" - + "quest\032\037.google.cloud.compute.v1.Policy\"\262" - + "\001\332A3project,resource,global_set_policy_r" - + "equest_resource\202\323\344\223\002v\"P/compute/v1/proje" - + "cts/{project}/global/interconnectGroups/" - + "{resource}/setIamPolicy:\"global_set_poli" - + "cy_request_resource\022\304\002\n\022TestIamPermissio" - + "ns\022C.google.cloud.compute.v1.TestIamPerm" - + "issionsInterconnectGroupRequest\0320.google" - + ".cloud.compute.v1.TestPermissionsRespons" - + "e\"\266\001\332A2project,resource,test_permissions" - + "_request_resource\202\323\344\223\002{\"V/compute/v1/pro" + + "connectGroups/{interconnect_group}/creat" + + "eMembers:3interconnect_groups_create_mem" + + "bers_request_resource\022\355\001\n\006Delete\0227.googl" + + "e.cloud.compute.v1.DeleteInterconnectGro" + + "upRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\205\001\332A\032project,interconnect_group\212N\020" + + "GlobalOperations\202\323\344\223\002O*M/compute/v1/proj" + + "ects/{project}/global/interconnectGroups" + + "/{interconnect_group}\022\333\001\n\003Get\0224.google.c" + + "loud.compute.v1.GetInterconnectGroupRequ" + + "est\032*.google.cloud.compute.v1.Interconne" + + "ctGroup\"r\332A\032project,interconnect_group\202\323" + + "\344\223\002O\022M/compute/v1/projects/{project}/glo" + + "bal/interconnectGroups/{interconnect_gro" + + "up}\022\333\001\n\014GetIamPolicy\022=.google.cloud.comp" + + "ute.v1.GetIamPolicyInterconnectGroupRequ" + + "est\032\037.google.cloud.compute.v1.Policy\"k\332A" + + "\020project,resource\202\323\344\223\002R\022P/compute/v1/pro" + "jects/{project}/global/interconnectGroup" - + "s/{resource}/testIamPermissions:!test_pe" - + "rmissions_request_resource\032r\312A\026compute.g" - + "oogleapis.com\322AVhttps://www.googleapis.c" - + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\361\004\n\025InterconnectL" - + "ocations\022\352\001\n\003Get\0227.google.cloud.compute." - + "v1.GetInterconnectLocationRequest\032-.goog" - + "le.cloud.compute.v1.InterconnectLocation" - + "\"{\332A\035project,interconnect_location\202\323\344\223\002U" - + "\022S/compute/v1/projects/{project}/global/" - + "interconnectLocations/{interconnect_loca" - + "tion}\022\303\001\n\004List\0229.google.cloud.compute.v1" - + ".ListInterconnectLocationsRequest\0321.goog" - + "le.cloud.compute.v1.InterconnectLocation" - + "List\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/proj" - + "ects/{project}/global/interconnectLocati" - + "ons\032\244\001\312A\026compute.googleapis.com\322A\207\001https" + + "s/{resource}/getIamPolicy\022\260\002\n\024GetOperati" + + "onalStatus\022E.google.cloud.compute.v1.Get" + + "OperationalStatusInterconnectGroupReques" + + "t\032G.google.cloud.compute.v1.Interconnect" + + "GroupsGetOperationalStatusResponse\"\207\001\332A\032" + + "project,interconnect_group\202\323\344\223\002d\022b/compu" + + "te/v1/projects/{project}/global/intercon" + + "nectGroups/{interconnect_group}/getOpera" + + "tionalStatus\022\376\001\n\006Insert\0227.google.cloud.c" + + "ompute.v1.InsertInterconnectGroupRequest" + + "\032\".google.cloud.compute.v1.Operation\"\226\001\332" + + "A#project,interconnect_group_resource\212N\020" + + "GlobalOperations\202\323\344\223\002W\"8/compute/v1/proj" + + "ects/{project}/global/interconnectGroups" + + ":\033interconnect_group_resource\022\303\001\n\004List\0226" + + ".google.cloud.compute.v1.ListInterconnec" + + "tGroupsRequest\0327.google.cloud.compute.v1" + + ".InterconnectGroupsListResponse\"J\332A\007proj" + + "ect\202\323\344\223\002:\0228/compute/v1/projects/{project" + + "}/global/interconnectGroups\022\244\002\n\005Patch\0226." + + "google.cloud.compute.v1.PatchInterconnec" + + "tGroupRequest\032\".google.cloud.compute.v1." + + "Operation\"\276\001\332A6project,interconnect_grou" + + "p,interconnect_group_resource\212N\020GlobalOp" + + "erations\202\323\344\223\002l2M/compute/v1/projects/{pr" + + "oject}/global/interconnectGroups/{interc" + + "onnect_group}:\033interconnect_group_resour" + + "ce\022\243\002\n\014SetIamPolicy\022=.google.cloud.compu" + + "te.v1.SetIamPolicyInterconnectGroupReque" + + "st\032\037.google.cloud.compute.v1.Policy\"\262\001\332A" + + "3project,resource,global_set_policy_requ" + + "est_resource\202\323\344\223\002v\"P/compute/v1/projects" + + "/{project}/global/interconnectGroups/{re" + + "source}/setIamPolicy:\"global_set_policy_" + + "request_resource\022\304\002\n\022TestIamPermissions\022" + + "C.google.cloud.compute.v1.TestIamPermiss" + + "ionsInterconnectGroupRequest\0320.google.cl" + + "oud.compute.v1.TestPermissionsResponse\"\266" + + "\001\332A2project,resource,test_permissions_re" + + "quest_resource\202\323\344\223\002{\"V/compute/v1/projec" + + "ts/{project}/global/interconnectGroups/{" + + "resource}/testIamPermissions:!test_permi" + + "ssions_request_resource\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\361\004\n\025InterconnectLoca" + + "tions\022\352\001\n\003Get\0227.google.cloud.compute.v1." + + "GetInterconnectLocationRequest\032-.google." + + "cloud.compute.v1.InterconnectLocation\"{\332" + + "A\035project,interconnect_location\202\323\344\223\002U\022S/" + + "compute/v1/projects/{project}/global/int" + + "erconnectLocations/{interconnect_locatio" + + "n}\022\303\001\n\004List\0229.google.cloud.compute.v1.Li" + + "stInterconnectLocationsRequest\0321.google." + + "cloud.compute.v1.InterconnectLocationLis" + + "t\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/project" + + "s/{project}/global/interconnectLocations" + + "\032\244\001\312A\026compute.googleapis.com\322A\207\001https://" + + "www.googleapis.com/auth/compute.readonly" + + ",https://www.googleapis.com/auth/compute" + + ",https://www.googleapis.com/auth/cloud-p" + + "latform2\252\005\n\033InterconnectRemoteLocations\022" + + "\213\002\n\003Get\022=.google.cloud.compute.v1.GetInt" + + "erconnectRemoteLocationRequest\0323.google." + + "cloud.compute.v1.InterconnectRemoteLocat" + + "ion\"\217\001\332A$project,interconnect_remote_loc" + + "ation\202\323\344\223\002b\022`/compute/v1/projects/{proje" + + "ct}/global/interconnectRemoteLocations/{" + + "interconnect_remote_location}\022\325\001\n\004List\022?" + + ".google.cloud.compute.v1.ListInterconnec" + + "tRemoteLocationsRequest\0327.google.cloud.c" + + "ompute.v1.InterconnectRemoteLocationList" + + "\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/projects" + + "/{project}/global/interconnectRemoteLoca" + + "tions\032\244\001\312A\026compute.googleapis.com\322A\207\001htt" + + "ps://www.googleapis.com/auth/compute.rea" + + "donly,https://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\350\017\n\rInterconnects\022\326\001\n\006Delet" + + "e\0222.google.cloud.compute.v1.DeleteInterc" + + "onnectRequest\032\".google.cloud.compute.v1." + + "Operation\"t\332A\024project,interconnect\212N\020Glo" + + "balOperations\202\323\344\223\002D*B/compute/v1/project" + + "s/{project}/global/interconnects/{interc" + + "onnect}\022\300\001\n\003Get\022/.google.cloud.compute.v" + + "1.GetInterconnectRequest\032%.google.cloud." + + "compute.v1.Interconnect\"a\332A\024project,inte" + + "rconnect\202\323\344\223\002D\022B/compute/v1/projects/{pr" + + "oject}/global/interconnects/{interconnec" + + "t}\022\374\001\n\016GetDiagnostics\022:.google.cloud.com" + + "pute.v1.GetDiagnosticsInterconnectReques" + + "t\032<.google.cloud.compute.v1.Interconnect" + + "sGetDiagnosticsResponse\"p\332A\024project,inte" + + "rconnect\202\323\344\223\002S\022Q/compute/v1/projects/{pr" + + "oject}/global/interconnects/{interconnec" + + "t}/getDiagnostics\022\200\002\n\017GetMacsecConfig\022;." + + "google.cloud.compute.v1.GetMacsecConfigI" + + "nterconnectRequest\032=.google.cloud.comput" + + "e.v1.InterconnectsGetMacsecConfigRespons" + + "e\"q\332A\024project,interconnect\202\323\344\223\002T\022R/compu" + + "te/v1/projects/{project}/global/intercon" + + "nects/{interconnect}/getMacsecConfig\022\350\001\n" + + "\006Insert\0222.google.cloud.compute.v1.Insert" + + "InterconnectRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\205\001\332A\035project,interconnec" + + "t_resource\212N\020GlobalOperations\202\323\344\223\002L\"3/co" + + "mpute/v1/projects/{project}/global/inter" + + "connects:\025interconnect_resource\022\253\001\n\004List" + + "\0221.google.cloud.compute.v1.ListInterconn" + + "ectsRequest\032).google.cloud.compute.v1.In" + + "terconnectList\"E\332A\007project\202\323\344\223\0025\0223/compu" + + "te/v1/projects/{project}/global/intercon" + + "nects\022\202\002\n\005Patch\0221.google.cloud.compute.v" + + "1.PatchInterconnectRequest\032\".google.clou" + + "d.compute.v1.Operation\"\241\001\332A*project,inte" + + "rconnect,interconnect_resource\212N\020GlobalO" + + "perations\202\323\344\223\002[2B/compute/v1/projects/{p" + + "roject}/global/interconnects/{interconne" + + "ct}:\025interconnect_resource\022\246\002\n\tSetLabels" + + "\0225.google.cloud.compute.v1.SetLabelsInte" + + "rconnectRequest\032\".google.cloud.compute.v" + + "1.Operation\"\275\001\332A3project,resource,global" + + "_set_labels_request_resource\212N\020GlobalOpe" + + "rations\202\323\344\223\002n\"H/compute/v1/projects/{pro" + + "ject}/global/interconnects/{resource}/se" + + "tLabels:\"global_set_labels_request_resou" + + "rce\032r\312A\026compute.googleapis.com\322AVhttps:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\260\005\n\014LicenseCodes\022\275\001\n\003Get\022..google.cloud." + + "compute.v1.GetLicenseCodeRequest\032$.googl" + + "e.cloud.compute.v1.LicenseCode\"`\332A\024proje" + + "ct,license_code\202\323\344\223\002C\022A/compute/v1/proje" + + "cts/{project}/global/licenseCodes/{licen" + + "se_code}\022\270\002\n\022TestIamPermissions\022=.google" + + ".cloud.compute.v1.TestIamPermissionsLice" + + "nseCodeRequest\0320.google.cloud.compute.v1" + + ".TestPermissionsResponse\"\260\001\332A2project,re" + + "source,test_permissions_request_resource" + + "\202\323\344\223\002u\"P/compute/v1/projects/{project}/g" + + "lobal/licenseCodes/{resource}/testIamPer" + + "missions:!test_permissions_request_resou" + + "rce\032\244\001\312A\026compute.googleapis.com\322A\207\001https" + "://www.googleapis.com/auth/compute.reado" + "nly,https://www.googleapis.com/auth/comp" + "ute,https://www.googleapis.com/auth/clou" - + "d-platform2\252\005\n\033InterconnectRemoteLocatio" - + "ns\022\213\002\n\003Get\022=.google.cloud.compute.v1.Get" - + "InterconnectRemoteLocationRequest\0323.goog" - + "le.cloud.compute.v1.InterconnectRemoteLo" - + "cation\"\217\001\332A$project,interconnect_remote_" - + "location\202\323\344\223\002b\022`/compute/v1/projects/{pr" - + "oject}/global/interconnectRemoteLocation" - + "s/{interconnect_remote_location}\022\325\001\n\004Lis" - + "t\022?.google.cloud.compute.v1.ListIntercon" - + "nectRemoteLocationsRequest\0327.google.clou" - + "d.compute.v1.InterconnectRemoteLocationL" - + "ist\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/proje" - + "cts/{project}/global/interconnectRemoteL" - + "ocations\032\244\001\312A\026compute.googleapis.com\322A\207\001" - + "https://www.googleapis.com/auth/compute." - + "readonly,https://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\350\017\n\rInterconnects\022\326\001\n\006De" - + "lete\0222.google.cloud.compute.v1.DeleteInt" - + "erconnectRequest\032\".google.cloud.compute." - + "v1.Operation\"t\332A\024project,interconnect\212N\020" - + "GlobalOperations\202\323\344\223\002D*B/compute/v1/proj" - + "ects/{project}/global/interconnects/{int" - + "erconnect}\022\300\001\n\003Get\022/.google.cloud.comput" - + "e.v1.GetInterconnectRequest\032%.google.clo" - + "ud.compute.v1.Interconnect\"a\332A\024project,i" - + "nterconnect\202\323\344\223\002D\022B/compute/v1/projects/" - + "{project}/global/interconnects/{intercon" - + "nect}\022\374\001\n\016GetDiagnostics\022:.google.cloud." - + "compute.v1.GetDiagnosticsInterconnectReq" - + "uest\032<.google.cloud.compute.v1.Interconn" - + "ectsGetDiagnosticsResponse\"p\332A\024project,i" - + "nterconnect\202\323\344\223\002S\022Q/compute/v1/projects/" - + "{project}/global/interconnects/{intercon" - + "nect}/getDiagnostics\022\200\002\n\017GetMacsecConfig" - + "\022;.google.cloud.compute.v1.GetMacsecConf" - + "igInterconnectRequest\032=.google.cloud.com" - + "pute.v1.InterconnectsGetMacsecConfigResp" - + "onse\"q\332A\024project,interconnect\202\323\344\223\002T\022R/co" - + "mpute/v1/projects/{project}/global/inter" - + "connects/{interconnect}/getMacsecConfig\022" - + "\350\001\n\006Insert\0222.google.cloud.compute.v1.Ins" - + "ertInterconnectRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\205\001\332A\035project,intercon" - + "nect_resource\212N\020GlobalOperations\202\323\344\223\002L\"3" - + "/compute/v1/projects/{project}/global/in" - + "terconnects:\025interconnect_resource\022\253\001\n\004L" - + "ist\0221.google.cloud.compute.v1.ListInterc" - + "onnectsRequest\032).google.cloud.compute.v1" - + ".InterconnectList\"E\332A\007project\202\323\344\223\0025\0223/co" - + "mpute/v1/projects/{project}/global/inter" - + "connects\022\202\002\n\005Patch\0221.google.cloud.comput" - + "e.v1.PatchInterconnectRequest\032\".google.c" - + "loud.compute.v1.Operation\"\241\001\332A*project,i" - + "nterconnect,interconnect_resource\212N\020Glob" - + "alOperations\202\323\344\223\002[2B/compute/v1/projects" - + "/{project}/global/interconnects/{interco" - + "nnect}:\025interconnect_resource\022\246\002\n\tSetLab" - + "els\0225.google.cloud.compute.v1.SetLabelsI" - + "nterconnectRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\275\001\332A3project,resource,glo" - + "bal_set_labels_request_resource\212N\020Global" - + "Operations\202\323\344\223\002n\"H/compute/v1/projects/{" - + "project}/global/interconnects/{resource}" - + "/setLabels:\"global_set_labels_request_re" - + "source\032r\312A\026compute.googleapis.com\322AVhttp" - + "s://www.googleapis.com/auth/compute,http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rm2\260\005\n\014LicenseCodes\022\275\001\n\003Get\022..google.clo" - + "ud.compute.v1.GetLicenseCodeRequest\032$.go" - + "ogle.cloud.compute.v1.LicenseCode\"`\332A\024pr" - + "oject,license_code\202\323\344\223\002C\022A/compute/v1/pr" - + "ojects/{project}/global/licenseCodes/{li" - + "cense_code}\022\270\002\n\022TestIamPermissions\022=.goo" - + "gle.cloud.compute.v1.TestIamPermissionsL" - + "icenseCodeRequest\0320.google.cloud.compute" - + ".v1.TestPermissionsResponse\"\260\001\332A2project" - + ",resource,test_permissions_request_resou" - + "rce\202\323\344\223\002u\"P/compute/v1/projects/{project" - + "}/global/licenseCodes/{resource}/testIam" - + "Permissions:!test_permissions_request_re" - + "source\032\244\001\312A\026compute.googleapis.com\322A\207\001ht" - + "tps://www.googleapis.com/auth/compute.re" - + "adonly,https://www.googleapis.com/auth/c" - + "ompute,https://www.googleapis.com/auth/c" - + "loud-platform2\343\016\n\010Licenses\022\302\001\n\006Delete\022-." - + "google.cloud.compute.v1.DeleteLicenseReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"e\332A\017project,license\212N\020GlobalOperations\202" - + "\323\344\223\002:*8/compute/v1/projects/{project}/gl" - + "obal/licenses/{license}\022\247\001\n\003Get\022*.google" - + ".cloud.compute.v1.GetLicenseRequest\032 .go" - + "ogle.cloud.compute.v1.License\"R\332A\017projec" - + "t,license\202\323\344\223\002:\0228/compute/v1/projects/{p" - + "roject}/global/licenses/{license}\022\307\001\n\014Ge" - + "tIamPolicy\0223.google.cloud.compute.v1.Get" - + "IamPolicyLicenseRequest\032\037.google.cloud.c" - + "ompute.v1.Policy\"a\332A\020project,resource\202\323\344" - + "\223\002H\022F/compute/v1/projects/{project}/glob" - + "al/licenses/{resource}/getIamPolicy\022\323\001\n\006" - + "Insert\022-.google.cloud.compute.v1.InsertL" + + "d-platform2\343\016\n\010Licenses\022\302\001\n\006Delete\022-.goo" + + "gle.cloud.compute.v1.DeleteLicenseReques" + + "t\032\".google.cloud.compute.v1.Operation\"e\332" + + "A\017project,license\212N\020GlobalOperations\202\323\344\223" + + "\002:*8/compute/v1/projects/{project}/globa" + + "l/licenses/{license}\022\247\001\n\003Get\022*.google.cl" + + "oud.compute.v1.GetLicenseRequest\032 .googl" + + "e.cloud.compute.v1.License\"R\332A\017project,l" + + "icense\202\323\344\223\002:\0228/compute/v1/projects/{proj" + + "ect}/global/licenses/{license}\022\307\001\n\014GetIa" + + "mPolicy\0223.google.cloud.compute.v1.GetIam" + + "PolicyLicenseRequest\032\037.google.cloud.comp" + + "ute.v1.Policy\"a\332A\020project,resource\202\323\344\223\002H" + + "\022F/compute/v1/projects/{project}/global/" + + "licenses/{resource}/getIamPolicy\022\323\001\n\006Ins" + + "ert\022-.google.cloud.compute.v1.InsertLice" + + "nseRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"v\332A\030project,license_resource\212N\020Gl" + + "obalOperations\202\323\344\223\002B\"./compute/v1/projec" + + "ts/{project}/global/licenses:\020license_re" + + "source\022\245\001\n\004List\022,.google.cloud.compute.v" + + "1.ListLicensesRequest\032-.google.cloud.com" + + "pute.v1.LicensesListResponse\"@\332A\007project" + + "\202\323\344\223\0020\022./compute/v1/projects/{project}/g" + + "lobal/licenses\022\217\002\n\014SetIamPolicy\0223.google" + + ".cloud.compute.v1.SetIamPolicyLicenseReq" + + "uest\032\037.google.cloud.compute.v1.Policy\"\250\001" + + "\332A3project,resource,global_set_policy_re" + + "quest_resource\202\323\344\223\002l\"F/compute/v1/projec" + + "ts/{project}/global/licenses/{resource}/" + + "setIamPolicy:\"global_set_policy_request_" + + "resource\022\260\002\n\022TestIamPermissions\0229.google" + + ".cloud.compute.v1.TestIamPermissionsLice" + + "nseRequest\0320.google.cloud.compute.v1.Tes" + + "tPermissionsResponse\"\254\001\332A2project,resour" + + "ce,test_permissions_request_resource\202\323\344\223" + + "\002q\"L/compute/v1/projects/{project}/globa" + + "l/licenses/{resource}/testIamPermissions" + + ":!test_permissions_request_resource\022\346\001\n\006" + + "Update\022-.google.cloud.compute.v1.UpdateL" + "icenseRequest\032\".google.cloud.compute.v1." - + "Operation\"v\332A\030project,license_resource\212N" - + "\020GlobalOperations\202\323\344\223\002B\"./compute/v1/pro" - + "jects/{project}/global/licenses:\020license" - + "_resource\022\245\001\n\004List\022,.google.cloud.comput" - + "e.v1.ListLicensesRequest\032-.google.cloud." - + "compute.v1.LicensesListResponse\"@\332A\007proj" - + "ect\202\323\344\223\0020\022./compute/v1/projects/{project" - + "}/global/licenses\022\217\002\n\014SetIamPolicy\0223.goo" - + "gle.cloud.compute.v1.SetIamPolicyLicense" - + "Request\032\037.google.cloud.compute.v1.Policy" - + "\"\250\001\332A3project,resource,global_set_policy" - + "_request_resource\202\323\344\223\002l\"F/compute/v1/pro" - + "jects/{project}/global/licenses/{resourc" - + "e}/setIamPolicy:\"global_set_policy_reque" - + "st_resource\022\260\002\n\022TestIamPermissions\0229.goo" - + "gle.cloud.compute.v1.TestIamPermissionsL" - + "icenseRequest\0320.google.cloud.compute.v1." - + "TestPermissionsResponse\"\254\001\332A2project,res" - + "ource,test_permissions_request_resource\202" - + "\323\344\223\002q\"L/compute/v1/projects/{project}/gl" - + "obal/licenses/{resource}/testIamPermissi" - + "ons:!test_permissions_request_resource\022\346" - + "\001\n\006Update\022-.google.cloud.compute.v1.Upda" - + "teLicenseRequest\032\".google.cloud.compute." - + "v1.Operation\"\210\001\332A project,license,licens" - + "e_resource\212N\020GlobalOperations\202\323\344\223\002L28/co" - + "mpute/v1/projects/{project}/global/licen" - + "ses/{license}:\020license_resource\032r\312A\026comp" - + "ute.googleapis.com\322AVhttps://www.googlea" - + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\224\020\n\rMachineI" - + "mages\022\330\001\n\006Delete\0222.google.cloud.compute." - + "v1.DeleteMachineImageRequest\032\".google.cl" - + "oud.compute.v1.Operation\"v\332A\025project,mac" - + "hine_image\212N\020GlobalOperations\202\323\344\223\002E*C/co" - + "mpute/v1/projects/{project}/global/machi" - + "neImages/{machine_image}\022\302\001\n\003Get\022/.googl" - + "e.cloud.compute.v1.GetMachineImageReques" - + "t\032%.google.cloud.compute.v1.MachineImage" - + "\"c\332A\025project,machine_image\202\323\344\223\002E\022C/compu" + + "Operation\"\210\001\332A project,license,license_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002L28/compu" + + "te/v1/projects/{project}/global/licenses" + + "/{license}:\020license_resource\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\224\020\n\rMachineImag" + + "es\022\330\001\n\006Delete\0222.google.cloud.compute.v1." + + "DeleteMachineImageRequest\032\".google.cloud" + + ".compute.v1.Operation\"v\332A\025project,machin" + + "e_image\212N\020GlobalOperations\202\323\344\223\002E*C/compu" + "te/v1/projects/{project}/global/machineI" - + "mages/{machine_image}\022\321\001\n\014GetIamPolicy\0228" - + ".google.cloud.compute.v1.GetIamPolicyMac" - + "hineImageRequest\032\037.google.cloud.compute." - + "v1.Policy\"f\332A\020project,resource\202\323\344\223\002M\022K/c" - + "ompute/v1/projects/{project}/global/mach" - + "ineImages/{resource}/getIamPolicy\022\352\001\n\006In" - + "sert\0222.google.cloud.compute.v1.InsertMac" - + "hineImageRequest\032\".google.cloud.compute." - + "v1.Operation\"\207\001\332A\036project,machine_image_" - + "resource\212N\020GlobalOperations\202\323\344\223\002M\"3/comp" + + "mages/{machine_image}\022\302\001\n\003Get\022/.google.c" + + "loud.compute.v1.GetMachineImageRequest\032%" + + ".google.cloud.compute.v1.MachineImage\"c\332" + + "A\025project,machine_image\202\323\344\223\002E\022C/compute/" + + "v1/projects/{project}/global/machineImag" + + "es/{machine_image}\022\321\001\n\014GetIamPolicy\0228.go" + + "ogle.cloud.compute.v1.GetIamPolicyMachin" + + "eImageRequest\032\037.google.cloud.compute.v1." + + "Policy\"f\332A\020project,resource\202\323\344\223\002M\022K/comp" + "ute/v1/projects/{project}/global/machine" - + "Images:\026machine_image_resource\022\253\001\n\004List\022" - + "1.google.cloud.compute.v1.ListMachineIma" - + "gesRequest\032).google.cloud.compute.v1.Mac" - + "hineImageList\"E\332A\007project\202\323\344\223\0025\0223/comput" - + "e/v1/projects/{project}/global/machineIm" - + "ages\022\231\002\n\014SetIamPolicy\0228.google.cloud.com" - + "pute.v1.SetIamPolicyMachineImageRequest\032" - + "\037.google.cloud.compute.v1.Policy\"\255\001\332A3pr" - + "oject,resource,global_set_policy_request" - + "_resource\202\323\344\223\002q\"K/compute/v1/projects/{p" - + "roject}/global/machineImages/{resource}/" - + "setIamPolicy:\"global_set_policy_request_" - + "resource\022\246\002\n\tSetLabels\0225.google.cloud.co" - + "mpute.v1.SetLabelsMachineImageRequest\032\"." - + "google.cloud.compute.v1.Operation\"\275\001\332A3p" - + "roject,resource,global_set_labels_reques" - + "t_resource\212N\020GlobalOperations\202\323\344\223\002n\"H/co" - + "mpute/v1/projects/{project}/global/machi" - + "neImages/{resource}/setLabels:\"global_se" - + "t_labels_request_resource\022\272\002\n\022TestIamPer" - + "missions\022>.google.cloud.compute.v1.TestI" - + "amPermissionsMachineImageRequest\0320.googl" - + "e.cloud.compute.v1.TestPermissionsRespon" - + "se\"\261\001\332A2project,resource,test_permission" - + "s_request_resource\202\323\344\223\002v\"Q/compute/v1/pr" - + "ojects/{project}/global/machineImages/{r" - + "esource}/testIamPermissions:!test_permis" - + "sions_request_resource\032r\312A\026compute.googl" - + "eapis.com\322AVhttps://www.googleapis.com/a" - + "uth/compute,https://www.googleapis.com/a" - + "uth/cloud-platform2\203\006\n\014MachineTypes\022\312\001\n\016" - + "AggregatedList\022:.google.cloud.compute.v1" - + ".AggregatedListMachineTypesRequest\0322.goo" - + "gle.cloud.compute.v1.MachineTypeAggregat", - "edList\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/pr" - + "ojects/{project}/aggregated/machineTypes" - + "\022\310\001\n\003Get\022..google.cloud.compute.v1.GetMa" - + "chineTypeRequest\032$.google.cloud.compute." - + "v1.MachineType\"k\332A\031project,zone,machine_" - + "type\202\323\344\223\002I\022G/compute/v1/projects/{projec" - + "t}/zones/{zone}/machineTypes/{machine_ty" - + "pe}\022\263\001\n\004List\0220.google.cloud.compute.v1.L" - + "istMachineTypesRequest\032(.google.cloud.co" - + "mpute.v1.MachineTypeList\"O\332A\014project,zon" - + "e\202\323\344\223\002:\0228/compute/v1/projects/{project}/" - + "zones/{zone}/machineTypes\032\244\001\312A\026compute.g" - + "oogleapis.com\322A\207\001https://www.googleapis." - + "com/auth/compute.readonly,https://www.go" - + "ogleapis.com/auth/compute,https://www.go" - + "ogleapis.com/auth/cloud-platform2\360\023\n\022Net" - + "workAttachments\022\334\001\n\016AggregatedList\022@.goo" - + "gle.cloud.compute.v1.AggregatedListNetwo" - + "rkAttachmentsRequest\0328.google.cloud.comp" - + "ute.v1.NetworkAttachmentAggregatedList\"N" - + "\332A\007project\202\323\344\223\002>\022.google.cloud.compute.v1.TestIamP" + + "ermissionsMachineImageRequest\0320.google.c" + + "loud.compute.v1.TestPermissionsResponse\"" + + "\261\001\332A2project,resource,test_permissions_r" + + "equest_resource\202\323\344\223\002v\"Q/compute/v1/proje" + + "cts/{project}/global/machineImages/{reso" + + "urce}/testIamPermissions:!test_permissio" + + "ns_request_resource\032r\312A\026compute.googleap" + + "is.com\322AVhttps://www.googleapis.com/auth" + + "/compute,https://www.googleapis.com/auth" + + "/cloud-platform2\203\006\n\014MachineTypes\022\312\001\n\016Agg" + + "regatedList\022:.google.cloud.compute.v1.Ag" + + "gregatedListMachineTypesRequest\0322.google" + + ".cloud.compute.v1.MachineTypeAggregatedL" + + "ist\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/proje" + + "cts/{project}/aggregated/machineTypes\022\310\001" + + "\n\003Get\022..google.cloud.compute.v1.GetMachi" + + "neTypeRequest\032$.google.cloud.compute.v1." + + "MachineType\"k\332A\031project,zone,machine_typ" + + "e\202\323\344\223\002I\022G/compute/v1/projects/{project}/" + + "zones/{zone}/machineTypes/{machine_type}" + + "\022\263\001\n\004List\0220.google.cloud.compute.v1.List" + + "MachineTypesRequest\032(.google.cloud.compu" + + "te.v1.MachineTypeList\"O\332A\014project,zone\202\323" + + "\344\223\002:\0228/compute/v1/projects/{project}/zon" + + "es/{zone}/machineTypes\032\244\001\312A\026compute.goog" + + "leapis.com\322A\207\001https://www.googleapis.com" + + "/auth/compute.readonly,https://www.googl" + + "eapis.com/auth/compute,https://www.googl" + + "eapis.com/auth/cloud-platform2\360\023\n\022Networ" + + "kAttachments\022\334\001\n\016AggregatedList\022@.google" + + ".cloud.compute.v1.AggregatedListNetworkA" + + "ttachmentsRequest\0328.google.cloud.compute" + + ".v1.NetworkAttachmentAggregatedList\"N\332A\007" + + "project\202\323\344\223\002>\022.goog" + + "le.cloud.compute.v1.PatchRuleNetworkFire" + + "wallPolicyRequest\032\".google.cloud.compute" + + ".v1.Operation\"\304\001\332A5project,firewall_poli" + + "cy,firewall_policy_rule_resource\212N\020Globa" + + "lOperations\202\323\344\223\002s\"R/compute/v1/projects/" + + "{project}/global/firewallPolicies/{firew" + + "all_policy}/patchRule:\035firewall_policy_r" + + "ule_resource\022\221\002\n\021RemoveAssociation\022F.goo" + + "gle.cloud.compute.v1.RemoveAssociationNe" + + "tworkFirewallPolicyRequest\032\".google.clou" + + "d.compute.v1.Operation\"\217\001\332A\027project,fire" + + "wall_policy\212N\020GlobalOperations\202\323\344\223\002\\\"Z/c" + + "ompute/v1/projects/{project}/global/fire" + + "wallPolicies/{firewall_policy}/removeAss" + + "ociation\022\251\002\n\031RemovePacketMirroringRule\022N" + + ".google.cloud.compute.v1.RemovePacketMir" + + "roringRuleNetworkFirewallPolicyRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\227\001\332A\027" + + "project,firewall_policy\212N\020GlobalOperatio" + + "ns\202\323\344\223\002d\"b/compute/v1/projects/{project}" + + "/global/firewallPolicies/{firewall_polic" + + "y}/removePacketMirroringRule\022\374\001\n\nRemoveR" + + "ule\022?.google.cloud.compute.v1.RemoveRule" + "NetworkFirewallPolicyRequest\032\".google.cl" + "oud.compute.v1.Operation\"\210\001\332A\027project,fi" + "rewall_policy\212N\020GlobalOperations\202\323\344\223\002U\"S" + "/compute/v1/projects/{project}/global/fi" - + "rewallPolicies/{firewall_policy}/cloneRu" - + "les\022\350\001\n\006Delete\022;.google.cloud.compute.v1" - + ".DeleteNetworkFirewallPolicyRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"}\332A\027proj" - + "ect,firewall_policy\212N\020GlobalOperations\202\323" - + "\344\223\002J*H/compute/v1/projects/{project}/glo" - + "bal/firewallPolicies/{firewall_policy}\022\324" - + "\001\n\003Get\0228.google.cloud.compute.v1.GetNetw" - + "orkFirewallPolicyRequest\032\'.google.cloud." - + "compute.v1.FirewallPolicy\"j\332A\027project,fi" - + "rewall_policy\202\323\344\223\002J\022H/compute/v1/project" - + "s/{project}/global/firewallPolicies/{fir" - + "ewall_policy}\022\204\002\n\016GetAssociation\022C.googl" - + "e.cloud.compute.v1.GetAssociationNetwork" - + "FirewallPolicyRequest\0322.google.cloud.com" - + "pute.v1.FirewallPolicyAssociation\"y\332A\027pr" - + "oject,firewall_policy\202\323\344\223\002Y\022W/compute/v1" - + "/projects/{project}/global/firewallPolic" - + "ies/{firewall_policy}/getAssociation\022\335\001\n" - + "\014GetIamPolicy\022A.google.cloud.compute.v1." - + "GetIamPolicyNetworkFirewallPolicyRequest" - + "\032\037.google.cloud.compute.v1.Policy\"i\332A\020pr" - + "oject,resource\202\323\344\223\002P\022N/compute/v1/projec" - + "ts/{project}/global/firewallPolicies/{re" - + "source}/getIamPolicy\022\226\002\n\026GetPacketMirror" - + "ingRule\022K.google.cloud.compute.v1.GetPac" - + "ketMirroringRuleNetworkFirewallPolicyReq" - + "uest\032+.google.cloud.compute.v1.FirewallP" - + "olicyRule\"\201\001\332A\027project,firewall_policy\202\323" - + "\344\223\002a\022_/compute/v1/projects/{project}/glo" - + "bal/firewallPolicies/{firewall_policy}/g" - + "etPacketMirroringRule\022\350\001\n\007GetRule\022<.goog" - + "le.cloud.compute.v1.GetRuleNetworkFirewa" - + "llPolicyRequest\032+.google.cloud.compute.v" - + "1.FirewallPolicyRule\"r\332A\027project,firewal" - + "l_policy\202\323\344\223\002R\022P/compute/v1/projects/{pr" - + "oject}/global/firewallPolicies/{firewall" - + "_policy}/getRule\022\372\001\n\006Insert\022;.google.clo" - + "ud.compute.v1.InsertNetworkFirewallPolic" - + "yRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\216\001\332A project,firewall_policy_resour" - + "ce\212N\020GlobalOperations\202\323\344\223\002R\"6/compute/v1" + + "rewallPolicies/{firewall_policy}/removeR" + + "ule\022\245\002\n\014SetIamPolicy\022A.google.cloud.comp" + + "ute.v1.SetIamPolicyNetworkFirewallPolicy" + + "Request\032\037.google.cloud.compute.v1.Policy" + + "\"\260\001\332A3project,resource,global_set_policy" + + "_request_resource\202\323\344\223\002t\"N/compute/v1/pro" + + "jects/{project}/global/firewallPolicies/" + + "{resource}/setIamPolicy:\"global_set_poli" + + "cy_request_resource\022\306\002\n\022TestIamPermissio" + + "ns\022G.google.cloud.compute.v1.TestIamPerm" + + "issionsNetworkFirewallPolicyRequest\0320.go" + + "ogle.cloud.compute.v1.TestPermissionsRes" + + "ponse\"\264\001\332A2project,resource,test_permiss" + + "ions_request_resource\202\323\344\223\002y\"T/compute/v1" + "/projects/{project}/global/firewallPolic" - + "ies:\030firewall_policy_resource\022\272\001\n\004List\022;" - + ".google.cloud.compute.v1.ListNetworkFire" - + "wallPoliciesRequest\032+.google.cloud.compu" - + "te.v1.FirewallPolicyList\"H\332A\007project\202\323\344\223" - + "\0028\0226/compute/v1/projects/{project}/globa" - + "l/firewallPolicies\022\232\002\n\005Patch\022:.google.cl" - + "oud.compute.v1.PatchNetworkFirewallPolic" - + "yRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\260\001\332A0project,firewall_policy,firewa" - + "ll_policy_resource\212N\020GlobalOperations\202\323\344" - + "\223\002d2H/compute/v1/projects/{project}/glob" - + "al/firewallPolicies/{firewall_policy}:\030f" - + "irewall_policy_resource\022\344\002\n\030PatchPacketM" - + "irroringRule\022M.google.cloud.compute.v1.P" - + "atchPacketMirroringRuleNetworkFirewallPo" - + "licyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\324\001\332A5project,firewall_policy,fir" - + "ewall_policy_rule_resource\212N\020GlobalOpera" - + "tions\202\323\344\223\002\202\001\"a/compute/v1/projects/{proj" - + "ect}/global/firewallPolicies/{firewall_p" - + "olicy}/patchPacketMirroringRule:\035firewal" - + "l_policy_rule_resource\022\266\002\n\tPatchRule\022>.g" - + "oogle.cloud.compute.v1.PatchRuleNetworkF" - + "irewallPolicyRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\304\001\332A5project,firewall_p" - + "olicy,firewall_policy_rule_resource\212N\020Gl" - + "obalOperations\202\323\344\223\002s\"R/compute/v1/projec" - + "ts/{project}/global/firewallPolicies/{fi" - + "rewall_policy}/patchRule:\035firewall_polic" - + "y_rule_resource\022\221\002\n\021RemoveAssociation\022F." - + "google.cloud.compute.v1.RemoveAssociatio" - + "nNetworkFirewallPolicyRequest\032\".google.c" - + "loud.compute.v1.Operation\"\217\001\332A\027project,f" - + "irewall_policy\212N\020GlobalOperations\202\323\344\223\002\\\"" - + "Z/compute/v1/projects/{project}/global/f" - + "irewallPolicies/{firewall_policy}/remove" - + "Association\022\251\002\n\031RemovePacketMirroringRul" - + "e\022N.google.cloud.compute.v1.RemovePacket" - + "MirroringRuleNetworkFirewallPolicyReques" - + "t\032\".google.cloud.compute.v1.Operation\"\227\001" - + "\332A\027project,firewall_policy\212N\020GlobalOpera" - + "tions\202\323\344\223\002d\"b/compute/v1/projects/{proje" - + "ct}/global/firewallPolicies/{firewall_po" - + "licy}/removePacketMirroringRule\022\374\001\n\nRemo" - + "veRule\022?.google.cloud.compute.v1.RemoveR" - + "uleNetworkFirewallPolicyRequest\032\".google" - + ".cloud.compute.v1.Operation\"\210\001\332A\027project" - + ",firewall_policy\212N\020GlobalOperations\202\323\344\223\002" - + "U\"S/compute/v1/projects/{project}/global" - + "/firewallPolicies/{firewall_policy}/remo" - + "veRule\022\245\002\n\014SetIamPolicy\022A.google.cloud.c" - + "ompute.v1.SetIamPolicyNetworkFirewallPol" - + "icyRequest\032\037.google.cloud.compute.v1.Pol" - + "icy\"\260\001\332A3project,resource,global_set_pol" - + "icy_request_resource\202\323\344\223\002t\"N/compute/v1/" - + "projects/{project}/global/firewallPolici" - + "es/{resource}/setIamPolicy:\"global_set_p" - + "olicy_request_resource\022\306\002\n\022TestIamPermis" - + "sions\022G.google.cloud.compute.v1.TestIamP" - + "ermissionsNetworkFirewallPolicyRequest\0320" - + ".google.cloud.compute.v1.TestPermissions" - + "Response\"\264\001\332A2project,resource,test_perm" - + "issions_request_resource\202\323\344\223\002y\"T/compute" - + "/v1/projects/{project}/global/firewallPo" - + "licies/{resource}/testIamPermissions:!te" - + "st_permissions_request_resource\032r\312A\026comp" - + "ute.googleapis.com\322AVhttps://www.googlea" - + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\304\004\n\017NetworkP" - + "rofiles\022\314\001\n\003Get\0221.google.cloud.compute.v" - + "1.GetNetworkProfileRequest\032\'.google.clou" - + "d.compute.v1.NetworkProfile\"i\332A\027project," - + "network_profile\202\323\344\223\002I\022G/compute/v1/proje" - + "cts/{project}/global/networkProfiles/{ne" - + "twork_profile}\022\272\001\n\004List\0223.google.cloud.c" - + "ompute.v1.ListNetworkProfilesRequest\0324.g" - + "oogle.cloud.compute.v1.NetworkProfilesLi" - + "stResponse\"G\332A\007project\202\323\344\223\0027\0225/compute/v" - + "1/projects/{project}/global/networkProfi" - + "les\032\244\001\312A\026compute.googleapis.com\322A\207\001https" - + "://www.googleapis.com/auth/compute.reado" - + "nly,https://www.googleapis.com/auth/comp" - + "ute,https://www.googleapis.com/auth/clou" - + "d-platform2\222\030\n\010Networks\022\243\002\n\nAddPeering\0221" - + ".google.cloud.compute.v1.AddPeeringNetwo" - + "rkRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\275\001\332A5project,network,networks_add_" - + "peering_request_resource\212N\020GlobalOperati" - + "ons\202\323\344\223\002l\"C/compute/v1/projects/{project" - + "}/global/networks/{network}/addPeering:%" - + "networks_add_peering_request_resource\022\302\001" - + "\n\006Delete\022-.google.cloud.compute.v1.Delet" - + "eNetworkRequest\032\".google.cloud.compute.v" - + "1.Operation\"e\332A\017project,network\212N\020Global" - + "Operations\202\323\344\223\002:*8/compute/v1/projects/{" - + "project}/global/networks/{network}\022\247\001\n\003G" - + "et\022*.google.cloud.compute.v1.GetNetworkR" - + "equest\032 .google.cloud.compute.v1.Network" - + "\"R\332A\017project,network\202\323\344\223\002:\0228/compute/v1/" - + "projects/{project}/global/networks/{netw" - + "ork}\022\377\001\n\025GetEffectiveFirewalls\022<.google." - + "cloud.compute.v1.GetEffectiveFirewallsNe" - + "tworkRequest\032>.google.cloud.compute.v1.N" - + "etworksGetEffectiveFirewallsResponse\"h\332A" - + "\017project,network\202\323\344\223\002P\022N/compute/v1/proj" - + "ects/{project}/global/networks/{network}" - + "/getEffectiveFirewalls\022\323\001\n\006Insert\022-.goog" - + "le.cloud.compute.v1.InsertNetworkRequest" - + "\032\".google.cloud.compute.v1.Operation\"v\332A" - + "\030project,network_resource\212N\020GlobalOperat" - + "ions\202\323\344\223\002B\"./compute/v1/projects/{projec" - + "t}/global/networks:\020network_resource\022\234\001\n" - + "\004List\022,.google.cloud.compute.v1.ListNetw" - + "orksRequest\032$.google.cloud.compute.v1.Ne" - + "tworkList\"@\332A\007project\202\323\344\223\0020\022./compute/v1" - + "/projects/{project}/global/networks\022\351\001\n\021" - + "ListPeeringRoutes\0229.google.cloud.compute" - + ".v1.ListPeeringRoutesNetworksRequest\0323.g" - + "oogle.cloud.compute.v1.ExchangedPeeringR" - + "outesList\"d\332A\017project,network\202\323\344\223\002L\022J/co" - + "mpute/v1/projects/{project}/global/netwo" - + "rks/{network}/listPeeringRoutes\022\344\001\n\005Patc" - + "h\022,.google.cloud.compute.v1.PatchNetwork", - "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\210\001\332A project,network,network_resourc" - + "e\212N\020GlobalOperations\202\323\344\223\002L28/compute/v1/" - + "projects/{project}/global/networks/{netw" - + "ork}:\020network_resource\022\262\002\n\rRemovePeering" - + "\0224.google.cloud.compute.v1.RemovePeering" + + "ies/{resource}/testIamPermissions:!test_" + + "permissions_request_resource\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\304\004\n\017NetworkProf" + + "iles\022\314\001\n\003Get\0221.google.cloud.compute.v1.G" + + "etNetworkProfileRequest\032\'.google.cloud.c" + + "ompute.v1.NetworkProfile\"i\332A\027project,net" + + "work_profile\202\323\344\223\002I\022G/compute/v1/projects" + + "/{project}/global/networkProfiles/{netwo" + + "rk_profile}\022\272\001\n\004List\0223.google.cloud.comp" + + "ute.v1.ListNetworkProfilesRequest\0324.goog" + + "le.cloud.compute.v1.NetworkProfilesListR" + + "esponse\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/p" + + "rojects/{project}/global/networkProfiles" + + "\032\244\001\312A\026compute.googleapis.com\322A\207\001https://" + + "www.googleapis.com/auth/compute.readonly" + + ",https://www.googleapis.com/auth/compute" + + ",https://www.googleapis.com/auth/cloud-p" + + "latform2\222\030\n\010Networks\022\243\002\n\nAddPeering\0221.go" + + "ogle.cloud.compute.v1.AddPeeringNetworkR", + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\275\001\332A5project,network,networks_add_pee" + + "ring_request_resource\212N\020GlobalOperations" + + "\202\323\344\223\002l\"C/compute/v1/projects/{project}/g" + + "lobal/networks/{network}/addPeering:%net" + + "works_add_peering_request_resource\022\302\001\n\006D" + + "elete\022-.google.cloud.compute.v1.DeleteNe" + + "tworkRequest\032\".google.cloud.compute.v1.O" + + "peration\"e\332A\017project,network\212N\020GlobalOpe" + + "rations\202\323\344\223\002:*8/compute/v1/projects/{pro" + + "ject}/global/networks/{network}\022\247\001\n\003Get\022" + + "*.google.cloud.compute.v1.GetNetworkRequ" + + "est\032 .google.cloud.compute.v1.Network\"R\332" + + "A\017project,network\202\323\344\223\002:\0228/compute/v1/pro" + + "jects/{project}/global/networks/{network" + + "}\022\377\001\n\025GetEffectiveFirewalls\022<.google.clo" + + "ud.compute.v1.GetEffectiveFirewallsNetwo" + + "rkRequest\032>.google.cloud.compute.v1.Netw" + + "orksGetEffectiveFirewallsResponse\"h\332A\017pr" + + "oject,network\202\323\344\223\002P\022N/compute/v1/project" + + "s/{project}/global/networks/{network}/ge" + + "tEffectiveFirewalls\022\323\001\n\006Insert\022-.google." + + "cloud.compute.v1.InsertNetworkRequest\032\"." + + "google.cloud.compute.v1.Operation\"v\332A\030pr" + + "oject,network_resource\212N\020GlobalOperation" + + "s\202\323\344\223\002B\"./compute/v1/projects/{project}/" + + "global/networks:\020network_resource\022\234\001\n\004Li" + + "st\022,.google.cloud.compute.v1.ListNetwork" + + "sRequest\032$.google.cloud.compute.v1.Netwo" + + "rkList\"@\332A\007project\202\323\344\223\0020\022./compute/v1/pr" + + "ojects/{project}/global/networks\022\351\001\n\021Lis" + + "tPeeringRoutes\0229.google.cloud.compute.v1" + + ".ListPeeringRoutesNetworksRequest\0323.goog" + + "le.cloud.compute.v1.ExchangedPeeringRout" + + "esList\"d\332A\017project,network\202\323\344\223\002L\022J/compu" + + "te/v1/projects/{project}/global/networks" + + "/{network}/listPeeringRoutes\022\344\001\n\005Patch\022," + + ".google.cloud.compute.v1.PatchNetworkReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\210\001\332A project,network,network_resource\212N" + + "\020GlobalOperations\202\323\344\223\002L28/compute/v1/pro" + + "jects/{project}/global/networks/{network" + + "}:\020network_resource\022\262\002\n\rRemovePeering\0224." + + "google.cloud.compute.v1.RemovePeeringNet" + + "workRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\306\001\332A8project,network,networks_re" + + "move_peering_request_resource\212N\020GlobalOp" + + "erations\202\323\344\223\002r\"F/compute/v1/projects/{pr" + + "oject}/global/networks/{network}/removeP" + + "eering:(networks_remove_peering_request_" + + "resource\022\330\002\n\024RequestRemovePeering\022;.goog" + + "le.cloud.compute.v1.RequestRemovePeering" + "NetworkRequest\032\".google.cloud.compute.v1" - + ".Operation\"\306\001\332A8project,network,networks" - + "_remove_peering_request_resource\212N\020Globa" - + "lOperations\202\323\344\223\002r\"F/compute/v1/projects/" - + "{project}/global/networks/{network}/remo" - + "vePeering:(networks_remove_peering_reque" - + "st_resource\022\330\002\n\024RequestRemovePeering\022;.g" - + "oogle.cloud.compute.v1.RequestRemovePeer" - + "ingNetworkRequest\032\".google.cloud.compute" - + ".v1.Operation\"\336\001\332A@project,network,netwo" - + "rks_request_remove_peering_request_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002\201\001\"M/compute/" - + "v1/projects/{project}/global/networks/{n" - + "etwork}/requestRemovePeering:0networks_r" - + "equest_remove_peering_request_resource\022\355" - + "\001\n\022SwitchToCustomMode\0229.google.cloud.com" - + "pute.v1.SwitchToCustomModeNetworkRequest" - + "\032\".google.cloud.compute.v1.Operation\"x\332A" - + "\017project,network\212N\020GlobalOperations\202\323\344\223\002" - + "M\"K/compute/v1/projects/{project}/global" - + "/networks/{network}/switchToCustomMode\022\262" - + "\002\n\rUpdatePeering\0224.google.cloud.compute." - + "v1.UpdatePeeringNetworkRequest\032\".google." - + "cloud.compute.v1.Operation\"\306\001\332A8project," - + "network,networks_update_peering_request_" - + "resource\212N\020GlobalOperations\202\323\344\223\002r2F/comp" - + "ute/v1/projects/{project}/global/network" - + "s/{network}/updatePeering:(networks_upda" - + "te_peering_request_resource\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\353 \n\nNodeGroups\022\262" - + "\002\n\010AddNodes\0221.google.cloud.compute.v1.Ad" - + "dNodesNodeGroupRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\316\001\332A>project,zone,nod" - + "e_group,node_groups_add_nodes_request_re" - + "source\212N\016ZoneOperations\202\323\344\223\002v\"L/compute/" - + "v1/projects/{project}/zones/{zone}/nodeG" - + "roups/{node_group}/addNodes:&node_groups" - + "_add_nodes_request_resource\022\304\001\n\016Aggregat" - + "edList\0228.google.cloud.compute.v1.Aggrega" - + "tedListNodeGroupsRequest\0320.google.cloud." - + "compute.v1.NodeGroupAggregatedList\"F\332A\007p" - + "roject\202\323\344\223\0026\0224/compute/v1/projects/{proj" - + "ect}/aggregated/nodeGroups\022\325\001\n\006Delete\022/." - + "google.cloud.compute.v1.DeleteNodeGroupR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"v\332A\027project,zone,node_group\212N\016ZoneOpe" - + "rations\202\323\344\223\002E*C/compute/v1/projects/{pro" - + "ject}/zones/{zone}/nodeGroups/{node_grou" - + "p}\022\301\002\n\013DeleteNodes\0224.google.cloud.comput" - + "e.v1.DeleteNodesNodeGroupRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\327\001\332AAprojec" - + "t,zone,node_group,node_groups_delete_nod" - + "es_request_resource\212N\016ZoneOperations\202\323\344\223" - + "\002|\"O/compute/v1/projects/{project}/zones" - + "/{zone}/nodeGroups/{node_group}/deleteNo" - + "des:)node_groups_delete_nodes_request_re" - + "source\022\276\001\n\003Get\022,.google.cloud.compute.v1" - + ".GetNodeGroupRequest\032\".google.cloud.comp" - + "ute.v1.NodeGroup\"e\332A\027project,zone,node_g" - + "roup\202\323\344\223\002E\022C/compute/v1/projects/{projec" + + ".Operation\"\336\001\332A@project,network,networks" + + "_request_remove_peering_request_resource" + + "\212N\020GlobalOperations\202\323\344\223\002\201\001\"M/compute/v1/" + + "projects/{project}/global/networks/{netw" + + "ork}/requestRemovePeering:0networks_requ" + + "est_remove_peering_request_resource\022\355\001\n\022" + + "SwitchToCustomMode\0229.google.cloud.comput" + + "e.v1.SwitchToCustomModeNetworkRequest\032\"." + + "google.cloud.compute.v1.Operation\"x\332A\017pr" + + "oject,network\212N\020GlobalOperations\202\323\344\223\002M\"K" + + "/compute/v1/projects/{project}/global/ne" + + "tworks/{network}/switchToCustomMode\022\262\002\n\r" + + "UpdatePeering\0224.google.cloud.compute.v1." + + "UpdatePeeringNetworkRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\306\001\332A8project,net" + + "work,networks_update_peering_request_res" + + "ource\212N\020GlobalOperations\202\323\344\223\002r2F/compute" + + "/v1/projects/{project}/global/networks/{" + + "network}/updatePeering:(networks_update_" + + "peering_request_resource\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\353 \n\nNodeGroups\022\262\002\n\010" + + "AddNodes\0221.google.cloud.compute.v1.AddNo" + + "desNodeGroupRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\316\001\332A>project,zone,node_g" + + "roup,node_groups_add_nodes_request_resou" + + "rce\212N\016ZoneOperations\202\323\344\223\002v\"L/compute/v1/" + + "projects/{project}/zones/{zone}/nodeGrou" + + "ps/{node_group}/addNodes:&node_groups_ad" + + "d_nodes_request_resource\022\304\001\n\016AggregatedL" + + "ist\0228.google.cloud.compute.v1.Aggregated" + + "ListNodeGroupsRequest\0320.google.cloud.com" + + "pute.v1.NodeGroupAggregatedList\"F\332A\007proj" + + "ect\202\323\344\223\0026\0224/compute/v1/projects/{project" + + "}/aggregated/nodeGroups\022\325\001\n\006Delete\022/.goo" + + "gle.cloud.compute.v1.DeleteNodeGroupRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "v\332A\027project,zone,node_group\212N\016ZoneOperat" + + "ions\202\323\344\223\002E*C/compute/v1/projects/{projec" + "t}/zones/{zone}/nodeGroups/{node_group}\022" - + "\326\001\n\014GetIamPolicy\0225.google.cloud.compute." - + "v1.GetIamPolicyNodeGroupRequest\032\037.google" - + ".cloud.compute.v1.Policy\"n\332A\025project,zon" - + "e,resource\202\323\344\223\002P\022N/compute/v1/projects/{" - + "project}/zones/{zone}/nodeGroups/{resour" - + "ce}/getIamPolicy\022\372\001\n\006Insert\022/.google.clo" - + "ud.compute.v1.InsertNodeGroupRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\232\001\332A3pr" - + "oject,zone,initial_node_count,node_group" - + "_resource\212N\016ZoneOperations\202\323\344\223\002M\"6/compu" - + "te/v1/projects/{project}/zones/{zone}/no" - + "deGroups:\023node_group_resource\022\255\001\n\004List\022." - + ".google.cloud.compute.v1.ListNodeGroupsR" - + "equest\032&.google.cloud.compute.v1.NodeGro" - + "upList\"M\332A\014project,zone\202\323\344\223\0028\0226/compute/" + + "\301\002\n\013DeleteNodes\0224.google.cloud.compute.v" + + "1.DeleteNodesNodeGroupRequest\032\".google.c" + + "loud.compute.v1.Operation\"\327\001\332AAproject,z" + + "one,node_group,node_groups_delete_nodes_" + + "request_resource\212N\016ZoneOperations\202\323\344\223\002|\"" + + "O/compute/v1/projects/{project}/zones/{z" + + "one}/nodeGroups/{node_group}/deleteNodes" + + ":)node_groups_delete_nodes_request_resou" + + "rce\022\276\001\n\003Get\022,.google.cloud.compute.v1.Ge" + + "tNodeGroupRequest\032\".google.cloud.compute" + + ".v1.NodeGroup\"e\332A\027project,zone,node_grou" + + "p\202\323\344\223\002E\022C/compute/v1/projects/{project}/" + + "zones/{zone}/nodeGroups/{node_group}\022\326\001\n" + + "\014GetIamPolicy\0225.google.cloud.compute.v1." + + "GetIamPolicyNodeGroupRequest\032\037.google.cl" + + "oud.compute.v1.Policy\"n\332A\025project,zone,r" + + "esource\202\323\344\223\002P\022N/compute/v1/projects/{pro" + + "ject}/zones/{zone}/nodeGroups/{resource}" + + "/getIamPolicy\022\372\001\n\006Insert\022/.google.cloud." + + "compute.v1.InsertNodeGroupRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\232\001\332A3proje" + + "ct,zone,initial_node_count,node_group_re" + + "source\212N\016ZoneOperations\202\323\344\223\002M\"6/compute/" + "v1/projects/{project}/zones/{zone}/nodeG" - + "roups\022\337\001\n\tListNodes\0223.google.cloud.compu" - + "te.v1.ListNodesNodeGroupsRequest\032,.googl" - + "e.cloud.compute.v1.NodeGroupsListNodes\"o" - + "\332A\027project,zone,node_group\202\323\344\223\002O\"M/compu" - + "te/v1/projects/{project}/zones/{zone}/no" - + "deGroups/{node_group}/listNodes\022\375\001\n\005Patc" - + "h\022..google.cloud.compute.v1.PatchNodeGro" - + "upRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\237\001\332A+project,zone,node_group,node_" - + "group_resource\212N\016ZoneOperations\202\323\344\223\002Z2C/" - + "compute/v1/projects/{project}/zones/{zon" - + "e}/nodeGroups/{node_group}:\023node_group_r" - + "esource\022\345\002\n\022PerformMaintenance\022;.google." - + "cloud.compute.v1.PerformMaintenanceNodeG" - + "roupRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\355\001\332AHproject,zone,node_group,nod" - + "e_groups_perform_maintenance_request_res" - + "ource\212N\016ZoneOperations\202\323\344\223\002\212\001\"V/compute/" + + "roups:\023node_group_resource\022\255\001\n\004List\022..go" + + "ogle.cloud.compute.v1.ListNodeGroupsRequ" + + "est\032&.google.cloud.compute.v1.NodeGroupL" + + "ist\"M\332A\014project,zone\202\323\344\223\0028\0226/compute/v1/" + + "projects/{project}/zones/{zone}/nodeGrou" + + "ps\022\337\001\n\tListNodes\0223.google.cloud.compute." + + "v1.ListNodesNodeGroupsRequest\032,.google.c" + + "loud.compute.v1.NodeGroupsListNodes\"o\332A\027" + + "project,zone,node_group\202\323\344\223\002O\"M/compute/" + "v1/projects/{project}/zones/{zone}/nodeG" - + "roups/{node_group}/performMaintenance:0n" - + "ode_groups_perform_maintenance_request_r" - + "esource\022\232\002\n\014SetIamPolicy\0225.google.cloud." - + "compute.v1.SetIamPolicyNodeGroupRequest\032" - + "\037.google.cloud.compute.v1.Policy\"\261\001\332A6pr" - + "oject,zone,resource,zone_set_policy_requ" - + "est_resource\202\323\344\223\002r\"N/compute/v1/projects" - + "/{project}/zones/{zone}/nodeGroups/{reso" - + "urce}/setIamPolicy: zone_set_policy_requ" - + "est_resource\022\330\002\n\017SetNodeTemplate\0228.googl" - + "e.cloud.compute.v1.SetNodeTemplateNodeGr" - + "oupRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\346\001\332AFproject,zone,node_group,node" - + "_groups_set_node_template_request_resour" - + "ce\212N\016ZoneOperations\202\323\344\223\002\205\001\"S/compute/v1/" + + "roups/{node_group}/listNodes\022\375\001\n\005Patch\022." + + ".google.cloud.compute.v1.PatchNodeGroupR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\237\001\332A+project,zone,node_group,node_gro" + + "up_resource\212N\016ZoneOperations\202\323\344\223\002Z2C/com" + + "pute/v1/projects/{project}/zones/{zone}/" + + "nodeGroups/{node_group}:\023node_group_reso" + + "urce\022\345\002\n\022PerformMaintenance\022;.google.clo" + + "ud.compute.v1.PerformMaintenanceNodeGrou" + + "pRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\355\001\332AHproject,zone,node_group,node_g" + + "roups_perform_maintenance_request_resour" + + "ce\212N\016ZoneOperations\202\323\344\223\002\212\001\"V/compute/v1/" + "projects/{project}/zones/{zone}/nodeGrou" - + "ps/{node_group}/setNodeTemplate:.node_gr" - + "oups_set_node_template_request_resource\022" - + "\205\003\n\030SimulateMaintenanceEvent\022A.google.cl" - + "oud.compute.v1.SimulateMaintenanceEventN" - + "odeGroupRequest\032\".google.cloud.compute.v" - + "1.Operation\"\201\002\332AOproject,zone,node_group" - + ",node_groups_simulate_maintenance_event_" - + "request_resource\212N\016ZoneOperations\202\323\344\223\002\227\001" - + "\"\\/compute/v1/projects/{project}/zones/{" - + "zone}/nodeGroups/{node_group}/simulateMa" - + "intenanceEvent:7node_groups_simulate_mai" - + "ntenance_event_request_resource\022\277\002\n\022Test" - + "IamPermissions\022;.google.cloud.compute.v1" - + ".TestIamPermissionsNodeGroupRequest\0320.go" - + "ogle.cloud.compute.v1.TestPermissionsRes" - + "ponse\"\271\001\332A7project,zone,resource,test_pe" - + "rmissions_request_resource\202\323\344\223\002y\"T/compu" - + "te/v1/projects/{project}/zones/{zone}/no" - + "deGroups/{resource}/testIamPermissions:!" - + "test_permissions_request_resource\032r\312A\026co" - + "mpute.googleapis.com\322AVhttps://www.googl" - + "eapis.com/auth/compute,https://www.googl" - + "eapis.com/auth/cloud-platform2\264\020\n\rNodeTe" - + "mplates\022\315\001\n\016AggregatedList\022;.google.clou" - + "d.compute.v1.AggregatedListNodeTemplates" - + "Request\0323.google.cloud.compute.v1.NodeTe" - + "mplateAggregatedList\"I\332A\007project\202\323\344\223\0029\0227" - + "/compute/v1/projects/{project}/aggregate" - + "d/nodeTemplates\022\352\001\n\006Delete\0222.google.clou" - + "d.compute.v1.DeleteNodeTemplateRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\207\001\332A\034" - + "project,region,node_template\212N\020RegionOpe" - + "rations\202\323\344\223\002O*M/compute/v1/projects/{pro" - + "ject}/regions/{region}/nodeTemplates/{no" - + "de_template}\022\323\001\n\003Get\022/.google.cloud.comp" - + "ute.v1.GetNodeTemplateRequest\032%.google.c" - + "loud.compute.v1.NodeTemplate\"t\332A\034project" - + ",region,node_template\202\323\344\223\002O\022M/compute/v1" - + "/projects/{project}/regions/{region}/nod" - + "eTemplates/{node_template}\022\342\001\n\014GetIamPol" - + "icy\0228.google.cloud.compute.v1.GetIamPoli" - + "cyNodeTemplateRequest\032\037.google.cloud.com" - + "pute.v1.Policy\"w\332A\027project,region,resour" - + "ce\202\323\344\223\002W\022U/compute/v1/projects/{project}" - + "/regions/{region}/nodeTemplates/{resourc" - + "e}/getIamPolicy\022\373\001\n\006Insert\0222.google.clou" - + "d.compute.v1.InsertNodeTemplateRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\230\001\332A%" - + "project,region,node_template_resource\212N\020" - + "RegionOperations\202\323\344\223\002W\"=/compute/v1/proj" - + "ects/{project}/regions/{region}/nodeTemp" - + "lates:\026node_template_resource\022\274\001\n\004List\0221" - + ".google.cloud.compute.v1.ListNodeTemplat" - + "esRequest\032).google.cloud.compute.v1.Node" - + "TemplateList\"V\332A\016project,region\202\323\344\223\002?\022=/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/nodeTemplates\022\252\002\n\014SetIamPolicy\0228." - + "google.cloud.compute.v1.SetIamPolicyNode" - + "TemplateRequest\032\037.google.cloud.compute.v" - + "1.Policy\"\276\001\332A:project,region,resource,re" - + "gion_set_policy_request_resource\202\323\344\223\002{\"U" - + "/compute/v1/projects/{project}/regions/{" - + "region}/nodeTemplates/{resource}/setIamP" - + "olicy:\"region_set_policy_request_resourc" - + "e\022\314\002\n\022TestIamPermissions\022>.google.cloud." - + "compute.v1.TestIamPermissionsNodeTemplat" - + "eRequest\0320.google.cloud.compute.v1.TestP" - + "ermissionsResponse\"\303\001\332A9project,region,r" - + "esource,test_permissions_request_resourc" - + "e\202\323\344\223\002\200\001\"[/compute/v1/projects/{project}" - + "/regions/{region}/nodeTemplates/{resourc" - + "e}/testIamPermissions:!test_permissions_" - + "request_resource\032r\312A\026compute.googleapis." - + "com\322AVhttps://www.googleapis.com/auth/co" - + "mpute,https://www.googleapis.com/auth/cl" - + "oud-platform2\337\005\n\tNodeTypes\022\301\001\n\016Aggregate" - + "dList\0227.google.cloud.compute.v1.Aggregat" - + "edListNodeTypesRequest\032/.google.cloud.co" - + "mpute.v1.NodeTypeAggregatedList\"E\332A\007proj" - + "ect\202\323\344\223\0025\0223/compute/v1/projects/{project" - + "}/aggregated/nodeTypes\022\271\001\n\003Get\022+.google." - + "cloud.compute.v1.GetNodeTypeRequest\032!.go" - + "ogle.cloud.compute.v1.NodeType\"b\332A\026proje" - + "ct,zone,node_type\202\323\344\223\002C\022A/compute/v1/pro" - + "jects/{project}/zones/{zone}/nodeTypes/{" - + "node_type}\022\252\001\n\004List\022-.google.cloud.compu" - + "te.v1.ListNodeTypesRequest\032%.google.clou" - + "d.compute.v1.NodeTypeList\"L\332A\014project,zo" - + "ne\202\323\344\223\0027\0225/compute/v1/projects/{project}" - + "/zones/{zone}/nodeTypes\032\244\001\312A\026compute.goo" - + "gleapis.com\322A\207\001https://www.googleapis.co" - + "m/auth/compute.readonly,https://www.goog" - + "leapis.com/auth/compute,https://www.goog" - + "leapis.com/auth/cloud-platform2\220\017\n\020Packe" - + "tMirrorings\022\326\001\n\016AggregatedList\022>.google." - + "cloud.compute.v1.AggregatedListPacketMir" - + "roringsRequest\0326.google.cloud.compute.v1" - + ".PacketMirroringAggregatedList\"L\332A\007proje" - + "ct\202\323\344\223\002<\022:/compute/v1/projects/{project}" - + "/aggregated/packetMirrorings\022\366\001\n\006Delete\022" - + "5.google.cloud.compute.v1.DeletePacketMi" - + "rroringRequest\032\".google.cloud.compute.v1" - + ".Operation\"\220\001\332A\037project,region,packet_mi" - + "rroring\212N\020RegionOperations\202\323\344\223\002U*S/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/packetMirrorings/{packet_mirroring}\022\342\001" - + "\n\003Get\0222.google.cloud.compute.v1.GetPacke" - + "tMirroringRequest\032(.google.cloud.compute" - + ".v1.PacketMirroring\"}\332A\037project,region,p" - + "acket_mirroring\202\323\344\223\002U\022S/compute/v1/proje" - + "cts/{project}/regions/{region}/packetMir" - + "rorings/{packet_mirroring}\022\207\002\n\006Insert\0225." - + "google.cloud.compute.v1.InsertPacketMirr" - + "oringRequest\032\".google.cloud.compute.v1.O" - + "peration\"\241\001\332A(project,region,packet_mirr" - + "oring_resource\212N\020RegionOperations\202\323\344\223\002]\"" - + "@/compute/v1/projects/{project}/regions/" - + "{region}/packetMirrorings:\031packet_mirror" - + "ing_resource\022\305\001\n\004List\0224.google.cloud.com" - + "pute.v1.ListPacketMirroringsRequest\032,.go" - + "ogle.cloud.compute.v1.PacketMirroringLis" - + "t\"Y\332A\016project,region\202\323\344\223\002B\022@/compute/v1/" - + "projects/{project}/regions/{region}/pack" - + "etMirrorings\022\251\002\n\005Patch\0224.google.cloud.co" - + "mpute.v1.PatchPacketMirroringRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\305\001\332A9pr" - + "oject,region,packet_mirroring,packet_mir" - + "roring_resource\212N\020RegionOperations\202\323\344\223\002p" - + "2S/compute/v1/projects/{project}/regions" - + "/{region}/packetMirrorings/{packet_mirro" - + "ring}:\031packet_mirroring_resource\022\322\002\n\022Tes" - + "tIamPermissions\022A.google.cloud.compute.v" - + "1.TestIamPermissionsPacketMirroringReque" - + "st\0320.google.cloud.compute.v1.TestPermiss" - + "ionsResponse\"\306\001\332A9project,region,resourc" - + "e,test_permissions_request_resource\202\323\344\223\002" - + "\203\001\"^/compute/v1/projects/{project}/regio" - + "ns/{region}/packetMirrorings/{resource}/" + + "ps/{node_group}/performMaintenance:0node" + + "_groups_perform_maintenance_request_reso" + + "urce\022\232\002\n\014SetIamPolicy\0225.google.cloud.com" + + "pute.v1.SetIamPolicyNodeGroupRequest\032\037.g" + + "oogle.cloud.compute.v1.Policy\"\261\001\332A6proje" + + "ct,zone,resource,zone_set_policy_request" + + "_resource\202\323\344\223\002r\"N/compute/v1/projects/{p" + + "roject}/zones/{zone}/nodeGroups/{resourc" + + "e}/setIamPolicy: zone_set_policy_request" + + "_resource\022\330\002\n\017SetNodeTemplate\0228.google.c" + + "loud.compute.v1.SetNodeTemplateNodeGroup" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\346\001\332AFproject,zone,node_group,node_gr" + + "oups_set_node_template_request_resource\212" + + "N\016ZoneOperations\202\323\344\223\002\205\001\"S/compute/v1/pro" + + "jects/{project}/zones/{zone}/nodeGroups/" + + "{node_group}/setNodeTemplate:.node_group" + + "s_set_node_template_request_resource\022\205\003\n" + + "\030SimulateMaintenanceEvent\022A.google.cloud" + + ".compute.v1.SimulateMaintenanceEventNode" + + "GroupRequest\032\".google.cloud.compute.v1.O" + + "peration\"\201\002\332AOproject,zone,node_group,no" + + "de_groups_simulate_maintenance_event_req" + + "uest_resource\212N\016ZoneOperations\202\323\344\223\002\227\001\"\\/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/nodeGroups/{node_group}/simulateMaint" + + "enanceEvent:7node_groups_simulate_mainte" + + "nance_event_request_resource\022\277\002\n\022TestIam" + + "Permissions\022;.google.cloud.compute.v1.Te" + + "stIamPermissionsNodeGroupRequest\0320.googl" + + "e.cloud.compute.v1.TestPermissionsRespon" + + "se\"\271\001\332A7project,zone,resource,test_permi" + + "ssions_request_resource\202\323\344\223\002y\"T/compute/" + + "v1/projects/{project}/zones/{zone}/nodeG" + + "roups/{resource}/testIamPermissions:!tes" + + "t_permissions_request_resource\032r\312A\026compu" + + "te.googleapis.com\322AVhttps://www.googleap" + + "is.com/auth/compute,https://www.googleap" + + "is.com/auth/cloud-platform2\264\020\n\rNodeTempl" + + "ates\022\315\001\n\016AggregatedList\022;.google.cloud.c" + + "ompute.v1.AggregatedListNodeTemplatesReq" + + "uest\0323.google.cloud.compute.v1.NodeTempl" + + "ateAggregatedList\"I\332A\007project\202\323\344\223\0029\0227/co" + + "mpute/v1/projects/{project}/aggregated/n" + + "odeTemplates\022\352\001\n\006Delete\0222.google.cloud.c" + + "ompute.v1.DeleteNodeTemplateRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\207\001\332A\034pro" + + "ject,region,node_template\212N\020RegionOperat" + + "ions\202\323\344\223\002O*M/compute/v1/projects/{projec" + + "t}/regions/{region}/nodeTemplates/{node_" + + "template}\022\323\001\n\003Get\022/.google.cloud.compute" + + ".v1.GetNodeTemplateRequest\032%.google.clou" + + "d.compute.v1.NodeTemplate\"t\332A\034project,re" + + "gion,node_template\202\323\344\223\002O\022M/compute/v1/pr" + + "ojects/{project}/regions/{region}/nodeTe" + + "mplates/{node_template}\022\342\001\n\014GetIamPolicy" + + "\0228.google.cloud.compute.v1.GetIamPolicyN" + + "odeTemplateRequest\032\037.google.cloud.comput" + + "e.v1.Policy\"w\332A\027project,region,resource\202" + + "\323\344\223\002W\022U/compute/v1/projects/{project}/re" + + "gions/{region}/nodeTemplates/{resource}/" + + "getIamPolicy\022\373\001\n\006Insert\0222.google.cloud.c" + + "ompute.v1.InsertNodeTemplateRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\230\001\332A%pro" + + "ject,region,node_template_resource\212N\020Reg" + + "ionOperations\202\323\344\223\002W\"=/compute/v1/project" + + "s/{project}/regions/{region}/nodeTemplat" + + "es:\026node_template_resource\022\274\001\n\004List\0221.go" + + "ogle.cloud.compute.v1.ListNodeTemplatesR" + + "equest\032).google.cloud.compute.v1.NodeTem" + + "plateList\"V\332A\016project,region\202\323\344\223\002?\022=/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/nodeTemplates\022\252\002\n\014SetIamPolicy\0228.goo" + + "gle.cloud.compute.v1.SetIamPolicyNodeTem" + + "plateRequest\032\037.google.cloud.compute.v1.P" + + "olicy\"\276\001\332A:project,region,resource,regio" + + "n_set_policy_request_resource\202\323\344\223\002{\"U/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/nodeTemplates/{resource}/setIamPoli" + + "cy:\"region_set_policy_request_resource\022\314" + + "\002\n\022TestIamPermissions\022>.google.cloud.com" + + "pute.v1.TestIamPermissionsNodeTemplateRe" + + "quest\0320.google.cloud.compute.v1.TestPerm" + + "issionsResponse\"\303\001\332A9project,region,reso" + + "urce,test_permissions_request_resource\202\323" + + "\344\223\002\200\001\"[/compute/v1/projects/{project}/re" + + "gions/{region}/nodeTemplates/{resource}/" + "testIamPermissions:!test_permissions_req" + "uest_resource\032r\312A\026compute.googleapis.com" + "\322AVhttps://www.googleapis.com/auth/compu" + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\253\033\n\010Projects\022\277\001\n\016DisableXpnHos" - + "t\0225.google.cloud.compute.v1.DisableXpnHo" - + "stProjectRequest\032\".google.cloud.compute." - + "v1.Operation\"R\332A\007project\212N\020GlobalOperati" - + "ons\202\323\344\223\002/\"-/compute/v1/projects/{project" - + "}/disableXpnHost\022\253\002\n\022DisableXpnResource\022" - + "9.google.cloud.compute.v1.DisableXpnReso" - + "urceProjectRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\265\001\332A6project,projects_dis" - + "able_xpn_resource_request_resource\212N\020Glo" - + "balOperations\202\323\344\223\002c\"1/compute/v1/project" - + "s/{project}/disableXpnResource:.projects" - + "_disable_xpn_resource_request_resource\022\274" - + "\001\n\rEnableXpnHost\0224.google.cloud.compute." - + "v1.EnableXpnHostProjectRequest\032\".google." - + "cloud.compute.v1.Operation\"Q\332A\007project\212N" - + "\020GlobalOperations\202\323\344\223\002.\",/compute/v1/pro" - + "jects/{project}/enableXpnHost\022\246\002\n\021Enable" - + "XpnResource\0228.google.cloud.compute.v1.En" - + "ableXpnResourceProjectRequest\032\".google.c" - + "loud.compute.v1.Operation\"\262\001\332A5project,p" - + "rojects_enable_xpn_resource_request_reso" - + "urce\212N\020GlobalOperations\202\323\344\223\002a\"0/compute/" - + "v1/projects/{project}/enableXpnResource:" - + "-projects_enable_xpn_resource_request_re" - + "source\022\205\001\n\003Get\022*.google.cloud.compute.v1" - + ".GetProjectRequest\032 .google.cloud.comput" - + "e.v1.Project\"0\332A\007project\202\323\344\223\002 \022\036/compute" - + "/v1/projects/{project}\022\236\001\n\nGetXpnHost\0221." - + "google.cloud.compute.v1.GetXpnHostProjec" - + "tRequest\032 .google.cloud.compute.v1.Proje" - + "ct\";\332A\007project\202\323\344\223\002+\022)/compute/v1/projec" - + "ts/{project}/getXpnHost\022\276\001\n\017GetXpnResour" - + "ces\0227.google.cloud.compute.v1.GetXpnReso" - + "urcesProjectsRequest\0320.google.cloud.comp" - + "ute.v1.ProjectsGetXpnResources\"@\332A\007proje" - + "ct\202\323\344\223\0020\022./compute/v1/projects/{project}" - + "/getXpnResources\022\375\001\n\014ListXpnHosts\0224.goog" - + "le.cloud.compute.v1.ListXpnHostsProjects" - + "Request\032$.google.cloud.compute.v1.XpnHos" - + "tList\"\220\001\332A0project,projects_list_xpn_hos" - + "ts_request_resource\202\323\344\223\002W\"+/compute/v1/p" - + "rojects/{project}/listXpnHosts:(projects" - + "_list_xpn_hosts_request_resource\022\345\001\n\010Mov" - + "eDisk\022/.google.cloud.compute.v1.MoveDisk" - + "ProjectRequest\032\".google.cloud.compute.v1" - + ".Operation\"\203\001\332A\"project,disk_move_reques" - + "t_resource\212N\020GlobalOperations\202\323\344\223\002E\"\'/co" - + "mpute/v1/projects/{project}/moveDisk:\032di" - + "sk_move_request_resource\022\371\001\n\014MoveInstanc" - + "e\0223.google.cloud.compute.v1.MoveInstance" - + "ProjectRequest\032\".google.cloud.compute.v1" - + ".Operation\"\217\001\332A&project,instance_move_re" - + "quest_resource\212N\020GlobalOperations\202\323\344\223\002M\"" - + "+/compute/v1/projects/{project}/moveInst" - + "ance:\036instance_move_request_resource\022\250\002\n" - + "\021SetCloudArmorTier\0228.google.cloud.comput" - + "e.v1.SetCloudArmorTierProjectRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\264\001\332A6pr" - + "oject,projects_set_cloud_armor_tier_requ" - + "est_resource\212N\020GlobalOperations\202\323\344\223\002b\"0/" - + "compute/v1/projects/{project}/setCloudAr" - + "morTier:.projects_set_cloud_armor_tier_r" - + "equest_resource\022\206\002\n\031SetCommonInstanceMet" - + "adata\022@.google.cloud.compute.v1.SetCommo" - + "nInstanceMetadataProjectRequest\032\".google" - + ".cloud.compute.v1.Operation\"\202\001\332A\031project" - + ",metadata_resource\212N\020GlobalOperations\202\323\344" - + "\223\002M\"8/compute/v1/projects/{project}/setC" - + "ommonInstanceMetadata:\021metadata_resource" - + "\022\274\002\n\025SetDefaultNetworkTier\022<.google.clou" - + "d.compute.v1.SetDefaultNetworkTierProjec" - + "tRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\300\001\332A:project,projects_set_default_n" - + "etwork_tier_request_resource\212N\020GlobalOpe" - + "rations\202\323\344\223\002j\"4/compute/v1/projects/{pro" - + "ject}/setDefaultNetworkTier:2projects_se" - + "t_default_network_tier_request_resource\022" - + "\221\002\n\024SetUsageExportBucket\022;.google.cloud." - + "compute.v1.SetUsageExportBucketProjectRe" + + "-platform2\337\005\n\tNodeTypes\022\301\001\n\016AggregatedLi" + + "st\0227.google.cloud.compute.v1.AggregatedL" + + "istNodeTypesRequest\032/.google.cloud.compu" + + "te.v1.NodeTypeAggregatedList\"E\332A\007project" + + "\202\323\344\223\0025\0223/compute/v1/projects/{project}/a" + + "ggregated/nodeTypes\022\271\001\n\003Get\022+.google.clo" + + "ud.compute.v1.GetNodeTypeRequest\032!.googl" + + "e.cloud.compute.v1.NodeType\"b\332A\026project," + + "zone,node_type\202\323\344\223\002C\022A/compute/v1/projec" + + "ts/{project}/zones/{zone}/nodeTypes/{nod" + + "e_type}\022\252\001\n\004List\022-.google.cloud.compute." + + "v1.ListNodeTypesRequest\032%.google.cloud.c" + + "ompute.v1.NodeTypeList\"L\332A\014project,zone\202" + + "\323\344\223\0027\0225/compute/v1/projects/{project}/zo" + + "nes/{zone}/nodeTypes\032\244\001\312A\026compute.google" + + "apis.com\322A\207\001https://www.googleapis.com/a" + + "uth/compute.readonly,https://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\220\017\n\020PacketMi" + + "rrorings\022\326\001\n\016AggregatedList\022>.google.clo" + + "ud.compute.v1.AggregatedListPacketMirror" + + "ingsRequest\0326.google.cloud.compute.v1.Pa" + + "cketMirroringAggregatedList\"L\332A\007project\202" + + "\323\344\223\002<\022:/compute/v1/projects/{project}/ag" + + "gregated/packetMirrorings\022\366\001\n\006Delete\0225.g" + + "oogle.cloud.compute.v1.DeletePacketMirro" + + "ringRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\220\001\332A\037project,region,packet_mirro" + + "ring\212N\020RegionOperations\202\323\344\223\002U*S/compute/" + + "v1/projects/{project}/regions/{region}/p" + + "acketMirrorings/{packet_mirroring}\022\342\001\n\003G" + + "et\0222.google.cloud.compute.v1.GetPacketMi" + + "rroringRequest\032(.google.cloud.compute.v1" + + ".PacketMirroring\"}\332A\037project,region,pack" + + "et_mirroring\202\323\344\223\002U\022S/compute/v1/projects" + + "/{project}/regions/{region}/packetMirror" + + "ings/{packet_mirroring}\022\207\002\n\006Insert\0225.goo" + + "gle.cloud.compute.v1.InsertPacketMirrori" + + "ngRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\241\001\332A(project,region,packet_mirrori" + + "ng_resource\212N\020RegionOperations\202\323\344\223\002]\"@/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/packetMirrorings:\031packet_mirroring" + + "_resource\022\305\001\n\004List\0224.google.cloud.comput" + + "e.v1.ListPacketMirroringsRequest\032,.googl" + + "e.cloud.compute.v1.PacketMirroringList\"Y" + + "\332A\016project,region\202\323\344\223\002B\022@/compute/v1/pro" + + "jects/{project}/regions/{region}/packetM" + + "irrorings\022\251\002\n\005Patch\0224.google.cloud.compu" + + "te.v1.PatchPacketMirroringRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\305\001\332A9proje" + + "ct,region,packet_mirroring,packet_mirror" + + "ing_resource\212N\020RegionOperations\202\323\344\223\002p2S/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/packetMirrorings/{packet_mirrorin" + + "g}:\031packet_mirroring_resource\022\322\002\n\022TestIa" + + "mPermissions\022A.google.cloud.compute.v1.T" + + "estIamPermissionsPacketMirroringRequest\032" + + "0.google.cloud.compute.v1.TestPermission" + + "sResponse\"\306\001\332A9project,region,resource,t" + + "est_permissions_request_resource\202\323\344\223\002\203\001\"" + + "^/compute/v1/projects/{project}/regions/" + + "{region}/packetMirrorings/{resource}/tes" + + "tIamPermissions:!test_permissions_reques" + + "t_resource\032r\312A\026compute.googleapis.com\322AV" + + "https://www.googleapis.com/auth/compute," + + "https://www.googleapis.com/auth/cloud-pl" + + "atform2\253\033\n\010Projects\022\277\001\n\016DisableXpnHost\0225" + + ".google.cloud.compute.v1.DisableXpnHostP" + + "rojectRequest\032\".google.cloud.compute.v1." + + "Operation\"R\332A\007project\212N\020GlobalOperations" + + "\202\323\344\223\002/\"-/compute/v1/projects/{project}/d" + + "isableXpnHost\022\253\002\n\022DisableXpnResource\0229.g" + + "oogle.cloud.compute.v1.DisableXpnResourc" + + "eProjectRequest\032\".google.cloud.compute.v" + + "1.Operation\"\265\001\332A6project,projects_disabl" + + "e_xpn_resource_request_resource\212N\020Global" + + "Operations\202\323\344\223\002c\"1/compute/v1/projects/{" + + "project}/disableXpnResource:.projects_di" + + "sable_xpn_resource_request_resource\022\274\001\n\r" + + "EnableXpnHost\0224.google.cloud.compute.v1." + + "EnableXpnHostProjectRequest\032\".google.clo" + + "ud.compute.v1.Operation\"Q\332A\007project\212N\020Gl" + + "obalOperations\202\323\344\223\002.\",/compute/v1/projec" + + "ts/{project}/enableXpnHost\022\246\002\n\021EnableXpn" + + "Resource\0228.google.cloud.compute.v1.Enabl" + + "eXpnResourceProjectRequest\032\".google.clou" + + "d.compute.v1.Operation\"\262\001\332A5project,proj" + + "ects_enable_xpn_resource_request_resourc" + + "e\212N\020GlobalOperations\202\323\344\223\002a\"0/compute/v1/" + + "projects/{project}/enableXpnResource:-pr" + + "ojects_enable_xpn_resource_request_resou" + + "rce\022\205\001\n\003Get\022*.google.cloud.compute.v1.Ge" + + "tProjectRequest\032 .google.cloud.compute.v" + + "1.Project\"0\332A\007project\202\323\344\223\002 \022\036/compute/v1" + + "/projects/{project}\022\236\001\n\nGetXpnHost\0221.goo" + + "gle.cloud.compute.v1.GetXpnHostProjectRe" + + "quest\032 .google.cloud.compute.v1.Project\"" + + ";\332A\007project\202\323\344\223\002+\022)/compute/v1/projects/" + + "{project}/getXpnHost\022\276\001\n\017GetXpnResources" + + "\0227.google.cloud.compute.v1.GetXpnResourc" + + "esProjectsRequest\0320.google.cloud.compute" + + ".v1.ProjectsGetXpnResources\"@\332A\007project\202" + + "\323\344\223\0020\022./compute/v1/projects/{project}/ge" + + "tXpnResources\022\375\001\n\014ListXpnHosts\0224.google." + + "cloud.compute.v1.ListXpnHostsProjectsReq" + + "uest\032$.google.cloud.compute.v1.XpnHostLi" + + "st\"\220\001\332A0project,projects_list_xpn_hosts_" + + "request_resource\202\323\344\223\002W\"+/compute/v1/proj" + + "ects/{project}/listXpnHosts:(projects_li" + + "st_xpn_hosts_request_resource\022\345\001\n\010MoveDi" + + "sk\022/.google.cloud.compute.v1.MoveDiskPro" + + "jectRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\203\001\332A\"project,disk_move_request_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002E\"\'/compu" + + "te/v1/projects/{project}/moveDisk:\032disk_" + + "move_request_resource\022\371\001\n\014MoveInstance\0223" + + ".google.cloud.compute.v1.MoveInstancePro" + + "jectRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\217\001\332A&project,instance_move_reque" + + "st_resource\212N\020GlobalOperations\202\323\344\223\002M\"+/c" + + "ompute/v1/projects/{project}/moveInstanc" + + "e:\036instance_move_request_resource\022\250\002\n\021Se" + + "tCloudArmorTier\0228.google.cloud.compute.v" + + "1.SetCloudArmorTierProjectRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\264\001\332A6proje" + + "ct,projects_set_cloud_armor_tier_request" + + "_resource\212N\020GlobalOperations\202\323\344\223\002b\"0/com" + + "pute/v1/projects/{project}/setCloudArmor" + + "Tier:.projects_set_cloud_armor_tier_requ" + + "est_resource\022\206\002\n\031SetCommonInstanceMetada" + + "ta\022@.google.cloud.compute.v1.SetCommonIn" + + "stanceMetadataProjectRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\202\001\332A\031project,me" + + "tadata_resource\212N\020GlobalOperations\202\323\344\223\002M" + + "\"8/compute/v1/projects/{project}/setComm" + + "onInstanceMetadata:\021metadata_resource\022\274\002" + + "\n\025SetDefaultNetworkTier\022<.google.cloud.c" + + "ompute.v1.SetDefaultNetworkTierProjectRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\227\001\332A&project,usage_export_location_res" - + "ource\212N\020GlobalOperations\202\323\344\223\002U\"3/compute" - + "/v1/projects/{project}/setUsageExportBuc" - + "ket:\036usage_export_location_resource\032r\312A\026" - + "compute.googleapis.com\322AVhttps://www.goo" - + "gleapis.com/auth/compute,https://www.goo" - + "gleapis.com/auth/cloud-platform2\356\017\n\030Publ" - + "icAdvertisedPrefixes\022\222\002\n\010Announce\022?.goog" - + "le.cloud.compute.v1.AnnouncePublicAdvert" - + "isedPrefixeRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\240\001\332A project,public_adver" - + "tised_prefix\212N\020GlobalOperations\202\323\344\223\002d\"b/" - + "compute/v1/projects/{project}/global/pub" - + "licAdvertisedPrefixes/{public_advertised" - + "_prefix}/announce\022\205\002\n\006Delete\022=.google.cl" - + "oud.compute.v1.DeletePublicAdvertisedPre" + + "n\"\300\001\332A:project,projects_set_default_netw" + + "ork_tier_request_resource\212N\020GlobalOperat" + + "ions\202\323\344\223\002j\"4/compute/v1/projects/{projec" + + "t}/setDefaultNetworkTier:2projects_set_d" + + "efault_network_tier_request_resource\022\221\002\n" + + "\024SetUsageExportBucket\022;.google.cloud.com" + + "pute.v1.SetUsageExportBucketProjectReque" + + "st\032\".google.cloud.compute.v1.Operation\"\227" + + "\001\332A&project,usage_export_location_resour" + + "ce\212N\020GlobalOperations\202\323\344\223\002U\"3/compute/v1" + + "/projects/{project}/setUsageExportBucket" + + ":\036usage_export_location_resource\032r\312A\026com" + + "pute.googleapis.com\322AVhttps://www.google" + + "apis.com/auth/compute,https://www.google" + + "apis.com/auth/cloud-platform2\356\017\n\030PublicA" + + "dvertisedPrefixes\022\222\002\n\010Announce\022?.google." + + "cloud.compute.v1.AnnouncePublicAdvertise" + + "dPrefixeRequest\032\".google.cloud.compute.v" + + "1.Operation\"\240\001\332A project,public_advertis" + + "ed_prefix\212N\020GlobalOperations\202\323\344\223\002d\"b/com" + + "pute/v1/projects/{project}/global/public" + + "AdvertisedPrefixes/{public_advertised_pr" + + "efix}/announce\022\205\002\n\006Delete\022=.google.cloud" + + ".compute.v1.DeletePublicAdvertisedPrefix" + + "eRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\227\001\332A project,public_advertised_pref" + + "ix\212N\020GlobalOperations\202\323\344\223\002[*Y/compute/v1", + "/projects/{project}/global/publicAdverti" + + "sedPrefixes/{public_advertised_prefix}\022\371" + + "\001\n\003Get\022:.google.cloud.compute.v1.GetPubl" + + "icAdvertisedPrefixeRequest\032/.google.clou" + + "d.compute.v1.PublicAdvertisedPrefix\"\204\001\332A" + + " project,public_advertised_prefix\202\323\344\223\002[\022" + + "Y/compute/v1/projects/{project}/global/p" + + "ublicAdvertisedPrefixes/{public_advertis" + + "ed_prefix}\022\226\002\n\006Insert\022=.google.cloud.com" + + "pute.v1.InsertPublicAdvertisedPrefixeReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\250\001\332A)project,public_advertised_prefix_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002c\">/compu" + + "te/v1/projects/{project}/global/publicAd" + + "vertisedPrefixes:!public_advertised_pref" + + "ix_resource\022\313\001\n\004List\022<.google.cloud.comp" + + "ute.v1.ListPublicAdvertisedPrefixesReque" + + "st\0323.google.cloud.compute.v1.PublicAdver" + + "tisedPrefixList\"P\332A\007project\202\323\344\223\002@\022>/comp" + + "ute/v1/projects/{project}/global/publicA" + + "dvertisedPrefixes\022\310\002\n\005Patch\022<.google.clo" + + "ud.compute.v1.PatchPublicAdvertisedPrefi" + + "xeRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\334\001\332ABproject,public_advertised_pre" + + "fix,public_advertised_prefix_resource\212N\020" + + "GlobalOperations\202\323\344\223\002~2Y/compute/v1/proj" + + "ects/{project}/global/publicAdvertisedPr" + + "efixes/{public_advertised_prefix}:!publi" + + "c_advertised_prefix_resource\022\222\002\n\010Withdra" + + "w\022?.google.cloud.compute.v1.WithdrawPubl" + + "icAdvertisedPrefixeRequest\032\".google.clou" + + "d.compute.v1.Operation\"\240\001\332A project,publ" + + "ic_advertised_prefix\212N\020GlobalOperations\202" + + "\323\344\223\002d\"b/compute/v1/projects/{project}/gl" + + "obal/publicAdvertisedPrefixes/{public_ad" + + "vertised_prefix}/withdraw\032r\312A\026compute.go" + + "ogleapis.com\322AVhttps://www.googleapis.co" + + "m/auth/compute,https://www.googleapis.co" + + "m/auth/cloud-platform2\264\022\n\027PublicDelegate" + + "dPrefixes\022\352\001\n\016AggregatedList\022E.google.cl" + + "oud.compute.v1.AggregatedListPublicDeleg" + + "atedPrefixesRequest\032<.google.cloud.compu" + + "te.v1.PublicDelegatedPrefixAggregatedLis" + + "t\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/project" + + "s/{project}/aggregated/publicDelegatedPr" + + "efixes\022\237\002\n\010Announce\022>.google.cloud.compu" + + "te.v1.AnnouncePublicDelegatedPrefixeRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\256\001\332A&project,region,public_delegated_pre" + + "fix\212N\020RegionOperations\202\323\344\223\002l\"j/compute/v" + + "1/projects/{project}/regions/{region}/pu" + + "blicDelegatedPrefixes/{public_delegated_" + + "prefix}/announce\022\222\002\n\006Delete\022<.google.clo" + + "ud.compute.v1.DeletePublicDelegatedPrefi" + + "xeRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\245\001\332A&project,region,public_delegat" + + "ed_prefix\212N\020RegionOperations\202\323\344\223\002c*a/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/publicDelegatedPrefixes/{public_dele" + + "gated_prefix}\022\205\002\n\003Get\0229.google.cloud.com" + + "pute.v1.GetPublicDelegatedPrefixeRequest" + + "\032..google.cloud.compute.v1.PublicDelegat" + + "edPrefix\"\222\001\332A&project,region,public_dele" + + "gated_prefix\202\323\344\223\002c\022a/compute/v1/projects" + + "/{project}/regions/{region}/publicDelega" + + "tedPrefixes/{public_delegated_prefix}\022\243\002" + + "\n\006Insert\022<.google.cloud.compute.v1.Inser" + + "tPublicDelegatedPrefixeRequest\032\".google." + + "cloud.compute.v1.Operation\"\266\001\332A/project," + + "region,public_delegated_prefix_resource\212" + + "N\020RegionOperations\202\323\344\223\002k\"G/compute/v1/pr" + + "ojects/{project}/regions/{region}/public" + + "DelegatedPrefixes: public_delegated_pref" + + "ix_resource\022\331\001\n\004List\022;.google.cloud.comp" + + "ute.v1.ListPublicDelegatedPrefixesReques" + + "t\0322.google.cloud.compute.v1.PublicDelega" + + "tedPrefixList\"`\332A\016project,region\202\323\344\223\002I\022G" + + "/compute/v1/projects/{project}/regions/{" + + "region}/publicDelegatedPrefixes\022\324\002\n\005Patc" + + "h\022;.google.cloud.compute.v1.PatchPublicD" + + "elegatedPrefixeRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\351\001\332AGproject,region,p" + + "ublic_delegated_prefix,public_delegated_" + + "prefix_resource\212N\020RegionOperations\202\323\344\223\002\205" + + "\0012a/compute/v1/projects/{project}/region" + + "s/{region}/publicDelegatedPrefixes/{publ" + + "ic_delegated_prefix}: public_delegated_p" + + "refix_resource\022\237\002\n\010Withdraw\022>.google.clo" + + "ud.compute.v1.WithdrawPublicDelegatedPre" + "fixeRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\227\001\332A project,public_advertised_p" - + "refix\212N\020GlobalOperations\202\323\344\223\002[*Y/compute" - + "/v1/projects/{project}/global/publicAdve" - + "rtisedPrefixes/{public_advertised_prefix" - + "}\022\371\001\n\003Get\022:.google.cloud.compute.v1.GetP" - + "ublicAdvertisedPrefixeRequest\032/.google.c" - + "loud.compute.v1.PublicAdvertisedPrefix\"\204" - + "\001\332A project,public_advertised_prefix\202\323\344\223" - + "\002[\022Y/compute/v1/projects/{project}/globa" - + "l/publicAdvertisedPrefixes/{public_adver" - + "tised_prefix}\022\226\002\n\006Insert\022=.google.cloud." - + "compute.v1.InsertPublicAdvertisedPrefixe" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\250\001\332A)project,public_advertised_prefi" - + "x_resource\212N\020GlobalOperations\202\323\344\223\002c\">/co" - + "mpute/v1/projects/{project}/global/publi" - + "cAdvertisedPrefixes:!public_advertised_p" - + "refix_resource\022\313\001\n\004List\022<.google.cloud.c" - + "ompute.v1.ListPublicAdvertisedPrefixesRe" - + "quest\0323.google.cloud.compute.v1.PublicAd" - + "vertisedPrefixList\"P\332A\007project\202\323\344\223\002@\022>/c" - + "ompute/v1/projects/{project}/global/publ" - + "icAdvertisedPrefixes\022\310\002\n\005Patch\022<.google." - + "cloud.compute.v1.PatchPublicAdvertisedPr" - + "efixeRequest\032\".google.cloud.compute.v1.O" - + "peration\"\334\001\332ABproject,public_advertised_" - + "prefix,public_advertised_prefix_resource" - + "\212N\020GlobalOperations\202\323\344\223\002~2Y/compute/v1/p" - + "rojects/{project}/global/publicAdvertise" - + "dPrefixes/{public_advertised_prefix}:!pu" - + "blic_advertised_prefix_resource\022\222\002\n\010With" - + "draw\022?.google.cloud.compute.v1.WithdrawP" - + "ublicAdvertisedPrefixeRequest\032\".google.c" - + "loud.compute.v1.Operation\"\240\001\332A project,p" - + "ublic_advertised_prefix\212N\020GlobalOperatio" - + "ns\202\323\344\223\002d\"b/compute/v1/projects/{project}" - + "/global/publicAdvertisedPrefixes/{public" - + "_advertised_prefix}/withdraw\032r\312A\026compute" - + ".googleapis.com\322AVhttps://www.googleapis" - + ".com/auth/compute,https://www.googleapis", - ".com/auth/cloud-platform2\264\022\n\027PublicDeleg" - + "atedPrefixes\022\352\001\n\016AggregatedList\022E.google" - + ".cloud.compute.v1.AggregatedListPublicDe" - + "legatedPrefixesRequest\032<.google.cloud.co" - + "mpute.v1.PublicDelegatedPrefixAggregated" - + "List\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/proj" - + "ects/{project}/aggregated/publicDelegate" - + "dPrefixes\022\237\002\n\010Announce\022>.google.cloud.co" - + "mpute.v1.AnnouncePublicDelegatedPrefixeR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\256\001\332A&project,region,public_delegated_" - + "prefix\212N\020RegionOperations\202\323\344\223\002l\"j/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/publicDelegatedPrefixes/{public_delegat" - + "ed_prefix}/announce\022\222\002\n\006Delete\022<.google." - + "cloud.compute.v1.DeletePublicDelegatedPr" - + "efixeRequest\032\".google.cloud.compute.v1.O" - + "peration\"\245\001\332A&project,region,public_dele" - + "gated_prefix\212N\020RegionOperations\202\323\344\223\002c*a/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/publicDelegatedPrefixes/{public_d" - + "elegated_prefix}\022\205\002\n\003Get\0229.google.cloud." - + "compute.v1.GetPublicDelegatedPrefixeRequ" - + "est\032..google.cloud.compute.v1.PublicDele" - + "gatedPrefix\"\222\001\332A&project,region,public_d" - + "elegated_prefix\202\323\344\223\002c\022a/compute/v1/proje" - + "cts/{project}/regions/{region}/publicDel" - + "egatedPrefixes/{public_delegated_prefix}" - + "\022\243\002\n\006Insert\022<.google.cloud.compute.v1.In" - + "sertPublicDelegatedPrefixeRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\266\001\332A/proje" - + "ct,region,public_delegated_prefix_resour" - + "ce\212N\020RegionOperations\202\323\344\223\002k\"G/compute/v1" - + "/projects/{project}/regions/{region}/pub" - + "licDelegatedPrefixes: public_delegated_p" - + "refix_resource\022\331\001\n\004List\022;.google.cloud.c" - + "ompute.v1.ListPublicDelegatedPrefixesReq" - + "uest\0322.google.cloud.compute.v1.PublicDel" - + "egatedPrefixList\"`\332A\016project,region\202\323\344\223\002" - + "I\022G/compute/v1/projects/{project}/region" - + "s/{region}/publicDelegatedPrefixes\022\324\002\n\005P" - + "atch\022;.google.cloud.compute.v1.PatchPubl" - + "icDelegatedPrefixeRequest\032\".google.cloud" - + ".compute.v1.Operation\"\351\001\332AGproject,regio" - + "n,public_delegated_prefix,public_delegat" - + "ed_prefix_resource\212N\020RegionOperations\202\323\344" - + "\223\002\205\0012a/compute/v1/projects/{project}/reg" - + "ions/{region}/publicDelegatedPrefixes/{p" - + "ublic_delegated_prefix}: public_delegate" - + "d_prefix_resource\022\237\002\n\010Withdraw\022>.google." - + "cloud.compute.v1.WithdrawPublicDelegated" - + "PrefixeRequest\032\".google.cloud.compute.v1" - + ".Operation\"\256\001\332A&project,region,public_de" - + "legated_prefix\212N\020RegionOperations\202\323\344\223\002l\"" - + "j/compute/v1/projects/{project}/regions/" - + "{region}/publicDelegatedPrefixes/{public" - + "_delegated_prefix}/withdraw\032r\312A\026compute." + + "eration\"\256\001\332A&project,region,public_deleg" + + "ated_prefix\212N\020RegionOperations\202\323\344\223\002l\"j/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/publicDelegatedPrefixes/{public_de" + + "legated_prefix}/withdraw\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\360\013\n\021RegionAutoscale" + + "rs\022\345\001\n\006Delete\0226.google.cloud.compute.v1." + + "DeleteRegionAutoscalerRequest\032\".google.c" + + "loud.compute.v1.Operation\"\177\332A\031project,re" + + "gion,autoscaler\212N\020RegionOperations\202\323\344\223\002J" + + "*H/compute/v1/projects/{project}/regions" + + "/{region}/autoscalers/{autoscaler}\022\315\001\n\003G" + + "et\0223.google.cloud.compute.v1.GetRegionAu" + + "toscalerRequest\032#.google.cloud.compute.v" + + "1.Autoscaler\"l\332A\031project,region,autoscal" + + "er\202\323\344\223\002J\022H/compute/v1/projects/{project}" + + "/regions/{region}/autoscalers/{autoscale" + + "r}\022\367\001\n\006Insert\0226.google.cloud.compute.v1." + + "InsertRegionAutoscalerRequest\032\".google.c" + + "loud.compute.v1.Operation\"\220\001\332A\"project,r" + + "egion,autoscaler_resource\212N\020RegionOperat" + + "ions\202\323\344\223\002R\";/compute/v1/projects/{projec" + + "t}/regions/{region}/autoscalers:\023autosca" + + "ler_resource\022\302\001\n\004List\0225.google.cloud.com" + + "pute.v1.ListRegionAutoscalersRequest\032-.g" + + "oogle.cloud.compute.v1.RegionAutoscalerL" + + "ist\"T\332A\016project,region\202\323\344\223\002=\022;/compute/v" + + "1/projects/{project}/regions/{region}/au" + + "toscalers\022\365\001\n\005Patch\0225.google.cloud.compu" + + "te.v1.PatchRegionAutoscalerRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\220\001\332A\"proj" + + "ect,region,autoscaler_resource\212N\020RegionO" + + "perations\202\323\344\223\002R2;/compute/v1/projects/{p" + + "roject}/regions/{region}/autoscalers:\023au" + + "toscaler_resource\022\367\001\n\006Update\0226.google.cl" + + "oud.compute.v1.UpdateRegionAutoscalerReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\220\001\332A\"project,region,autoscaler_resource" + + "\212N\020RegionOperations\202\323\344\223\002R\032;/compute/v1/p" + + "rojects/{project}/regions/{region}/autos" + + "calers:\023autoscaler_resource\032r\312A\026compute." + "googleapis.com\322AVhttps://www.googleapis." + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\360\013\n\021RegionAutosc" - + "alers\022\345\001\n\006Delete\0226.google.cloud.compute." - + "v1.DeleteRegionAutoscalerRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\177\332A\031project" - + ",region,autoscaler\212N\020RegionOperations\202\323\344" - + "\223\002J*H/compute/v1/projects/{project}/regi" - + "ons/{region}/autoscalers/{autoscaler}\022\315\001" - + "\n\003Get\0223.google.cloud.compute.v1.GetRegio" - + "nAutoscalerRequest\032#.google.cloud.comput" - + "e.v1.Autoscaler\"l\332A\031project,region,autos" - + "caler\202\323\344\223\002J\022H/compute/v1/projects/{proje" - + "ct}/regions/{region}/autoscalers/{autosc" - + "aler}\022\367\001\n\006Insert\0226.google.cloud.compute." - + "v1.InsertRegionAutoscalerRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\220\001\332A\"projec" - + "t,region,autoscaler_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002R\";/compute/v1/projects/{pro" - + "ject}/regions/{region}/autoscalers:\023auto" - + "scaler_resource\022\302\001\n\004List\0225.google.cloud." - + "compute.v1.ListRegionAutoscalersRequest\032" - + "-.google.cloud.compute.v1.RegionAutoscal" - + "erList\"T\332A\016project,region\202\323\344\223\002=\022;/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/autoscalers\022\365\001\n\005Patch\0225.google.cloud.co" - + "mpute.v1.PatchRegionAutoscalerRequest\032\"." - + "google.cloud.compute.v1.Operation\"\220\001\332A\"p" - + "roject,region,autoscaler_resource\212N\020Regi" - + "onOperations\202\323\344\223\002R2;/compute/v1/projects" - + "/{project}/regions/{region}/autoscalers:" - + "\023autoscaler_resource\022\367\001\n\006Update\0226.google" - + ".cloud.compute.v1.UpdateRegionAutoscaler" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\220\001\332A\"project,region,autoscaler_resou" - + "rce\212N\020RegionOperations\202\323\344\223\002R\032;/compute/v" - + "1/projects/{project}/regions/{region}/au" - + "toscalers:\023autoscaler_resource\032r\312A\026compu" - + "te.googleapis.com\322AVhttps://www.googleap" - + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\275\033\n\025RegionBac" - + "kendServices\022\370\001\n\006Delete\022:.google.cloud.c" - + "ompute.v1.DeleteRegionBackendServiceRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\215\001\332A\036project,region,backend_service\212N\020Re" - + "gionOperations\202\323\344\223\002S*Q/compute/v1/projec" - + "ts/{project}/regions/{region}/backendSer" - + "vices/{backend_service}\022\343\001\n\003Get\0227.google" - + ".cloud.compute.v1.GetRegionBackendServic" - + "eRequest\032\'.google.cloud.compute.v1.Backe" - + "ndService\"z\332A\036project,region,backend_ser" - + "vice\202\323\344\223\002S\022Q/compute/v1/projects/{projec" - + "t}/regions/{region}/backendServices/{bac" - + "kend_service}\022\313\002\n\tGetHealth\022=.google.clo" - + "ud.compute.v1.GetHealthRegionBackendServ" - + "iceRequest\0322.google.cloud.compute.v1.Bac" - + "kendServiceGroupHealth\"\312\001\332A@project,regi" - + "on,backend_service,resource_group_refere" - + "nce_resource\202\323\344\223\002\200\001\"[/compute/v1/project" - + "s/{project}/regions/{region}/backendServ" - + "ices/{backend_service}/getHealth:!resour" - + "ce_group_reference_resource\022\354\001\n\014GetIamPo" - + "licy\022@.google.cloud.compute.v1.GetIamPol" - + "icyRegionBackendServiceRequest\032\037.google." - + "cloud.compute.v1.Policy\"y\332A\027project,regi" - + "on,resource\202\323\344\223\002Y\022W/compute/v1/projects/" + + "com/auth/cloud-platform2\275\033\n\025RegionBacken" + + "dServices\022\370\001\n\006Delete\022:.google.cloud.comp" + + "ute.v1.DeleteRegionBackendServiceRequest" + + "\032\".google.cloud.compute.v1.Operation\"\215\001\332" + + "A\036project,region,backend_service\212N\020Regio" + + "nOperations\202\323\344\223\002S*Q/compute/v1/projects/" + "{project}/regions/{region}/backendServic" - + "es/{resource}/getIamPolicy\022\211\002\n\006Insert\022:." - + "google.cloud.compute.v1.InsertRegionBack" - + "endServiceRequest\032\".google.cloud.compute" - + ".v1.Operation\"\236\001\332A\'project,region,backen" - + "d_service_resource\212N\020RegionOperations\202\323\344" - + "\223\002[\"?/compute/v1/projects/{project}/regi" - + "ons/{region}/backendServices:\030backend_se" - + "rvice_resource\022\310\001\n\004List\0229.google.cloud.c" - + "ompute.v1.ListRegionBackendServicesReque" - + "st\032+.google.cloud.compute.v1.BackendServ" - + "iceList\"X\332A\016project,region\202\323\344\223\002A\022?/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/backendServices\022\345\001\n\nListUsable\022?.googl" - + "e.cloud.compute.v1.ListUsableRegionBacke" - + "ndServicesRequest\0321.google.cloud.compute" - + ".v1.BackendServiceListUsable\"c\332A\016project" - + ",region\202\323\344\223\002L\022J/compute/v1/projects/{pro" - + "ject}/regions/{region}/backendServices/l" - + "istUsable\022\251\002\n\005Patch\0229.google.cloud.compu" - + "te.v1.PatchRegionBackendServiceRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\300\001\332A7" - + "project,region,backend_service,backend_s" - + "ervice_resource\212N\020RegionOperations\202\323\344\223\002m" - + "2Q/compute/v1/projects/{project}/regions" - + "/{region}/backendServices/{backend_servi" - + "ce}:\030backend_service_resource\022\264\002\n\014SetIam" - + "Policy\022@.google.cloud.compute.v1.SetIamP" - + "olicyRegionBackendServiceRequest\032\037.googl" - + "e.cloud.compute.v1.Policy\"\300\001\332A:project,r" - + "egion,resource,region_set_policy_request" - + "_resource\202\323\344\223\002}\"W/compute/v1/projects/{p" - + "roject}/regions/{region}/backendServices" - + "/{resource}/setIamPolicy:\"region_set_pol" - + "icy_request_resource\022\350\002\n\021SetSecurityPoli" - + "cy\022E.google.cloud.compute.v1.SetSecurity" - + "PolicyRegionBackendServiceRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\347\001\332AAproje" - + "ct,region,backend_service,security_polic" - + "y_reference_resource\212N\020RegionOperations\202" - + "\323\344\223\002\211\001\"c/compute/v1/projects/{project}/r" - + "egions/{region}/backendServices/{backend" - + "_service}/setSecurityPolicy:\"security_po" - + "licy_reference_resource\022\326\002\n\022TestIamPermi" - + "ssions\022F.google.cloud.compute.v1.TestIam" - + "PermissionsRegionBackendServiceRequest\0320" - + ".google.cloud.compute.v1.TestPermissions" - + "Response\"\305\001\332A9project,region,resource,te" - + "st_permissions_request_resource\202\323\344\223\002\202\001\"]" + + "es/{backend_service}\022\343\001\n\003Get\0227.google.cl" + + "oud.compute.v1.GetRegionBackendServiceRe" + + "quest\032\'.google.cloud.compute.v1.BackendS" + + "ervice\"z\332A\036project,region,backend_servic" + + "e\202\323\344\223\002S\022Q/compute/v1/projects/{project}/" + + "regions/{region}/backendServices/{backen" + + "d_service}\022\313\002\n\tGetHealth\022=.google.cloud." + + "compute.v1.GetHealthRegionBackendService" + + "Request\0322.google.cloud.compute.v1.Backen" + + "dServiceGroupHealth\"\312\001\332A@project,region," + + "backend_service,resource_group_reference" + + "_resource\202\323\344\223\002\200\001\"[/compute/v1/projects/{" + + "project}/regions/{region}/backendService" + + "s/{backend_service}/getHealth:!resource_" + + "group_reference_resource\022\354\001\n\014GetIamPolic" + + "y\022@.google.cloud.compute.v1.GetIamPolicy" + + "RegionBackendServiceRequest\032\037.google.clo" + + "ud.compute.v1.Policy\"y\332A\027project,region," + + "resource\202\323\344\223\002Y\022W/compute/v1/projects/{pr" + + "oject}/regions/{region}/backendServices/" + + "{resource}/getIamPolicy\022\211\002\n\006Insert\022:.goo" + + "gle.cloud.compute.v1.InsertRegionBackend" + + "ServiceRequest\032\".google.cloud.compute.v1" + + ".Operation\"\236\001\332A\'project,region,backend_s" + + "ervice_resource\212N\020RegionOperations\202\323\344\223\002[" + + "\"?/compute/v1/projects/{project}/regions" + + "/{region}/backendServices:\030backend_servi" + + "ce_resource\022\310\001\n\004List\0229.google.cloud.comp" + + "ute.v1.ListRegionBackendServicesRequest\032" + + "+.google.cloud.compute.v1.BackendService" + + "List\"X\332A\016project,region\202\323\344\223\002A\022?/compute/" + + "v1/projects/{project}/regions/{region}/b" + + "ackendServices\022\345\001\n\nListUsable\022?.google.c" + + "loud.compute.v1.ListUsableRegionBackendS" + + "ervicesRequest\0321.google.cloud.compute.v1" + + ".BackendServiceListUsable\"c\332A\016project,re" + + "gion\202\323\344\223\002L\022J/compute/v1/projects/{projec" + + "t}/regions/{region}/backendServices/list" + + "Usable\022\251\002\n\005Patch\0229.google.cloud.compute." + + "v1.PatchRegionBackendServiceRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\300\001\332A7pro" + + "ject,region,backend_service,backend_serv" + + "ice_resource\212N\020RegionOperations\202\323\344\223\002m2Q/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/backendServices/{backend_service}" + + ":\030backend_service_resource\022\264\002\n\014SetIamPol" + + "icy\022@.google.cloud.compute.v1.SetIamPoli" + + "cyRegionBackendServiceRequest\032\037.google.c" + + "loud.compute.v1.Policy\"\300\001\332A:project,regi" + + "on,resource,region_set_policy_request_re" + + "source\202\323\344\223\002}\"W/compute/v1/projects/{proj" + + "ect}/regions/{region}/backendServices/{r" + + "esource}/setIamPolicy:\"region_set_policy" + + "_request_resource\022\350\002\n\021SetSecurityPolicy\022" + + "E.google.cloud.compute.v1.SetSecurityPol" + + "icyRegionBackendServiceRequest\032\".google." + + "cloud.compute.v1.Operation\"\347\001\332AAproject," + + "region,backend_service,security_policy_r" + + "eference_resource\212N\020RegionOperations\202\323\344\223" + + "\002\211\001\"c/compute/v1/projects/{project}/regi" + + "ons/{region}/backendServices/{backend_se" + + "rvice}/setSecurityPolicy:\"security_polic" + + "y_reference_resource\022\326\002\n\022TestIamPermissi" + + "ons\022F.google.cloud.compute.v1.TestIamPer" + + "missionsRegionBackendServiceRequest\0320.go" + + "ogle.cloud.compute.v1.TestPermissionsRes" + + "ponse\"\305\001\332A9project,region,resource,test_" + + "permissions_request_resource\202\323\344\223\002\202\001\"]/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/backendServices/{resource}/testIamP" + + "ermissions:!test_permissions_request_res" + + "ource\022\253\002\n\006Update\022:.google.cloud.compute." + + "v1.UpdateRegionBackendServiceRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\300\001\332A7pr" + + "oject,region,backend_service,backend_ser" + + "vice_resource\212N\020RegionOperations\202\323\344\223\002m\032Q" + "/compute/v1/projects/{project}/regions/{" - + "region}/backendServices/{resource}/testI" - + "amPermissions:!test_permissions_request_" - + "resource\022\253\002\n\006Update\022:.google.cloud.compu" - + "te.v1.UpdateRegionBackendServiceRequest\032" - + "\".google.cloud.compute.v1.Operation\"\300\001\332A" - + "7project,region,backend_service,backend_" - + "service_resource\212N\020RegionOperations\202\323\344\223\002" - + "m\032Q/compute/v1/projects/{project}/region" - + "s/{region}/backendServices/{backend_serv" - + "ice}:\030backend_service_resource\032r\312A\026compu" - + "te.googleapis.com\322AVhttps://www.googleap" - + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\362\t\n\021RegionCom" - + "mitments\022\315\001\n\016AggregatedList\022?.google.clo" - + "ud.compute.v1.AggregatedListRegionCommit" - + "mentsRequest\0321.google.cloud.compute.v1.C" - + "ommitmentAggregatedList\"G\332A\007project\202\323\344\223\002" - + "7\0225/compute/v1/projects/{project}/aggreg" - + "ated/commitments\022\315\001\n\003Get\0223.google.cloud." - + "compute.v1.GetRegionCommitmentRequest\032#." - + "google.cloud.compute.v1.Commitment\"l\332A\031p" - + "roject,region,commitment\202\323\344\223\002J\022H/compute" - + "/v1/projects/{project}/regions/{region}/" - + "commitments/{commitment}\022\367\001\n\006Insert\0226.go" - + "ogle.cloud.compute.v1.InsertRegionCommit" - + "mentRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\220\001\332A\"project,region,commitment_r" - + "esource\212N\020RegionOperations\202\323\344\223\002R\";/compu" + + "region}/backendServices/{backend_service" + + "}:\030backend_service_resource\032r\312A\026compute." + + "googleapis.com\322AVhttps://www.googleapis." + + "com/auth/compute,https://www.googleapis." + + "com/auth/cloud-platform2\362\t\n\021RegionCommit" + + "ments\022\315\001\n\016AggregatedList\022?.google.cloud." + + "compute.v1.AggregatedListRegionCommitmen" + + "tsRequest\0321.google.cloud.compute.v1.Comm" + + "itmentAggregatedList\"G\332A\007project\202\323\344\223\0027\0225" + + "/compute/v1/projects/{project}/aggregate" + + "d/commitments\022\315\001\n\003Get\0223.google.cloud.com" + + "pute.v1.GetRegionCommitmentRequest\032#.goo" + + "gle.cloud.compute.v1.Commitment\"l\332A\031proj" + + "ect,region,commitment\202\323\344\223\002J\022H/compute/v1" + + "/projects/{project}/regions/{region}/com" + + "mitments/{commitment}\022\367\001\n\006Insert\0226.googl" + + "e.cloud.compute.v1.InsertRegionCommitmen" + + "tRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\220\001\332A\"project,region,commitment_reso" + + "urce\212N\020RegionOperations\202\323\344\223\002R\";/compute/" + + "v1/projects/{project}/regions/{region}/c" + + "ommitments:\023commitment_resource\022\274\001\n\004List" + + "\0225.google.cloud.compute.v1.ListRegionCom" + + "mitmentsRequest\032\'.google.cloud.compute.v" + + "1.CommitmentList\"T\332A\016project,region\202\323\344\223\002" + + "=\022;/compute/v1/projects/{project}/region" + + "s/{region}/commitments\022\217\002\n\006Update\0226.goog" + + "le.cloud.compute.v1.UpdateRegionCommitme" + + "ntRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\250\001\332A-project,region,commitment,com" + + "mitment_resource\212N\020RegionOperations\202\323\344\223\002" + + "_2H/compute/v1/projects/{project}/region" + + "s/{region}/commitments/{commitment}:\023com" + + "mitment_resource\032r\312A\026compute.googleapis." + + "com\322AVhttps://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\277\004\n\017RegionDiskTypes\022\305\001\n\003Get" + + "\0221.google.cloud.compute.v1.GetRegionDisk" + + "TypeRequest\032!.google.cloud.compute.v1.Di" + + "skType\"h\332A\030project,region,disk_type\202\323\344\223\002" + + "G\022E/compute/v1/projects/{project}/region" + + "s/{region}/diskTypes/{disk_type}\022\274\001\n\004Lis" + + "t\0223.google.cloud.compute.v1.ListRegionDi" + + "skTypesRequest\032+.google.cloud.compute.v1" + + ".RegionDiskTypeList\"R\332A\016project,region\202\323" + + "\344\223\002;\0229/compute/v1/projects/{project}/reg" + + "ions/{region}/diskTypes\032\244\001\312A\026compute.goo" + + "gleapis.com\322A\207\001https://www.googleapis.co" + + "m/auth/compute.readonly,https://www.goog" + + "leapis.com/auth/compute,https://www.goog" + + "leapis.com/auth/cloud-platform2\217&\n\013Regio" + + "nDisks\022\346\002\n\023AddResourcePolicies\022=.google." + + "cloud.compute.v1.AddResourcePoliciesRegi" + + "onDiskRequest\032\".google.cloud.compute.v1." + + "Operation\"\353\001\332AGproject,region,disk,regio" + + "n_disks_add_resource_policies_request_re" + + "source\212N\020RegionOperations\202\323\344\223\002\207\001\"P/compu" + "te/v1/projects/{project}/regions/{region" - + "}/commitments:\023commitment_resource\022\274\001\n\004L" - + "ist\0225.google.cloud.compute.v1.ListRegion" - + "CommitmentsRequest\032\'.google.cloud.comput" - + "e.v1.CommitmentList\"T\332A\016project,region\202\323" - + "\344\223\002=\022;/compute/v1/projects/{project}/reg" - + "ions/{region}/commitments\022\217\002\n\006Update\0226.g" - + "oogle.cloud.compute.v1.UpdateRegionCommi" - + "tmentRequest\032\".google.cloud.compute.v1.O" - + "peration\"\250\001\332A-project,region,commitment," - + "commitment_resource\212N\020RegionOperations\202\323" - + "\344\223\002_2H/compute/v1/projects/{project}/reg" - + "ions/{region}/commitments/{commitment}:\023" - + "commitment_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\277\004\n\017RegionDiskTypes\022\305\001\n\003" - + "Get\0221.google.cloud.compute.v1.GetRegionD" - + "iskTypeRequest\032!.google.cloud.compute.v1" - + ".DiskType\"h\332A\030project,region,disk_type\202\323" - + "\344\223\002G\022E/compute/v1/projects/{project}/reg" - + "ions/{region}/diskTypes/{disk_type}\022\274\001\n\004" - + "List\0223.google.cloud.compute.v1.ListRegio" - + "nDiskTypesRequest\032+.google.cloud.compute" - + ".v1.RegionDiskTypeList\"R\332A\016project,regio" - + "n\202\323\344\223\002;\0229/compute/v1/projects/{project}/" - + "regions/{region}/diskTypes\032\244\001\312A\026compute." - + "googleapis.com\322A\207\001https://www.googleapis" - + ".com/auth/compute.readonly,https://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\217&\n\013Re" - + "gionDisks\022\346\002\n\023AddResourcePolicies\022=.goog" - + "le.cloud.compute.v1.AddResourcePoliciesR" - + "egionDiskRequest\032\".google.cloud.compute." - + "v1.Operation\"\353\001\332AGproject,region,disk,re" - + "gion_disks_add_resource_policies_request" - + "_resource\212N\020RegionOperations\202\323\344\223\002\207\001\"P/co" - + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/disks/{disk}/addResourcePolicies:3r" - + "egion_disks_add_resource_policies_reques" - + "t_resource\022\234\002\n\nBulkInsert\0224.google.cloud" - + ".compute.v1.BulkInsertRegionDiskRequest\032" - + "\".google.cloud.compute.v1.Operation\"\263\001\332A" - + "1project,region,bulk_insert_disk_resourc" - + "e_resource\212N\020RegionOperations\202\323\344\223\002f\"@/co" + + "}/disks/{disk}/addResourcePolicies:3regi" + + "on_disks_add_resource_policies_request_r" + + "esource\022\234\002\n\nBulkInsert\0224.google.cloud.co" + + "mpute.v1.BulkInsertRegionDiskRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\263\001\332A1pr" + + "oject,region,bulk_insert_disk_resource_r" + + "esource\212N\020RegionOperations\202\323\344\223\002f\"@/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/disks/bulkInsert:\"bulk_insert_disk_res" + + "ource_resource\022\222\002\n\016CreateSnapshot\0228.goog" + + "le.cloud.compute.v1.CreateSnapshotRegion" + + "DiskRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\241\001\332A%project,region,disk,snapsho" + + "t_resource\212N\020RegionOperations\202\323\344\223\002`\"K/co" + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/disks/bulkInsert:\"bulk_insert_disk_" - + "resource_resource\022\222\002\n\016CreateSnapshot\0228.g" - + "oogle.cloud.compute.v1.CreateSnapshotReg" - + "ionDiskRequest\032\".google.cloud.compute.v1" - + ".Operation\"\241\001\332A%project,region,disk,snap" - + "shot_resource\212N\020RegionOperations\202\323\344\223\002`\"K" - + "/compute/v1/projects/{project}/regions/{" - + "region}/disks/{disk}/createSnapshot:\021sna" - + "pshot_resource\022\315\001\n\006Delete\0220.google.cloud" - + ".compute.v1.DeleteRegionDiskRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"m\332A\023proj" - + "ect,region,disk\212N\020RegionOperations\202\323\344\223\002>" - + "*\022.go" - + "ogle.cloud.compute.v1.StopAsyncReplicati" - + "onRegionDiskRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\202\001\332A\023project,region,disk" - + "\212N\020RegionOperations\202\323\344\223\002S\"Q/compute/v1/p" - + "rojects/{project}/regions/{region}/disks" - + "/{disk}/stopAsyncReplication\022\356\002\n\031StopGro" - + "upAsyncReplication\022C.google.cloud.comput" - + "e.v1.StopGroupAsyncReplicationRegionDisk" + + "ion}/disks/{disk}/createSnapshot:\021snapsh" + + "ot_resource\022\315\001\n\006Delete\0220.google.cloud.co" + + "mpute.v1.DeleteRegionDiskRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"m\332A\023project" + + ",region,disk\212N\020RegionOperations\202\323\344\223\002>*\022.g" - + "oogle.cloud.compute.v1.DeleteRegionHealt" - + "hCheckServiceRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\233\001\332A#project,region,hea" - + "lth_check_service\212N\020RegionOperations\202\323\344\223" - + "\002\\*Z/compute/v1/projects/{project}/regio" - + "ns/{region}/healthCheckServices/{health_" - + "check_service}\022\372\001\n\003Get\022;.google.cloud.co" - + "mpute.v1.GetRegionHealthCheckServiceRequ" - + "est\032+.google.cloud.compute.v1.HealthChec" - + "kService\"\210\001\332A#project,region,health_chec" - + "k_service\202\323\344\223\002\\\022Z/compute/v1/projects/{p" - + "roject}/regions/{region}/healthCheckServ" - + "ices/{health_check_service}\022\233\002\n\006Insert\022>" - + ".google.cloud.compute.v1.InsertRegionHea" - + "lthCheckServiceRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\254\001\332A,project,region,h" - + "ealth_check_service_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002d\"C/compute/v1/projects/{pro" - + "ject}/regions/{region}/healthCheckServic" - + "es:\035health_check_service_resource\022\325\001\n\004Li" - + "st\022=.google.cloud.compute.v1.ListRegionH" - + "ealthCheckServicesRequest\0320.google.cloud" - + ".compute.v1.HealthCheckServicesList\"\\\332A\016" - + "project,region\202\323\344\223\002E\022C/compute/v1/projec" - + "ts/{project}/regions/{region}/healthChec" - + "kServices\022\305\002\n\005Patch\022=.google.cloud.compu" - + "te.v1.PatchRegionHealthCheckServiceReque" - + "st\032\".google.cloud.compute.v1.Operation\"\330" - + "\001\332AAproject,region,health_check_service," - + "health_check_service_resource\212N\020RegionOp" - + "erations\202\323\344\223\002{2Z/compute/v1/projects/{pr" - + "oject}/regions/{region}/healthCheckServi" - + "ces/{health_check_service}:\035health_check" - + "_service_resource\032r\312A\026compute.googleapis" - + ".com\322AVhttps://www.googleapis.com/auth/c" - + "ompute,https://www.googleapis.com/auth/c" - + "loud-platform2\306\014\n\022RegionHealthChecks\022\354\001\n" - + "\006Delete\0227.google.cloud.compute.v1.Delete" - + "RegionHealthCheckRequest\032\".google.cloud." - + "compute.v1.Operation\"\204\001\332A\033project,region" - + ",health_check\212N\020RegionOperations\202\323\344\223\002M*K" - + "/compute/v1/projects/{project}/regions/{" - + "region}/healthChecks/{health_check}\022\324\001\n\003" - + "Get\0224.google.cloud.compute.v1.GetRegionH" - + "ealthCheckRequest\032$.google.cloud.compute", - ".v1.HealthCheck\"q\332A\033project,region,healt" - + "h_check\202\323\344\223\002M\022K/compute/v1/projects/{pro" - + "ject}/regions/{region}/healthChecks/{hea" - + "lth_check}\022\375\001\n\006Insert\0227.google.cloud.com" - + "pute.v1.InsertRegionHealthCheckRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\225\001\332A$" - + "project,region,health_check_resource\212N\020R" - + "egionOperations\202\323\344\223\002U\"\022<" + + "ion\"\361\001\332AIproject,region,disk,region_disk" + + "s_start_async_replication_request_resour" + + "ce\212N\020RegionOperations\202\323\344\223\002\213\001\"R/compute/v" + + "1/projects/{project}/regions/{region}/di" + + "sks/{disk}/startAsyncReplication:5region" + + "_disks_start_async_replication_request_r" + + "esource\022\377\001\n\024StopAsyncReplication\022>.googl" + + "e.cloud.compute.v1.StopAsyncReplicationR" + + "egionDiskRequest\032\".google.cloud.compute." + + "v1.Operation\"\202\001\332A\023project,region,disk\212N\020" + + "RegionOperations\202\323\344\223\002S\"Q/compute/v1/proj" + + "ects/{project}/regions/{region}/disks/{d" + + "isk}/stopAsyncReplication\022\356\002\n\031StopGroupA" + + "syncReplication\022C.google.cloud.compute.v" + + "1.StopGroupAsyncReplicationRegionDiskReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\347\001\332ACproject,region,disks_stop_group_as" + + "ync_replication_resource_resource\212N\020Regi" + + "onOperations\202\323\344\223\002\207\001\"O/compute/v1/project" + + "s/{project}/regions/{region}/disks/stopG" + + "roupAsyncReplication:4disks_stop_group_a" + + "sync_replication_resource_resource\022\301\002\n\022T" + + "estIamPermissions\022<.google.cloud.compute" + + ".v1.TestIamPermissionsRegionDiskRequest\032" + + "0.google.cloud.compute.v1.TestPermission" + + "sResponse\"\272\001\332A9project,region,resource,t" + + "est_permissions_request_resource\202\323\344\223\002x\"S" + "/compute/v1/projects/{project}/regions/{" - + "region}/healthChecks\022\227\002\n\005Patch\0226.google." - + "cloud.compute.v1.PatchRegionHealthCheckR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\261\001\332A1project,region,health_check,heal" - + "th_check_resource\212N\020RegionOperations\202\323\344\223" - + "\002d2K/compute/v1/projects/{project}/regio" - + "ns/{region}/healthChecks/{health_check}:" - + "\025health_check_resource\022\231\002\n\006Update\0227.goog" - + "le.cloud.compute.v1.UpdateRegionHealthCh" - + "eckRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\261\001\332A1project,region,health_check," - + "health_check_resource\212N\020RegionOperations" - + "\202\323\344\223\002d\032K/compute/v1/projects/{project}/r" - + "egions/{region}/healthChecks/{health_che" - + "ck}:\025health_check_resource\032r\312A\026compute.g" - + "oogleapis.com\322AVhttps://www.googleapis.c" - + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\264G\n\033RegionInstanc" - + "eGroupManagers\022\275\003\n\020AbandonInstances\022J.go" - + "ogle.cloud.compute.v1.AbandonInstancesRe" - + "gionInstanceGroupManagerRequest\032\".google" - + ".cloud.compute.v1.Operation\"\270\002\332Agproject" - + ",region,instance_group_manager,region_in" - + "stance_group_managers_abandon_instances_" - + "request_resource\212N\020RegionOperations\202\323\344\223\002" - + "\264\001\"o/compute/v1/projects/{project}/regio" - + "ns/{region}/instanceGroupManagers/{insta" - + "nce_group_manager}/abandonInstances:Areg" - + "ion_instance_group_managers_abandon_inst" - + "ances_request_resource\022\312\003\n\027ApplyUpdatesT" - + "oInstances\022Q.google.cloud.compute.v1.App" - + "lyUpdatesToInstancesRegionInstanceGroupM" - + "anagerRequest\032\".google.cloud.compute.v1." - + "Operation\"\267\002\332Acproject,region,instance_g" - + "roup_manager,region_instance_group_manag" - + "ers_apply_updates_request_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002\267\001\"v/compute/v1/projec" - + "ts/{project}/regions/{region}/instanceGr" - + "oupManagers/{instance_group_manager}/app" - + "lyUpdatesToInstances:=region_instance_gr" - + "oup_managers_apply_updates_request_resou" - + "rce\022\270\003\n\017CreateInstances\022I.google.cloud.c" - + "ompute.v1.CreateInstancesRegionInstanceG" - + "roupManagerRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\265\002\332Afproject,region,insta" - + "nce_group_manager,region_instance_group_" - + "managers_create_instances_request_resour" - + "ce\212N\020RegionOperations\202\323\344\223\002\262\001\"n/compute/v" - + "1/projects/{project}/regions/{region}/in" - + "stanceGroupManagers/{instance_group_mana" - + "ger}/createInstances:@region_instance_gr" - + "oup_managers_create_instances_request_re" - + "source\022\222\002\n\006Delete\022@.google.cloud.compute" - + ".v1.DeleteRegionInstanceGroupManagerRequ" + + "region}/disks/{resource}/testIamPermissi" + + "ons:!test_permissions_request_resource\022\353" + + "\001\n\006Update\0220.google.cloud.compute.v1.Upda" + + "teRegionDiskRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\212\001\332A!project,region,disk" + + ",disk_resource\212N\020RegionOperations\202\323\344\223\002M2" + + ".goog" + + "le.cloud.compute.v1.DeleteRegionHealthCh" + + "eckServiceRequest\032\".google.cloud.compute" + + ".v1.Operation\"\233\001\332A#project,region,health" + + "_check_service\212N\020RegionOperations\202\323\344\223\002\\*" + + "Z/compute/v1/projects/{project}/regions/" + + "{region}/healthCheckServices/{health_che" + + "ck_service}\022\372\001\n\003Get\022;.google.cloud.compu", + "te.v1.GetRegionHealthCheckServiceRequest" + + "\032+.google.cloud.compute.v1.HealthCheckSe" + + "rvice\"\210\001\332A#project,region,health_check_s" + + "ervice\202\323\344\223\002\\\022Z/compute/v1/projects/{proj" + + "ect}/regions/{region}/healthCheckService" + + "s/{health_check_service}\022\233\002\n\006Insert\022>.go" + + "ogle.cloud.compute.v1.InsertRegionHealth" + + "CheckServiceRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\254\001\332A,project,region,heal" + + "th_check_service_resource\212N\020RegionOperat" + + "ions\202\323\344\223\002d\"C/compute/v1/projects/{projec" + + "t}/regions/{region}/healthCheckServices:" + + "\035health_check_service_resource\022\325\001\n\004List\022" + + "=.google.cloud.compute.v1.ListRegionHeal" + + "thCheckServicesRequest\0320.google.cloud.co" + + "mpute.v1.HealthCheckServicesList\"\\\332A\016pro" + + "ject,region\202\323\344\223\002E\022C/compute/v1/projects/" + + "{project}/regions/{region}/healthCheckSe" + + "rvices\022\305\002\n\005Patch\022=.google.cloud.compute." + + "v1.PatchRegionHealthCheckServiceRequest\032" + + "\".google.cloud.compute.v1.Operation\"\330\001\332A" + + "Aproject,region,health_check_service,hea" + + "lth_check_service_resource\212N\020RegionOpera" + + "tions\202\323\344\223\002{2Z/compute/v1/projects/{proje" + + "ct}/regions/{region}/healthCheckServices" + + "/{health_check_service}:\035health_check_se" + + "rvice_resource\032r\312A\026compute.googleapis.co" + + "m\322AVhttps://www.googleapis.com/auth/comp" + + "ute,https://www.googleapis.com/auth/clou" + + "d-platform2\306\014\n\022RegionHealthChecks\022\354\001\n\006De" + + "lete\0227.google.cloud.compute.v1.DeleteReg" + + "ionHealthCheckRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\204\001\332A\033project,region,he" + + "alth_check\212N\020RegionOperations\202\323\344\223\002M*K/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/healthChecks/{health_check}\022\324\001\n\003Get" + + "\0224.google.cloud.compute.v1.GetRegionHeal" + + "thCheckRequest\032$.google.cloud.compute.v1" + + ".HealthCheck\"q\332A\033project,region,health_c" + + "heck\202\323\344\223\002M\022K/compute/v1/projects/{projec" + + "t}/regions/{region}/healthChecks/{health" + + "_check}\022\375\001\n\006Insert\0227.google.cloud.comput" + + "e.v1.InsertRegionHealthCheckRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\225\001\332A$pro" + + "ject,region,health_check_resource\212N\020Regi" + + "onOperations\202\323\344\223\002U\"\022region_instan" - + "ce_group_managers_stop_instances_request" - + "_resource\022\275\003\n\020SuspendInstances\022J.google." - + "cloud.compute.v1.SuspendInstancesRegionI" - + "nstanceGroupManagerRequest\032\".google.clou" - + "d.compute.v1.Operation\"\270\002\332Agproject,regi" - + "on,instance_group_manager,region_instanc" - + "e_group_managers_suspend_instances_reque" - + "st_resource\212N\020RegionOperations\202\323\344\223\002\264\001\"o/" + + "equest_resource\022\263\003\n\016StartInstances\022H.goo" + + "gle.cloud.compute.v1.StartInstancesRegio" + + "nInstanceGroupManagerRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\262\002\332Aeproject,re" + + "gion,instance_group_manager,region_insta" + + "nce_group_managers_start_instances_reque" + + "st_resource\212N\020RegionOperations\202\323\344\223\002\260\001\"m/" + "compute/v1/projects/{project}/regions/{r" + "egion}/instanceGroupManagers/{instance_g" - + "roup_manager}/suspendInstances:Aregion_i" - + "nstance_group_managers_suspend_instances" - + "_request_resource\022\325\003\n\030UpdatePerInstanceC" - + "onfigs\022R.google.cloud.compute.v1.UpdateP" - + "erInstanceConfigsRegionInstanceGroupMana" - + "gerRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\300\002\332Agproject,region,instance_grou" - + "p_manager,region_instance_group_manager_" - + "update_instance_config_req_resource\212N\020Re" - + "gionOperations\202\323\344\223\002\274\001\"w/compute/v1/proje" - + "cts/{project}/regions/{region}/instanceG" - + "roupManagers/{instance_group_manager}/up" - + "datePerInstanceConfigs:Aregion_instance_" - + "group_manager_update_instance_config_req" + + "roup_manager}/startInstances:?region_ins" + + "tance_group_managers_start_instances_req" + + "uest_resource\022\256\003\n\rStopInstances\022G.google" + + ".cloud.compute.v1.StopInstancesRegionIns" + + "tanceGroupManagerRequest\032\".google.cloud." + + "compute.v1.Operation\"\257\002\332Adproject,region" + + ",instance_group_manager,region_instance_" + + "group_managers_stop_instances_request_re" + + "source\212N\020RegionOperations\202\323\344\223\002\256\001\"l/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/instanceGroupManagers/{instance_group_" + + "manager}/stopInstances:>region_instance_" + + "group_managers_stop_instances_request_re" + + "source\022\275\003\n\020SuspendInstances\022J.google.clo" + + "ud.compute.v1.SuspendInstancesRegionInst" + + "anceGroupManagerRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\270\002\332Agproject,region," + + "instance_group_manager,region_instance_g" + + "roup_managers_suspend_instances_request_" + + "resource\212N\020RegionOperations\202\323\344\223\002\264\001\"o/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/instanceGroupManagers/{instance_grou" + + "p_manager}/suspendInstances:Aregion_inst" + + "ance_group_managers_suspend_instances_re" + + "quest_resource\022\325\003\n\030UpdatePerInstanceConf" + + "igs\022R.google.cloud.compute.v1.UpdatePerI" + + "nstanceConfigsRegionInstanceGroupManager" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\300\002\332Agproject,region,instance_group_m" + + "anager,region_instance_group_manager_upd" + + "ate_instance_config_req_resource\212N\020Regio" + + "nOperations\202\323\344\223\002\274\001\"w/compute/v1/projects" + + "/{project}/regions/{region}/instanceGrou" + + "pManagers/{instance_group_manager}/updat" + + "ePerInstanceConfigs:Aregion_instance_gro" + + "up_manager_update_instance_config_req_re" + + "source\032r\312A\026compute.googleapis.com\322AVhttp" + + "s://www.googleapis.com/auth/compute,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\236\r\n\024RegionInstanceGroups\022\336\001\n\003Get\0226.go" + + "ogle.cloud.compute.v1.GetRegionInstanceG" + + "roupRequest\032&.google.cloud.compute.v1.In" + + "stanceGroup\"w\332A\035project,region,instance_" + + "group\202\323\344\223\002Q\022O/compute/v1/projects/{proje" + + "ct}/regions/{region}/instanceGroups/{ins" + + "tance_group}\022\313\001\n\004List\0228.google.cloud.com" + + "pute.v1.ListRegionInstanceGroupsRequest\032" + + "0.google.cloud.compute.v1.RegionInstance" + + "GroupList\"W\332A\016project,region\202\323\344\223\002@\022>/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/instanceGroups\022\206\003\n\rListInstances\022A.g" + + "oogle.cloud.compute.v1.ListInstancesRegi" + + "onInstanceGroupsRequest\032:.google.cloud.c" + + "ompute.v1.RegionInstanceGroupsListInstan" + + "ces\"\365\001\332ATproject,region,instance_group,r" + + "egion_instance_groups_list_instances_req" + + "uest_resource\202\323\344\223\002\227\001\"]/compute/v1/projec" + + "ts/{project}/regions/{region}/instanceGr" + + "oups/{instance_group}/listInstances:6reg" + + "ion_instance_groups_list_instances_reque" + + "st_resource\022\202\003\n\rSetNamedPorts\022@.google.c" + + "loud.compute.v1.SetNamedPortsRegionInsta" + + "nceGroupRequest\032\".google.cloud.compute.v" + + "1.Operation\"\212\002\332AUproject,region,instance" + + "_group,region_instance_groups_set_named_" + + "ports_request_resource\212N\020RegionOperation" + + "s\202\323\344\223\002\230\001\"]/compute/v1/projects/{project}" + + "/regions/{region}/instanceGroups/{instan" + + "ce_group}/setNamedPorts:7region_instance" + + "_groups_set_named_ports_request_resource" + + "\022\324\002\n\022TestIamPermissions\022E.google.cloud.c" + + "ompute.v1.TestIamPermissionsRegionInstan" + + "ceGroupRequest\0320.google.cloud.compute.v1" + + ".TestPermissionsResponse\"\304\001\332A9project,re" + + "gion,resource,test_permissions_request_r" + + "esource\202\323\344\223\002\201\001\"\\/compute/v1/projects/{pr" + + "oject}/regions/{region}/instanceGroups/{" + + "resource}/testIamPermissions:!test_permi" + + "ssions_request_resource\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\346\010\n\027RegionInstanceTe" + + "mplates\022\200\002\n\006Delete\022<.google.cloud.comput" + + "e.v1.DeleteRegionInstanceTemplateRequest" + + "\032\".google.cloud.compute.v1.Operation\"\223\001\332" + + "A project,region,instance_template\212N\020Reg" + + "ionOperations\202\323\344\223\002W*U/compute/v1/project" + + "s/{project}/regions/{region}/instanceTem" + + "plates/{instance_template}\022\356\001\n\003Get\0229.goo" + + "gle.cloud.compute.v1.GetRegionInstanceTe" + + "mplateRequest\032).google.cloud.compute.v1." + + "InstanceTemplate\"\200\001\332A project,region,ins" + + "tance_template\202\323\344\223\002W\022U/compute/v1/projec" + + "ts/{project}/regions/{region}/instanceTe" + + "mplates/{instance_template}\022\221\002\n\006Insert\022<" + + ".google.cloud.compute.v1.InsertRegionIns" + + "tanceTemplateRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\244\001\332A)project,region,ins" + + "tance_template_resource\212N\020RegionOperatio" + + "ns\202\323\344\223\002_\"A/compute/v1/projects/{project}" + + "/regions/{region}/instanceTemplates:\032ins" + + "tance_template_resource\022\316\001\n\004List\022;.googl" + + "e.cloud.compute.v1.ListRegionInstanceTem" + + "platesRequest\032-.google.cloud.compute.v1." + + "InstanceTemplateList\"Z\332A\016project,region\202" + + "\323\344\223\002C\022A/compute/v1/projects/{project}/re" + + "gions/{region}/instanceTemplates\032r\312A\026com" + + "pute.googleapis.com\322AVhttps://www.google" + + "apis.com/auth/compute,https://www.google" + + "apis.com/auth/cloud-platform2\264\003\n\017RegionI" + + "nstances\022\254\002\n\nBulkInsert\0228.google.cloud.c" + + "ompute.v1.BulkInsertRegionInstanceReques" + + "t\032\".google.cloud.compute.v1.Operation\"\277\001" + + "\332A5project,region,bulk_insert_instance_r" + + "esource_resource\212N\020RegionOperations\202\323\344\223\002" + + "n\"D/compute/v1/projects/{project}/region" + + "s/{region}/instances/bulkInsert:&bulk_in" + + "sert_instance_resource_resource\032r\312A\026comp" + + "ute.googleapis.com\322AVhttps://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\237\022\n\026RegionIn" + + "stantSnapshots\022\374\001\n\006Delete\022;.google.cloud" + + ".compute.v1.DeleteRegionInstantSnapshotR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\220\001\332A\037project,region,instant_snapshot\212" + + "N\020RegionOperations\202\323\344\223\002U*S/compute/v1/pr" + + "ojects/{project}/regions/{region}/instan" + + "tSnapshots/{instant_snapshot}\022\350\001\n\003Get\0228." + + "google.cloud.compute.v1.GetRegionInstant" + + "SnapshotRequest\032(.google.cloud.compute.v" + + "1.InstantSnapshot\"}\332A\037project,region,ins" + + "tant_snapshot\202\323\344\223\002U\022S/compute/v1/project" + + "s/{project}/regions/{region}/instantSnap" + + "shots/{instant_snapshot}\022\356\001\n\014GetIamPolic" + + "y\022A.google.cloud.compute.v1.GetIamPolicy" + + "RegionInstantSnapshotRequest\032\037.google.cl" + + "oud.compute.v1.Policy\"z\332A\027project,region" + + ",resource\202\323\344\223\002Z\022X/compute/v1/projects/{p" + + "roject}/regions/{region}/instantSnapshot" + + "s/{resource}/getIamPolicy\022\215\002\n\006Insert\022;.g" + + "oogle.cloud.compute.v1.InsertRegionInsta", + "ntSnapshotRequest\032\".google.cloud.compute" + + ".v1.Operation\"\241\001\332A(project,region,instan" + + "t_snapshot_resource\212N\020RegionOperations\202\323" + + "\344\223\002]\"@/compute/v1/projects/{project}/reg" + + "ions/{region}/instantSnapshots:\031instant_" + + "snapshot_resource\022\313\001\n\004List\022:.google.clou" + + "d.compute.v1.ListRegionInstantSnapshotsR" + + "equest\032,.google.cloud.compute.v1.Instant" + + "SnapshotList\"Y\332A\016project,region\202\323\344\223\002B\022@/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/instantSnapshots\022\266\002\n\014SetIamPolicy" + + "\022A.google.cloud.compute.v1.SetIamPolicyR" + + "egionInstantSnapshotRequest\032\037.google.clo" + + "ud.compute.v1.Policy\"\301\001\332A:project,region" + + ",resource,region_set_policy_request_reso" + + "urce\202\323\344\223\002~\"X/compute/v1/projects/{projec" + + "t}/regions/{region}/instantSnapshots/{re" + + "source}/setIamPolicy:\"region_set_policy_" + + "request_resource\022\303\002\n\tSetLabels\022>.google." + + "cloud.compute.v1.SetLabelsRegionInstantS" + + "napshotRequest\032\".google.cloud.compute.v1" + + ".Operation\"\321\001\332A:project,region,resource," + + "region_set_labels_request_resource\212N\020Reg" + + "ionOperations\202\323\344\223\002{\"U/compute/v1/project" + + "s/{project}/regions/{region}/instantSnap" + + "shots/{resource}/setLabels:\"region_set_l" + + "abels_request_resource\022\330\002\n\022TestIamPermis" + + "sions\022G.google.cloud.compute.v1.TestIamP" + + "ermissionsRegionInstantSnapshotRequest\0320" + + ".google.cloud.compute.v1.TestPermissions" + + "Response\"\306\001\332A9project,region,resource,te" + + "st_permissions_request_resource\202\323\344\223\002\203\001\"^" + + "/compute/v1/projects/{project}/regions/{" + + "region}/instantSnapshots/{resource}/test" + + "IamPermissions:!test_permissions_request" + "_resource\032r\312A\026compute.googleapis.com\322AVh" + "ttps://www.googleapis.com/auth/compute,h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\236\r\n\024RegionInstanceGroups\022\336\001\n\003Get\0226" - + ".google.cloud.compute.v1.GetRegionInstan" - + "ceGroupRequest\032&.google.cloud.compute.v1" - + ".InstanceGroup\"w\332A\035project,region,instan" - + "ce_group\202\323\344\223\002Q\022O/compute/v1/projects/{pr" - + "oject}/regions/{region}/instanceGroups/{" - + "instance_group}\022\313\001\n\004List\0228.google.cloud." - + "compute.v1.ListRegionInstanceGroupsReque" - + "st\0320.google.cloud.compute.v1.RegionInsta" - + "nceGroupList\"W\332A\016project,region\202\323\344\223\002@\022>/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/instanceGroups\022\206\003\n\rListInstances\022" - + "A.google.cloud.compute.v1.ListInstancesR" - + "egionInstanceGroupsRequest\032:.google.clou" - + "d.compute.v1.RegionInstanceGroupsListIns" - + "tances\"\365\001\332ATproject,region,instance_grou" - + "p,region_instance_groups_list_instances_" - + "request_resource\202\323\344\223\002\227\001\"]/compute/v1/pro" - + "jects/{project}/regions/{region}/instanc" - + "eGroups/{instance_group}/listInstances:6" - + "region_instance_groups_list_instances_re" - + "quest_resource\022\202\003\n\rSetNamedPorts\022@.googl" - + "e.cloud.compute.v1.SetNamedPortsRegionIn" - + "stanceGroupRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\212\002\332AUproject,region,insta" - + "nce_group,region_instance_groups_set_nam" - + "ed_ports_request_resource\212N\020RegionOperat" - + "ions\202\323\344\223\002\230\001\"]/compute/v1/projects/{proje" - + "ct}/regions/{region}/instanceGroups/{ins" - + "tance_group}/setNamedPorts:7region_insta" - + "nce_groups_set_named_ports_request_resou" - + "rce\022\324\002\n\022TestIamPermissions\022E.google.clou" - + "d.compute.v1.TestIamPermissionsRegionIns" - + "tanceGroupRequest\0320.google.cloud.compute" - + ".v1.TestPermissionsResponse\"\304\001\332A9project" - + ",region,resource,test_permissions_reques" - + "t_resource\202\323\344\223\002\201\001\"\\/compute/v1/projects/" - + "{project}/regions/{region}/instanceGroup" - + "s/{resource}/testIamPermissions:!test_pe" - + "rmissions_request_resource\032r\312A\026compute.g" - + "oogleapis.com\322AVhttps://www.googleapis.c" - + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\346\010\n\027RegionInstanc" - + "eTemplates\022\200\002\n\006Delete\022<.google.cloud.com" - + "pute.v1.DeleteRegionInstanceTemplateRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\223\001\332A project,region,instance_template\212N\020" - + "RegionOperations\202\323\344\223\002W*U/compute/v1/proj" - + "ects/{project}/regions/{region}/instance" - + "Templates/{instance_template}\022\356\001\n\003Get\0229." - + "google.cloud.compute.v1.GetRegionInstanc" - + "eTemplateRequest\032).google.cloud.compute." - + "v1.InstanceTemplate\"\200\001\332A project,region," - + "instance_template\202\323\344\223\002W\022U/compute/v1/pro" - + "jects/{project}/regions/{region}/instanc" - + "eTemplates/{instance_template}\022\221\002\n\006Inser" - + "t\022<.google.cloud.compute.v1.InsertRegion" - + "InstanceTemplateRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\244\001\332A)project,region," - + "instance_template_resource\212N\020RegionOpera" - + "tions\202\323\344\223\002_\"A/compute/v1/projects/{proje" - + "ct}/regions/{region}/instanceTemplates:\032" - + "instance_template_resource\022\316\001\n\004List\022;.go" - + "ogle.cloud.compute.v1.ListRegionInstance" - + "TemplatesRequest\032-.google.cloud.compute." - + "v1.InstanceTemplateList\"Z\332A\016project,regi" - + "on\202\323\344\223\002C\022A/compute/v1/projects/{project}" - + "/regions/{region}/instanceTemplates\032r\312A\026" - + "compute.googleapis.com\322AVhttps://www.goo" - + "gleapis.com/auth/compute,https://www.goo" - + "gleapis.com/auth/cloud-platform2\264\003\n\017Regi" - + "onInstances\022\254\002\n\nBulkInsert\0228.google.clou" - + "d.compute.v1.BulkInsertRegionInstanceReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\277\001\332A5project,region,bulk_insert_instanc" - + "e_resource_resource\212N\020RegionOperations\202\323" - + "\344\223\002n\"D/compute/v1/projects/{project}/reg" - + "ions/{region}/instances/bulkInsert:&bulk" - + "_insert_instance_resource_resource\032r\312A\026c" - + "ompute.googleapis.com\322AVhttps://www.goog" - + "leapis.com/auth/compute,https://www.goog" - + "leapis.com/auth/cloud-platform2\237\022\n\026Regio" - + "nInstantSnapshots\022\374\001\n\006Delete\022;.google.cl" - + "oud.compute.v1.DeleteRegionInstantSnapsh" - + "otRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\220\001\332A\037project,region,instant_snapsh" - + "ot\212N\020RegionOperations\202\323\344\223\002U*S/compute/v1" - + "/projects/{project}/regions/{region}/ins" - + "tantSnapshots/{instant_snapshot}\022\350\001\n\003Get" - + "\0228.google.cloud.compute.v1.GetRegionInst" - + "antSnapshotRequest\032(.google.cloud.comput" - + "e.v1.InstantSnapshot\"}\332A\037project,region," - + "instant_snapshot\202\323\344\223\002U\022S/compute/v1/proj" - + "ects/{project}/regions/{region}/instantS" - + "napshots/{instant_snapshot}\022\356\001\n\014GetIamPo" - + "licy\022A.google.cloud.compute.v1.GetIamPol" - + "icyRegionInstantSnapshotRequest\032\037.google" - + ".cloud.compute.v1.Policy\"z\332A\027project,reg" - + "ion,resource\202\323\344\223\002Z\022X/compute/v1/projects" - + "/{project}/regions/{region}/instantSnaps" - + "hots/{resource}/getIamPolicy\022\215\002\n\006Insert\022" - + ";.google.cloud.compute.v1.InsertRegionIn" - + "stantSnapshotRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\241\001\332A(project,region,ins" - + "tant_snapshot_resource\212N\020RegionOperation" - + "s\202\323\344\223\002]\"@/compute/v1/projects/{project}/" - + "regions/{region}/instantSnapshots:\031insta" - + "nt_snapshot_resource\022\313\001\n\004List\022:.google.c" - + "loud.compute.v1.ListRegionInstantSnapsho" - + "tsRequest\032,.google.cloud.compute.v1.Inst" - + "antSnapshotList\"Y\332A\016project,region\202\323\344\223\002B" - + "\022@/compute/v1/projects/{project}/regions" - + "/{region}/instantSnapshots\022\266\002\n\014SetIamPol" - + "icy\022A.google.cloud.compute.v1.SetIamPoli" - + "cyRegionInstantSnapshotRequest\032\037.google." - + "cloud.compute.v1.Policy\"\301\001\332A:project,reg" - + "ion,resource,region_set_policy_request_r" - + "esource\202\323\344\223\002~\"X/compute/v1/projects/{pro" - + "ject}/regions/{region}/instantSnapshots/" - + "{resource}/setIamPolicy:\"region_set_poli" - + "cy_request_resource\022\303\002\n\tSetLabels\022>.goog" - + "le.cloud.compute.v1.SetLabelsRegionInsta" - + "ntSnapshotRequest\032\".google.cloud.compute" - + ".v1.Operation\"\321\001\332A:project,region,resour" - + "ce,region_set_labels_request_resource\212N\020" - + "RegionOperations\202\323\344\223\002{\"U/compute/v1/proj" - + "ects/{project}/regions/{region}/instantS" - + "napshots/{resource}/setLabels:\"region_se" - + "t_labels_request_resource\022\330\002\n\022TestIamPer" - + "missions\022G.google.cloud.compute.v1.TestI" - + "amPermissionsRegionInstantSnapshotReques" - + "t\0320.google.cloud.compute.v1.TestPermissi" - + "onsResponse\"\306\001\332A9project,region,resource" - + ",test_permissions_request_resource\202\323\344\223\002\203" - + "\001\"^/compute/v1/projects/{project}/region" - + "s/{region}/instantSnapshots/{resource}/t" - + "estIamPermissions:!test_permissions_requ" - + "est_resource\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-", - "platform2\244\023\n\033RegionNetworkEndpointGroups" - + "\022\315\003\n\026AttachNetworkEndpoints\022P.google.clo" - + "ud.compute.v1.AttachNetworkEndpointsRegi" - + "onNetworkEndpointGroupRequest\032\".google.c" - + "loud.compute.v1.Operation\"\274\002\332Afproject,r" - + "egion,network_endpoint_group,region_netw" - + "ork_endpoint_groups_attach_endpoints_req" - + "uest_resource\212N\020RegionOperations\202\323\344\223\002\271\001\"" - + "u/compute/v1/projects/{project}/regions/" - + "{region}/networkEndpointGroups/{network_" - + "endpoint_group}/attachNetworkEndpoints:@" - + "region_network_endpoint_groups_attach_en" - + "dpoints_request_resource\022\222\002\n\006Delete\022@.go" - + "ogle.cloud.compute.v1.DeleteRegionNetwor" - + "kEndpointGroupRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\241\001\332A%project,region,ne" - + "twork_endpoint_group\212N\020RegionOperations\202" - + "\323\344\223\002`*^/compute/v1/projects/{project}/re" - + "gions/{region}/networkEndpointGroups/{ne" - + "twork_endpoint_group}\022\315\003\n\026DetachNetworkE" - + "ndpoints\022P.google.cloud.compute.v1.Detac" - + "hNetworkEndpointsRegionNetworkEndpointGr" - + "oupRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\274\002\332Afproject,region,network_endpo" - + "int_group,region_network_endpoint_groups" - + "_detach_endpoints_request_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002\271\001\"u/compute/v1/projec" - + "ts/{project}/regions/{region}/networkEnd" - + "pointGroups/{network_endpoint_group}/det" - + "achNetworkEndpoints:@region_network_endp" - + "oint_groups_detach_endpoints_request_res" - + "ource\022\204\002\n\003Get\022=.google.cloud.compute.v1." - + "GetRegionNetworkEndpointGroupRequest\032-.g" - + "oogle.cloud.compute.v1.NetworkEndpointGr" - + "oup\"\216\001\332A%project,region,network_endpoint" - + "_group\202\323\344\223\002`\022^/compute/v1/projects/{proj" - + "ect}/regions/{region}/networkEndpointGro" - + "ups/{network_endpoint_group}\022\243\002\n\006Insert\022" - + "@.google.cloud.compute.v1.InsertRegionNe" - + "tworkEndpointGroupRequest\032\".google.cloud" - + ".compute.v1.Operation\"\262\001\332A.project,regio" - + "n,network_endpoint_group_resource\212N\020Regi" - + "onOperations\202\323\344\223\002h\"E/compute/v1/projects" - + "/{project}/regions/{region}/networkEndpo" - + "intGroups:\037network_endpoint_group_resour" - + "ce\022\332\001\n\004List\022?.google.cloud.compute.v1.Li" - + "stRegionNetworkEndpointGroupsRequest\0321.g" - + "oogle.cloud.compute.v1.NetworkEndpointGr" - + "oupList\"^\332A\016project,region\202\323\344\223\002G\022E/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/networkEndpointGroups\022\321\002\n\024ListNetworkE" - + "ndpoints\022O.google.cloud.compute.v1.ListN" - + "etworkEndpointsRegionNetworkEndpointGrou" - + "psRequest\032B.google.cloud.compute.v1.Netw" - + "orkEndpointGroupsListNetworkEndpoints\"\243\001" - + "\332A%project,region,network_endpoint_group" - + "\202\323\344\223\002u\"s/compute/v1/projects/{project}/r" - + "egions/{region}/networkEndpointGroups/{n" - + "etwork_endpoint_group}/listNetworkEndpoi" - + "nts\032r\312A\026compute.googleapis.com\322AVhttps:/" - + "/www.googleapis.com/auth/compute,https:/" - + "/www.googleapis.com/auth/cloud-platform2" - + "\362\'\n\035RegionNetworkFirewallPolicies\022\353\002\n\016Ad" - + "dAssociation\022I.google.cloud.compute.v1.A" - + "ddAssociationRegionNetworkFirewallPolicy" + + "tform2\244\023\n\033RegionNetworkEndpointGroups\022\315\003" + + "\n\026AttachNetworkEndpoints\022P.google.cloud." + + "compute.v1.AttachNetworkEndpointsRegionN" + + "etworkEndpointGroupRequest\032\".google.clou" + + "d.compute.v1.Operation\"\274\002\332Afproject,regi" + + "on,network_endpoint_group,region_network" + + "_endpoint_groups_attach_endpoints_reques" + + "t_resource\212N\020RegionOperations\202\323\344\223\002\271\001\"u/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/networkEndpointGroups/{network_end" + + "point_group}/attachNetworkEndpoints:@reg" + + "ion_network_endpoint_groups_attach_endpo" + + "ints_request_resource\022\222\002\n\006Delete\022@.googl" + + "e.cloud.compute.v1.DeleteRegionNetworkEn" + + "dpointGroupRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\241\001\332A%project,region,netwo" + + "rk_endpoint_group\212N\020RegionOperations\202\323\344\223" + + "\002`*^/compute/v1/projects/{project}/regio" + + "ns/{region}/networkEndpointGroups/{netwo" + + "rk_endpoint_group}\022\315\003\n\026DetachNetworkEndp" + + "oints\022P.google.cloud.compute.v1.DetachNe" + + "tworkEndpointsRegionNetworkEndpointGroup" + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\351\001\332ACproject,region,firewall_policy," - + "firewall_policy_association_resource\212N\020R" - + "egionOperations\202\323\344\223\002\211\001\"a/compute/v1/proj" - + "ects/{project}/regions/{region}/firewall" - + "Policies/{firewall_policy}/addAssociatio" - + "n:$firewall_policy_association_resource\022" - + "\307\002\n\007AddRule\022B.google.cloud.compute.v1.Ad" - + "dRuleRegionNetworkFirewallPolicyRequest\032" - + "\".google.cloud.compute.v1.Operation\"\323\001\332A" - + ".google" + + ".cloud.compute.v1.GetRegionNetworkFirewa" + + "llPolicyRequest\032\'.google.cloud.compute.v" + + "1.FirewallPolicy\"{\332A\036project,region,fire" + + "wall_policy\202\323\344\223\002T\022R/compute/v1/projects/" + + "{project}/regions/{region}/firewallPolic" + + "ies/{firewall_policy}\022\234\002\n\016GetAssociation" + + "\022I.google.cloud.compute.v1.GetAssociatio" + + "nRegionNetworkFirewallPolicyRequest\0322.go" + + "ogle.cloud.compute.v1.FirewallPolicyAsso" + + "ciation\"\212\001\332A\036project,region,firewall_pol" + + "icy\202\323\344\223\002c\022a/compute/v1/projects/{project" + + "}/regions/{region}/firewallPolicies/{fir" + + "ewall_policy}/getAssociation\022\267\002\n\025GetEffe" + + "ctiveFirewalls\022P.google.cloud.compute.v1" + + ".GetEffectiveFirewallsRegionNetworkFirew" + + "allPolicyRequest\032S.google.cloud.compute." + + "v1.RegionNetworkFirewallPoliciesGetEffec" + + "tiveFirewallsResponse\"w\332A\026project,region" + + ",network\202\323\344\223\002X\022V/compute/v1/projects/{pr" + + "oject}/regions/{region}/firewallPolicies" + + "/getEffectiveFirewalls\022\364\001\n\014GetIamPolicy\022" + + "G.google.cloud.compute.v1.GetIamPolicyRe" + + "gionNetworkFirewallPolicyRequest\032\037.googl" + + "e.cloud.compute.v1.Policy\"z\332A\027project,re" + + "gion,resource\202\323\344\223\002Z\022X/compute/v1/project" + + "s/{project}/regions/{region}/firewallPol" + + "icies/{resource}/getIamPolicy\022\200\002\n\007GetRul" + + "e\022B.google.cloud.compute.v1.GetRuleRegio" + + "nNetworkFirewallPolicyRequest\032+.google.c" + + "loud.compute.v1.FirewallPolicyRule\"\203\001\332A\036" + + "project,region,firewall_policy\202\323\344\223\002\\\022Z/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/firewallPolicies/{firewall_policy}" + + "/getRule\022\221\002\n\006Insert\022A.google.cloud.compu" + + "te.v1.InsertRegionNetworkFirewallPolicyR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\237\001\332A\'project,region,firewall_policy_r" + + "esource\212N\020RegionOperations\202\323\344\223\002\\\"@/compu" + "te/v1/projects/{project}/regions/{region" - + "}/firewallPolicies/{firewall_policy}/clo" - + "neRules\022\200\002\n\006Delete\022A.google.cloud.comput" - + "e.v1.DeleteRegionNetworkFirewallPolicyRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\216\001\332A\036project,region,firewall_policy\212N\020" - + "RegionOperations\202\323\344\223\002T*R/compute/v1/proj" - + "ects/{project}/regions/{region}/firewall" - + "Policies/{firewall_policy}\022\353\001\n\003Get\022>.goo" - + "gle.cloud.compute.v1.GetRegionNetworkFir" - + "ewallPolicyRequest\032\'.google.cloud.comput" - + "e.v1.FirewallPolicy\"{\332A\036project,region,f" - + "irewall_policy\202\323\344\223\002T\022R/compute/v1/projec" - + "ts/{project}/regions/{region}/firewallPo" - + "licies/{firewall_policy}\022\234\002\n\016GetAssociat" - + "ion\022I.google.cloud.compute.v1.GetAssocia" - + "tionRegionNetworkFirewallPolicyRequest\0322" - + ".google.cloud.compute.v1.FirewallPolicyA" - + "ssociation\"\212\001\332A\036project,region,firewall_" - + "policy\202\323\344\223\002c\022a/compute/v1/projects/{proj" - + "ect}/regions/{region}/firewallPolicies/{" - + "firewall_policy}/getAssociation\022\267\002\n\025GetE" - + "ffectiveFirewalls\022P.google.cloud.compute" - + ".v1.GetEffectiveFirewallsRegionNetworkFi" - + "rewallPolicyRequest\032S.google.cloud.compu" - + "te.v1.RegionNetworkFirewallPoliciesGetEf" - + "fectiveFirewallsResponse\"w\332A\026project,reg" - + "ion,network\202\323\344\223\002X\022V/compute/v1/projects/" + + "}/firewallPolicies:\030firewall_policy_reso" + + "urce\022\321\001\n\004List\022A.google.cloud.compute.v1." + + "ListRegionNetworkFirewallPoliciesRequest" + + "\032+.google.cloud.compute.v1.FirewallPolic" + + "yList\"Y\332A\016project,region\202\323\344\223\002B\022@/compute" + + "/v1/projects/{project}/regions/{region}/" + + "firewallPolicies\022\261\002\n\005Patch\022@.google.clou" + + "d.compute.v1.PatchRegionNetworkFirewallP" + + "olicyRequest\032\".google.cloud.compute.v1.O" + + "peration\"\301\001\332A7project,region,firewall_po" + + "licy,firewall_policy_resource\212N\020RegionOp" + + "erations\202\323\344\223\002n2R/compute/v1/projects/{pr" + + "oject}/regions/{region}/firewallPolicies" + + "/{firewall_policy}:\030firewall_policy_reso" + + "urce\022\315\002\n\tPatchRule\022D.google.cloud.comput" + + "e.v1.PatchRuleRegionNetworkFirewallPolic" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\325\001\332A.google.cloud.compute.v1.RemoveRuleRegi" - + "onSecurityPolicyRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\231\001\332A\036project,region," - + "security_policy\212N\020RegionOperations\202\323\344\223\002_" - + "\"]/compute/v1/projects/{project}/regions" - + "/{region}/securityPolicies/{security_pol" - + "icy}/removeRule\022\302\002\n\tSetLabels\022=.google.c" - + "loud.compute.v1.SetLabelsRegionSecurityP" - + "olicyRequest\032\".google.cloud.compute.v1.O" - + "peration\"\321\001\332A:project,region,resource,re" - + "gion_set_labels_request_resource\212N\020Regio" - + "nOperations\202\323\344\223\002{\"U/compute/v1/projects/" - + "{project}/regions/{region}/securityPolic" - + "ies/{resource}/setLabels:\"region_set_lab" - + "els_request_resource\032r\312A\026compute.googlea" - + "pis.com\322AVhttps://www.googleapis.com/aut" - + "h/compute,https://www.googleapis.com/aut" - + "h/cloud-platform2\303\010\n\025RegionSslCertificat" - + "es\022\370\001\n\006Delete\022:.google.cloud.compute.v1." - + "DeleteRegionSslCertificateRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\215\001\332A\036proje" - + "ct,region,ssl_certificate\212N\020RegionOperat" - + "ions\202\323\344\223\002S*Q/compute/v1/projects/{projec" - + "t}/regions/{region}/sslCertificates/{ssl" - + "_certificate}\022\343\001\n\003Get\0227.google.cloud.com" - + "pute.v1.GetRegionSslCertificateRequest\032\'" - + ".google.cloud.compute.v1.SslCertificate\"" - + "z\332A\036project,region,ssl_certificate\202\323\344\223\002S" - + "\022Q/compute/v1/projects/{project}/regions" - + "/{region}/sslCertificates/{ssl_certifica" - + "te}\022\211\002\n\006Insert\022:.google.cloud.compute.v1" - + ".InsertRegionSslCertificateRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\236\001\332A\'proj" - + "ect,region,ssl_certificate_resource\212N\020Re" - + "gionOperations\202\323\344\223\002[\"?/compute/v1/projec" - + "ts/{project}/regions/{region}/sslCertifi" - + "cates:\030ssl_certificate_resource\022\310\001\n\004List" - + "\0229.google.cloud.compute.v1.ListRegionSsl" - + "CertificatesRequest\032+.google.cloud.compu" - + "te.v1.SslCertificateList\"X\332A\016project,reg" - + "ion\202\323\344\223\002A\022?/compute/v1/projects/{project" - + "}/regions/{region}/sslCertificates\032r\312A\026c" - + "ompute.googleapis.com\322AVhttps://www.goog" - + "leapis.com/auth/compute,https://www.goog" - + "leapis.com/auth/cloud-platform2\225\014\n\021Regio" - + "nSslPolicies\022\344\001\n\006Delete\0225.google.cloud.c" - + "ompute.v1.DeleteRegionSslPolicyRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\177\332A\031p" - + "roject,region,ssl_policy\212N\020RegionOperati" - + "ons\202\323\344\223\002J*H/compute/v1/projects/{project" - + "}/regions/{region}/sslPolicies/{ssl_poli" - + "cy}\022\313\001\n\003Get\0222.google.cloud.compute.v1.Ge" - + "tRegionSslPolicyRequest\032\".google.cloud.c" - + "ompute.v1.SslPolicy\"l\332A\031project,region,s" - + "sl_policy\202\323\344\223\002J\022H/compute/v1/projects/{p" - + "roject}/regions/{region}/sslPolicies/{ss" - + "l_policy}\022\366\001\n\006Insert\0225.google.cloud.comp" - + "ute.v1.InsertRegionSslPolicyRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\220\001\332A\"pro" - + "ject,region,ssl_policy_resource\212N\020Region" - + "Operations\202\323\344\223\002R\";/compute/v1/projects/{" - + "project}/regions/{region}/sslPolicies:\023s" - + "sl_policy_resource\022\275\001\n\004List\0225.google.clo" - + "ud.compute.v1.ListRegionSslPoliciesReque" - + "st\032(.google.cloud.compute.v1.SslPolicies" - + "List\"T\332A\016project,region\202\323\344\223\002=\022;/compute/" - + "v1/projects/{project}/regions/{region}/s" - + "slPolicies\022\216\002\n\025ListAvailableFeatures\022F.g" - + "oogle.cloud.compute.v1.ListAvailableFeat" - + "uresRegionSslPoliciesRequest\032A.google.cl" - + "oud.compute.v1.SslPoliciesListAvailableF" - + "eaturesResponse\"j\332A\016project,region\202\323\344\223\002S" - + "\022Q/compute/v1/projects/{project}/regions" - + "/{region}/sslPolicies/listAvailableFeatu" - + "res\022\214\002\n\005Patch\0224.google.cloud.compute.v1." - + "PatchRegionSslPolicyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\250\001\332A-project,reg" - + "ion,ssl_policy,ssl_policy_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002_2H/compute/v1/project" - + "s/{project}/regions/{region}/sslPolicies" - + "/{ssl_policy}:\023ssl_policy_resource\032r\312A\026c" - + "ompute.googleapis.com\322AVhttps://www.goog" - + "leapis.com/auth/compute,https://www.goog" - + "leapis.com/auth/cloud-platform2\252\013\n\027Regio" - + "nTargetHttpProxies\022\377\001\n\006Delete\022;.google.c" - + "loud.compute.v1.DeleteRegionTargetHttpPr" - + "oxyRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\223\001\332A project,region,target_http_p" - + "roxy\212N\020RegionOperations\202\323\344\223\002W*U/compute/" - + "v1/projects/{project}/regions/{region}/t" - + "argetHttpProxies/{target_http_proxy}\022\354\001\n" - + "\003Get\0228.google.cloud.compute.v1.GetRegion" - + "TargetHttpProxyRequest\032(.google.cloud.co" - + "mpute.v1.TargetHttpProxy\"\200\001\332A project,re" - + "gion,target_http_proxy\202\323\344\223\002W\022U/compute/v" - + "1/projects/{project}/regions/{region}/ta" - + "rgetHttpProxies/{target_http_proxy}\022\220\002\n\006" - + "Insert\022;.google.cloud.compute.v1.InsertR" - + "egionTargetHttpProxyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\244\001\332A)project,reg" - + "ion,target_http_proxy_resource\212N\020RegionO", - "perations\202\323\344\223\002_\"A/compute/v1/projects/{p" - + "roject}/regions/{region}/targetHttpProxi" - + "es:\032target_http_proxy_resource\022\315\001\n\004List\022" - + ";.google.cloud.compute.v1.ListRegionTarg" - + "etHttpProxiesRequest\032,.google.cloud.comp" - + "ute.v1.TargetHttpProxyList\"Z\332A\016project,r" - + "egion\202\323\344\223\002C\022A/compute/v1/projects/{proje" - + "ct}/regions/{region}/targetHttpProxies\022\306" - + "\002\n\tSetUrlMap\022>.google.cloud.compute.v1.S" - + "etUrlMapRegionTargetHttpProxyRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\324\001\332A;pr" - + "oject,region,target_http_proxy,url_map_r" - + "eference_resource\212N\020RegionOperations\202\323\344\223" - + "\002}\"_/compute/v1/projects/{project}/regio" - + "ns/{region}/targetHttpProxies/{target_ht" - + "tp_proxy}/setUrlMap:\032url_map_reference_r" - + "esource\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\263\021\n\030RegionTargetHttpsProxies\022\203\002\n\006Del" - + "ete\022<.google.cloud.compute.v1.DeleteRegi" - + "onTargetHttpsProxyRequest\032\".google.cloud" - + ".compute.v1.Operation\"\226\001\332A!project,regio" - + "n,target_https_proxy\212N\020RegionOperations\202" - + "\323\344\223\002Y*W/compute/v1/projects/{project}/re" - + "gions/{region}/targetHttpsProxies/{targe" - + "t_https_proxy}\022\361\001\n\003Get\0229.google.cloud.co" - + "mpute.v1.GetRegionTargetHttpsProxyReques" - + "t\032).google.cloud.compute.v1.TargetHttpsP" - + "roxy\"\203\001\332A!project,region,target_https_pr" - + "oxy\202\323\344\223\002Y\022W/compute/v1/projects/{project" - + "}/regions/{region}/targetHttpsProxies/{t" - + "arget_https_proxy}\022\224\002\n\006Insert\022<.google.c" - + "loud.compute.v1.InsertRegionTargetHttpsP" - + "roxyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\247\001\332A*project,region,target_https" - + "_proxy_resource\212N\020RegionOperations\202\323\344\223\002a" - + "\"B/compute/v1/projects/{project}/regions" - + "/{region}/targetHttpsProxies:\033target_htt" - + "ps_proxy_resource\022\320\001\n\004List\022<.google.clou" - + "d.compute.v1.ListRegionTargetHttpsProxie" - + "sRequest\032-.google.cloud.compute.v1.Targe" - + "tHttpsProxyList\"[\332A\016project,region\202\323\344\223\002D" - + "\022B/compute/v1/projects/{project}/regions" - + "/{region}/targetHttpsProxies\022\272\002\n\005Patch\022;" - + ".google.cloud.compute.v1.PatchRegionTarg" - + "etHttpsProxyRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\317\001\332A=project,region,targ" - + "et_https_proxy,target_https_proxy_resour" - + "ce\212N\020RegionOperations\202\323\344\223\002v2W/compute/v1" - + "/projects/{project}/regions/{region}/tar" - + "getHttpsProxies/{target_https_proxy}:\033ta" - + "rget_https_proxy_resource\022\264\003\n\022SetSslCert" - + "ificates\022H.google.cloud.compute.v1.SetSs" - + "lCertificatesRegionTargetHttpsProxyReque" - + "st\032\".google.cloud.compute.v1.Operation\"\257" - + "\002\332Acproject,region,target_https_proxy,re" - + "gion_target_https_proxies_set_ssl_certif" - + "icates_request_resource\212N\020RegionOperatio" - + "ns\202\323\344\223\002\257\001\"j/compute/v1/projects/{project" - + "}/regions/{region}/targetHttpsProxies/{t" - + "arget_https_proxy}/setSslCertificates:Ar" - + "egion_target_https_proxies_set_ssl_certi" - + "ficates_request_resource\022\312\002\n\tSetUrlMap\022?" - + ".google.cloud.compute.v1.SetUrlMapRegion" - + "TargetHttpsProxyRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\327\001\332A.g" + + "oogle.cloud.compute.v1.RemoveRuleRegionS" + + "ecurityPolicyRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\231\001\332A\036project,region,sec" + + "urity_policy\212N\020RegionOperations\202\323\344\223\002_\"]/" + "compute/v1/projects/{project}/regions/{r" - + "egion}/targetTcpProxies\032r\312A\026compute.goog" - + "leapis.com\322AVhttps://www.googleapis.com/" - + "auth/compute,https://www.googleapis.com/" - + "auth/cloud-platform2\354\r\n\rRegionUrlMaps\022\327\001" - + "\n\006Delete\0222.google.cloud.compute.v1.Delet" - + "eRegionUrlMapRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"u\332A\026project,region,url_" - + "map\212N\020RegionOperations\202\323\344\223\002C*A/compute/v" - + "1/projects/{project}/regions/{region}/ur" - + "lMaps/{url_map}\022\273\001\n\003Get\022/.google.cloud.c" - + "ompute.v1.GetRegionUrlMapRequest\032\037.googl" - + "e.cloud.compute.v1.UrlMap\"b\332A\026project,re" - + "gion,url_map\202\323\344\223\002C\022A/compute/v1/projects" - + "/{project}/regions/{region}/urlMaps/{url" - + "_map}\022\351\001\n\006Insert\0222.google.cloud.compute." - + "v1.InsertRegionUrlMapRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\206\001\332A\037project,re" - + "gion,url_map_resource\212N\020RegionOperations" - + "\202\323\344\223\002K\"7/compute/v1/projects/{project}/r" - + "egions/{region}/urlMaps:\020url_map_resourc" - + "e\022\260\001\n\004List\0221.google.cloud.compute.v1.Lis" - + "tRegionUrlMapsRequest\032#.google.cloud.com" - + "pute.v1.UrlMapList\"P\332A\016project,region\202\323\344" - + "\223\0029\0227/compute/v1/projects/{project}/regi" - + "ons/{region}/urlMaps\022\371\001\n\005Patch\0221.google." - + "cloud.compute.v1.PatchRegionUrlMapReques" - + "t\032\".google.cloud.compute.v1.Operation\"\230\001" - + "\332A\'project,region,url_map,url_map_resour" - + "ce\212N\020RegionOperations\202\323\344\223\002U2A/compute/v1" - + "/projects/{project}/regions/{region}/url" - + "Maps/{url_map}:\020url_map_resource\022\373\001\n\006Upd" - + "ate\0222.google.cloud.compute.v1.UpdateRegi" - + "onUrlMapRequest\032\".google.cloud.compute.v" - + "1.Operation\"\230\001\332A\'project,region,url_map," - + "url_map_resource\212N\020RegionOperations\202\323\344\223\002" - + "U\032A/compute/v1/projects/{project}/region" - + "s/{region}/urlMaps/{url_map}:\020url_map_re" - + "source\022\265\002\n\010Validate\0224.google.cloud.compu" - + "te.v1.ValidateRegionUrlMapRequest\0320.goog" - + "le.cloud.compute.v1.UrlMapsValidateRespo" - + "nse\"\300\001\332A@project,region,url_map,region_u" - + "rl_maps_validate_request_resource\202\323\344\223\002w\"" - + "J/compute/v1/projects/{project}/regions/" - + "{region}/urlMaps/{url_map}/validate:)reg" - + "ion_url_maps_validate_request_resource\032r" - + "\312A\026compute.googleapis.com\322AVhttps://www." - + "googleapis.com/auth/compute,https://www." - + "googleapis.com/auth/cloud-platform2\341\002\n\013R" - + "egionZones\022\252\001\n\004List\022/.google.cloud.compu" - + "te.v1.ListRegionZonesRequest\032!.google.cl" - + "oud.compute.v1.ZoneList\"N\332A\016project,regi" - + "on\202\323\344\223\0027\0225/compute/v1/projects/{project}" - + "/regions/{region}/zones\032\244\001\312A\026compute.goo" - + "gleapis.com\322A\207\001https://www.googleapis.co" - + "m/auth/compute.readonly,https://www.goog" + + "egion}/securityPolicies/{security_policy" + + "}/removeRule\022\302\002\n\tSetLabels\022=.google.clou" + + "d.compute.v1.SetLabelsRegionSecurityPoli" + + "cyRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\321\001\332A:project,region,resource,regio" + + "n_set_labels_request_resource\212N\020RegionOp" + + "erations\202\323\344\223\002{\"U/compute/v1/projects/{pr" + + "oject}/regions/{region}/securityPolicies" + + "/{resource}/setLabels:\"region_set_labels" + + "_request_resource\032r\312A\026compute.googleapis" + + ".com\322AVhttps://www.googleapis.com/auth/c" + + "ompute,https://www.googleapis.com/auth/c" + + "loud-platform2\303\010\n\025RegionSslCertificates\022" + + "\370\001\n\006Delete\022:.google.cloud.compute.v1.Del" + + "eteRegionSslCertificateRequest\032\".google." + + "cloud.compute.v1.Operation\"\215\001\332A\036project," + + "region,ssl_certificate\212N\020RegionOperation" + + "s\202\323\344\223\002S*Q/compute/v1/projects/{project}/" + + "regions/{region}/sslCertificates/{ssl_ce" + + "rtificate}\022\343\001\n\003Get\0227.google.cloud.comput" + + "e.v1.GetRegionSslCertificateRequest\032\'.go" + + "ogle.cloud.compute.v1.SslCertificate\"z\332A" + + "\036project,region,ssl_certificate\202\323\344\223\002S\022Q/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/sslCertificates/{ssl_certificate}" + + "\022\211\002\n\006Insert\022:.google.cloud.compute.v1.In" + + "sertRegionSslCertificateRequest\032\".google" + + ".cloud.compute.v1.Operation\"\236\001\332A\'project" + + ",region,ssl_certificate_resource\212N\020Regio" + + "nOperations\202\323\344\223\002[\"?/compute/v1/projects/" + + "{project}/regions/{region}/sslCertificat" + + "es:\030ssl_certificate_resource\022\310\001\n\004List\0229." + + "google.cloud.compute.v1.ListRegionSslCer" + + "tificatesRequest\032+.google.cloud.compute." + + "v1.SslCertificateList\"X\332A\016project,region" + + "\202\323\344\223\002A\022?/compute/v1/projects/{project}/r" + + "egions/{region}/sslCertificates\032r\312A\026comp" + + "ute.googleapis.com\322AVhttps://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\225\014\n\021RegionSs" + + "lPolicies\022\344\001\n\006Delete\0225.google.cloud.comp" + + "ute.v1.DeleteRegionSslPolicyRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\177\332A\031proj" + + "ect,region,ssl_policy\212N\020RegionOperations" + + "\202\323\344\223\002J*H/compute/v1/projects/{project}/r" + + "egions/{region}/sslPolicies/{ssl_policy}" + + "\022\313\001\n\003Get\0222.google.cloud.compute.v1.GetRe" + + "gionSslPolicyRequest\032\".google.cloud.comp" + + "ute.v1.SslPolicy\"l\332A\031project,region,ssl_" + + "policy\202\323\344\223\002J\022H/compute/v1/projects/{proj" + + "ect}/regions/{region}/sslPolicies/{ssl_p" + + "olicy}\022\366\001\n\006Insert\0225.google.cloud.compute" + + ".v1.InsertRegionSslPolicyRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\220\001\332A\"projec" + + "t,region,ssl_policy_resource\212N\020RegionOpe" + + "rations\202\323\344\223\002R\";/compute/v1/projects/{pro" + + "ject}/regions/{region}/sslPolicies:\023ssl_" + + "policy_resource\022\275\001\n\004List\0225.google.cloud.", + "compute.v1.ListRegionSslPoliciesRequest\032" + + "(.google.cloud.compute.v1.SslPoliciesLis" + + "t\"T\332A\016project,region\202\323\344\223\002=\022;/compute/v1/" + + "projects/{project}/regions/{region}/sslP" + + "olicies\022\216\002\n\025ListAvailableFeatures\022F.goog" + + "le.cloud.compute.v1.ListAvailableFeature" + + "sRegionSslPoliciesRequest\032A.google.cloud" + + ".compute.v1.SslPoliciesListAvailableFeat" + + "uresResponse\"j\332A\016project,region\202\323\344\223\002S\022Q/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/sslPolicies/listAvailableFeatures" + + "\022\214\002\n\005Patch\0224.google.cloud.compute.v1.Pat" + + "chRegionSslPolicyRequest\032\".google.cloud." + + "compute.v1.Operation\"\250\001\332A-project,region" + + ",ssl_policy,ssl_policy_resource\212N\020Region" + + "Operations\202\323\344\223\002_2H/compute/v1/projects/{" + + "project}/regions/{region}/sslPolicies/{s" + + "sl_policy}:\023ssl_policy_resource\032r\312A\026comp" + + "ute.googleapis.com\322AVhttps://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\252\013\n\027RegionTa" + + "rgetHttpProxies\022\377\001\n\006Delete\022;.google.clou" + + "d.compute.v1.DeleteRegionTargetHttpProxy" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\223\001\332A project,region,target_http_prox" + + "y\212N\020RegionOperations\202\323\344\223\002W*U/compute/v1/" + + "projects/{project}/regions/{region}/targ" + + "etHttpProxies/{target_http_proxy}\022\354\001\n\003Ge" + + "t\0228.google.cloud.compute.v1.GetRegionTar" + + "getHttpProxyRequest\032(.google.cloud.compu" + + "te.v1.TargetHttpProxy\"\200\001\332A project,regio" + + "n,target_http_proxy\202\323\344\223\002W\022U/compute/v1/p" + + "rojects/{project}/regions/{region}/targe" + + "tHttpProxies/{target_http_proxy}\022\220\002\n\006Ins" + + "ert\022;.google.cloud.compute.v1.InsertRegi" + + "onTargetHttpProxyRequest\032\".google.cloud." + + "compute.v1.Operation\"\244\001\332A)project,region" + + ",target_http_proxy_resource\212N\020RegionOper" + + "ations\202\323\344\223\002_\"A/compute/v1/projects/{proj" + + "ect}/regions/{region}/targetHttpProxies:" + + "\032target_http_proxy_resource\022\315\001\n\004List\022;.g" + + "oogle.cloud.compute.v1.ListRegionTargetH" + + "ttpProxiesRequest\032,.google.cloud.compute" + + ".v1.TargetHttpProxyList\"Z\332A\016project,regi" + + "on\202\323\344\223\002C\022A/compute/v1/projects/{project}" + + "/regions/{region}/targetHttpProxies\022\306\002\n\t" + + "SetUrlMap\022>.google.cloud.compute.v1.SetU" + + "rlMapRegionTargetHttpProxyRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\324\001\332A;proje" + + "ct,region,target_http_proxy,url_map_refe" + + "rence_resource\212N\020RegionOperations\202\323\344\223\002}\"" + + "_/compute/v1/projects/{project}/regions/" + + "{region}/targetHttpProxies/{target_http_" + + "proxy}/setUrlMap:\032url_map_reference_reso" + + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" + + "//www.googleapis.com/auth/compute,https:" + + "//www.googleapis.com/auth/cloud-platform" + + "2\263\021\n\030RegionTargetHttpsProxies\022\203\002\n\006Delete" + + "\022<.google.cloud.compute.v1.DeleteRegionT" + + "argetHttpsProxyRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\226\001\332A!project,region,t" + + "arget_https_proxy\212N\020RegionOperations\202\323\344\223" + + "\002Y*W/compute/v1/projects/{project}/regio" + + "ns/{region}/targetHttpsProxies/{target_h" + + "ttps_proxy}\022\361\001\n\003Get\0229.google.cloud.compu" + + "te.v1.GetRegionTargetHttpsProxyRequest\032)" + + ".google.cloud.compute.v1.TargetHttpsProx" + + "y\"\203\001\332A!project,region,target_https_proxy" + + "\202\323\344\223\002Y\022W/compute/v1/projects/{project}/r" + + "egions/{region}/targetHttpsProxies/{targ" + + "et_https_proxy}\022\224\002\n\006Insert\022<.google.clou" + + "d.compute.v1.InsertRegionTargetHttpsProx" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\247\001\332A*project,region,target_https_pr" + + "oxy_resource\212N\020RegionOperations\202\323\344\223\002a\"B/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/targetHttpsProxies:\033target_https_" + + "proxy_resource\022\320\001\n\004List\022<.google.cloud.c" + + "ompute.v1.ListRegionTargetHttpsProxiesRe" + + "quest\032-.google.cloud.compute.v1.TargetHt" + + "tpsProxyList\"[\332A\016project,region\202\323\344\223\002D\022B/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/targetHttpsProxies\022\272\002\n\005Patch\022;.go" + + "ogle.cloud.compute.v1.PatchRegionTargetH" + + "ttpsProxyRequest\032\".google.cloud.compute." + + "v1.Operation\"\317\001\332A=project,region,target_" + + "https_proxy,target_https_proxy_resource\212" + + "N\020RegionOperations\202\323\344\223\002v2W/compute/v1/pr" + + "ojects/{project}/regions/{region}/target" + + "HttpsProxies/{target_https_proxy}:\033targe" + + "t_https_proxy_resource\022\264\003\n\022SetSslCertifi" + + "cates\022H.google.cloud.compute.v1.SetSslCe" + + "rtificatesRegionTargetHttpsProxyRequest\032" + + "\".google.cloud.compute.v1.Operation\"\257\002\332A" + + "cproject,region,target_https_proxy,regio" + + "n_target_https_proxies_set_ssl_certifica" + + "tes_request_resource\212N\020RegionOperations\202" + + "\323\344\223\002\257\001\"j/compute/v1/projects/{project}/r" + + "egions/{region}/targetHttpsProxies/{targ" + + "et_https_proxy}/setSslCertificates:Aregi" + + "on_target_https_proxies_set_ssl_certific" + + "ates_request_resource\022\312\002\n\tSetUrlMap\022?.go" + + "ogle.cloud.compute.v1.SetUrlMapRegionTar" + + "getHttpsProxyRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\327\001\332A.google.cloud.compute.v1" - + ".AggregatedListResourcePoliciesRequest\0325" - + ".google.cloud.compute.v1.ResourcePolicyA" - + "ggregatedList\"L\332A\007project\202\323\344\223\002<\022:/comput" - + "e/v1/projects/{project}/aggregated/resou" - + "rcePolicies\022\363\001\n\006Delete\0224.google.cloud.co" - + "mpute.v1.DeleteResourcePolicyRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\216\001\332A\036pr" - + "oject,region,resource_policy\212N\020RegionOpe" - + "rations\202\323\344\223\002T*R/compute/v1/projects/{pro" - + "ject}/regions/{region}/resourcePolicies/" - + "{resource_policy}\022\336\001\n\003Get\0221.google.cloud" - + ".compute.v1.GetResourcePolicyRequest\032\'.g" - + "oogle.cloud.compute.v1.ResourcePolicy\"{\332" - + "A\036project,region,resource_policy\202\323\344\223\002T\022R" + + "h/cloud-platform2\354\r\n\rRegionUrlMaps\022\327\001\n\006D" + + "elete\0222.google.cloud.compute.v1.DeleteRe" + + "gionUrlMapRequest\032\".google.cloud.compute" + + ".v1.Operation\"u\332A\026project,region,url_map" + + "\212N\020RegionOperations\202\323\344\223\002C*A/compute/v1/p" + + "rojects/{project}/regions/{region}/urlMa" + + "ps/{url_map}\022\273\001\n\003Get\022/.google.cloud.comp" + + "ute.v1.GetRegionUrlMapRequest\032\037.google.c" + + "loud.compute.v1.UrlMap\"b\332A\026project,regio" + + "n,url_map\202\323\344\223\002C\022A/compute/v1/projects/{p" + + "roject}/regions/{region}/urlMaps/{url_ma" + + "p}\022\351\001\n\006Insert\0222.google.cloud.compute.v1." + + "InsertRegionUrlMapRequest\032\".google.cloud" + + ".compute.v1.Operation\"\206\001\332A\037project,regio" + + "n,url_map_resource\212N\020RegionOperations\202\323\344" + + "\223\002K\"7/compute/v1/projects/{project}/regi" + + "ons/{region}/urlMaps:\020url_map_resource\022\260" + + "\001\n\004List\0221.google.cloud.compute.v1.ListRe" + + "gionUrlMapsRequest\032#.google.cloud.comput" + + "e.v1.UrlMapList\"P\332A\016project,region\202\323\344\223\0029" + + "\0227/compute/v1/projects/{project}/regions" + + "/{region}/urlMaps\022\371\001\n\005Patch\0221.google.clo" + + "ud.compute.v1.PatchRegionUrlMapRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\230\001\332A\'" + + "project,region,url_map,url_map_resource\212" + + "N\020RegionOperations\202\323\344\223\002U2A/compute/v1/pr" + + "ojects/{project}/regions/{region}/urlMap" + + "s/{url_map}:\020url_map_resource\022\373\001\n\006Update" + + "\0222.google.cloud.compute.v1.UpdateRegionU" + + "rlMapRequest\032\".google.cloud.compute.v1.O" + + "peration\"\230\001\332A\'project,region,url_map,url" + + "_map_resource\212N\020RegionOperations\202\323\344\223\002U\032A" + "/compute/v1/projects/{project}/regions/{" - + "region}/resourcePolicies/{resource_polic" - + "y}\022\347\001\n\014GetIamPolicy\022:.google.cloud.compu" - + "te.v1.GetIamPolicyResourcePolicyRequest\032" - + "\037.google.cloud.compute.v1.Policy\"z\332A\027pro" - + "ject,region,resource\202\323\344\223\002Z\022X/compute/v1/" - + "projects/{project}/regions/{region}/reso" - + "urcePolicies/{resource}/getIamPolicy\022\204\002\n" - + "\006Insert\0224.google.cloud.compute.v1.Insert" - + "ResourcePolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\237\001\332A\'project,region,re" - + "source_policy_resource\212N\020RegionOperation" - + "s\202\323\344\223\002\\\"@/compute/v1/projects/{project}/" - + "regions/{region}/resourcePolicies:\030resou" - + "rce_policy_resource\022\304\001\n\004List\0224.google.cl" - + "oud.compute.v1.ListResourcePoliciesReque" - + "st\032+.google.cloud.compute.v1.ResourcePol" - + "icyList\"Y\332A\016project,region\202\323\344\223\002B\022@/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/resourcePolicies\022\244\002\n\005Patch\0223.google.cl" - + "oud.compute.v1.PatchResourcePolicyReques" - + "t\032\".google.cloud.compute.v1.Operation\"\301\001" - + "\332A7project,region,resource_policy,resour" - + "ce_policy_resource\212N\020RegionOperations\202\323\344" - + "\223\002n2R/compute/v1/projects/{project}/regi" - + "ons/{region}/resourcePolicies/{resource_" - + "policy}:\030resource_policy_resource\022\257\002\n\014Se" - + "tIamPolicy\022:.google.cloud.compute.v1.Set" - + "IamPolicyResourcePolicyRequest\032\037.google." - + "cloud.compute.v1.Policy\"\301\001\332A:project,reg" - + "ion,resource,region_set_policy_request_r" - + "esource\202\323\344\223\002~\"X/compute/v1/projects/{pro" - + "ject}/regions/{region}/resourcePolicies/" - + "{resource}/setIamPolicy:\"region_set_poli" - + "cy_request_resource\022\321\002\n\022TestIamPermissio" - + "ns\022@.google.cloud.compute.v1.TestIamPerm" - + "issionsResourcePolicyRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\306" - + "\001\332A9project,region,resource,test_permiss" - + "ions_request_resource\202\323\344\223\002\203\001\"^/compute/v" - + "1/projects/{project}/regions/{region}/re" - + "sourcePolicies/{resource}/testIamPermiss" - + "ions:!test_permissions_request_resource\032" - + "r\312A\026compute.googleapis.com\322AVhttps://www" - + ".googleapis.com/auth/compute,https://www" - + ".googleapis.com/auth/cloud-platform2\216 \n\007" - + "Routers\022\273\001\n\016AggregatedList\0225.google.clou" - + "d.compute.v1.AggregatedListRoutersReques" - + "t\032-.google.cloud.compute.v1.RouterAggreg" - + "atedList\"C\332A\007project\202\323\344\223\0023\0221/compute/v1/" - + "projects/{project}/aggregated/routers\022\317\001" - + "\n\006Delete\022,.google.cloud.compute.v1.Delet" - + "eRouterRequest\032\".google.cloud.compute.v1" - + ".Operation\"s\332A\025project,region,router\212N\020R" - + "egionOperations\202\323\344\223\002B*@/compute/v1/proje" - + "cts/{project}/regions/{region}/routers/{" - + "router}\022\370\001\n\021DeleteRoutePolicy\0227.google.c" - + "loud.compute.v1.DeleteRoutePolicyRouterR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\205\001\332A\025project,region,router\212N\020RegionOp" - + "erations\202\323\344\223\002T\"R/compute/v1/projects/{pr" - + "oject}/regions/{region}/routers/{router}" - + "/deleteRoutePolicy\022\263\001\n\003Get\022).google.clou" - + "d.compute.v1.GetRouterRequest\032\037.google.c" - + "loud.compute.v1.Router\"`\332A\025project,regio" - + "n,router\202\323\344\223\002B\022@/compute/v1/projects/{pr" - + "oject}/regions/{region}/routers/{router}" - + "\022\335\001\n\014GetNatIpInfo\0222.google.cloud.compute" - + ".v1.GetNatIpInfoRouterRequest\032*.google.c" - + "loud.compute.v1.NatIpInfoResponse\"m\332A\025pr" - + "oject,region,router\202\323\344\223\002O\022M/compute/v1/p" - + "rojects/{project}/regions/{region}/route" - + "rs/{router}/getNatIpInfo\022\365\001\n\021GetNatMappi" - + "ngInfo\0228.google.cloud.compute.v1.GetNatM" - + "appingInfoRoutersRequest\0322.google.cloud." - + "compute.v1.VmEndpointNatMappingsList\"r\332A" - + "\025project,region,router\202\323\344\223\002T\022R/compute/v" - + "1/projects/{project}/regions/{region}/ro" - + "uters/{router}/getNatMappingInfo\022\357\001\n\016Get" - + "RoutePolicy\0224.google.cloud.compute.v1.Ge" - + "tRoutePolicyRouterRequest\0326.google.cloud" - + ".compute.v1.RoutersGetRoutePolicyRespons" - + "e\"o\332A\025project,region,router\202\323\344\223\002Q\022O/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/routers/{router}/getRoutePolicy\022\351\001\n\017G" - + "etRouterStatus\0225.google.cloud.compute.v1" - + ".GetRouterStatusRouterRequest\032-.google.c" - + "loud.compute.v1.RouterStatusResponse\"p\332A" - + "\025project,region,router\202\323\344\223\002R\022P/compute/v" - + "1/projects/{project}/regions/{region}/ro", - "uters/{router}/getRouterStatus\022\341\001\n\006Inser" - + "t\022,.google.cloud.compute.v1.InsertRouter" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\204\001\332A\036project,region,router_resource\212" - + "N\020RegionOperations\202\323\344\223\002J\"7/compute/v1/pr" - + "ojects/{project}/regions/{region}/router" - + "s:\017router_resource\022\252\001\n\004List\022+.google.clo" - + "ud.compute.v1.ListRoutersRequest\032#.googl" - + "e.cloud.compute.v1.RouterList\"P\332A\016projec" - + "t,region\202\323\344\223\0029\0227/compute/v1/projects/{pr" - + "oject}/regions/{region}/routers\022\344\001\n\rList" - + "BgpRoutes\0224.google.cloud.compute.v1.List" - + "BgpRoutesRoutersRequest\032-.google.cloud.c" - + "ompute.v1.RoutersListBgpRoutes\"n\332A\025proje" - + "ct,region,router\202\323\344\223\002P\022N/compute/v1/proj" + + "region}/urlMaps/{url_map}:\020url_map_resou" + + "rce\022\265\002\n\010Validate\0224.google.cloud.compute." + + "v1.ValidateRegionUrlMapRequest\0320.google." + + "cloud.compute.v1.UrlMapsValidateResponse" + + "\"\300\001\332A@project,region,url_map,region_url_" + + "maps_validate_request_resource\202\323\344\223\002w\"J/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/urlMaps/{url_map}/validate:)region" + + "_url_maps_validate_request_resource\032r\312A\026" + + "compute.googleapis.com\322AVhttps://www.goo" + + "gleapis.com/auth/compute,https://www.goo" + + "gleapis.com/auth/cloud-platform2\341\002\n\013Regi" + + "onZones\022\252\001\n\004List\022/.google.cloud.compute." + + "v1.ListRegionZonesRequest\032!.google.cloud" + + ".compute.v1.ZoneList\"N\332A\016project,region\202" + + "\323\344\223\0027\0225/compute/v1/projects/{project}/re" + + "gions/{region}/zones\032\244\001\312A\026compute.google" + + "apis.com\322A\207\001https://www.googleapis.com/a" + + "uth/compute.readonly,https://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\343\003\n\007Regions\022" + + "\233\001\n\003Get\022).google.cloud.compute.v1.GetReg" + + "ionRequest\032\037.google.cloud.compute.v1.Reg" + + "ion\"H\332A\016project,region\202\323\344\223\0021\022//compute/v" + + "1/projects/{project}/regions/{region}\022\222\001" + + "\n\004List\022+.google.cloud.compute.v1.ListReg" + + "ionsRequest\032#.google.cloud.compute.v1.Re" + + "gionList\"8\332A\007project\202\323\344\223\002(\022&/compute/v1/" + + "projects/{project}/regions\032\244\001\312A\026compute." + + "googleapis.com\322A\207\001https://www.googleapis" + + ".com/auth/compute.readonly,https://www.g" + + "oogleapis.com/auth/compute,https://www.g" + + "oogleapis.com/auth/cloud-platform2\317\010\n\021Re" + + "servationBlocks\022\225\002\n\003Get\0223.google.cloud.c" + + "ompute.v1.GetReservationBlockRequest\0325.g" + + "oogle.cloud.compute.v1.ReservationBlocks" + + "GetResponse\"\241\001\332A*project,zone,reservatio" + + "n,reservation_block\202\323\344\223\002n\022l/compute/v1/p" + + "rojects/{project}/zones/{zone}/reservati" + + "ons/{reservation}/reservationBlocks/{res" + + "ervation_block}\022\362\001\n\004List\0225.google.cloud." + + "compute.v1.ListReservationBlocksRequest\032" + + "6.google.cloud.compute.v1.ReservationBlo" + + "cksListResponse\"{\332A\030project,zone,reserva" + + "tion\202\323\344\223\002Z\022X/compute/v1/projects/{projec" + + "t}/zones/{zone}/reservations/{reservatio" + + "n}/reservationBlocks\022\270\003\n\022PerformMaintena" + + "nce\022B.google.cloud.compute.v1.PerformMai" + + "ntenanceReservationBlockRequest\032\".google" + + ".cloud.compute.v1.Operation\"\271\002\332Acproject" + + ",zone,reservation,reservation_block,rese" + + "rvations_blocks_perform_maintenance_requ" + + "est_resource\212N\016ZoneOperations\202\323\344\223\002\273\001\"\177/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/reservations/{reservation}/reservation" + + "Blocks/{reservation_block}/performMainte" + + "nance:8reservations_blocks_perform_maint" + + "enance_request_resource\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\337\007\n\024ReservationSubBl" + + "ocks\022\231\002\n\003Get\0226.google.cloud.compute.v1.G" + + "etReservationSubBlockRequest\0328.google.cl" + + "oud.compute.v1.ReservationSubBlocksGetRe" + + "sponse\"\237\001\332A.project,zone,parent_name,res" + + "ervation_sub_block\202\323\344\223\002h\022f/compute/v1/pr" + + "ojects/{project}/zones/{zone}/{parent_na" + + "me}/reservationSubBlocks/{reservation_su" + + "b_block}\022\356\001\n\004List\0228.google.cloud.compute" + + ".v1.ListReservationSubBlocksRequest\0329.go" + + "ogle.cloud.compute.v1.ReservationSubBloc" + + "ksListResponse\"q\332A\030project,zone,parent_n" + + "ame\202\323\344\223\002P\022N/compute/v1/projects/{project" + + "}/zones/{zone}/{parent_name}/reservation" + + "SubBlocks\022\305\002\n\022PerformMaintenance\022E.googl" + + "e.cloud.compute.v1.PerformMaintenanceRes" + + "ervationSubBlockRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\303\001\332A.project,zone,pa" + + "rent_name,reservation_sub_block\212N\016ZoneOp" + + "erations\202\323\344\223\002{\"y/compute/v1/projects/{pr" + + "oject}/zones/{zone}/{parent_name}/reserv" + + "ationSubBlocks/{reservation_sub_block}/p" + + "erformMaintenance\032r\312A\026compute.googleapis" + + ".com\322AVhttps://www.googleapis.com/auth/c" + + "ompute,https://www.googleapis.com/auth/c" + + "loud-platform2\213\027\n\014Reservations\022\312\001\n\016Aggre" + + "gatedList\022:.google.cloud.compute.v1.Aggr" + + "egatedListReservationsRequest\0322.google.c" + + "loud.compute.v1.ReservationAggregatedLis" + + "t\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/project" + + "s/{project}/aggregated/reservations\022\333\001\n\006" + + "Delete\0221.google.cloud.compute.v1.DeleteR" + + "eservationRequest\032\".google.cloud.compute" + + ".v1.Operation\"z\332A\030project,zone,reservati" + + "on\212N\016ZoneOperations\202\323\344\223\002H*F/compute/v1/p" + + "rojects/{project}/zones/{zone}/reservati" + + "ons/{reservation}\022\306\001\n\003Get\022..google.cloud" + + ".compute.v1.GetReservationRequest\032$.goog" + + "le.cloud.compute.v1.Reservation\"i\332A\030proj" + + "ect,zone,reservation\202\323\344\223\002H\022F/compute/v1/" + + "projects/{project}/zones/{zone}/reservat" + + "ions/{reservation}\022\332\001\n\014GetIamPolicy\0227.go" + + "ogle.cloud.compute.v1.GetIamPolicyReserv" + + "ationRequest\032\037.google.cloud.compute.v1.P" + + "olicy\"p\332A\025project,zone,resource\202\323\344\223\002R\022P/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/reservations/{resource}/getIamPolicy\022" + + "\355\001\n\006Insert\0221.google.cloud.compute.v1.Ins" + + "ertReservationRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\213\001\332A!project,zone,rese" + + "rvation_resource\212N\016ZoneOperations\202\323\344\223\002P\"" + + "8/compute/v1/projects/{project}/zones/{z" + + "one}/reservations:\024reservation_resource\022" + + "\263\001\n\004List\0220.google.cloud.compute.v1.ListR" + + "eservationsRequest\032(.google.cloud.comput" + + "e.v1.ReservationList\"O\332A\014project,zone\202\323\344" + + "\223\002:\0228/compute/v1/projects/{project}/zone" + + "s/{zone}/reservations\022\355\002\n\022PerformMainten" + + "ance\022=.google.cloud.compute.v1.PerformMa" + + "intenanceReservationRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\363\001\332AJproject,zon" + + "e,reservation,reservations_perform_maint" + + "enance_request_resource\212N\016ZoneOperations" + + "\202\323\344\223\002\216\001\"Y/compute/v1/projects/{project}/" + + "zones/{zone}/reservations/{reservation}/" + + "performMaintenance:1reservations_perform" + + "_maintenance_request_resource\022\256\002\n\006Resize" + + "\0221.google.cloud.compute.v1.ResizeReserva" + + "tionRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\314\001\332A=project,zone,reservation,re" + + "servations_resize_request_resource\212N\016Zon" + + "eOperations\202\323\344\223\002u\"M/compute/v1/projects/" + + "{project}/zones/{zone}/reservations/{res" + + "ervation}/resize:$reservations_resize_re" + + "quest_resource\022\236\002\n\014SetIamPolicy\0227.google" + + ".cloud.compute.v1.SetIamPolicyReservatio" + + "nRequest\032\037.google.cloud.compute.v1.Polic" + + "y\"\263\001\332A6project,zone,resource,zone_set_po" + + "licy_request_resource\202\323\344\223\002t\"P/compute/v1" + + "/projects/{project}/zones/{zone}/reserva" + + "tions/{resource}/setIamPolicy: zone_set_" + + "policy_request_resource\022\303\002\n\022TestIamPermi" + + "ssions\022=.google.cloud.compute.v1.TestIam" + + "PermissionsReservationRequest\0320.google.c" + + "loud.compute.v1.TestPermissionsResponse\"" + + "\273\001\332A7project,zone,resource,test_permissi" + + "ons_request_resource\202\323\344\223\002{\"V/compute/v1/" + + "projects/{project}/zones/{zone}/reservat" + + "ions/{resource}/testIamPermissions:!test" + + "_permissions_request_resource\022\207\002\n\006Update" + + "\0221.google.cloud.compute.v1.UpdateReserva" + + "tionRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\245\001\332A-project,zone,reservation,re" + + "servation_resource\212N\016ZoneOperations\202\323\344\223\002" + + "^2F/compute/v1/projects/{project}/zones/" + + "{zone}/reservations/{reservation}:\024reser" + + "vation_resource\032r\312A\026compute.googleapis.c" + + "om\322AVhttps://www.googleapis.com/auth/com" + + "pute,https://www.googleapis.com/auth/clo" + + "ud-platform2\232\023\n\020ResourcePolicies\022\325\001\n\016Agg" + + "regatedList\022>.google.cloud.compute.v1.Ag" + + "gregatedListResourcePoliciesRequest\0325.go" + + "ogle.cloud.compute.v1.ResourcePolicyAggr" + + "egatedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v" + + "1/projects/{project}/aggregated/resource" + + "Policies\022\363\001\n\006Delete\0224.google.cloud.compu" + + "te.v1.DeleteResourcePolicyRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\216\001\332A\036proje" + + "ct,region,resource_policy\212N\020RegionOperat" + + "ions\202\323\344\223\002T*R/compute/v1/projects/{projec" + + "t}/regions/{region}/resourcePolicies/{re" + + "source_policy}\022\336\001\n\003Get\0221.google.cloud.co" + + "mpute.v1.GetResourcePolicyRequest\032\'.goog" + + "le.cloud.compute.v1.ResourcePolicy\"{\332A\036p" + + "roject,region,resource_policy\202\323\344\223\002T\022R/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/resourcePolicies/{resource_policy}\022" + + "\347\001\n\014GetIamPolicy\022:.google.cloud.compute." + + "v1.GetIamPolicyResourcePolicyRequest\032\037.g" + + "oogle.cloud.compute.v1.Policy\"z\332A\027projec" + + "t,region,resource\202\323\344\223\002Z\022X/compute/v1/pro" + + "jects/{project}/regions/{region}/resourc" + + "ePolicies/{resource}/getIamPolicy\022\204\002\n\006In" + + "sert\0224.google.cloud.compute.v1.InsertRes" + + "ourcePolicyRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\237\001\332A\'project,region,resou" + + "rce_policy_resource\212N\020RegionOperations\202\323" + + "\344\223\002\\\"@/compute/v1/projects/{project}/reg" + + "ions/{region}/resourcePolicies:\030resource" + + "_policy_resource\022\304\001\n\004List\0224.google.cloud" + + ".compute.v1.ListResourcePoliciesRequest\032" + + "+.google.cloud.compute.v1.ResourcePolicy" + + "List\"Y\332A\016project,region\202\323\344\223\002B\022@/compute/" + + "v1/projects/{project}/regions/{region}/r" + + "esourcePolicies\022\244\002\n\005Patch\0223.google.cloud" + + ".compute.v1.PatchResourcePolicyRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\301\001\332A7" + + "project,region,resource_policy,resource_" + + "policy_resource\212N\020RegionOperations\202\323\344\223\002n" + + "2R/compute/v1/projects/{project}/regions" + + "/{region}/resourcePolicies/{resource_pol" + + "icy}:\030resource_policy_resource\022\257\002\n\014SetIa" + + "mPolicy\022:.google.cloud.compute.v1.SetIam" + + "PolicyResourcePolicyRequest\032\037.google.clo" + + "ud.compute.v1.Policy\"\301\001\332A:project,region" + + ",resource,region_set_policy_request_reso" + + "urce\202\323\344\223\002~\"X/compute/v1/projects/{projec" + + "t}/regions/{region}/resourcePolicies/{re" + + "source}/setIamPolicy:\"region_set_policy_" + + "request_resource\022\321\002\n\022TestIamPermissions\022" + + "@.google.cloud.compute.v1.TestIamPermiss" + + "ionsResourcePolicyRequest\0320.google.cloud" + + ".compute.v1.TestPermissionsResponse\"\306\001\332A" + + "9project,region,resource,test_permission" + + "s_request_resource\202\323\344\223\002\203\001\"^/compute/v1/p" + + "rojects/{project}/regions/{region}/resou" + + "rcePolicies/{resource}/testIamPermission" + + "s:!test_permissions_request_resource\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\216 \n\007Rou" + + "ters\022\273\001\n\016AggregatedList\0225.google.cloud.c" + + "ompute.v1.AggregatedListRoutersRequest\032-" + + ".google.cloud.compute.v1.RouterAggregate" + + "dList\"C\332A\007project\202\323\344\223\0023\0221/compute/v1/pro" + + "jects/{project}/aggregated/routers\022\317\001\n\006D" + + "elete\022,.google.cloud.compute.v1.DeleteRo", + "uterRequest\032\".google.cloud.compute.v1.Op" + + "eration\"s\332A\025project,region,router\212N\020Regi" + + "onOperations\202\323\344\223\002B*@/compute/v1/projects" + + "/{project}/regions/{region}/routers/{rou" + + "ter}\022\370\001\n\021DeleteRoutePolicy\0227.google.clou" + + "d.compute.v1.DeleteRoutePolicyRouterRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\205\001\332A\025project,region,router\212N\020RegionOpera" + + "tions\202\323\344\223\002T\"R/compute/v1/projects/{proje" + + "ct}/regions/{region}/routers/{router}/de" + + "leteRoutePolicy\022\263\001\n\003Get\022).google.cloud.c" + + "ompute.v1.GetRouterRequest\032\037.google.clou" + + "d.compute.v1.Router\"`\332A\025project,region,r" + + "outer\202\323\344\223\002B\022@/compute/v1/projects/{proje" + + "ct}/regions/{region}/routers/{router}\022\335\001" + + "\n\014GetNatIpInfo\0222.google.cloud.compute.v1" + + ".GetNatIpInfoRouterRequest\032*.google.clou" + + "d.compute.v1.NatIpInfoResponse\"m\332A\025proje" + + "ct,region,router\202\323\344\223\002O\022M/compute/v1/proj" + "ects/{project}/regions/{region}/routers/" - + "{router}/listBgpRoutes\022\364\001\n\021ListRoutePoli" - + "cies\0228.google.cloud.compute.v1.ListRoute" - + "PoliciesRoutersRequest\0321.google.cloud.co" - + "mpute.v1.RoutersListRoutePolicies\"r\332A\025pr" + + "{router}/getNatIpInfo\022\365\001\n\021GetNatMappingI" + + "nfo\0228.google.cloud.compute.v1.GetNatMapp" + + "ingInfoRoutersRequest\0322.google.cloud.com" + + "pute.v1.VmEndpointNatMappingsList\"r\332A\025pr" + "oject,region,router\202\323\344\223\002T\022R/compute/v1/p" + "rojects/{project}/regions/{region}/route" - + "rs/{router}/listRoutePolicies\022\357\001\n\005Patch\022" - + "+.google.cloud.compute.v1.PatchRouterReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\224\001\332A%project,region,router,router_resou" - + "rce\212N\020RegionOperations\202\323\344\223\002S2@/compute/v" - + "1/projects/{project}/regions/{region}/ro" - + "uters/{router}:\017router_resource\022\242\002\n\020Patc" - + "hRoutePolicy\0226.google.cloud.compute.v1.P" - + "atchRoutePolicyRouterRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\261\001\332A+project,re" - + "gion,router,route_policy_resource\212N\020Regi" - + "onOperations\202\323\344\223\002j\"Q/compute/v1/projects" - + "/{project}/regions/{region}/routers/{rou" - + "ter}/patchRoutePolicy:\025route_policy_reso" - + "urce\022\365\001\n\007Preview\022-.google.cloud.compute." - + "v1.PreviewRouterRequest\032/.google.cloud.c" - + "ompute.v1.RoutersPreviewResponse\"\211\001\332A%pr" - + "oject,region,router,router_resource\202\323\344\223\002" - + "[\"H/compute/v1/projects/{project}/region" - + "s/{region}/routers/{router}/preview:\017rou" - + "ter_resource\022\361\001\n\006Update\022,.google.cloud.c" - + "ompute.v1.UpdateRouterRequest\032\".google.c" - + "loud.compute.v1.Operation\"\224\001\332A%project,r" - + "egion,router,router_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002S\032@/compute/v1/projects/{pro" - + "ject}/regions/{region}/routers/{router}:" - + "\017router_resource\022\245\002\n\021UpdateRoutePolicy\0227" - + ".google.cloud.compute.v1.UpdateRoutePoli" - + "cyRouterRequest\032\".google.cloud.compute.v" - + "1.Operation\"\262\001\332A+project,region,router,r" - + "oute_policy_resource\212N\020RegionOperations\202" - + "\323\344\223\002k\"R/compute/v1/projects/{project}/re" - + "gions/{region}/routers/{router}/updateRo" - + "utePolicy:\025route_policy_resource\032r\312A\026com" - + "pute.googleapis.com\322AVhttps://www.google" - + "apis.com/auth/compute,https://www.google" - + "apis.com/auth/cloud-platform2\300\006\n\006Routes\022" - + "\272\001\n\006Delete\022+.google.cloud.compute.v1.Del" - + "eteRouteRequest\032\".google.cloud.compute.v" - + "1.Operation\"_\332A\rproject,route\212N\020GlobalOp" - + "erations\202\323\344\223\0026*4/compute/v1/projects/{pr" - + "oject}/global/routes/{route}\022\235\001\n\003Get\022(.g" - + "oogle.cloud.compute.v1.GetRouteRequest\032\036" - + ".google.cloud.compute.v1.Route\"L\332A\rproje" - + "ct,route\202\323\344\223\0026\0224/compute/v1/projects/{pr" - + "oject}/global/routes/{route}\022\313\001\n\006Insert\022" - + "+.google.cloud.compute.v1.InsertRouteReq" + + "rs/{router}/getNatMappingInfo\022\357\001\n\016GetRou" + + "tePolicy\0224.google.cloud.compute.v1.GetRo" + + "utePolicyRouterRequest\0326.google.cloud.co" + + "mpute.v1.RoutersGetRoutePolicyResponse\"o" + + "\332A\025project,region,router\202\323\344\223\002Q\022O/compute" + + "/v1/projects/{project}/regions/{region}/" + + "routers/{router}/getRoutePolicy\022\351\001\n\017GetR" + + "outerStatus\0225.google.cloud.compute.v1.Ge" + + "tRouterStatusRouterRequest\032-.google.clou" + + "d.compute.v1.RouterStatusResponse\"p\332A\025pr" + + "oject,region,router\202\323\344\223\002R\022P/compute/v1/p" + + "rojects/{project}/regions/{region}/route" + + "rs/{router}/getRouterStatus\022\341\001\n\006Insert\022," + + ".google.cloud.compute.v1.InsertRouterReq" + "uest\032\".google.cloud.compute.v1.Operation" - + "\"p\332A\026project,route_resource\212N\020GlobalOper" - + "ations\202\323\344\223\002>\",/compute/v1/projects/{proj" - + "ect}/global/routes:\016route_resource\022\226\001\n\004L" - + "ist\022*.google.cloud.compute.v1.ListRoutes" - + "Request\032\".google.cloud.compute.v1.RouteL" - + "ist\">\332A\007project\202\323\344\223\002.\022,/compute/v1/proje" - + "cts/{project}/global/routes\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\357\030\n\020SecurityPoli" - + "cies\022\251\002\n\007AddRule\0225.google.cloud.compute." - + "v1.AddRuleSecurityPolicyRequest\032\".google" - + ".cloud.compute.v1.Operation\"\302\001\332A5project" - + ",security_policy,security_policy_rule_re" - + "source\212N\020GlobalOperations\202\323\344\223\002q\"P/comput" - + "e/v1/projects/{project}/global/securityP" - + "olicies/{security_policy}/addRule:\035secur" - + "ity_policy_rule_resource\022\327\001\n\016AggregatedL" - + "ist\022>.google.cloud.compute.v1.Aggregated" - + "ListSecurityPoliciesRequest\0327.google.clo" - + "ud.compute.v1.SecurityPoliciesAggregated" - + "List\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/proj" - + "ects/{project}/aggregated/securityPolici" - + "es\022\341\001\n\006Delete\0224.google.cloud.compute.v1." - + "DeleteSecurityPolicyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"}\332A\027project,secu" - + "rity_policy\212N\020GlobalOperations\202\323\344\223\002J*H/c" - + "ompute/v1/projects/{project}/global/secu" - + "rityPolicies/{security_policy}\022\315\001\n\003Get\0221" - + ".google.cloud.compute.v1.GetSecurityPoli" - + "cyRequest\032\'.google.cloud.compute.v1.Secu" - + "rityPolicy\"j\332A\027project,security_policy\202\323" - + "\344\223\002J\022H/compute/v1/projects/{project}/glo" - + "bal/securityPolicies/{security_policy}\022\341" - + "\001\n\007GetRule\0225.google.cloud.compute.v1.Get" - + "RuleSecurityPolicyRequest\032+.google.cloud" - + ".compute.v1.SecurityPolicyRule\"r\332A\027proje" - + "ct,security_policy\202\323\344\223\002R\022P/compute/v1/pr" - + "ojects/{project}/global/securityPolicies" - + "/{security_policy}/getRule\022\363\001\n\006Insert\0224." - + "google.cloud.compute.v1.InsertSecurityPo" - + "licyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\216\001\332A project,security_policy_res" - + "ource\212N\020GlobalOperations\202\323\344\223\002R\"6/compute" - + "/v1/projects/{project}/global/securityPo" - + "licies:\030security_policy_resource\022\263\001\n\004Lis" - + "t\0224.google.cloud.compute.v1.ListSecurity" - + "PoliciesRequest\032+.google.cloud.compute.v" - + "1.SecurityPolicyList\"H\332A\007project\202\323\344\223\0028\0226" - + "/compute/v1/projects/{project}/global/se" - + "curityPolicies\022\256\002\n\037ListPreconfiguredExpr" - + "essionSets\022O.google.cloud.compute.v1.Lis" - + "tPreconfiguredExpressionSetsSecurityPoli" - + "ciesRequest\032P.google.cloud.compute.v1.Se" - + "curityPoliciesListPreconfiguredExpressio" - + "nSetsResponse\"h\332A\007project\202\323\344\223\002X\022V/comput" - + "e/v1/projects/{project}/global/securityP" - + "olicies/listPreconfiguredExpressionSets\022" - + "\223\002\n\005Patch\0223.google.cloud.compute.v1.Patc" - + "hSecurityPolicyRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\260\001\332A0project,security" - + "_policy,security_policy_resource\212N\020Globa" - + "lOperations\202\323\344\223\002d2H/compute/v1/projects/" - + "{project}/global/securityPolicies/{secur" - + "ity_policy}:\030security_policy_resource\022\257\002" - + "\n\tPatchRule\0227.google.cloud.compute.v1.Pa" - + "tchRuleSecurityPolicyRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\304\001\332A5project,se" + + "\"\204\001\332A\036project,region,router_resource\212N\020R" + + "egionOperations\202\323\344\223\002J\"7/compute/v1/proje" + + "cts/{project}/regions/{region}/routers:\017" + + "router_resource\022\252\001\n\004List\022+.google.cloud." + + "compute.v1.ListRoutersRequest\032#.google.c" + + "loud.compute.v1.RouterList\"P\332A\016project,r" + + "egion\202\323\344\223\0029\0227/compute/v1/projects/{proje" + + "ct}/regions/{region}/routers\022\344\001\n\rListBgp" + + "Routes\0224.google.cloud.compute.v1.ListBgp" + + "RoutesRoutersRequest\032-.google.cloud.comp" + + "ute.v1.RoutersListBgpRoutes\"n\332A\025project," + + "region,router\202\323\344\223\002P\022N/compute/v1/project" + + "s/{project}/regions/{region}/routers/{ro" + + "uter}/listBgpRoutes\022\364\001\n\021ListRoutePolicie" + + "s\0228.google.cloud.compute.v1.ListRoutePol" + + "iciesRoutersRequest\0321.google.cloud.compu" + + "te.v1.RoutersListRoutePolicies\"r\332A\025proje" + + "ct,region,router\202\323\344\223\002T\022R/compute/v1/proj" + + "ects/{project}/regions/{region}/routers/" + + "{router}/listRoutePolicies\022\357\001\n\005Patch\022+.g" + + "oogle.cloud.compute.v1.PatchRouterReques" + + "t\032\".google.cloud.compute.v1.Operation\"\224\001" + + "\332A%project,region,router,router_resource" + + "\212N\020RegionOperations\202\323\344\223\002S2@/compute/v1/p" + + "rojects/{project}/regions/{region}/route" + + "rs/{router}:\017router_resource\022\242\002\n\020PatchRo" + + "utePolicy\0226.google.cloud.compute.v1.Patc" + + "hRoutePolicyRouterRequest\032\".google.cloud" + + ".compute.v1.Operation\"\261\001\332A+project,regio" + + "n,router,route_policy_resource\212N\020RegionO" + + "perations\202\323\344\223\002j\"Q/compute/v1/projects/{p" + + "roject}/regions/{region}/routers/{router" + + "}/patchRoutePolicy:\025route_policy_resourc" + + "e\022\365\001\n\007Preview\022-.google.cloud.compute.v1." + + "PreviewRouterRequest\032/.google.cloud.comp" + + "ute.v1.RoutersPreviewResponse\"\211\001\332A%proje" + + "ct,region,router,router_resource\202\323\344\223\002[\"H" + + "/compute/v1/projects/{project}/regions/{" + + "region}/routers/{router}/preview:\017router" + + "_resource\022\361\001\n\006Update\022,.google.cloud.comp" + + "ute.v1.UpdateRouterRequest\032\".google.clou" + + "d.compute.v1.Operation\"\224\001\332A%project,regi" + + "on,router,router_resource\212N\020RegionOperat" + + "ions\202\323\344\223\002S\032@/compute/v1/projects/{projec" + + "t}/regions/{region}/routers/{router}:\017ro" + + "uter_resource\022\245\002\n\021UpdateRoutePolicy\0227.go" + + "ogle.cloud.compute.v1.UpdateRoutePolicyR" + + "outerRequest\032\".google.cloud.compute.v1.O" + + "peration\"\262\001\332A+project,region,router,rout" + + "e_policy_resource\212N\020RegionOperations\202\323\344\223" + + "\002k\"R/compute/v1/projects/{project}/regio" + + "ns/{region}/routers/{router}/updateRoute" + + "Policy:\025route_policy_resource\032r\312A\026comput" + + "e.googleapis.com\322AVhttps://www.googleapi" + + "s.com/auth/compute,https://www.googleapi" + + "s.com/auth/cloud-platform2\300\006\n\006Routes\022\272\001\n" + + "\006Delete\022+.google.cloud.compute.v1.Delete" + + "RouteRequest\032\".google.cloud.compute.v1.O" + + "peration\"_\332A\rproject,route\212N\020GlobalOpera" + + "tions\202\323\344\223\0026*4/compute/v1/projects/{proje" + + "ct}/global/routes/{route}\022\235\001\n\003Get\022(.goog" + + "le.cloud.compute.v1.GetRouteRequest\032\036.go" + + "ogle.cloud.compute.v1.Route\"L\332A\rproject," + + "route\202\323\344\223\0026\0224/compute/v1/projects/{proje" + + "ct}/global/routes/{route}\022\313\001\n\006Insert\022+.g" + + "oogle.cloud.compute.v1.InsertRouteReques" + + "t\032\".google.cloud.compute.v1.Operation\"p\332" + + "A\026project,route_resource\212N\020GlobalOperati" + + "ons\202\323\344\223\002>\",/compute/v1/projects/{project" + + "}/global/routes:\016route_resource\022\226\001\n\004List" + + "\022*.google.cloud.compute.v1.ListRoutesReq" + + "uest\032\".google.cloud.compute.v1.RouteList" + + "\">\332A\007project\202\323\344\223\002.\022,/compute/v1/projects" + + "/{project}/global/routes\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\357\030\n\020SecurityPolicie" + + "s\022\251\002\n\007AddRule\0225.google.cloud.compute.v1." + + "AddRuleSecurityPolicyRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\302\001\332A5project,se" + "curity_policy,security_policy_rule_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002s\"R/compute/v" + + "rce\212N\020GlobalOperations\202\323\344\223\002q\"P/compute/v" + "1/projects/{project}/global/securityPoli" - + "cies/{security_policy}/patchRule:\035securi" - + "ty_policy_rule_resource\022\365\001\n\nRemoveRule\0228" - + ".google.cloud.compute.v1.RemoveRuleSecur" - + "ityPolicyRequest\032\".google.cloud.compute." - + "v1.Operation\"\210\001\332A\027project,security_polic" - + "y\212N\020GlobalOperations\202\323\344\223\002U\"S/compute/v1/" - + "projects/{project}/global/securityPolici" - + "es/{security_policy}/removeRule\022\253\002\n\tSetL" - + "abels\0227.google.cloud.compute.v1.SetLabel" - + "sSecurityPolicyRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\300\001\332A3project,resource" - + ",global_set_labels_request_resource\212N\020Gl" - + "obalOperations\202\323\344\223\002q\"K/compute/v1/projec" - + "ts/{project}/global/securityPolicies/{re" - + "source}/setLabels:\"global_set_labels_req" - + "uest_resource\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\360\023\n\022ServiceAttachments\022\334\001\n\016Agg" - + "regatedList\022@.google.cloud.compute.v1.Ag" - + "gregatedListServiceAttachmentsRequest\0328." - + "google.cloud.compute.v1.ServiceAttachmen" - + "tAggregatedList\"N\332A\007project\202\323\344\223\002>\022.google.cloud.compute.v1.AggregatedLis" + + "tSecurityPoliciesRequest\0327.google.cloud." + + "compute.v1.SecurityPoliciesAggregatedLis" + + "t\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/project" + + "s/{project}/aggregated/securityPolicies\022" + + "\341\001\n\006Delete\0224.google.cloud.compute.v1.Del" + + "eteSecurityPolicyRequest\032\".google.cloud." + + "compute.v1.Operation\"}\332A\027project,securit" + + "y_policy\212N\020GlobalOperations\202\323\344\223\002J*H/comp" + + "ute/v1/projects/{project}/global/securit" + + "yPolicies/{security_policy}\022\315\001\n\003Get\0221.go" + + "ogle.cloud.compute.v1.GetSecurityPolicyR" + + "equest\032\'.google.cloud.compute.v1.Securit" + + "yPolicy\"j\332A\027project,security_policy\202\323\344\223\002" + + "J\022H/compute/v1/projects/{project}/global" + + "/securityPolicies/{security_policy}\022\341\001\n\007" + + "GetRule\0225.google.cloud.compute.v1.GetRul" + + "eSecurityPolicyRequest\032+.google.cloud.co" + + "mpute.v1.SecurityPolicyRule\"r\332A\027project," + + "security_policy\202\323\344\223\002R\022P/compute/v1/proje" + + "cts/{project}/global/securityPolicies/{s" + + "ecurity_policy}/getRule\022\363\001\n\006Insert\0224.goo" + + "gle.cloud.compute.v1.InsertSecurityPolic" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\216\001\332A project,security_policy_resour" + + "ce\212N\020GlobalOperations\202\323\344\223\002R\"6/compute/v1" + + "/projects/{project}/global/securityPolic" + + "ies:\030security_policy_resource\022\263\001\n\004List\0224" + + ".google.cloud.compute.v1.ListSecurityPol" + + "iciesRequest\032+.google.cloud.compute.v1.S" + + "ecurityPolicyList\"H\332A\007project\202\323\344\223\0028\0226/co" + + "mpute/v1/projects/{project}/global/secur" + + "ityPolicies\022\256\002\n\037ListPreconfiguredExpress" + + "ionSets\022O.google.cloud.compute.v1.ListPr" + + "econfiguredExpressionSetsSecurityPolicie" + + "sRequest\032P.google.cloud.compute.v1.Secur" + + "ityPoliciesListPreconfiguredExpressionSe" + + "tsResponse\"h\332A\007project\202\323\344\223\002X\022V/compute/v" + + "1/projects/{project}/global/securityPoli" + + "cies/listPreconfiguredExpressionSets\022\223\002\n" + + "\005Patch\0223.google.cloud.compute.v1.PatchSe" + + "curityPolicyRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\260\001\332A0project,security_po" + + "licy,security_policy_resource\212N\020GlobalOp" + + "erations\202\323\344\223\002d2H/compute/v1/projects/{pr" + + "oject}/global/securityPolicies/{security" + + "_policy}:\030security_policy_resource\022\257\002\n\tP" + + "atchRule\0227.google.cloud.compute.v1.Patch" + + "RuleSecurityPolicyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\304\001\332A5project,secur" + + "ity_policy,security_policy_rule_resource" + + "\212N\020GlobalOperations\202\323\344\223\002s\"R/compute/v1/p" + + "rojects/{project}/global/securityPolicie" + + "s/{security_policy}/patchRule:\035security_" + + "policy_rule_resource\022\365\001\n\nRemoveRule\0228.go" + + "ogle.cloud.compute.v1.RemoveRuleSecurity" + + "PolicyRequest\032\".google.cloud.compute.v1." + + "Operation\"\210\001\332A\027project,security_policy\212N" + + "\020GlobalOperations\202\323\344\223\002U\"S/compute/v1/pro" + + "jects/{project}/global/securityPolicies/" + + "{security_policy}/removeRule\022\253\002\n\tSetLabe" + + "ls\0227.google.cloud.compute.v1.SetLabelsSe" + + "curityPolicyRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\300\001\332A3project,resource,gl" + + "obal_set_labels_request_resource\212N\020Globa" + + "lOperations\202\323\344\223\002q\"K/compute/v1/projects/" + + "{project}/global/securityPolicies/{resou" + + "rce}/setLabels:\"global_set_labels_reques" + + "t_resource\032r\312A\026compute.googleapis.com\322AV" + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\251\017\n\tSnapshots\022\306\001\n\006Delete\022..google" - + ".cloud.compute.v1.DeleteSnapshotRequest\032" - + "\".google.cloud.compute.v1.Operation\"h\332A\020" - + "project,snapshot\212N\020GlobalOperations\202\323\344\223\002" - + "<*:/compute/v1/projects/{project}/global" - + "/snapshots/{snapshot}\022\254\001\n\003Get\022+.google.c" - + "loud.compute.v1.GetSnapshotRequest\032!.goo" - + "gle.cloud.compute.v1.Snapshot\"U\332A\020projec" - + "t,snapshot\202\323\344\223\002<\022:/compute/v1/projects/{" - + "project}/global/snapshots/{snapshot}\022\311\001\n" - + "\014GetIamPolicy\0224.google.cloud.compute.v1." - + "GetIamPolicySnapshotRequest\032\037.google.clo" - + "ud.compute.v1.Policy\"b\332A\020project,resourc" - + "e\202\323\344\223\002I\022G/compute/v1/projects/{project}/" - + "global/snapshots/{resource}/getIamPolicy" - + "\022\327\001\n\006Insert\022..google.cloud.compute.v1.In" - + "sertSnapshotRequest\032\".google.cloud.compu" - + "te.v1.Operation\"y\332A\031project,snapshot_res" - + "ource\212N\020GlobalOperations\202\323\344\223\002D\"//compute" - + "/v1/projects/{project}/global/snapshots:" - + "\021snapshot_resource\022\237\001\n\004List\022-.google.clo" - + "ud.compute.v1.ListSnapshotsRequest\032%.goo" - + "gle.cloud.compute.v1.SnapshotList\"A\332A\007pr" - + "oject\202\323\344\223\0021\022//compute/v1/projects/{proje" - + "ct}/global/snapshots\022\221\002\n\014SetIamPolicy\0224." - + "google.cloud.compute.v1.SetIamPolicySnap" - + "shotRequest\032\037.google.cloud.compute.v1.Po" - + "licy\"\251\001\332A3project,resource,global_set_po" - + "licy_request_resource\202\323\344\223\002m\"G/compute/v1" - + "/projects/{project}/global/snapshots/{re" - + "source}/setIamPolicy:\"global_set_policy_" - + "request_resource\022\236\002\n\tSetLabels\0221.google." - + "cloud.compute.v1.SetLabelsSnapshotReques" - + "t\032\".google.cloud.compute.v1.Operation\"\271\001" - + "\332A3project,resource,global_set_labels_re" - + "quest_resource\212N\020GlobalOperations\202\323\344\223\002j\"" - + "D/compute/v1/projects/{project}/global/s" - + "napshots/{resource}/setLabels:\"global_se" - + "t_labels_request_resource\022\262\002\n\022TestIamPer" - + "missions\022:.google.cloud.compute.v1.TestI" - + "amPermissionsSnapshotRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\255" - + "\001\332A2project,resource,test_permissions_re" - + "quest_resource\202\323\344\223\002r\"M/compute/v1/projec" - + "ts/{project}/global/snapshots/{resource}" - + "/testIamPermissions:!test_permissions_re" - + "quest_resource\032r\312A\026compute.googleapis.co" - + "m\322AVhttps://www.googleapis.com/auth/comp" - + "ute,https://www.googleapis.com/auth/clou" - + "d-platform2\266\t\n\017SslCertificates\022\323\001\n\016Aggre" - + "gatedList\022=.google.cloud.compute.v1.Aggr" - + "egatedListSslCertificatesRequest\0325.googl" - + "e.cloud.compute.v1.SslCertificateAggrega" - + "tedList\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/p" - + "rojects/{project}/aggregated/sslCertific" - + "ates\022\340\001\n\006Delete\0224.google.cloud.compute.v" - + "1.DeleteSslCertificateRequest\032\".google.c" - + "loud.compute.v1.Operation\"|\332A\027project,ss" - + "l_certificate\212N\020GlobalOperations\202\323\344\223\002I*G" - + "/compute/v1/projects/{project}/global/ss" - + "lCertificates/{ssl_certificate}\022\314\001\n\003Get\022" - + "1.google.cloud.compute.v1.GetSslCertific" - + "ateRequest\032\'.google.cloud.compute.v1.Ssl" - + "Certificate\"i\332A\027project,ssl_certificate\202" - + "\323\344\223\002I\022G/compute/v1/projects/{project}/gl" - + "obal/sslCertificates/{ssl_certificate}\022\362" - + "\001\n\006Insert\0224.google.cloud.compute.v1.Inse" - + "rtSslCertificateRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\215\001\332A project,ssl_cer" - + "tificate_resource\212N\020GlobalOperations\202\323\344\223" - + "\002Q\"5/compute/v1/projects/{project}/globa" - + "l/sslCertificates:\030ssl_certificate_resou" - + "rce\022\261\001\n\004List\0223.google.cloud.compute.v1.L" - + "istSslCertificatesRequest\032+.google.cloud" - + ".compute.v1.SslCertificateList\"G\332A\007proje" - + "ct\202\323\344\223\0027\0225/compute/v1/projects/{project}" - + "/global/sslCertificates\032r\312A\026compute.goog" - + "leapis.com\322AVhttps://www.googleapis.com/" - + "auth/compute,https://www.googleapis.com/" - + "auth/cloud-platform2\317\014\n\013SslPolicies\022\310\001\n\016" - + "AggregatedList\0229.google.cloud.compute.v1" - + ".AggregatedListSslPoliciesRequest\0322.goog" - + "le.cloud.compute.v1.SslPoliciesAggregate" - + "dList\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/pro" - + "jects/{project}/aggregated/sslPolicies\022\315" - + "\001\n\006Delete\022/.google.cloud.compute.v1.Dele" - + "teSslPolicyRequest\032\".google.cloud.comput" - + "e.v1.Operation\"n\332A\022project,ssl_policy\212N\020" - + "GlobalOperations\202\323\344\223\002@*>/compute/v1/proj" - + "ects/{project}/global/sslPolicies/{ssl_p" - + "olicy}\022\264\001\n\003Get\022,.google.cloud.compute.v1" - + ".GetSslPolicyRequest\032\".google.cloud.comp" - + "ute.v1.SslPolicy\"[\332A\022project,ssl_policy\202" - + "\323\344\223\002@\022>/compute/v1/projects/{project}/gl" - + "obal/sslPolicies/{ssl_policy}\022\336\001\n\006Insert" - + "\022/.google.cloud.compute.v1.InsertSslPoli" - + "cyRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\177\332A\033project,ssl_policy_resource\212N\020" - + "GlobalOperations\202\323\344\223\002H\"1/compute/v1/proj" - + "ects/{project}/global/sslPolicies:\023ssl_p" - + "olicy_resource\022\246\001\n\004List\022/.google.cloud.c" - + "ompute.v1.ListSslPoliciesRequest\032(.googl" - + "e.cloud.compute.v1.SslPoliciesList\"C\332A\007p" - + "roject\202\323\344\223\0023\0221/compute/v1/projects/{proj" - + "ect}/global/sslPolicies\022\367\001\n\025ListAvailabl" - + "eFeatures\022@.google.cloud.compute.v1.List" - + "AvailableFeaturesSslPoliciesRequest\032A.go" - + "ogle.cloud.compute.v1.SslPoliciesListAva" - + "ilableFeaturesResponse\"Y\332A\007project\202\323\344\223\002I" - + "\022G/compute/v1/projects/{project}/global/" - + "sslPolicies/listAvailableFeatures\022\365\001\n\005Pa" - + "tch\022..google.cloud.compute.v1.PatchSslPo" - + "licyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\227\001\332A&project,ssl_policy,ssl_poli" - + "cy_resource\212N\020GlobalOperations\202\323\344\223\002U2>/c" - + "ompute/v1/projects/{project}/global/sslP" - + "olicies/{ssl_policy}:\023ssl_policy_resourc" - + "e\032r\312A\026compute.googleapis.com\322AVhttps://w" - + "ww.googleapis.com/auth/compute,https://w" - + "ww.googleapis.com/auth/cloud-platform2\265\006" - + "\n\020StoragePoolTypes\022\326\001\n\016AggregatedList\022>." - + "google.cloud.compute.v1.AggregatedListSt" - + "oragePoolTypesRequest\0326.google.cloud.com" - + "pute.v1.StoragePoolTypeAggregatedList\"L\332" - + "A\007project\202\323\344\223\002<\022:/compute/v1/projects/{p" - + "roject}/aggregated/storagePoolTypes\022\336\001\n\003" - + "Get\0222.google.cloud.compute.v1.GetStorage" - + "PoolTypeRequest\032(.google.cloud.compute.v" - + "1.StoragePoolType\"y\332A\036project,zone,stora" - + "ge_pool_type\202\323\344\223\002R\022P/compute/v1/projects" - + "/{project}/zones/{zone}/storagePoolTypes" - + "/{storage_pool_type}\022\277\001\n\004List\0224.google.c" - + "loud.compute.v1.ListStoragePoolTypesRequ" - + "est\032,.google.cloud.compute.v1.StoragePoo" - + "lTypeList\"S\332A\014project,zone\202\323\344\223\002>\022\022/compute/v1/project" + + "s/{project}/global/sslPolicies/{ssl_poli" + + "cy}\022\264\001\n\003Get\022,.google.cloud.compute.v1.Ge" + + "tSslPolicyRequest\032\".google.cloud.compute" + + ".v1.SslPolicy\"[\332A\022project,ssl_policy\202\323\344\223" + + "\002@\022>/compute/v1/projects/{project}/globa" + + "l/sslPolicies/{ssl_policy}\022\336\001\n\006Insert\022/." + + "google.cloud.compute.v1.InsertSslPolicyR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\177\332A\033project,ssl_policy_resource\212N\020Glo" + + "balOperations\202\323\344\223\002H\"1/compute/v1/project" + + "s/{project}/global/sslPolicies:\023ssl_poli" + + "cy_resource\022\246\001\n\004List\022/.google.cloud.comp" + + "ute.v1.ListSslPoliciesRequest\032(.google.c" + + "loud.compute.v1.SslPoliciesList\"C\332A\007proj" + + "ect\202\323\344\223\0023\0221/compute/v1/projects/{project" + + "}/global/sslPolicies\022\367\001\n\025ListAvailableFe" + + "atures\022@.google.cloud.compute.v1.ListAva" + + "ilableFeaturesSslPoliciesRequest\032A.googl" + + "e.cloud.compute.v1.SslPoliciesListAvaila" + + "bleFeaturesResponse\"Y\332A\007project\202\323\344\223\002I\022G/" + + "compute/v1/projects/{project}/global/ssl" + + "Policies/listAvailableFeatures\022\365\001\n\005Patch" + + "\022..google.cloud.compute.v1.PatchSslPolic" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\227\001\332A&project,ssl_policy,ssl_policy_" + + "resource\212N\020GlobalOperations\202\323\344\223\002U2>/comp" + + "ute/v1/projects/{project}/global/sslPoli" + + "cies/{ssl_policy}:\023ssl_policy_resource\032r" + + "\312A\026compute.googleapis.com\322AVhttps://www." + + "googleapis.com/auth/compute,https://www." + + "googleapis.com/auth/cloud-platform2\265\006\n\020S" + + "toragePoolTypes\022\326\001\n\016AggregatedList\022>.goo" + + "gle.cloud.compute.v1.AggregatedListStora" + + "gePoolTypesRequest\0326.google.cloud.comput" + + "e.v1.StoragePoolTypeAggregatedList\"L\332A\007p" + + "roject\202\323\344\223\002<\022:/compute/v1/projects/{proj", + "ect}/aggregated/storagePoolTypes\022\336\001\n\003Get" + + "\0222.google.cloud.compute.v1.GetStoragePoo" + + "lTypeRequest\032(.google.cloud.compute.v1.S" + + "toragePoolType\"y\332A\036project,zone,storage_" + + "pool_type\202\323\344\223\002R\022P/compute/v1/projects/{p" + + "roject}/zones/{zone}/storagePoolTypes/{s" + + "torage_pool_type}\022\277\001\n\004List\0224.google.clou" + + "d.compute.v1.ListStoragePoolTypesRequest" + + "\032,.google.cloud.compute.v1.StoragePoolTy" + + "peList\"S\332A\014project,zone\202\323\344\223\002>\022\022\022.google.clou" - + "d.compute.v1.AggregatedListTargetTcpProx" - + "iesRequest\0325.google.cloud.compute.v1.Tar" - + "getTcpProxyAggregatedList\"L\332A\007project\202\323\344" - + "\223\002<\022:/compute/v1/projects/{project}/aggr" - + "egated/targetTcpProxies\022\343\001\n\006Delete\0224.goo" - + "gle.cloud.compute.v1.DeleteTargetTcpProx" - + "yRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\177\332A\030project,target_tcp_proxy\212N\020Glob" - + "alOperations\202\323\344\223\002K*I/compute/v1/projects" - + "/{project}/global/targetTcpProxies/{targ" - + "et_tcp_proxy}\022\317\001\n\003Get\0221.google.cloud.com" - + "pute.v1.GetTargetTcpProxyRequest\032\'.googl" - + "e.cloud.compute.v1.TargetTcpProxy\"l\332A\030pr" - + "oject,target_tcp_proxy\202\323\344\223\002K\022I/compute/v" - + "1/projects/{project}/global/targetTcpPro" - + "xies/{target_tcp_proxy}\022\365\001\n\006Insert\0224.goo" - + "gle.cloud.compute.v1.InsertTargetTcpProx" - + "yRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\220\001\332A!project,target_tcp_proxy_resou" - + "rce\212N\020GlobalOperations\202\323\344\223\002S\"6/compute/v" - + "1/projects/{project}/global/targetTcpPro" - + "xies:\031target_tcp_proxy_resource\022\263\001\n\004List" - + "\0224.google.cloud.compute.v1.ListTargetTcp" - + "ProxiesRequest\032+.google.cloud.compute.v1" - + ".TargetTcpProxyList\"H\332A\007project\202\323\344\223\0028\0226/" - + "compute/v1/projects/{project}/global/tar" - + "getTcpProxies\022\376\002\n\021SetBackendService\022?.go" - + "ogle.cloud.compute.v1.SetBackendServiceT" - + "argetTcpProxyRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\203\002\332APproject,target_tcp" - + "_proxy,target_tcp_proxies_set_backend_se" - + "rvice_request_resource\212N\020GlobalOperation" - + "s\202\323\344\223\002\226\001\"[/compute/v1/projects/{project}" - + "/global/targetTcpProxies/{target_tcp_pro" - + "xy}/setBackendService:7target_tcp_proxie" - + "s_set_backend_service_request_resource\022\357" - + "\002\n\016SetProxyHeader\022<.google.cloud.compute" - + ".v1.SetProxyHeaderTargetTcpProxyRequest\032" - + "\".google.cloud.compute.v1.Operation\"\372\001\332A" - + "Mproject,target_tcp_proxy,target_tcp_pro" - + "xies_set_proxy_header_request_resource\212N" - + "\020GlobalOperations\202\323\344\223\002\220\001\"X/compute/v1/pr" - + "ojects/{project}/global/targetTcpProxies" - + "/{target_tcp_proxy}/setProxyHeader:4targ" - + "et_tcp_proxies_set_proxy_header_request_" - + "resource\032r\312A\026compute.googleapis.com\322AVht" - + "tps://www.googleapis.com/auth/compute,ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "form2\354\014\n\021TargetVpnGateways\022\331\001\n\016Aggregate" - + "dList\022?.google.cloud.compute.v1.Aggregat" - + "edListTargetVpnGatewaysRequest\0327.google." - + "cloud.compute.v1.TargetVpnGatewayAggrega" - + "tedList\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/p" - + "rojects/{project}/aggregated/targetVpnGa" - + "teways\022\374\001\n\006Delete\0226.google.cloud.compute" - + ".v1.DeleteTargetVpnGatewayRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\225\001\332A!proje" - + "ct,region,target_vpn_gateway\212N\020RegionOpe" - + "rations\202\323\344\223\002X*V/compute/v1/projects/{pro" - + "ject}/regions/{region}/targetVpnGateways" - + "/{target_vpn_gateway}\022\352\001\n\003Get\0223.google.c" - + "loud.compute.v1.GetTargetVpnGatewayReque" - + "st\032).google.cloud.compute.v1.TargetVpnGa" - + "teway\"\202\001\332A!project,region,target_vpn_gat" - + "eway\202\323\344\223\002X\022V/compute/v1/projects/{projec" + + "peration\"\203\002\332APproject,target_ssl_proxy,t" + + "arget_ssl_proxies_set_certificate_map_re" + + "quest_resource\212N\020GlobalOperations\202\323\344\223\002\226\001" + + "\"[/compute/v1/projects/{project}/global/" + + "targetSslProxies/{target_ssl_proxy}/setC" + + "ertificateMap:7target_ssl_proxies_set_ce" + + "rtificate_map_request_resource\022\357\002\n\016SetPr" + + "oxyHeader\022<.google.cloud.compute.v1.SetP" + + "roxyHeaderTargetSslProxyRequest\032\".google" + + ".cloud.compute.v1.Operation\"\372\001\332AMproject" + + ",target_ssl_proxy,target_ssl_proxies_set" + + "_proxy_header_request_resource\212N\020GlobalO" + + "perations\202\323\344\223\002\220\001\"X/compute/v1/projects/{" + + "project}/global/targetSslProxies/{target" + + "_ssl_proxy}/setProxyHeader:4target_ssl_p" + + "roxies_set_proxy_header_request_resource" + + "\022\203\003\n\022SetSslCertificates\022@.google.cloud.c" + + "ompute.v1.SetSslCertificatesTargetSslPro" + + "xyRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\206\002\332AQproject,target_ssl_proxy,targ" + + "et_ssl_proxies_set_ssl_certificates_requ" + + "est_resource\212N\020GlobalOperations\202\323\344\223\002\230\001\"\\" + + "/compute/v1/projects/{project}/global/ta" + + "rgetSslProxies/{target_ssl_proxy}/setSsl" + + "Certificates:8target_ssl_proxies_set_ssl" + + "_certificates_request_resource\022\272\002\n\014SetSs" + + "lPolicy\022:.google.cloud.compute.v1.SetSsl" + + "PolicyTargetSslProxyRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\311\001\332A6project,tar" + + "get_ssl_proxy,ssl_policy_reference_resou" + + "rce\212N\020GlobalOperations\202\323\344\223\002w\"V/compute/v" + + "1/projects/{project}/global/targetSslPro" + + "xies/{target_ssl_proxy}/setSslPolicy:\035ss" + + "l_policy_reference_resource\032r\312A\026compute." + + "googleapis.com\322AVhttps://www.googleapis." + + "com/auth/compute,https://www.googleapis." + + "com/auth/cloud-platform2\267\017\n\020TargetTcpPro" + + "xies\022\325\001\n\016AggregatedList\022>.google.cloud.c" + + "ompute.v1.AggregatedListTargetTcpProxies" + + "Request\0325.google.cloud.compute.v1.Target" + + "TcpProxyAggregatedList\"L\332A\007project\202\323\344\223\002<" + + "\022:/compute/v1/projects/{project}/aggrega" + + "ted/targetTcpProxies\022\343\001\n\006Delete\0224.google" + + ".cloud.compute.v1.DeleteTargetTcpProxyRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\177\332A\030project,target_tcp_proxy\212N\020GlobalO" + + "perations\202\323\344\223\002K*I/compute/v1/projects/{p" + + "roject}/global/targetTcpProxies/{target_" + + "tcp_proxy}\022\317\001\n\003Get\0221.google.cloud.comput" + + "e.v1.GetTargetTcpProxyRequest\032\'.google.c" + + "loud.compute.v1.TargetTcpProxy\"l\332A\030proje" + + "ct,target_tcp_proxy\202\323\344\223\002K\022I/compute/v1/p" + + "rojects/{project}/global/targetTcpProxie" + + "s/{target_tcp_proxy}\022\365\001\n\006Insert\0224.google" + + ".cloud.compute.v1.InsertTargetTcpProxyRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\220\001\332A!project,target_tcp_proxy_resource" + + "\212N\020GlobalOperations\202\323\344\223\002S\"6/compute/v1/p" + + "rojects/{project}/global/targetTcpProxie" + + "s:\031target_tcp_proxy_resource\022\263\001\n\004List\0224." + + "google.cloud.compute.v1.ListTargetTcpPro" + + "xiesRequest\032+.google.cloud.compute.v1.Ta" + + "rgetTcpProxyList\"H\332A\007project\202\323\344\223\0028\0226/com" + + "pute/v1/projects/{project}/global/target" + + "TcpProxies\022\376\002\n\021SetBackendService\022?.googl" + + "e.cloud.compute.v1.SetBackendServiceTarg" + + "etTcpProxyRequest\032\".google.cloud.compute" + + ".v1.Operation\"\203\002\332APproject,target_tcp_pr" + + "oxy,target_tcp_proxies_set_backend_servi" + + "ce_request_resource\212N\020GlobalOperations\202\323" + + "\344\223\002\226\001\"[/compute/v1/projects/{project}/gl" + + "obal/targetTcpProxies/{target_tcp_proxy}" + + "/setBackendService:7target_tcp_proxies_s" + + "et_backend_service_request_resource\022\357\002\n\016" + + "SetProxyHeader\022<.google.cloud.compute.v1" + + ".SetProxyHeaderTargetTcpProxyRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\372\001\332AMpr" + + "oject,target_tcp_proxy,target_tcp_proxie" + + "s_set_proxy_header_request_resource\212N\020Gl" + + "obalOperations\202\323\344\223\002\220\001\"X/compute/v1/proje" + + "cts/{project}/global/targetTcpProxies/{t" + + "arget_tcp_proxy}/setProxyHeader:4target_" + + "tcp_proxies_set_proxy_header_request_res" + + "ource\032r\312A\026compute.googleapis.com\322AVhttps" + + "://www.googleapis.com/auth/compute,https" + + "://www.googleapis.com/auth/cloud-platfor" + + "m2\354\014\n\021TargetVpnGateways\022\331\001\n\016AggregatedLi" + + "st\022?.google.cloud.compute.v1.AggregatedL" + + "istTargetVpnGatewaysRequest\0327.google.clo" + + "ud.compute.v1.TargetVpnGatewayAggregated" + + "List\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/proj" + + "ects/{project}/aggregated/targetVpnGatew" + + "ays\022\374\001\n\006Delete\0226.google.cloud.compute.v1" + + ".DeleteTargetVpnGatewayRequest\032\".google." + + "cloud.compute.v1.Operation\"\225\001\332A!project," + + "region,target_vpn_gateway\212N\020RegionOperat" + + "ions\202\323\344\223\002X*V/compute/v1/projects/{projec" + "t}/regions/{region}/targetVpnGateways/{t" - + "arget_vpn_gateway}\022\215\002\n\006Insert\0226.google.c" - + "loud.compute.v1.InsertTargetVpnGatewayRe" + + "arget_vpn_gateway}\022\352\001\n\003Get\0223.google.clou" + + "d.compute.v1.GetTargetVpnGatewayRequest\032" + + ").google.cloud.compute.v1.TargetVpnGatew" + + "ay\"\202\001\332A!project,region,target_vpn_gatewa" + + "y\202\323\344\223\002X\022V/compute/v1/projects/{project}/" + + "regions/{region}/targetVpnGateways/{targ" + + "et_vpn_gateway}\022\215\002\n\006Insert\0226.google.clou" + + "d.compute.v1.InsertTargetVpnGatewayReque" + + "st\032\".google.cloud.compute.v1.Operation\"\246" + + "\001\332A*project,region,target_vpn_gateway_re" + + "source\212N\020RegionOperations\202\323\344\223\002`\"A/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/targetVpnGateways:\033target_vpn_gateway_r" + + "esource\022\310\001\n\004List\0225.google.cloud.compute." + + "v1.ListTargetVpnGatewaysRequest\032-.google" + + ".cloud.compute.v1.TargetVpnGatewayList\"Z" + + "\332A\016project,region\202\323\344\223\002C\022A/compute/v1/pro" + + "jects/{project}/regions/{region}/targetV" + + "pnGateways\022\277\002\n\tSetLabels\0229.google.cloud." + + "compute.v1.SetLabelsTargetVpnGatewayRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\322\001\332A:project,region,resource,region_set_" + + "labels_request_resource\212N\020RegionOperatio" + + "ns\202\323\344\223\002|\"V/compute/v1/projects/{project}" + + "/regions/{region}/targetVpnGateways/{res" + + "ource}/setLabels:\"region_set_labels_requ" + + "est_resource\032r\312A\026compute.googleapis.com\322" + + "AVhttps://www.googleapis.com/auth/comput" + + "e,https://www.googleapis.com/auth/cloud-" + + "platform2\236\020\n\007UrlMaps\022\274\001\n\016AggregatedList\022" + + "5.google.cloud.compute.v1.AggregatedList" + + "UrlMapsRequest\032..google.cloud.compute.v1" + + ".UrlMapsAggregatedList\"C\332A\007project\202\323\344\223\0023" + + "\0221/compute/v1/projects/{project}/aggrega" + + "ted/urlMaps\022\300\001\n\006Delete\022,.google.cloud.co" + + "mpute.v1.DeleteUrlMapRequest\032\".google.cl" + + "oud.compute.v1.Operation\"d\332A\017project,url" + + "_map\212N\020GlobalOperations\202\323\344\223\0029*7/compute/" + + "v1/projects/{project}/global/urlMaps/{ur" + + "l_map}\022\244\001\n\003Get\022).google.cloud.compute.v1" + + ".GetUrlMapRequest\032\037.google.cloud.compute" + + ".v1.UrlMap\"Q\332A\017project,url_map\202\323\344\223\0029\0227/c" + + "ompute/v1/projects/{project}/global/urlM" + + "aps/{url_map}\022\321\001\n\006Insert\022,.google.cloud." + + "compute.v1.InsertUrlMapRequest\032\".google." + + "cloud.compute.v1.Operation\"u\332A\030project,u" + + "rl_map_resource\212N\020GlobalOperations\202\323\344\223\002A" + + "\"-/compute/v1/projects/{project}/global/" + + "urlMaps:\020url_map_resource\022\246\002\n\017Invalidate" + + "Cache\0225.google.cloud.compute.v1.Invalida" + + "teCacheUrlMapRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\267\001\332A0project,url_map,ca" + + "che_invalidation_rule_resource\212N\020GlobalO" + + "perations\202\323\344\223\002k\"G/compute/v1/projects/{p" + + "roject}/global/urlMaps/{url_map}/invalid" + + "ateCache: cache_invalidation_rule_resour" + + "ce\022\231\001\n\004List\022+.google.cloud.compute.v1.Li" + + "stUrlMapsRequest\032#.google.cloud.compute." + + "v1.UrlMapList\"?\332A\007project\202\323\344\223\002/\022-/comput" + + "e/v1/projects/{project}/global/urlMaps\022\342" + + "\001\n\005Patch\022+.google.cloud.compute.v1.Patch" + + "UrlMapRequest\032\".google.cloud.compute.v1." + + "Operation\"\207\001\332A project,url_map,url_map_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002K27/compu" + + "te/v1/projects/{project}/global/urlMaps/" + + "{url_map}:\020url_map_resource\022\344\001\n\006Update\022," + + ".google.cloud.compute.v1.UpdateUrlMapReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\207\001\332A project,url_map,url_map_resource\212N" + + "\020GlobalOperations\202\323\344\223\002K\0327/compute/v1/pro" + + "jects/{project}/global/urlMaps/{url_map}" + + ":\020url_map_resource\022\220\002\n\010Validate\022..google" + + ".cloud.compute.v1.ValidateUrlMapRequest\032" + + "0.google.cloud.compute.v1.UrlMapsValidat" + + "eResponse\"\241\001\332A2project,url_map,url_maps_" + + "validate_request_resource\202\323\344\223\002f\"@/comput" + + "e/v1/projects/{project}/global/urlMaps/{" + + "url_map}/validate:\"url_maps_validate_req" + + "uest_resource\032r\312A\026compute.googleapis.com" + + "\322AVhttps://www.googleapis.com/auth/compu" + + "te,https://www.googleapis.com/auth/cloud" + + "-platform2\237\020\n\013VpnGateways\022\307\001\n\016Aggregated" + + "List\0229.google.cloud.compute.v1.Aggregate" + + "dListVpnGatewaysRequest\0321.google.cloud.c" + + "ompute.v1.VpnGatewayAggregatedList\"G\332A\007p" + + "roject\202\323\344\223\0027\0225/compute/v1/projects/{proj" + + "ect}/aggregated/vpnGateways\022\342\001\n\006Delete\0220" + + ".google.cloud.compute.v1.DeleteVpnGatewa" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\201\001\332A\032project,region,vpn_gateway\212N\020R" + + "egionOperations\202\323\344\223\002K*I/compute/v1/proje" + + "cts/{project}/regions/{region}/vpnGatewa" + + "ys/{vpn_gateway}\022\311\001\n\003Get\022-.google.cloud." + + "compute.v1.GetVpnGatewayRequest\032#.google" + + ".cloud.compute.v1.VpnGateway\"n\332A\032project" + + ",region,vpn_gateway\202\323\344\223\002K\022I/compute/v1/p" + + "rojects/{project}/regions/{region}/vpnGa" + + "teways/{vpn_gateway}\022\361\001\n\tGetStatus\0223.goo" + + "gle.cloud.compute.v1.GetStatusVpnGateway" + + "Request\0325.google.cloud.compute.v1.VpnGat" + + "ewaysGetStatusResponse\"x\332A\032project,regio" + + "n,vpn_gateway\202\323\344\223\002U\022S/compute/v1/project" + + "s/{project}/regions/{region}/vpnGateways" + + "/{vpn_gateway}/getStatus\022\363\001\n\006Insert\0220.go" + + "ogle.cloud.compute.v1.InsertVpnGatewayRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\246\001\332A*project,region,target_vpn_gateway" - + "_resource\212N\020RegionOperations\202\323\344\223\002`\"A/com" + + "n\"\222\001\332A#project,region,vpn_gateway_resour" + + "ce\212N\020RegionOperations\202\323\344\223\002S\";/compute/v1" + + "/projects/{project}/regions/{region}/vpn" + + "Gateways:\024vpn_gateway_resource\022\266\001\n\004List\022" + + "/.google.cloud.compute.v1.ListVpnGateway" + + "sRequest\032\'.google.cloud.compute.v1.VpnGa" + + "tewayList\"T\332A\016project,region\202\323\344\223\002=\022;/com" + "pute/v1/projects/{project}/regions/{regi" - + "on}/targetVpnGateways:\033target_vpn_gatewa" - + "y_resource\022\310\001\n\004List\0225.google.cloud.compu" - + "te.v1.ListTargetVpnGatewaysRequest\032-.goo" - + "gle.cloud.compute.v1.TargetVpnGatewayLis" - + "t\"Z\332A\016project,region\202\323\344\223\002C\022A/compute/v1/" - + "projects/{project}/regions/{region}/targ" - + "etVpnGateways\022\277\002\n\tSetLabels\0229.google.clo" - + "ud.compute.v1.SetLabelsTargetVpnGatewayR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\322\001\332A:project,region,resource,region_s" - + "et_labels_request_resource\212N\020RegionOpera" - + "tions\202\323\344\223\002|\"V/compute/v1/projects/{proje" - + "ct}/regions/{region}/targetVpnGateways/{" - + "resource}/setLabels:\"region_set_labels_r" + + "on}/vpnGateways\022\263\002\n\tSetLabels\0223.google.c" + + "loud.compute.v1.SetLabelsVpnGatewayReque" + + "st\032\".google.cloud.compute.v1.Operation\"\314" + + "\001\332A:project,region,resource,region_set_l" + + "abels_request_resource\212N\020RegionOperation" + + "s\202\323\344\223\002v\"P/compute/v1/projects/{project}/" + + "regions/{region}/vpnGateways/{resource}/" + + "setLabels:\"region_set_labels_request_res" + + "ource\022\307\002\n\022TestIamPermissions\022<.google.cl" + + "oud.compute.v1.TestIamPermissionsVpnGate" + + "wayRequest\0320.google.cloud.compute.v1.Tes" + + "tPermissionsResponse\"\300\001\332A9project,region" + + ",resource,test_permissions_request_resou" + + "rce\202\323\344\223\002~\"Y/compute/v1/projects/{project" + + "}/regions/{region}/vpnGateways/{resource" + + "}/testIamPermissions:!test_permissions_r" + "equest_resource\032r\312A\026compute.googleapis.c" + "om\322AVhttps://www.googleapis.com/auth/com" + "pute,https://www.googleapis.com/auth/clo" - + "ud-platform2\236\020\n\007UrlMaps\022\274\001\n\016AggregatedLi" - + "st\0225.google.cloud.compute.v1.AggregatedL" - + "istUrlMapsRequest\032..google.cloud.compute" - + ".v1.UrlMapsAggregatedList\"C\332A\007project\202\323\344" - + "\223\0023\0221/compute/v1/projects/{project}/aggr" - + "egated/urlMaps\022\300\001\n\006Delete\022,.google.cloud" - + ".compute.v1.DeleteUrlMapRequest\032\".google" - + ".cloud.compute.v1.Operation\"d\332A\017project," - + "url_map\212N\020GlobalOperations\202\323\344\223\0029*7/compu" - + "te/v1/projects/{project}/global/urlMaps/" - + "{url_map}\022\244\001\n\003Get\022).google.cloud.compute" - + ".v1.GetUrlMapRequest\032\037.google.cloud.comp" - + "ute.v1.UrlMap\"Q\332A\017project,url_map\202\323\344\223\0029\022" - + "7/compute/v1/projects/{project}/global/u" - + "rlMaps/{url_map}\022\321\001\n\006Insert\022,.google.clo" - + "ud.compute.v1.InsertUrlMapRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"u\332A\030projec" - + "t,url_map_resource\212N\020GlobalOperations\202\323\344" - + "\223\002A\"-/compute/v1/projects/{project}/glob" - + "al/urlMaps:\020url_map_resource\022\246\002\n\017Invalid" - + "ateCache\0225.google.cloud.compute.v1.Inval" - + "idateCacheUrlMapRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\267\001\332A0project,url_map" - + ",cache_invalidation_rule_resource\212N\020Glob" - + "alOperations\202\323\344\223\002k\"G/compute/v1/projects" - + "/{project}/global/urlMaps/{url_map}/inva" - + "lidateCache: cache_invalidation_rule_res" - + "ource\022\231\001\n\004List\022+.google.cloud.compute.v1" - + ".ListUrlMapsRequest\032#.google.cloud.compu" - + "te.v1.UrlMapList\"?\332A\007project\202\323\344\223\002/\022-/com" - + "pute/v1/projects/{project}/global/urlMap" - + "s\022\342\001\n\005Patch\022+.google.cloud.compute.v1.Pa" - + "tchUrlMapRequest\032\".google.cloud.compute." - + "v1.Operation\"\207\001\332A project,url_map,url_ma" - + "p_resource\212N\020GlobalOperations\202\323\344\223\002K27/co" - + "mpute/v1/projects/{project}/global/urlMa" - + "ps/{url_map}:\020url_map_resource\022\344\001\n\006Updat" - + "e\022,.google.cloud.compute.v1.UpdateUrlMap" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\207\001\332A project,url_map,url_map_resourc" - + "e\212N\020GlobalOperations\202\323\344\223\002K\0327/compute/v1/" - + "projects/{project}/global/urlMaps/{url_m" - + "ap}:\020url_map_resource\022\220\002\n\010Validate\022..goo" - + "gle.cloud.compute.v1.ValidateUrlMapReque" - + "st\0320.google.cloud.compute.v1.UrlMapsVali" - + "dateResponse\"\241\001\332A2project,url_map,url_ma" - + "ps_validate_request_resource\202\323\344\223\002f\"@/com" - + "pute/v1/projects/{project}/global/urlMap" - + "s/{url_map}/validate:\"url_maps_validate_" - + "request_resource\032r\312A\026compute.googleapis." - + "com\322AVhttps://www.googleapis.com/auth/co" - + "mpute,https://www.googleapis.com/auth/cl" - + "oud-platform2\237\020\n\013VpnGateways\022\307\001\n\016Aggrega" - + "tedList\0229.google.cloud.compute.v1.Aggreg" - + "atedListVpnGatewaysRequest\0321.google.clou" - + "d.compute.v1.VpnGatewayAggregatedList\"G\332" - + "A\007project\202\323\344\223\0027\0225/compute/v1/projects/{p" - + "roject}/aggregated/vpnGateways\022\342\001\n\006Delet" - + "e\0220.google.cloud.compute.v1.DeleteVpnGat" - + "ewayRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\201\001\332A\032project,region,vpn_gateway\212" - + "N\020RegionOperations\202\323\344\223\002K*I/compute/v1/pr" - + "ojects/{project}/regions/{region}/vpnGat" - + "eways/{vpn_gateway}\022\311\001\n\003Get\022-.google.clo" - + "ud.compute.v1.GetVpnGatewayRequest\032#.goo" - + "gle.cloud.compute.v1.VpnGateway\"n\332A\032proj" - + "ect,region,vpn_gateway\202\323\344\223\002K\022I/compute/v" - + "1/projects/{project}/regions/{region}/vp" - + "nGateways/{vpn_gateway}\022\361\001\n\tGetStatus\0223." - + "google.cloud.compute.v1.GetStatusVpnGate" - + "wayRequest\0325.google.cloud.compute.v1.Vpn" - + "GatewaysGetStatusResponse\"x\332A\032project,re" - + "gion,vpn_gateway\202\323\344\223\002U\022S/compute/v1/proj" - + "ects/{project}/regions/{region}/vpnGatew" - + "ays/{vpn_gateway}/getStatus\022\363\001\n\006Insert\0220" - + ".google.cloud.compute.v1.InsertVpnGatewa" - + "yRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\222\001\332A#project,region,vpn_gateway_res" - + "ource\212N\020RegionOperations\202\323\344\223\002S\";/compute" - + "/v1/projects/{project}/regions/{region}/" - + "vpnGateways:\024vpn_gateway_resource\022\266\001\n\004Li" - + "st\022/.google.cloud.compute.v1.ListVpnGate" - + "waysRequest\032\'.google.cloud.compute.v1.Vp" - + "nGatewayList\"T\332A\016project,region\202\323\344\223\002=\022;/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/vpnGateways\022\263\002\n\tSetLabels\0223.googl" - + "e.cloud.compute.v1.SetLabelsVpnGatewayRe" + + "ud-platform2\312\013\n\nVpnTunnels\022\304\001\n\016Aggregate" + + "dList\0228.google.cloud.compute.v1.Aggregat" + + "edListVpnTunnelsRequest\0320.google.cloud.c" + + "ompute.v1.VpnTunnelAggregatedList\"F\332A\007pr" + + "oject\202\323\344\223\0026\0224/compute/v1/projects/{proje" + + "ct}/aggregated/vpnTunnels\022\335\001\n\006Delete\022/.g" + + "oogle.cloud.compute.v1.DeleteVpnTunnelRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\314\001\332A:project,region,resource,region_se" - + "t_labels_request_resource\212N\020RegionOperat" - + "ions\202\323\344\223\002v\"P/compute/v1/projects/{projec" - + "t}/regions/{region}/vpnGateways/{resourc" - + "e}/setLabels:\"region_set_labels_request_" - + "resource\022\307\002\n\022TestIamPermissions\022<.google" - + ".cloud.compute.v1.TestIamPermissionsVpnG" - + "atewayRequest\0320.google.cloud.compute.v1." - + "TestPermissionsResponse\"\300\001\332A9project,reg" - + "ion,resource,test_permissions_request_re" - + "source\202\323\344\223\002~\"Y/compute/v1/projects/{proj" - + "ect}/regions/{region}/vpnGateways/{resou" - + "rce}/testIamPermissions:!test_permission" - + "s_request_resource\032r\312A\026compute.googleapi" - + "s.com\322AVhttps://www.googleapis.com/auth/" - + "compute,https://www.googleapis.com/auth/" - + "cloud-platform2\312\013\n\nVpnTunnels\022\304\001\n\016Aggreg" - + "atedList\0228.google.cloud.compute.v1.Aggre" - + "gatedListVpnTunnelsRequest\0320.google.clou" - + "d.compute.v1.VpnTunnelAggregatedList\"F\332A" - + "\007project\202\323\344\223\0026\0224/compute/v1/projects/{pr" - + "oject}/aggregated/vpnTunnels\022\335\001\n\006Delete\022" - + "/.google.cloud.compute.v1.DeleteVpnTunne" - + "lRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"~\332A\031project,region,vpn_tunnel\212N\020Reg" - + "ionOperations\202\323\344\223\002I*G/compute/v1/project" - + "s/{project}/regions/{region}/vpnTunnels/" - + "{vpn_tunnel}\022\304\001\n\003Get\022,.google.cloud.comp" - + "ute.v1.GetVpnTunnelRequest\032\".google.clou" - + "d.compute.v1.VpnTunnel\"k\332A\031project,regio" - + "n,vpn_tunnel\202\323\344\223\002I\022G/compute/v1/projects" - + "/{project}/regions/{region}/vpnTunnels/{" - + "vpn_tunnel}\022\357\001\n\006Insert\022/.google.cloud.co" - + "mpute.v1.InsertVpnTunnelRequest\032\".google" - + ".cloud.compute.v1.Operation\"\217\001\332A\"project" - + ",region,vpn_tunnel_resource\212N\020RegionOper" - + "ations\202\323\344\223\002Q\":/compute/v1/projects/{proj" - + "ect}/regions/{region}/vpnTunnels:\023vpn_tu" - + "nnel_resource\022\263\001\n\004List\022..google.cloud.co" - + "mpute.v1.ListVpnTunnelsRequest\032&.google." - + "cloud.compute.v1.VpnTunnelList\"S\332A\016proje" - + "ct,region\202\323\344\223\002<\022:/compute/v1/projects/{p" - + "roject}/regions/{region}/vpnTunnels\022\261\002\n\t" - + "SetLabels\0222.google.cloud.compute.v1.SetL" - + "abelsVpnTunnelRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\313\001\332A:project,region,re" - + "source,region_set_labels_request_resourc" - + "e\212N\020RegionOperations\202\323\344\223\002u\"O/compute/v1/" - + "projects/{project}/regions/{region}/vpnT" - + "unnels/{resource}/setLabels:\"region_set_" - + "labels_request_resource\032r\312A\026compute.goog" - + "leapis.com\322AVhttps://www.googleapis.com/" - + "auth/compute,https://www.googleapis.com/" - + "auth/cloud-platform2\243\007\n\016ZoneOperations\022\330" - + "\001\n\006Delete\0223.google.cloud.compute.v1.Dele" - + "teZoneOperationRequest\0324.google.cloud.co" - + "mpute.v1.DeleteZoneOperationResponse\"c\332A" - + "\026project,zone,operation\202\323\344\223\002D*B/compute/" - + "v1/projects/{project}/zones/{zone}/opera" - + "tions/{operation}\022\303\001\n\003Get\0220.google.cloud" - + ".compute.v1.GetZoneOperationRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"f\332A\026proj" - + "ect,zone,operation\220N\001\202\323\344\223\002D\022B/compute/v1" - + "/projects/{project}/zones/{zone}/operati" - + "ons/{operation}\022\261\001\n\004List\0222.google.cloud." - + "compute.v1.ListZoneOperationsRequest\032&.g" - + "oogle.cloud.compute.v1.OperationList\"M\332A" - + "\014project,zone\202\323\344\223\0028\0226/compute/v1/project" - + "s/{project}/zones/{zone}/operations\022\307\001\n\004" - + "Wait\0221.google.cloud.compute.v1.WaitZoneO" - + "perationRequest\032\".google.cloud.compute.v" - + "1.Operation\"h\332A\026project,zone,operation\202\323" - + "\344\223\002I\"G/compute/v1/projects/{project}/zon" - + "es/{zone}/operations/{operation}/wait\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\321\003\n\005Zo" - + "nes\022\221\001\n\003Get\022\'.google.cloud.compute.v1.Ge" - + "tZoneRequest\032\035.google.cloud.compute.v1.Z" - + "one\"B\332A\014project,zone\202\323\344\223\002-\022+/compute/v1/" - + "projects/{project}/zones/{zone}\022\214\001\n\004List" - + "\022).google.cloud.compute.v1.ListZonesRequ" - + "est\032!.google.cloud.compute.v1.ZoneList\"6" - + "\332A\007project\202\323\344\223\002&\022$/compute/v1/projects/{" - + "project}/zones\032\244\001\312A\026compute.googleapis.c" - + "om\322A\207\001https://www.googleapis.com/auth/co" - + "mpute.readonly,https://www.googleapis.co" - + "m/auth/compute,https://www.googleapis.co" - + "m/auth/cloud-platformB\247\001\n\033com.google.clo" - + "ud.compute.v1P\001Z5cloud.google.com/go/com" - + "pute/apiv1/computepb;computepb\252\002\027Google." - + "Cloud.Compute.V1\312\002\027Google\\Cloud\\Compute\\" - + "V1\352\002\032Google::Cloud::Compute::V1b\006proto3" + + "n\"~\332A\031project,region,vpn_tunnel\212N\020Region" + + "Operations\202\323\344\223\002I*G/compute/v1/projects/{" + + "project}/regions/{region}/vpnTunnels/{vp" + + "n_tunnel}\022\304\001\n\003Get\022,.google.cloud.compute" + + ".v1.GetVpnTunnelRequest\032\".google.cloud.c" + + "ompute.v1.VpnTunnel\"k\332A\031project,region,v" + + "pn_tunnel\202\323\344\223\002I\022G/compute/v1/projects/{p" + + "roject}/regions/{region}/vpnTunnels/{vpn" + + "_tunnel}\022\357\001\n\006Insert\022/.google.cloud.compu" + + "te.v1.InsertVpnTunnelRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\217\001\332A\"project,re" + + "gion,vpn_tunnel_resource\212N\020RegionOperati" + + "ons\202\323\344\223\002Q\":/compute/v1/projects/{project" + + "}/regions/{region}/vpnTunnels:\023vpn_tunne" + + "l_resource\022\263\001\n\004List\022..google.cloud.compu" + + "te.v1.ListVpnTunnelsRequest\032&.google.clo" + + "ud.compute.v1.VpnTunnelList\"S\332A\016project," + + "region\202\323\344\223\002<\022:/compute/v1/projects/{proj" + + "ect}/regions/{region}/vpnTunnels\022\261\002\n\tSet" + + "Labels\0222.google.cloud.compute.v1.SetLabe" + + "lsVpnTunnelRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\313\001\332A:project,region,resou" + + "rce,region_set_labels_request_resource\212N" + + "\020RegionOperations\202\323\344\223\002u\"O/compute/v1/pro" + + "jects/{project}/regions/{region}/vpnTunn" + + "els/{resource}/setLabels:\"region_set_lab" + + "els_request_resource\032r\312A\026compute.googlea" + + "pis.com\322AVhttps://www.googleapis.com/aut" + + "h/compute,https://www.googleapis.com/aut" + + "h/cloud-platform2\243\007\n\016ZoneOperations\022\330\001\n\006" + + "Delete\0223.google.cloud.compute.v1.DeleteZ" + + "oneOperationRequest\0324.google.cloud.compu" + + "te.v1.DeleteZoneOperationResponse\"c\332A\026pr" + + "oject,zone,operation\202\323\344\223\002D*B/compute/v1/" + + "projects/{project}/zones/{zone}/operatio" + + "ns/{operation}\022\303\001\n\003Get\0220.google.cloud.co" + + "mpute.v1.GetZoneOperationRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"f\332A\026project" + + ",zone,operation\220N\001\202\323\344\223\002D\022B/compute/v1/pr" + + "ojects/{project}/zones/{zone}/operations" + + "/{operation}\022\261\001\n\004List\0222.google.cloud.com" + + "pute.v1.ListZoneOperationsRequest\032&.goog" + + "le.cloud.compute.v1.OperationList\"M\332A\014pr" + + "oject,zone\202\323\344\223\0028\0226/compute/v1/projects/{" + + "project}/zones/{zone}/operations\022\307\001\n\004Wai" + + "t\0221.google.cloud.compute.v1.WaitZoneOper" + + "ationRequest\032\".google.cloud.compute.v1.O" + + "peration\"h\332A\026project,zone,operation\202\323\344\223\002" + + "I\"G/compute/v1/projects/{project}/zones/" + + "{zone}/operations/{operation}/wait\032r\312A\026c" + + "ompute.googleapis.com\322AVhttps://www.goog" + + "leapis.com/auth/compute,https://www.goog" + + "leapis.com/auth/cloud-platform2\321\003\n\005Zones" + + "\022\221\001\n\003Get\022\'.google.cloud.compute.v1.GetZo" + + "neRequest\032\035.google.cloud.compute.v1.Zone" + + "\"B\332A\014project,zone\202\323\344\223\002-\022+/compute/v1/pro" + + "jects/{project}/zones/{zone}\022\214\001\n\004List\022).", + "google.cloud.compute.v1.ListZonesRequest" + + "\032!.google.cloud.compute.v1.ZoneList\"6\332A\007" + + "project\202\323\344\223\002&\022$/compute/v1/projects/{pro" + + "ject}/zones\032\244\001\312A\026compute.googleapis.com\322" + + "A\207\001https://www.googleapis.com/auth/compu" + + "te.readonly,https://www.googleapis.com/a" + + "uth/compute,https://www.googleapis.com/a" + + "uth/cloud-platformB\247\001\n\033com.google.cloud." + + "compute.v1P\001Z5cloud.google.com/go/comput" + + "e/apiv1/computepb;computepb\252\002\027Google.Clo" + + "ud.Compute.V1\312\002\027Google\\Cloud\\Compute\\V1\352" + + "\002\032Google::Cloud::Compute::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -38200,7 +38252,7 @@ private static void _clinit_autosplit_dinit_1() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor, new java.lang.String[] { - "Project", "Region", "Subnetwork", + "Project", "Region", "Subnetwork", "Views", }); internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor = getDescriptor().getMessageTypes().get(503); @@ -41167,6 +41219,7 @@ private static void _clinit_autosplit_dinit_1() { "PeeringdbFacilityId", "RegionInfos", "SelfLink", + "SingleRegionProductionCriticalPeerLocations", "Status", "SupportsPzs", }); @@ -41253,6 +41306,7 @@ private static void _clinit_autosplit_dinit_1() { "Lacp", "MaxLagSize100Gbps", "MaxLagSize10Gbps", + "MaxLagSize400Gbps", "Name", "PeeringdbFacilityId", "PermittedConnections", @@ -42680,6 +42734,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "ReturnPartialSuccess", + "Views", }); internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor = getDescriptor().getMessageTypes().get(912); @@ -45672,7 +45727,7 @@ private static void _clinit_autosplit_dinit_2() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor, new java.lang.String[] { - "BackendService", + "BackendService", "MirrorPercent", }); internal_static_google_cloud_compute_v1_RequestRemovePeeringNetworkRequest_descriptor = getDescriptor().getMessageTypes().get(1191); @@ -48893,6 +48948,7 @@ private static void _clinit_autosplit_dinit_3() { "State", "SystemReservedExternalIpv6Ranges", "SystemReservedInternalIpv6Ranges", + "UtilizationDetails", }); internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor = getDescriptor().getMessageTypes().get(1488); @@ -48957,8 +49013,35 @@ private static void _clinit_autosplit_dinit_3() { new java.lang.String[] { "IpCidrRange", "RangeName", "ReservedInternalRange", }); - internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor = + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor = getDescriptor().getMessageTypes().get(1493); + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor, + new java.lang.String[] { + "ExternalIpv6InstanceUtilization", + "ExternalIpv6LbUtilization", + "InternalIpv6Utilization", + "Ipv4Utilizations", + }); + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor = + getDescriptor().getMessageTypes().get(1494); + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor, + new java.lang.String[] { + "RangeName", "TotalAllocatedIp", "TotalFreeIp", + }); + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor = + getDescriptor().getMessageTypes().get(1495); + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor, + new java.lang.String[] { + "TotalAllocatedIp", "TotalFreeIp", + }); + internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor = + getDescriptor().getMessageTypes().get(1496); internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor, @@ -48966,7 +49049,7 @@ private static void _clinit_autosplit_dinit_3() { "IpCidrRange", }); internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor = - getDescriptor().getMessageTypes().get(1494); + getDescriptor().getMessageTypes().get(1497); internal_static_google_cloud_compute_v1_SubnetworksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor, @@ -48974,7 +49057,7 @@ private static void _clinit_autosplit_dinit_3() { "Subnetworks", "Warning", }); internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_descriptor = - getDescriptor().getMessageTypes().get(1495); + getDescriptor().getMessageTypes().get(1498); internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_descriptor, @@ -48982,7 +49065,7 @@ private static void _clinit_autosplit_dinit_3() { "ScopeName", "Warning", }); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor = - getDescriptor().getMessageTypes().get(1496); + getDescriptor().getMessageTypes().get(1499); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor, @@ -48990,7 +49073,7 @@ private static void _clinit_autosplit_dinit_3() { "PrivateIpGoogleAccess", }); internal_static_google_cloud_compute_v1_Subsetting_descriptor = - getDescriptor().getMessageTypes().get(1497); + getDescriptor().getMessageTypes().get(1500); internal_static_google_cloud_compute_v1_Subsetting_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Subsetting_descriptor, @@ -48998,7 +49081,7 @@ private static void _clinit_autosplit_dinit_3() { "Policy", }); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1498); + getDescriptor().getMessageTypes().get(1501); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor, @@ -49006,7 +49089,7 @@ private static void _clinit_autosplit_dinit_3() { "DiscardLocalSsd", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1499); + getDescriptor().getMessageTypes().get(1502); internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_descriptor, @@ -49018,7 +49101,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1500); + getDescriptor().getMessageTypes().get(1503); internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -49030,7 +49113,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1501); + getDescriptor().getMessageTypes().get(1504); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor, @@ -49038,7 +49121,7 @@ private static void _clinit_autosplit_dinit_3() { "Network", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(1502); + getDescriptor().getMessageTypes().get(1505); internal_static_google_cloud_compute_v1_TCPHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor, @@ -49046,7 +49129,7 @@ private static void _clinit_autosplit_dinit_3() { "Port", "PortName", "PortSpecification", "ProxyHeader", "Request", "Response", }); internal_static_google_cloud_compute_v1_Tags_descriptor = - getDescriptor().getMessageTypes().get(1503); + getDescriptor().getMessageTypes().get(1506); internal_static_google_cloud_compute_v1_Tags_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Tags_descriptor, @@ -49054,7 +49137,7 @@ private static void _clinit_autosplit_dinit_3() { "Fingerprint", "Items", }); internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor = - getDescriptor().getMessageTypes().get(1504); + getDescriptor().getMessageTypes().get(1507); internal_static_google_cloud_compute_v1_TargetGrpcProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor, @@ -49071,7 +49154,7 @@ private static void _clinit_autosplit_dinit_3() { "ValidateForProxyless", }); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor = - getDescriptor().getMessageTypes().get(1505); + getDescriptor().getMessageTypes().get(1508); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor, @@ -49079,7 +49162,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1506); + getDescriptor().getMessageTypes().get(1509); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor, @@ -49087,7 +49170,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetHttpProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor = - getDescriptor().getMessageTypes().get(1507); + getDescriptor().getMessageTypes().get(1510); internal_static_google_cloud_compute_v1_TargetHttpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor, @@ -49105,7 +49188,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1508); + getDescriptor().getMessageTypes().get(1511); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor, @@ -49123,7 +49206,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1509); + getDescriptor().getMessageTypes().get(1512); internal_static_google_cloud_compute_v1_TargetHttpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor, @@ -49131,7 +49214,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1510); + getDescriptor().getMessageTypes().get(1513); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor, @@ -49139,7 +49222,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetHttpsProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1511); + getDescriptor().getMessageTypes().get(1514); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor, @@ -49147,7 +49230,7 @@ private static void _clinit_autosplit_dinit_3() { "CertificateMap", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor = - getDescriptor().getMessageTypes().get(1512); + getDescriptor().getMessageTypes().get(1515); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor, @@ -49155,7 +49238,7 @@ private static void _clinit_autosplit_dinit_3() { "QuicOverride", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1513); + getDescriptor().getMessageTypes().get(1516); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor, @@ -49163,7 +49246,7 @@ private static void _clinit_autosplit_dinit_3() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor = - getDescriptor().getMessageTypes().get(1514); + getDescriptor().getMessageTypes().get(1517); internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor, @@ -49188,7 +49271,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1515); + getDescriptor().getMessageTypes().get(1518); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor, @@ -49206,7 +49289,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor = - getDescriptor().getMessageTypes().get(1516); + getDescriptor().getMessageTypes().get(1519); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor, @@ -49214,7 +49297,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetInstance_descriptor = - getDescriptor().getMessageTypes().get(1517); + getDescriptor().getMessageTypes().get(1520); internal_static_google_cloud_compute_v1_TargetInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstance_descriptor, @@ -49232,7 +49315,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1518); + getDescriptor().getMessageTypes().get(1521); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor, @@ -49250,7 +49333,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor = - getDescriptor().getMessageTypes().get(1519); + getDescriptor().getMessageTypes().get(1522); internal_static_google_cloud_compute_v1_TargetInstanceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor, @@ -49258,7 +49341,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1520); + getDescriptor().getMessageTypes().get(1523); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor, @@ -49266,7 +49349,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetInstances", "Warning", }); internal_static_google_cloud_compute_v1_TargetPool_descriptor = - getDescriptor().getMessageTypes().get(1521); + getDescriptor().getMessageTypes().get(1524); internal_static_google_cloud_compute_v1_TargetPool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPool_descriptor, @@ -49286,7 +49369,7 @@ private static void _clinit_autosplit_dinit_3() { "SessionAffinity", }); internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1522); + getDescriptor().getMessageTypes().get(1525); internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor, @@ -49304,7 +49387,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor = - getDescriptor().getMessageTypes().get(1523); + getDescriptor().getMessageTypes().get(1526); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor, @@ -49312,7 +49395,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthStatus", "Kind", }); internal_static_google_cloud_compute_v1_TargetPoolList_descriptor = - getDescriptor().getMessageTypes().get(1524); + getDescriptor().getMessageTypes().get(1527); internal_static_google_cloud_compute_v1_TargetPoolList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolList_descriptor, @@ -49320,7 +49403,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1525); + getDescriptor().getMessageTypes().get(1528); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor, @@ -49328,7 +49411,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1526); + getDescriptor().getMessageTypes().get(1529); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor, @@ -49336,7 +49419,7 @@ private static void _clinit_autosplit_dinit_3() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1527); + getDescriptor().getMessageTypes().get(1530); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor, @@ -49344,7 +49427,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1528); + getDescriptor().getMessageTypes().get(1531); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor, @@ -49352,7 +49435,7 @@ private static void _clinit_autosplit_dinit_3() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1529); + getDescriptor().getMessageTypes().get(1532); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor, @@ -49360,7 +49443,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetPools", "Warning", }); internal_static_google_cloud_compute_v1_TargetReference_descriptor = - getDescriptor().getMessageTypes().get(1530); + getDescriptor().getMessageTypes().get(1533); internal_static_google_cloud_compute_v1_TargetReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetReference_descriptor, @@ -49368,7 +49451,7 @@ private static void _clinit_autosplit_dinit_3() { "Target", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1531); + getDescriptor().getMessageTypes().get(1534); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor, @@ -49376,7 +49459,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1532); + getDescriptor().getMessageTypes().get(1535); internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor, @@ -49384,7 +49467,7 @@ private static void _clinit_autosplit_dinit_3() { "CertificateMap", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1533); + getDescriptor().getMessageTypes().get(1536); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor, @@ -49392,7 +49475,7 @@ private static void _clinit_autosplit_dinit_3() { "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1534); + getDescriptor().getMessageTypes().get(1537); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor, @@ -49400,7 +49483,7 @@ private static void _clinit_autosplit_dinit_3() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor = - getDescriptor().getMessageTypes().get(1535); + getDescriptor().getMessageTypes().get(1538); internal_static_google_cloud_compute_v1_TargetSslProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor, @@ -49418,7 +49501,7 @@ private static void _clinit_autosplit_dinit_3() { "SslPolicy", }); internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor = - getDescriptor().getMessageTypes().get(1536); + getDescriptor().getMessageTypes().get(1539); internal_static_google_cloud_compute_v1_TargetSslProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor, @@ -49426,7 +49509,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1537); + getDescriptor().getMessageTypes().get(1540); internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor, @@ -49434,7 +49517,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetTcpProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1538); + getDescriptor().getMessageTypes().get(1541); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor, @@ -49442,7 +49525,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1539); + getDescriptor().getMessageTypes().get(1542); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor, @@ -49450,7 +49533,7 @@ private static void _clinit_autosplit_dinit_3() { "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor = - getDescriptor().getMessageTypes().get(1540); + getDescriptor().getMessageTypes().get(1543); internal_static_google_cloud_compute_v1_TargetTcpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor, @@ -49467,7 +49550,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1541); + getDescriptor().getMessageTypes().get(1544); internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor, @@ -49485,7 +49568,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1542); + getDescriptor().getMessageTypes().get(1545); internal_static_google_cloud_compute_v1_TargetTcpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor, @@ -49493,7 +49576,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1543); + getDescriptor().getMessageTypes().get(1546); internal_static_google_cloud_compute_v1_TargetVpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor, @@ -49521,7 +49604,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1544); + getDescriptor().getMessageTypes().get(1547); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor, @@ -49539,7 +49622,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1545); + getDescriptor().getMessageTypes().get(1548); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor, @@ -49547,7 +49630,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1546); + getDescriptor().getMessageTypes().get(1549); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor, @@ -49555,7 +49638,7 @@ private static void _clinit_autosplit_dinit_3() { "TargetVpnGateways", "Warning", }); internal_static_google_cloud_compute_v1_TestFailure_descriptor = - getDescriptor().getMessageTypes().get(1547); + getDescriptor().getMessageTypes().get(1550); internal_static_google_cloud_compute_v1_TestFailure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestFailure_descriptor, @@ -49571,7 +49654,7 @@ private static void _clinit_autosplit_dinit_3() { "Path", }); internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(1548); + getDescriptor().getMessageTypes().get(1551); internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_descriptor, @@ -49579,7 +49662,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1549); + getDescriptor().getMessageTypes().get(1552); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor, @@ -49587,7 +49670,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1550); + getDescriptor().getMessageTypes().get(1553); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor, @@ -49595,7 +49678,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1551); + getDescriptor().getMessageTypes().get(1554); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor, @@ -49603,7 +49686,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1552); + getDescriptor().getMessageTypes().get(1555); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor, @@ -49611,7 +49694,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1553); + getDescriptor().getMessageTypes().get(1556); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor, @@ -49619,7 +49702,7 @@ private static void _clinit_autosplit_dinit_3() { "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(1554); + getDescriptor().getMessageTypes().get(1557); internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_descriptor, @@ -49627,7 +49710,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1555); + getDescriptor().getMessageTypes().get(1558); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor, @@ -49635,7 +49718,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1556); + getDescriptor().getMessageTypes().get(1559); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_descriptor, @@ -49643,7 +49726,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1557); + getDescriptor().getMessageTypes().get(1560); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor, @@ -49651,7 +49734,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1558); + getDescriptor().getMessageTypes().get(1561); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor, @@ -49659,7 +49742,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1559); + getDescriptor().getMessageTypes().get(1562); internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor, @@ -49667,7 +49750,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1560); + getDescriptor().getMessageTypes().get(1563); internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_descriptor, @@ -49675,7 +49758,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1561); + getDescriptor().getMessageTypes().get(1564); internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_descriptor, @@ -49683,7 +49766,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(1562); + getDescriptor().getMessageTypes().get(1565); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor, @@ -49691,7 +49774,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(1563); + getDescriptor().getMessageTypes().get(1566); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor, @@ -49699,7 +49782,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1564); + getDescriptor().getMessageTypes().get(1567); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor, @@ -49707,7 +49790,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1565); + getDescriptor().getMessageTypes().get(1568); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor, @@ -49715,7 +49798,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1566); + getDescriptor().getMessageTypes().get(1569); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor, @@ -49723,7 +49806,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1567); + getDescriptor().getMessageTypes().get(1570); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor, @@ -49731,7 +49814,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1568); + getDescriptor().getMessageTypes().get(1571); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor, @@ -49739,7 +49822,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1569); + getDescriptor().getMessageTypes().get(1572); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor, @@ -49747,7 +49830,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(1570); + getDescriptor().getMessageTypes().get(1573); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor, @@ -49755,7 +49838,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1571); + getDescriptor().getMessageTypes().get(1574); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor, @@ -49763,7 +49846,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1572); + getDescriptor().getMessageTypes().get(1575); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor, @@ -49771,7 +49854,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1573); + getDescriptor().getMessageTypes().get(1576); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_descriptor, @@ -49779,7 +49862,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1574); + getDescriptor().getMessageTypes().get(1577); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor, @@ -49787,7 +49870,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1575); + getDescriptor().getMessageTypes().get(1578); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor, @@ -49795,7 +49878,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1576); + getDescriptor().getMessageTypes().get(1579); internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor, @@ -49803,7 +49886,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1577); + getDescriptor().getMessageTypes().get(1580); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor, @@ -49811,7 +49894,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1578); + getDescriptor().getMessageTypes().get(1581); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor, @@ -49819,7 +49902,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1579); + getDescriptor().getMessageTypes().get(1582); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor, @@ -49827,7 +49910,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1580); + getDescriptor().getMessageTypes().get(1583); internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor, @@ -49835,7 +49918,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1581); + getDescriptor().getMessageTypes().get(1584); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor, @@ -49843,7 +49926,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1582); + getDescriptor().getMessageTypes().get(1585); internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_descriptor, @@ -49851,7 +49934,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1583); + getDescriptor().getMessageTypes().get(1586); internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_descriptor, @@ -49859,7 +49942,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1584); + getDescriptor().getMessageTypes().get(1587); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor, @@ -49867,7 +49950,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1585); + getDescriptor().getMessageTypes().get(1588); internal_static_google_cloud_compute_v1_TestPermissionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor, @@ -49875,7 +49958,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1586); + getDescriptor().getMessageTypes().get(1589); internal_static_google_cloud_compute_v1_TestPermissionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor, @@ -49883,7 +49966,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_Uint128_descriptor = - getDescriptor().getMessageTypes().get(1587); + getDescriptor().getMessageTypes().get(1590); internal_static_google_cloud_compute_v1_Uint128_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Uint128_descriptor, @@ -49891,7 +49974,7 @@ private static void _clinit_autosplit_dinit_3() { "High", "Low", }); internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor = - getDescriptor().getMessageTypes().get(1588); + getDescriptor().getMessageTypes().get(1591); internal_static_google_cloud_compute_v1_UpcomingMaintenance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor, @@ -49906,7 +49989,7 @@ private static void _clinit_autosplit_dinit_3() { "WindowStartTime", }); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1589); + getDescriptor().getMessageTypes().get(1592); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor, @@ -49919,7 +50002,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1590); + getDescriptor().getMessageTypes().get(1593); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor, @@ -49927,7 +50010,7 @@ private static void _clinit_autosplit_dinit_3() { "Autoscaler", "AutoscalerResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1591); + getDescriptor().getMessageTypes().get(1594); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor, @@ -49935,7 +50018,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendBucket", "BackendBucketResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1592); + getDescriptor().getMessageTypes().get(1595); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor, @@ -49943,7 +50026,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "BackendServiceResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1593); + getDescriptor().getMessageTypes().get(1596); internal_static_google_cloud_compute_v1_UpdateDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor, @@ -49951,7 +50034,7 @@ private static void _clinit_autosplit_dinit_3() { "Disk", "DiskResource", "Paths", "Project", "RequestId", "UpdateMask", "Zone", }); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1594); + getDescriptor().getMessageTypes().get(1597); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor, @@ -49959,7 +50042,7 @@ private static void _clinit_autosplit_dinit_3() { "DisplayDeviceResource", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(1595); + getDescriptor().getMessageTypes().get(1598); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor, @@ -49967,7 +50050,7 @@ private static void _clinit_autosplit_dinit_3() { "Firewall", "FirewallResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1596); + getDescriptor().getMessageTypes().get(1599); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor, @@ -49975,7 +50058,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1597); + getDescriptor().getMessageTypes().get(1600); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor, @@ -49989,7 +50072,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(1598); + getDescriptor().getMessageTypes().get(1601); internal_static_google_cloud_compute_v1_UpdateLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateLicenseRequest_descriptor, @@ -49997,7 +50080,7 @@ private static void _clinit_autosplit_dinit_3() { "License", "LicenseResource", "Project", "RequestId", "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1599); + getDescriptor().getMessageTypes().get(1602); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor, @@ -50010,7 +50093,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1600); + getDescriptor().getMessageTypes().get(1603); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor, @@ -50018,7 +50101,7 @@ private static void _clinit_autosplit_dinit_3() { "Network", "NetworksUpdatePeeringRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1601); + getDescriptor().getMessageTypes().get(1604); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -50030,7 +50113,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1602); + getDescriptor().getMessageTypes().get(1605); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -50042,7 +50125,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1603); + getDescriptor().getMessageTypes().get(1606); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor, @@ -50050,7 +50133,7 @@ private static void _clinit_autosplit_dinit_3() { "Autoscaler", "AutoscalerResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1604); + getDescriptor().getMessageTypes().get(1607); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor, @@ -50058,7 +50141,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "BackendServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1605); + getDescriptor().getMessageTypes().get(1608); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor, @@ -50072,7 +50155,7 @@ private static void _clinit_autosplit_dinit_3() { "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1606); + getDescriptor().getMessageTypes().get(1609); internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor, @@ -50080,7 +50163,7 @@ private static void _clinit_autosplit_dinit_3() { "Disk", "DiskResource", "Paths", "Project", "Region", "RequestId", "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1607); + getDescriptor().getMessageTypes().get(1610); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor, @@ -50088,7 +50171,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1608); + getDescriptor().getMessageTypes().get(1611); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor, @@ -50096,7 +50179,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1609); + getDescriptor().getMessageTypes().get(1612); internal_static_google_cloud_compute_v1_UpdateReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor, @@ -50110,7 +50193,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(1610); + getDescriptor().getMessageTypes().get(1613); internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_descriptor, @@ -50118,7 +50201,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "RoutePolicyResource", "Router", }); internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(1611); + getDescriptor().getMessageTypes().get(1614); internal_static_google_cloud_compute_v1_UpdateRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor, @@ -50126,7 +50209,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "Router", "RouterResource", }); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1612); + getDescriptor().getMessageTypes().get(1615); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor, @@ -50134,7 +50217,7 @@ private static void _clinit_autosplit_dinit_3() { "Instance", "Project", "RequestId", "ShieldedInstanceConfigResource", "Zone", }); internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1613); + getDescriptor().getMessageTypes().get(1616); internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor, @@ -50142,7 +50225,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "RequestId", "StoragePool", "StoragePoolResource", "UpdateMask", "Zone", }); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1614); + getDescriptor().getMessageTypes().get(1617); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor, @@ -50150,7 +50233,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_UrlMap_descriptor = - getDescriptor().getMessageTypes().get(1615); + getDescriptor().getMessageTypes().get(1618); internal_static_google_cloud_compute_v1_UrlMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMap_descriptor, @@ -50173,7 +50256,7 @@ private static void _clinit_autosplit_dinit_3() { "Tests", }); internal_static_google_cloud_compute_v1_UrlMapList_descriptor = - getDescriptor().getMessageTypes().get(1616); + getDescriptor().getMessageTypes().get(1619); internal_static_google_cloud_compute_v1_UrlMapList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapList_descriptor, @@ -50181,7 +50264,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_UrlMapReference_descriptor = - getDescriptor().getMessageTypes().get(1617); + getDescriptor().getMessageTypes().get(1620); internal_static_google_cloud_compute_v1_UrlMapReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapReference_descriptor, @@ -50189,7 +50272,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMap", }); internal_static_google_cloud_compute_v1_UrlMapTest_descriptor = - getDescriptor().getMessageTypes().get(1618); + getDescriptor().getMessageTypes().get(1621); internal_static_google_cloud_compute_v1_UrlMapTest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTest_descriptor, @@ -50203,7 +50286,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor = - getDescriptor().getMessageTypes().get(1619); + getDescriptor().getMessageTypes().get(1622); internal_static_google_cloud_compute_v1_UrlMapTestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor, @@ -50211,7 +50294,7 @@ private static void _clinit_autosplit_dinit_3() { "Name", "Value", }); internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor = - getDescriptor().getMessageTypes().get(1620); + getDescriptor().getMessageTypes().get(1623); internal_static_google_cloud_compute_v1_UrlMapValidationResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor, @@ -50219,7 +50302,7 @@ private static void _clinit_autosplit_dinit_3() { "LoadErrors", "LoadSucceeded", "TestFailures", "TestPassed", }); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1621); + getDescriptor().getMessageTypes().get(1624); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor, @@ -50237,7 +50320,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1622); + getDescriptor().getMessageTypes().get(1625); internal_static_google_cloud_compute_v1_UrlMapsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor, @@ -50245,7 +50328,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMaps", "Warning", }); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor = - getDescriptor().getMessageTypes().get(1623); + getDescriptor().getMessageTypes().get(1626); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor, @@ -50253,7 +50336,7 @@ private static void _clinit_autosplit_dinit_3() { "LoadBalancingSchemes", "Resource", }); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor = - getDescriptor().getMessageTypes().get(1624); + getDescriptor().getMessageTypes().get(1627); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor, @@ -50261,7 +50344,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", }); internal_static_google_cloud_compute_v1_UrlRewrite_descriptor = - getDescriptor().getMessageTypes().get(1625); + getDescriptor().getMessageTypes().get(1628); internal_static_google_cloud_compute_v1_UrlRewrite_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlRewrite_descriptor, @@ -50269,7 +50352,7 @@ private static void _clinit_autosplit_dinit_3() { "HostRewrite", "PathPrefixRewrite", "PathTemplateRewrite", }); internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor = - getDescriptor().getMessageTypes().get(1626); + getDescriptor().getMessageTypes().get(1629); internal_static_google_cloud_compute_v1_UsableSubnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor, @@ -50286,7 +50369,7 @@ private static void _clinit_autosplit_dinit_3() { "Subnetwork", }); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(1627); + getDescriptor().getMessageTypes().get(1630); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor, @@ -50294,7 +50377,7 @@ private static void _clinit_autosplit_dinit_3() { "IpCidrRange", "RangeName", }); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1628); + getDescriptor().getMessageTypes().get(1631); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor, @@ -50309,7 +50392,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor = - getDescriptor().getMessageTypes().get(1629); + getDescriptor().getMessageTypes().get(1632); internal_static_google_cloud_compute_v1_UsageExportLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor, @@ -50317,7 +50400,7 @@ private static void _clinit_autosplit_dinit_3() { "BucketName", "ReportNamePrefix", }); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1630); + getDescriptor().getMessageTypes().get(1633); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor, @@ -50325,7 +50408,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RegionUrlMapsValidateRequestResource", "UrlMap", }); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1631); + getDescriptor().getMessageTypes().get(1634); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor, @@ -50333,7 +50416,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "UrlMap", "UrlMapsValidateRequestResource", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1632); + getDescriptor().getMessageTypes().get(1635); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor, @@ -50341,7 +50424,7 @@ private static void _clinit_autosplit_dinit_3() { "InstanceName", "InterfaceNatMappings", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1633); + getDescriptor().getMessageTypes().get(1636); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor, @@ -50355,7 +50438,7 @@ private static void _clinit_autosplit_dinit_3() { "SourceVirtualIp", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor = - getDescriptor().getMessageTypes().get(1634); + getDescriptor().getMessageTypes().get(1637); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor, @@ -50367,7 +50450,7 @@ private static void _clinit_autosplit_dinit_3() { "RuleNumber", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor = - getDescriptor().getMessageTypes().get(1635); + getDescriptor().getMessageTypes().get(1638); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor, @@ -50375,7 +50458,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Kind", "NextPageToken", "Result", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1636); + getDescriptor().getMessageTypes().get(1639); internal_static_google_cloud_compute_v1_VpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGateway_descriptor, @@ -50403,7 +50486,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1637); + getDescriptor().getMessageTypes().get(1640); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor, @@ -50421,7 +50504,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1638); + getDescriptor().getMessageTypes().get(1641); internal_static_google_cloud_compute_v1_VpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor, @@ -50429,7 +50512,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor = - getDescriptor().getMessageTypes().get(1639); + getDescriptor().getMessageTypes().get(1642); internal_static_google_cloud_compute_v1_VpnGatewayStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor, @@ -50437,7 +50520,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnConnections", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor = - getDescriptor().getMessageTypes().get(1640); + getDescriptor().getMessageTypes().get(1643); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor, @@ -50445,7 +50528,7 @@ private static void _clinit_autosplit_dinit_3() { "State", "UnsatisfiedReason", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor = - getDescriptor().getMessageTypes().get(1641); + getDescriptor().getMessageTypes().get(1644); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor, @@ -50453,7 +50536,7 @@ private static void _clinit_autosplit_dinit_3() { "LocalGatewayInterface", "PeerGatewayInterface", "TunnelUrl", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor = - getDescriptor().getMessageTypes().get(1642); + getDescriptor().getMessageTypes().get(1645); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor, @@ -50461,7 +50544,7 @@ private static void _clinit_autosplit_dinit_3() { "PeerExternalGateway", "PeerGcpGateway", "State", "Tunnels", }); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor = - getDescriptor().getMessageTypes().get(1643); + getDescriptor().getMessageTypes().get(1646); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor, @@ -50469,7 +50552,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "InterconnectAttachment", "IpAddress", "Ipv6Address", }); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor = - getDescriptor().getMessageTypes().get(1644); + getDescriptor().getMessageTypes().get(1647); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor, @@ -50477,7 +50560,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", }); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1645); + getDescriptor().getMessageTypes().get(1648); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor, @@ -50485,7 +50568,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnGateways", "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnel_descriptor = - getDescriptor().getMessageTypes().get(1646); + getDescriptor().getMessageTypes().get(1649); internal_static_google_cloud_compute_v1_VpnTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnel_descriptor, @@ -50525,7 +50608,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1647); + getDescriptor().getMessageTypes().get(1650); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor, @@ -50543,7 +50626,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_descriptor = - getDescriptor().getMessageTypes().get(1648); + getDescriptor().getMessageTypes().get(1651); internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_descriptor, @@ -50551,7 +50634,7 @@ private static void _clinit_autosplit_dinit_3() { "Phase1", "Phase2", }); internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor = - getDescriptor().getMessageTypes().get(1649); + getDescriptor().getMessageTypes().get(1652); internal_static_google_cloud_compute_v1_VpnTunnelList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor, @@ -50559,7 +50642,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_descriptor = - getDescriptor().getMessageTypes().get(1650); + getDescriptor().getMessageTypes().get(1653); internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_descriptor, @@ -50567,7 +50650,7 @@ private static void _clinit_autosplit_dinit_3() { "Dh", "Encryption", "Integrity", "Prf", }); internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_descriptor = - getDescriptor().getMessageTypes().get(1651); + getDescriptor().getMessageTypes().get(1654); internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_descriptor, @@ -50575,7 +50658,7 @@ private static void _clinit_autosplit_dinit_3() { "Encryption", "Integrity", "Pfs", }); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1652); + getDescriptor().getMessageTypes().get(1655); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor, @@ -50583,7 +50666,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnTunnels", "Warning", }); internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor = - getDescriptor().getMessageTypes().get(1653); + getDescriptor().getMessageTypes().get(1656); internal_static_google_cloud_compute_v1_WafExpressionSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor, @@ -50591,7 +50674,7 @@ private static void _clinit_autosplit_dinit_3() { "Aliases", "Expressions", "Id", }); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor = - getDescriptor().getMessageTypes().get(1654); + getDescriptor().getMessageTypes().get(1657); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor, @@ -50599,7 +50682,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Sensitivity", }); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1655); + getDescriptor().getMessageTypes().get(1658); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor, @@ -50607,7 +50690,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1656); + getDescriptor().getMessageTypes().get(1659); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor, @@ -50615,7 +50698,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1657); + getDescriptor().getMessageTypes().get(1660); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor, @@ -50623,7 +50706,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_Warning_descriptor = - getDescriptor().getMessageTypes().get(1658); + getDescriptor().getMessageTypes().get(1661); internal_static_google_cloud_compute_v1_Warning_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warning_descriptor, @@ -50631,7 +50714,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", }); internal_static_google_cloud_compute_v1_Warnings_descriptor = - getDescriptor().getMessageTypes().get(1659); + getDescriptor().getMessageTypes().get(1662); internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warnings_descriptor, @@ -50639,7 +50722,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", }); internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor = - getDescriptor().getMessageTypes().get(1660); + getDescriptor().getMessageTypes().get(1663); internal_static_google_cloud_compute_v1_WeightedBackendService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor, @@ -50647,7 +50730,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "HeaderAction", "Weight", }); internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(1661); + getDescriptor().getMessageTypes().get(1664); internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor, @@ -50655,7 +50738,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "PublicAdvertisedPrefix", "RequestId", }); internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(1662); + getDescriptor().getMessageTypes().get(1665); internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor, @@ -50663,7 +50746,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "PublicDelegatedPrefix", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_XpnHostList_descriptor = - getDescriptor().getMessageTypes().get(1663); + getDescriptor().getMessageTypes().get(1666); internal_static_google_cloud_compute_v1_XpnHostList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnHostList_descriptor, @@ -50671,7 +50754,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_XpnResourceId_descriptor = - getDescriptor().getMessageTypes().get(1664); + getDescriptor().getMessageTypes().get(1667); internal_static_google_cloud_compute_v1_XpnResourceId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnResourceId_descriptor, @@ -50679,7 +50762,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Type", }); internal_static_google_cloud_compute_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(1665); + getDescriptor().getMessageTypes().get(1668); internal_static_google_cloud_compute_v1_Zone_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Zone_descriptor, @@ -50697,7 +50780,7 @@ private static void _clinit_autosplit_dinit_3() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_ZoneList_descriptor = - getDescriptor().getMessageTypes().get(1666); + getDescriptor().getMessageTypes().get(1669); internal_static_google_cloud_compute_v1_ZoneList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneList_descriptor, @@ -50705,7 +50788,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1667); + getDescriptor().getMessageTypes().get(1670); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor, @@ -50723,7 +50806,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1668); + getDescriptor().getMessageTypes().get(1671); internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor, diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequest.java index 3b58096adb67..cee75bb9ff2d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequest.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequest.java @@ -43,6 +43,7 @@ private GetSubnetworkRequest() { project_ = ""; region_ = ""; subnetwork_ = ""; + views_ = ""; } @java.lang.Override @@ -66,6 +67,150 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.GetSubnetworkRequest.Builder.class); } + /** + * + * + *

    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * 
    + * + * Protobuf enum {@code google.cloud.compute.v1.GetSubnetworkRequest.Views} + */ + public enum Views implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * A value indicating that the enum field is not set.
    +     * 
    + * + * UNDEFINED_VIEWS = 0; + */ + UNDEFINED_VIEWS(0), + /** DEFAULT = 115302945; */ + DEFAULT(115302945), + /** + * + * + *
    +     * Utilization data is included in the response.
    +     * 
    + * + * WITH_UTILIZATION = 504090633; + */ + WITH_UTILIZATION(504090633), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
    +     * A value indicating that the enum field is not set.
    +     * 
    + * + * UNDEFINED_VIEWS = 0; + */ + public static final int UNDEFINED_VIEWS_VALUE = 0; + + /** DEFAULT = 115302945; */ + public static final int DEFAULT_VALUE = 115302945; + + /** + * + * + *
    +     * Utilization data is included in the response.
    +     * 
    + * + * WITH_UTILIZATION = 504090633; + */ + public static final int WITH_UTILIZATION_VALUE = 504090633; + + 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 Views 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 Views forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_VIEWS; + case 115302945: + return DEFAULT; + case 504090633: + return WITH_UTILIZATION; + 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 Views findValueByNumber(int number) { + return Views.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.cloud.compute.v1.GetSubnetworkRequest.getDescriptor().getEnumTypes().get(0); + } + + private static final Views[] VALUES = values(); + + public static Views 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 Views(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.GetSubnetworkRequest.Views) + } + + private int bitField0_; public static final int PROJECT_FIELD_NUMBER = 227560217; @SuppressWarnings("serial") @@ -225,6 +370,78 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } + public static final int VIEWS_FIELD_NUMBER = 112204398; + + @SuppressWarnings("serial") + private volatile java.lang.Object views_ = ""; + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + @java.lang.Override + public boolean hasViews() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + @java.lang.Override + public java.lang.String getViews() { + java.lang.Object ref = views_; + 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(); + views_ = s; + return s; + } + } + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + @java.lang.Override + public com.google.protobuf.ByteString getViewsBytes() { + java.lang.Object ref = views_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + views_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -239,6 +456,9 @@ public final boolean isInitialized() { @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, 112204398, views_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } @@ -257,6 +477,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(112204398, views_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } @@ -285,6 +508,10 @@ public boolean equals(final java.lang.Object obj) { if (!getProject().equals(other.getProject())) return false; if (!getRegion().equals(other.getRegion())) return false; if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (hasViews() != other.hasViews()) return false; + if (hasViews()) { + if (!getViews().equals(other.getViews())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,6 +529,10 @@ public int hashCode() { hash = (53 * hash) + getRegion().hashCode(); hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER; hash = (53 * hash) + getSubnetwork().hashCode(); + if (hasViews()) { + hash = (37 * hash) + VIEWS_FIELD_NUMBER; + hash = (53 * hash) + getViews().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -445,6 +676,7 @@ public Builder clear() { project_ = ""; region_ = ""; subnetwork_ = ""; + views_ = ""; return this; } @@ -490,6 +722,12 @@ private void buildPartial0(com.google.cloud.compute.v1.GetSubnetworkRequest resu if (((from_bitField0_ & 0x00000004) != 0)) { result.subnetwork_ = subnetwork_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.views_ = views_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -553,6 +791,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.GetSubnetworkRequest other) bitField0_ |= 0x00000004; onChanged(); } + if (other.hasViews()) { + views_ = other.views_; + bitField0_ |= 0x00000008; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -579,6 +822,12 @@ public Builder mergeFrom( case 0: done = true; break; + case 897635186: + { + views_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 897635186 case 1111570338: { region_ = input.readStringRequireUtf8(); @@ -949,6 +1198,138 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object views_ = ""; + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + public boolean hasViews() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + public java.lang.String getViews() { + java.lang.Object ref = views_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + views_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + public com.google.protobuf.ByteString getViewsBytes() { + java.lang.Object ref = views_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + views_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @param value The views to set. + * @return This builder for chaining. + */ + public Builder setViews(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + views_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return This builder for chaining. + */ + public Builder clearViews() { + views_ = getDefaultInstance().getViews(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @param value The bytes for views to set. + * @return This builder for chaining. + */ + public Builder setViewsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + views_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequestOrBuilder.java index 26a351cc5b76..55ff905fab1c 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequestOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetSubnetworkRequestOrBuilder.java @@ -101,4 +101,46 @@ public interface GetSubnetworkRequestOrBuilder * @return The bytes for subnetwork. */ com.google.protobuf.ByteString getSubnetworkBytes(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + boolean hasViews(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + java.lang.String getViews(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + com.google.protobuf.ByteString getViewsBytes(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java index b9c62ddcba15..2153369df02a 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java @@ -55,6 +55,8 @@ private InterconnectLocation() { peeringdbFacilityId_ = ""; regionInfos_ = java.util.Collections.emptyList(); selfLink_ = ""; + singleRegionProductionCriticalPeerLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); status_ = ""; } @@ -1843,6 +1845,76 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } + public static final int SINGLE_REGION_PRODUCTION_CRITICAL_PEER_LOCATIONS_FIELD_NUMBER = 439537103; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList singleRegionProductionCriticalPeerLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return A list containing the singleRegionProductionCriticalPeerLocations. + */ + public com.google.protobuf.ProtocolStringList + getSingleRegionProductionCriticalPeerLocationsList() { + return singleRegionProductionCriticalPeerLocations_; + } + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return The count of singleRegionProductionCriticalPeerLocations. + */ + public int getSingleRegionProductionCriticalPeerLocationsCount() { + return singleRegionProductionCriticalPeerLocations_.size(); + } + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the element to return. + * @return The singleRegionProductionCriticalPeerLocations at the given index. + */ + public java.lang.String getSingleRegionProductionCriticalPeerLocations(int index) { + return singleRegionProductionCriticalPeerLocations_.get(index); + } + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the value to return. + * @return The bytes of the singleRegionProductionCriticalPeerLocations at the given index. + */ + public com.google.protobuf.ByteString getSingleRegionProductionCriticalPeerLocationsBytes( + int index) { + return singleRegionProductionCriticalPeerLocations_.getByteString(index); + } + public static final int STATUS_FIELD_NUMBER = 181260274; @SuppressWarnings("serial") @@ -2001,6 +2073,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } + for (int i = 0; i < singleRegionProductionCriticalPeerLocations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 439537103, singleRegionProductionCriticalPeerLocations_.getRaw(i)); + } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } @@ -2071,6 +2147,14 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } + { + int dataSize = 0; + for (int i = 0; i < singleRegionProductionCriticalPeerLocations_.size(); i++) { + dataSize += computeStringSizeNoTag(singleRegionProductionCriticalPeerLocations_.getRaw(i)); + } + size += dataSize; + size += 5 * getSingleRegionProductionCriticalPeerLocationsList().size(); + } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } @@ -2173,6 +2257,8 @@ public boolean equals(final java.lang.Object obj) { if (hasSelfLink()) { if (!getSelfLink().equals(other.getSelfLink())) return false; } + if (!getSingleRegionProductionCriticalPeerLocationsList() + .equals(other.getSingleRegionProductionCriticalPeerLocationsList())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus().equals(other.getStatus())) return false; @@ -2256,6 +2342,10 @@ public int hashCode() { hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; hash = (53 * hash) + getSelfLink().hashCode(); } + if (getSingleRegionProductionCriticalPeerLocationsCount() > 0) { + hash = (37 * hash) + SINGLE_REGION_PRODUCTION_CRITICAL_PEER_LOCATIONS_FIELD_NUMBER; + hash = (53 * hash) + getSingleRegionProductionCriticalPeerLocationsList().hashCode(); + } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); @@ -2426,6 +2516,8 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00004000); selfLink_ = ""; + singleRegionProductionCriticalPeerLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); status_ = ""; supportsPzs_ = false; return this; @@ -2540,10 +2632,15 @@ private void buildPartial0(com.google.cloud.compute.v1.InterconnectLocation resu to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00010000) != 0)) { + singleRegionProductionCriticalPeerLocations_.makeImmutable(); + result.singleRegionProductionCriticalPeerLocations_ = + singleRegionProductionCriticalPeerLocations_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { result.status_ = status_; to_bitField0_ |= 0x00002000; } - if (((from_bitField0_ & 0x00020000) != 0)) { + if (((from_bitField0_ & 0x00040000) != 0)) { result.supportsPzs_ = supportsPzs_; to_bitField0_ |= 0x00004000; } @@ -2706,9 +2803,21 @@ public Builder mergeFrom(com.google.cloud.compute.v1.InterconnectLocation other) bitField0_ |= 0x00008000; onChanged(); } + if (!other.singleRegionProductionCriticalPeerLocations_.isEmpty()) { + if (singleRegionProductionCriticalPeerLocations_.isEmpty()) { + singleRegionProductionCriticalPeerLocations_ = + other.singleRegionProductionCriticalPeerLocations_; + bitField0_ |= 0x00010000; + } else { + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + singleRegionProductionCriticalPeerLocations_.addAll( + other.singleRegionProductionCriticalPeerLocations_); + } + onChanged(); + } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasSupportsPzs()) { @@ -2773,7 +2882,7 @@ public Builder mergeFrom( case 671865712: { supportsPzs_ = input.readBool(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; break; } // case 671865712 case 698153002: @@ -2797,7 +2906,7 @@ public Builder mergeFrom( case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case 1450082194 case -1797413934: @@ -2820,6 +2929,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case -911466526 + case -778670470: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + singleRegionProductionCriticalPeerLocations_.add(s); + break; + } // case -778670470 case -645248918: { selfLink_ = input.readStringRequireUtf8(); @@ -5271,6 +5387,198 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.LazyStringArrayList singleRegionProductionCriticalPeerLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureSingleRegionProductionCriticalPeerLocationsIsMutable() { + if (!singleRegionProductionCriticalPeerLocations_.isModifiable()) { + singleRegionProductionCriticalPeerLocations_ = + new com.google.protobuf.LazyStringArrayList( + singleRegionProductionCriticalPeerLocations_); + } + bitField0_ |= 0x00010000; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return A list containing the singleRegionProductionCriticalPeerLocations. + */ + public com.google.protobuf.ProtocolStringList + getSingleRegionProductionCriticalPeerLocationsList() { + singleRegionProductionCriticalPeerLocations_.makeImmutable(); + return singleRegionProductionCriticalPeerLocations_; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return The count of singleRegionProductionCriticalPeerLocations. + */ + public int getSingleRegionProductionCriticalPeerLocationsCount() { + return singleRegionProductionCriticalPeerLocations_.size(); + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the element to return. + * @return The singleRegionProductionCriticalPeerLocations at the given index. + */ + public java.lang.String getSingleRegionProductionCriticalPeerLocations(int index) { + return singleRegionProductionCriticalPeerLocations_.get(index); + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the value to return. + * @return The bytes of the singleRegionProductionCriticalPeerLocations at the given index. + */ + public com.google.protobuf.ByteString getSingleRegionProductionCriticalPeerLocationsBytes( + int index) { + return singleRegionProductionCriticalPeerLocations_.getByteString(index); + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index to set the value at. + * @param value The singleRegionProductionCriticalPeerLocations to set. + * @return This builder for chaining. + */ + public Builder setSingleRegionProductionCriticalPeerLocations( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + singleRegionProductionCriticalPeerLocations_.set(index, value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param value The singleRegionProductionCriticalPeerLocations to add. + * @return This builder for chaining. + */ + public Builder addSingleRegionProductionCriticalPeerLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + singleRegionProductionCriticalPeerLocations_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param values The singleRegionProductionCriticalPeerLocations to add. + * @return This builder for chaining. + */ + public Builder addAllSingleRegionProductionCriticalPeerLocations( + java.lang.Iterable values) { + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, singleRegionProductionCriticalPeerLocations_); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return This builder for chaining. + */ + public Builder clearSingleRegionProductionCriticalPeerLocations() { + singleRegionProductionCriticalPeerLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00010000); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +     * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param value The bytes of the singleRegionProductionCriticalPeerLocations to add. + * @return This builder for chaining. + */ + public Builder addSingleRegionProductionCriticalPeerLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSingleRegionProductionCriticalPeerLocationsIsMutable(); + singleRegionProductionCriticalPeerLocations_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + private java.lang.Object status_ = ""; /** @@ -5286,7 +5594,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -5355,7 +5663,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5374,7 +5682,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -5398,7 +5706,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5418,7 +5726,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasSupportsPzs() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** @@ -5452,7 +5760,7 @@ public boolean getSupportsPzs() { public Builder setSupportsPzs(boolean value) { supportsPzs_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5469,7 +5777,7 @@ public Builder setSupportsPzs(boolean value) { * @return This builder for chaining. */ public Builder clearSupportsPzs() { - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); supportsPzs_ = false; onChanged(); return this; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationOrBuilder.java index 624f25227b9d..4598d18da2ad 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationOrBuilder.java @@ -704,6 +704,60 @@ com.google.cloud.compute.v1.InterconnectLocationRegionInfoOrBuilder getRegionInf */ com.google.protobuf.ByteString getSelfLinkBytes(); + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return A list containing the singleRegionProductionCriticalPeerLocations. + */ + java.util.List getSingleRegionProductionCriticalPeerLocationsList(); + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @return The count of singleRegionProductionCriticalPeerLocations. + */ + int getSingleRegionProductionCriticalPeerLocationsCount(); + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the element to return. + * @return The singleRegionProductionCriticalPeerLocations at the given index. + */ + java.lang.String getSingleRegionProductionCriticalPeerLocations(int index); + + /** + * + * + *
    +   * [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    +   * 
    + * + * repeated string single_region_production_critical_peer_locations = 439537103; + * + * @param index The index of the value to return. + * @return The bytes of the singleRegionProductionCriticalPeerLocations at the given index. + */ + com.google.protobuf.ByteString getSingleRegionProductionCriticalPeerLocationsBytes(int index); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocation.java index f34f1b186a83..17d5538d265b 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocation.java @@ -1407,6 +1407,41 @@ public int getMaxLagSize10Gbps() { return maxLagSize10Gbps_; } + public static final int MAX_LAG_SIZE400_GBPS_FIELD_NUMBER = 104941138; + private int maxLagSize400Gbps_ = 0; + + /** + * + * + *
    +   * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +   * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return Whether the maxLagSize400Gbps field is set. + */ + @java.lang.Override + public boolean hasMaxLagSize400Gbps() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * + * + *
    +   * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +   * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return The maxLagSize400Gbps. + */ + @java.lang.Override + public int getMaxLagSize400Gbps() { + return maxLagSize400Gbps_; + } + public static final int NAME_FIELD_NUMBER = 3373707; @SuppressWarnings("serial") @@ -1425,7 +1460,7 @@ public int getMaxLagSize10Gbps() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** @@ -1494,7 +1529,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasPeeringdbFacilityId() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** @@ -1655,7 +1690,7 @@ public int getPermittedConnectionsCount() { */ @java.lang.Override public boolean hasRemoteService() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -1724,7 +1759,7 @@ public com.google.protobuf.ByteString getRemoteServiceBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** @@ -1794,7 +1829,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** @@ -1873,7 +1908,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3313826, lacp_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } if (((bitField0_ & 0x00000008) != 0)) { @@ -1886,10 +1921,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString( output, 87269125, facilityProviderFacilityId_); } + if (((bitField0_ & 0x00004000) != 0)) { + output.writeInt32(104941138, maxLagSize400Gbps_); + } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 133442996, continent_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } if (((bitField0_ & 0x00001000) != 0)) { @@ -1901,7 +1939,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(326825041, getAttachmentConfigurationConstraints()); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 391954364, remoteService_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -1910,7 +1948,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < permittedConnections_.size(); i++) { output.writeMessage(442063278, permittedConnections_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -1919,7 +1957,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 533303309, facilityProvider_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 536567094, peeringdbFacilityId_); } getUnknownFields().writeTo(output); @@ -1943,7 +1981,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3313826, lacp_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } if (((bitField0_ & 0x00000008) != 0)) { @@ -1958,10 +1996,13 @@ public int getSerializedSize() { com.google.protobuf.GeneratedMessageV3.computeStringSize( 87269125, facilityProviderFacilityId_); } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(104941138, maxLagSize400Gbps_); + } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(133442996, continent_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } if (((bitField0_ & 0x00001000) != 0)) { @@ -1975,7 +2016,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 326825041, getAttachmentConfigurationConstraints()); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(391954364, remoteService_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -1986,7 +2027,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 442063278, permittedConnections_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -1996,7 +2037,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(533303309, facilityProvider_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(536567094, peeringdbFacilityId_); } @@ -2075,6 +2116,10 @@ public boolean equals(final java.lang.Object obj) { if (hasMaxLagSize10Gbps()) { if (getMaxLagSize10Gbps() != other.getMaxLagSize10Gbps()) return false; } + if (hasMaxLagSize400Gbps() != other.hasMaxLagSize400Gbps()) return false; + if (hasMaxLagSize400Gbps()) { + if (getMaxLagSize400Gbps() != other.getMaxLagSize400Gbps()) return false; + } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName().equals(other.getName())) return false; @@ -2163,6 +2208,10 @@ public int hashCode() { hash = (37 * hash) + MAX_LAG_SIZE10_GBPS_FIELD_NUMBER; hash = (53 * hash) + getMaxLagSize10Gbps(); } + if (hasMaxLagSize400Gbps()) { + hash = (37 * hash) + MAX_LAG_SIZE400_GBPS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLagSize400Gbps(); + } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); @@ -2361,6 +2410,7 @@ public Builder clear() { lacp_ = ""; maxLagSize100Gbps_ = 0; maxLagSize10Gbps_ = 0; + maxLagSize400Gbps_ = 0; name_ = ""; peeringdbFacilityId_ = ""; if (permittedConnectionsBuilder_ == null) { @@ -2369,7 +2419,7 @@ public Builder clear() { permittedConnections_ = null; permittedConnectionsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); remoteService_ = ""; selfLink_ = ""; status_ = ""; @@ -2411,9 +2461,9 @@ public com.google.cloud.compute.v1.InterconnectRemoteLocation buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.compute.v1.InterconnectRemoteLocation result) { if (permittedConnectionsBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { permittedConnections_ = java.util.Collections.unmodifiableList(permittedConnections_); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); } result.permittedConnections_ = permittedConnections_; } else { @@ -2485,25 +2535,29 @@ private void buildPartial0(com.google.cloud.compute.v1.InterconnectRemoteLocatio to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.name_ = name_; + result.maxLagSize400Gbps_ = maxLagSize400Gbps_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.peeringdbFacilityId_ = peeringdbFacilityId_; + result.name_ = name_; to_bitField0_ |= 0x00008000; } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.remoteService_ = remoteService_; + if (((from_bitField0_ & 0x00010000) != 0)) { + result.peeringdbFacilityId_ = peeringdbFacilityId_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.selfLink_ = selfLink_; + result.remoteService_ = remoteService_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00080000) != 0)) { - result.status_ = status_; + result.selfLink_ = selfLink_; to_bitField0_ |= 0x00040000; } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.status_ = status_; + to_bitField0_ |= 0x00080000; + } result.bitField0_ |= to_bitField0_; } @@ -2613,21 +2667,24 @@ public Builder mergeFrom(com.google.cloud.compute.v1.InterconnectRemoteLocation if (other.hasMaxLagSize10Gbps()) { setMaxLagSize10Gbps(other.getMaxLagSize10Gbps()); } + if (other.hasMaxLagSize400Gbps()) { + setMaxLagSize400Gbps(other.getMaxLagSize400Gbps()); + } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasPeeringdbFacilityId()) { peeringdbFacilityId_ = other.peeringdbFacilityId_; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); } if (permittedConnectionsBuilder_ == null) { if (!other.permittedConnections_.isEmpty()) { if (permittedConnections_.isEmpty()) { permittedConnections_ = other.permittedConnections_; - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); } else { ensurePermittedConnectionsIsMutable(); permittedConnections_.addAll(other.permittedConnections_); @@ -2640,7 +2697,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.InterconnectRemoteLocation permittedConnectionsBuilder_.dispose(); permittedConnectionsBuilder_ = null; permittedConnections_ = other.permittedConnections_; - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); permittedConnectionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPermittedConnectionsFieldBuilder() @@ -2652,17 +2709,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.InterconnectRemoteLocation } if (other.hasRemoteService()) { remoteService_ = other.remoteService_; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -2718,7 +2775,7 @@ public Builder mergeFrom( case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 26989658 case 31273394: @@ -2739,6 +2796,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000100; break; } // case 698153002 + case 839529104: + { + maxLagSize400Gbps_ = input.readInt32(); + bitField0_ |= 0x00004000; + break; + } // case 839529104 case 1067543970: { continent_ = input.readStringRequireUtf8(); @@ -2748,7 +2811,7 @@ public Builder mergeFrom( case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; break; } // case 1450082194 case 1961754024: @@ -2774,7 +2837,7 @@ public Builder mergeFrom( case -1159332382: { remoteService_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; break; } // case -1159332382 case -911466526: @@ -2801,7 +2864,7 @@ public Builder mergeFrom( case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; break; } // case -645248918 case -591601758: @@ -2819,7 +2882,7 @@ public Builder mergeFrom( case -2430542: { peeringdbFacilityId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case -2430542 default: @@ -4647,6 +4710,78 @@ public Builder clearMaxLagSize10Gbps() { return this; } + private int maxLagSize400Gbps_; + + /** + * + * + *
    +     * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +     * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return Whether the maxLagSize400Gbps field is set. + */ + @java.lang.Override + public boolean hasMaxLagSize400Gbps() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * + * + *
    +     * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +     * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return The maxLagSize400Gbps. + */ + @java.lang.Override + public int getMaxLagSize400Gbps() { + return maxLagSize400Gbps_; + } + + /** + * + * + *
    +     * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +     * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @param value The maxLagSize400Gbps to set. + * @return This builder for chaining. + */ + public Builder setMaxLagSize400Gbps(int value) { + + maxLagSize400Gbps_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +     * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return This builder for chaining. + */ + public Builder clearMaxLagSize400Gbps() { + bitField0_ = (bitField0_ & ~0x00004000); + maxLagSize400Gbps_ = 0; + onChanged(); + return this; + } + private java.lang.Object name_ = ""; /** @@ -4661,7 +4796,7 @@ public Builder clearMaxLagSize10Gbps() { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** @@ -4727,7 +4862,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4745,7 +4880,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -4768,7 +4903,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4787,7 +4922,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the peeringdbFacilityId field is set. */ public boolean hasPeeringdbFacilityId() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** @@ -4853,7 +4988,7 @@ public Builder setPeeringdbFacilityId(java.lang.String value) { throw new NullPointerException(); } peeringdbFacilityId_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4871,7 +5006,7 @@ public Builder setPeeringdbFacilityId(java.lang.String value) { */ public Builder clearPeeringdbFacilityId() { peeringdbFacilityId_ = getDefaultInstance().getPeeringdbFacilityId(); - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -4894,7 +5029,7 @@ public Builder setPeeringdbFacilityIdBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); peeringdbFacilityId_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4904,12 +5039,12 @@ public Builder setPeeringdbFacilityIdBytes(com.google.protobuf.ByteString value) permittedConnections_ = java.util.Collections.emptyList(); private void ensurePermittedConnectionsIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { + if (!((bitField0_ & 0x00020000) != 0)) { permittedConnections_ = new java.util.ArrayList< com.google.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections>( permittedConnections_); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; } } @@ -5173,7 +5308,7 @@ public Builder addAllPermittedConnections( public Builder clearPermittedConnections() { if (permittedConnectionsBuilder_ == null) { permittedConnections_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); } else { permittedConnectionsBuilder_.clear(); @@ -5330,7 +5465,7 @@ public Builder removePermittedConnections(int index) { com.google.cloud.compute.v1 .InterconnectRemoteLocationPermittedConnectionsOrBuilder>( permittedConnections_, - ((bitField0_ & 0x00010000) != 0), + ((bitField0_ & 0x00020000) != 0), getParentForChildren(), isClean()); permittedConnections_ = null; @@ -5352,7 +5487,7 @@ public Builder removePermittedConnections(int index) { * @return Whether the remoteService field is set. */ public boolean hasRemoteService() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** @@ -5418,7 +5553,7 @@ public Builder setRemoteService(java.lang.String value) { throw new NullPointerException(); } remoteService_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5436,7 +5571,7 @@ public Builder setRemoteService(java.lang.String value) { */ public Builder clearRemoteService() { remoteService_ = getDefaultInstance().getRemoteService(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -5459,7 +5594,7 @@ public Builder setRemoteServiceBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); remoteService_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5478,7 +5613,7 @@ public Builder setRemoteServiceBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** @@ -5544,7 +5679,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5562,7 +5697,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } @@ -5585,7 +5720,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5605,7 +5740,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** @@ -5674,7 +5809,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5693,7 +5828,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -5717,7 +5852,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationOrBuilder.java index e7f7ef20141b..0512d366caa1 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationOrBuilder.java @@ -548,6 +548,32 @@ public interface InterconnectRemoteLocationOrBuilder */ int getMaxLagSize10Gbps(); + /** + * + * + *
    +   * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +   * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return Whether the maxLagSize400Gbps field is set. + */ + boolean hasMaxLagSize400Gbps(); + + /** + * + * + *
    +   * [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
    +   * 
    + * + * optional int32 max_lag_size400_gbps = 104941138; + * + * @return The maxLagSize400Gbps. + */ + int getMaxLagSize400Gbps(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequest.java index 3535eeb79e95..56cc4c5fdbc1 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequest.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequest.java @@ -45,6 +45,7 @@ private ListSubnetworksRequest() { pageToken_ = ""; project_ = ""; region_ = ""; + views_ = ""; } @java.lang.Override @@ -68,6 +69,151 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.ListSubnetworksRequest.Builder.class); } + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * 
    + * + * Protobuf enum {@code google.cloud.compute.v1.ListSubnetworksRequest.Views} + */ + public enum Views implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * A value indicating that the enum field is not set.
    +     * 
    + * + * UNDEFINED_VIEWS = 0; + */ + UNDEFINED_VIEWS(0), + /** DEFAULT = 115302945; */ + DEFAULT(115302945), + /** + * + * + *
    +     * Utilization data is included in the response.
    +     * 
    + * + * WITH_UTILIZATION = 504090633; + */ + WITH_UTILIZATION(504090633), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
    +     * A value indicating that the enum field is not set.
    +     * 
    + * + * UNDEFINED_VIEWS = 0; + */ + public static final int UNDEFINED_VIEWS_VALUE = 0; + + /** DEFAULT = 115302945; */ + public static final int DEFAULT_VALUE = 115302945; + + /** + * + * + *
    +     * Utilization data is included in the response.
    +     * 
    + * + * WITH_UTILIZATION = 504090633; + */ + public static final int WITH_UTILIZATION_VALUE = 504090633; + + 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 Views 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 Views forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_VIEWS; + case 115302945: + return DEFAULT; + case 504090633: + return WITH_UTILIZATION; + 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 Views findValueByNumber(int number) { + return Views.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.cloud.compute.v1.ListSubnetworksRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Views[] VALUES = values(); + + public static Views 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 Views(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.ListSubnetworksRequest.Views) + } + private int bitField0_; public static final int FILTER_FIELD_NUMBER = 336120696; @@ -452,6 +598,78 @@ public boolean getReturnPartialSuccess() { return returnPartialSuccess_; } + public static final int VIEWS_FIELD_NUMBER = 112204398; + + @SuppressWarnings("serial") + private volatile java.lang.Object views_ = ""; + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + @java.lang.Override + public boolean hasViews() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + @java.lang.Override + public java.lang.String getViews() { + java.lang.Object ref = views_; + 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(); + views_ = s; + return s; + } + } + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + @java.lang.Override + public com.google.protobuf.ByteString getViewsBytes() { + java.lang.Object ref = views_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + views_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -472,6 +690,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(54715419, maxResults_); } + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 112204398, views_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } @@ -502,6 +723,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(112204398, views_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } @@ -556,6 +780,10 @@ public boolean equals(final java.lang.Object obj) { if (hasReturnPartialSuccess()) { if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; } + if (hasViews() != other.hasViews()) return false; + if (hasViews()) { + if (!getViews().equals(other.getViews())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -591,6 +819,10 @@ public int hashCode() { hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); } + if (hasViews()) { + hash = (37 * hash) + VIEWS_FIELD_NUMBER; + hash = (53 * hash) + getViews().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -738,6 +970,7 @@ public Builder clear() { project_ = ""; region_ = ""; returnPartialSuccess_ = false; + views_ = ""; return this; } @@ -801,6 +1034,10 @@ private void buildPartial0(com.google.cloud.compute.v1.ListSubnetworksRequest re result.returnPartialSuccess_ = returnPartialSuccess_; to_bitField0_ |= 0x00000010; } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.views_ = views_; + to_bitField0_ |= 0x00000020; + } result.bitField0_ |= to_bitField0_; } @@ -881,6 +1118,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ListSubnetworksRequest othe if (other.hasReturnPartialSuccess()) { setReturnPartialSuccess(other.getReturnPartialSuccess()); } + if (other.hasViews()) { + views_ = other.views_; + bitField0_ |= 0x00000080; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -919,6 +1161,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 437723352 + case 897635186: + { + views_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 897635186 case 1111570338: { region_ = input.readStringRequireUtf8(); @@ -1712,6 +1960,138 @@ public Builder clearReturnPartialSuccess() { return this; } + private java.lang.Object views_ = ""; + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + public boolean hasViews() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + public java.lang.String getViews() { + java.lang.Object ref = views_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + views_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + public com.google.protobuf.ByteString getViewsBytes() { + java.lang.Object ref = views_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + views_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @param value The views to set. + * @return This builder for chaining. + */ + public Builder setViews(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + views_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @return This builder for chaining. + */ + public Builder clearViews() { + views_ = getDefaultInstance().getViews(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +     * Check the Views enum for the list of possible values.
    +     * 
    + * + * optional string views = 112204398; + * + * @param value The bytes for views to set. + * @return This builder for chaining. + */ + public Builder setViewsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + views_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequestOrBuilder.java index 39b6fd3aa8c4..17bc69c83a24 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequestOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListSubnetworksRequestOrBuilder.java @@ -244,4 +244,46 @@ public interface ListSubnetworksRequestOrBuilder * @return The returnPartialSuccess. */ boolean getReturnPartialSuccess(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return Whether the views field is set. + */ + boolean hasViews(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The views. + */ + java.lang.String getViews(); + + /** + * + * + *
    +   * Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
    +   * Check the Views enum for the list of possible values.
    +   * 
    + * + * optional string views = 112204398; + * + * @return The bytes for views. + */ + com.google.protobuf.ByteString getViewsBytes(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicy.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicy.java index c27d0044d2f3..02dbede2ab9b 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicy.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicy.java @@ -134,6 +134,41 @@ public com.google.protobuf.ByteString getBackendServiceBytes() { } } + public static final int MIRROR_PERCENT_FIELD_NUMBER = 277432261; + private double mirrorPercent_ = 0D; + + /** + * + * + *
    +   * The percentage of requests to be mirrored to `backend_service`.
    +   * 
    + * + * optional double mirror_percent = 277432261; + * + * @return Whether the mirrorPercent field is set. + */ + @java.lang.Override + public boolean hasMirrorPercent() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * The percentage of requests to be mirrored to `backend_service`.
    +   * 
    + * + * optional double mirror_percent = 277432261; + * + * @return The mirrorPercent. + */ + @java.lang.Override + public double getMirrorPercent() { + return mirrorPercent_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -148,6 +183,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + output.writeDouble(277432261, mirrorPercent_); + } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 306946058, backendService_); } @@ -160,6 +198,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(277432261, mirrorPercent_); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(306946058, backendService_); } @@ -183,6 +224,11 @@ public boolean equals(final java.lang.Object obj) { if (hasBackendService()) { if (!getBackendService().equals(other.getBackendService())) return false; } + if (hasMirrorPercent() != other.hasMirrorPercent()) return false; + if (hasMirrorPercent()) { + if (java.lang.Double.doubleToLongBits(getMirrorPercent()) + != java.lang.Double.doubleToLongBits(other.getMirrorPercent())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,6 +244,13 @@ public int hashCode() { hash = (37 * hash) + BACKEND_SERVICE_FIELD_NUMBER; hash = (53 * hash) + getBackendService().hashCode(); } + if (hasMirrorPercent()) { + hash = (37 * hash) + MIRROR_PERCENT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMirrorPercent())); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -339,6 +392,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; backendService_ = ""; + mirrorPercent_ = 0D; return this; } @@ -380,6 +434,10 @@ private void buildPartial0(com.google.cloud.compute.v1.RequestMirrorPolicy resul result.backendService_ = backendService_; to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.mirrorPercent_ = mirrorPercent_; + to_bitField0_ |= 0x00000002; + } result.bitField0_ |= to_bitField0_; } @@ -434,6 +492,9 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RequestMirrorPolicy other) bitField0_ |= 0x00000001; onChanged(); } + if (other.hasMirrorPercent()) { + setMirrorPercent(other.getMirrorPercent()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -460,6 +521,12 @@ public Builder mergeFrom( case 0: done = true; break; + case -2075509207: + { + mirrorPercent_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case -2075509207 case -1839398830: { backendService_ = input.readStringRequireUtf8(); @@ -611,6 +678,78 @@ public Builder setBackendServiceBytes(com.google.protobuf.ByteString value) { return this; } + private double mirrorPercent_; + + /** + * + * + *
    +     * The percentage of requests to be mirrored to `backend_service`.
    +     * 
    + * + * optional double mirror_percent = 277432261; + * + * @return Whether the mirrorPercent field is set. + */ + @java.lang.Override + public boolean hasMirrorPercent() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * The percentage of requests to be mirrored to `backend_service`.
    +     * 
    + * + * optional double mirror_percent = 277432261; + * + * @return The mirrorPercent. + */ + @java.lang.Override + public double getMirrorPercent() { + return mirrorPercent_; + } + + /** + * + * + *
    +     * The percentage of requests to be mirrored to `backend_service`.
    +     * 
    + * + * optional double mirror_percent = 277432261; + * + * @param value The mirrorPercent to set. + * @return This builder for chaining. + */ + public Builder setMirrorPercent(double value) { + + mirrorPercent_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * The percentage of requests to be mirrored to `backend_service`.
    +     * 
    + * + * optional double mirror_percent = 277432261; + * + * @return This builder for chaining. + */ + public Builder clearMirrorPercent() { + bitField0_ = (bitField0_ & ~0x00000002); + mirrorPercent_ = 0D; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicyOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicyOrBuilder.java index 326a9b5388fd..62bfb53fab0c 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicyOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RequestMirrorPolicyOrBuilder.java @@ -62,4 +62,30 @@ public interface RequestMirrorPolicyOrBuilder * @return The bytes for backendService. */ com.google.protobuf.ByteString getBackendServiceBytes(); + + /** + * + * + *
    +   * The percentage of requests to be mirrored to `backend_service`.
    +   * 
    + * + * optional double mirror_percent = 277432261; + * + * @return Whether the mirrorPercent field is set. + */ + boolean hasMirrorPercent(); + + /** + * + * + *
    +   * The percentage of requests to be mirrored to `backend_service`.
    +   * 
    + * + * optional double mirror_percent = 277432261; + * + * @return The mirrorPercent. + */ + double getMirrorPercent(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index ac06d917a893..915d11acae39 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -3346,6 +3346,66 @@ public com.google.protobuf.ByteString getSystemReservedInternalIpv6RangesBytes(i return systemReservedInternalIpv6Ranges_.getByteString(index); } + public static final int UTILIZATION_DETAILS_FIELD_NUMBER = 125404453; + private com.google.cloud.compute.v1.SubnetworkUtilizationDetails utilizationDetails_; + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return Whether the utilizationDetails field is set. + */ + @java.lang.Override + public boolean hasUtilizationDetails() { + return ((bitField0_ & 0x08000000) != 0); + } + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return The utilizationDetails. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails getUtilizationDetails() { + return utilizationDetails_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance() + : utilizationDetails_; + } + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder + getUtilizationDetailsOrBuilder() { + return utilizationDetails_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance() + : utilizationDetails_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3392,6 +3452,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); } + if (((bitField0_ & 0x08000000) != 0)) { + output.writeMessage(125404453, getUtilizationDetails()); + } for (int i = 0; i < secondaryIpRanges_.size(); i++) { output.writeMessage(136658915, secondaryIpRanges_.get(i)); } @@ -3500,6 +3563,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); } + if (((bitField0_ & 0x08000000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 125404453, getUtilizationDetails()); + } for (int i = 0; i < secondaryIpRanges_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -3700,6 +3768,10 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getSystemReservedExternalIpv6RangesList())) return false; if (!getSystemReservedInternalIpv6RangesList() .equals(other.getSystemReservedInternalIpv6RangesList())) return false; + if (hasUtilizationDetails() != other.hasUtilizationDetails()) return false; + if (hasUtilizationDetails()) { + if (!getUtilizationDetails().equals(other.getUtilizationDetails())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3831,6 +3903,10 @@ public int hashCode() { hash = (37 * hash) + SYSTEM_RESERVED_INTERNAL_IPV6_RANGES_FIELD_NUMBER; hash = (53 * hash) + getSystemReservedInternalIpv6RangesList().hashCode(); } + if (hasUtilizationDetails()) { + hash = (37 * hash) + UTILIZATION_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getUtilizationDetails().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3975,6 +4051,7 @@ private void maybeForceBuilderInitialization() { getLogConfigFieldBuilder(); getParamsFieldBuilder(); getSecondaryIpRangesFieldBuilder(); + getUtilizationDetailsFieldBuilder(); } } @@ -4026,6 +4103,11 @@ public Builder clear() { state_ = ""; systemReservedExternalIpv6Ranges_ = com.google.protobuf.LazyStringArrayList.emptyList(); systemReservedInternalIpv6Ranges_ = com.google.protobuf.LazyStringArrayList.emptyList(); + utilizationDetails_ = null; + if (utilizationDetailsBuilder_ != null) { + utilizationDetailsBuilder_.dispose(); + utilizationDetailsBuilder_ = null; + } return this; } @@ -4192,6 +4274,13 @@ private void buildPartial0(com.google.cloud.compute.v1.Subnetwork result) { systemReservedInternalIpv6Ranges_.makeImmutable(); result.systemReservedInternalIpv6Ranges_ = systemReservedInternalIpv6Ranges_; } + if (((from_bitField0_ & 0x40000000) != 0)) { + result.utilizationDetails_ = + utilizationDetailsBuilder_ == null + ? utilizationDetails_ + : utilizationDetailsBuilder_.build(); + to_bitField0_ |= 0x08000000; + } result.bitField0_ |= to_bitField0_; } @@ -4412,6 +4501,9 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { } onChanged(); } + if (other.hasUtilizationDetails()) { + mergeUtilizationDetails(other.getUtilizationDetails()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4499,6 +4591,13 @@ public Builder mergeFrom( bitField0_ |= 0x08000000; break; } // case 878060682 + case 1003235626: + { + input.readMessage( + getUtilizationDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x40000000; + break; + } // case 1003235626 case 1093271322: { com.google.cloud.compute.v1.SubnetworkSecondaryRange m = @@ -8855,6 +8954,224 @@ public Builder addSystemReservedInternalIpv6RangesBytes(com.google.protobuf.Byte return this; } + private com.google.cloud.compute.v1.SubnetworkUtilizationDetails utilizationDetails_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetails, + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder> + utilizationDetailsBuilder_; + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return Whether the utilizationDetails field is set. + */ + public boolean hasUtilizationDetails() { + return ((bitField0_ & 0x40000000) != 0); + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return The utilizationDetails. + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails getUtilizationDetails() { + if (utilizationDetailsBuilder_ == null) { + return utilizationDetails_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance() + : utilizationDetails_; + } else { + return utilizationDetailsBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public Builder setUtilizationDetails( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails value) { + if (utilizationDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + utilizationDetails_ = value; + } else { + utilizationDetailsBuilder_.setMessage(value); + } + bitField0_ |= 0x40000000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public Builder setUtilizationDetails( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder builderForValue) { + if (utilizationDetailsBuilder_ == null) { + utilizationDetails_ = builderForValue.build(); + } else { + utilizationDetailsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x40000000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public Builder mergeUtilizationDetails( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails value) { + if (utilizationDetailsBuilder_ == null) { + if (((bitField0_ & 0x40000000) != 0) + && utilizationDetails_ != null + && utilizationDetails_ + != com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance()) { + getUtilizationDetailsBuilder().mergeFrom(value); + } else { + utilizationDetails_ = value; + } + } else { + utilizationDetailsBuilder_.mergeFrom(value); + } + if (utilizationDetails_ != null) { + bitField0_ |= 0x40000000; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public Builder clearUtilizationDetails() { + bitField0_ = (bitField0_ & ~0x40000000); + utilizationDetails_ = null; + if (utilizationDetailsBuilder_ != null) { + utilizationDetailsBuilder_.dispose(); + utilizationDetailsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder + getUtilizationDetailsBuilder() { + bitField0_ |= 0x40000000; + onChanged(); + return getUtilizationDetailsFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder + getUtilizationDetailsOrBuilder() { + if (utilizationDetailsBuilder_ != null) { + return utilizationDetailsBuilder_.getMessageOrBuilder(); + } else { + return utilizationDetails_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance() + : utilizationDetails_; + } + } + + /** + * + * + *
    +     * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetails, + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder> + getUtilizationDetailsFieldBuilder() { + if (utilizationDetailsBuilder_ == null) { + utilizationDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetails, + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder>( + getUtilizationDetails(), getParentForChildren(), isClean()); + utilizationDetails_ = null; + } + return utilizationDetailsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java index 6c9a0465ddef..1c5a9be22f4e 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java @@ -1229,4 +1229,48 @@ com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder getSecondaryIpRang * @return The bytes of the systemReservedInternalIpv6Ranges at the given index. */ com.google.protobuf.ByteString getSystemReservedInternalIpv6RangesBytes(int index); + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return Whether the utilizationDetails field is set. + */ + boolean hasUtilizationDetails(); + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + * + * @return The utilizationDetails. + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetails getUtilizationDetails(); + + /** + * + * + *
    +   * Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder + getUtilizationDetailsOrBuilder(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetails.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetails.java new file mode 100644 index 000000000000..8037aef9bdf5 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetails.java @@ -0,0 +1,2045 @@ +/* + * 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/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +/** + * + * + *
    + * The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    + * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetails} + */ +public final class SubnetworkUtilizationDetails extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SubnetworkUtilizationDetails) + SubnetworkUtilizationDetailsOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SubnetworkUtilizationDetails.newBuilder() to construct. + private SubnetworkUtilizationDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SubnetworkUtilizationDetails() { + ipv4Utilizations_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SubnetworkUtilizationDetails(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder.class); + } + + private int bitField0_; + public static final int EXTERNAL_IPV6_INSTANCE_UTILIZATION_FIELD_NUMBER = 419750236; + private com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6InstanceUtilization_; + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return Whether the externalIpv6InstanceUtilization field is set. + */ + @java.lang.Override + public boolean hasExternalIpv6InstanceUtilization() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return The externalIpv6InstanceUtilization. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6InstanceUtilization() { + return externalIpv6InstanceUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6InstanceUtilization_; + } + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6InstanceUtilizationOrBuilder() { + return externalIpv6InstanceUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6InstanceUtilization_; + } + + public static final int EXTERNAL_IPV6_LB_UTILIZATION_FIELD_NUMBER = 136563645; + private com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6LbUtilization_; + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return Whether the externalIpv6LbUtilization field is set. + */ + @java.lang.Override + public boolean hasExternalIpv6LbUtilization() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return The externalIpv6LbUtilization. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6LbUtilization() { + return externalIpv6LbUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6LbUtilization_; + } + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6LbUtilizationOrBuilder() { + return externalIpv6LbUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6LbUtilization_; + } + + public static final int INTERNAL_IPV6_UTILIZATION_FIELD_NUMBER = 69707020; + private com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + internalIpv6Utilization_; + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return Whether the internalIpv6Utilization field is set. + */ + @java.lang.Override + public boolean hasInternalIpv6Utilization() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return The internalIpv6Utilization. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getInternalIpv6Utilization() { + return internalIpv6Utilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : internalIpv6Utilization_; + } + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getInternalIpv6UtilizationOrBuilder() { + return internalIpv6Utilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : internalIpv6Utilization_; + } + + public static final int IPV4_UTILIZATIONS_FIELD_NUMBER = 206180011; + + @SuppressWarnings("serial") + private java.util.List + ipv4Utilizations_; + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + @java.lang.Override + public java.util.List + getIpv4UtilizationsList() { + return ipv4Utilizations_; + } + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder> + getIpv4UtilizationsOrBuilderList() { + return ipv4Utilizations_; + } + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + @java.lang.Override + public int getIpv4UtilizationsCount() { + return ipv4Utilizations_.size(); + } + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + getIpv4Utilizations(int index) { + return ipv4Utilizations_.get(index); + } + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder + getIpv4UtilizationsOrBuilder(int index) { + return ipv4Utilizations_.get(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 { + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(69707020, getInternalIpv6Utilization()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(136563645, getExternalIpv6LbUtilization()); + } + for (int i = 0; i < ipv4Utilizations_.size(); i++) { + output.writeMessage(206180011, ipv4Utilizations_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(419750236, getExternalIpv6InstanceUtilization()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 69707020, getInternalIpv6Utilization()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 136563645, getExternalIpv6LbUtilization()); + } + for (int i = 0; i < ipv4Utilizations_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 206180011, ipv4Utilizations_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 419750236, getExternalIpv6InstanceUtilization()); + } + 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.compute.v1.SubnetworkUtilizationDetails)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SubnetworkUtilizationDetails other = + (com.google.cloud.compute.v1.SubnetworkUtilizationDetails) obj; + + if (hasExternalIpv6InstanceUtilization() != other.hasExternalIpv6InstanceUtilization()) + return false; + if (hasExternalIpv6InstanceUtilization()) { + if (!getExternalIpv6InstanceUtilization().equals(other.getExternalIpv6InstanceUtilization())) + return false; + } + if (hasExternalIpv6LbUtilization() != other.hasExternalIpv6LbUtilization()) return false; + if (hasExternalIpv6LbUtilization()) { + if (!getExternalIpv6LbUtilization().equals(other.getExternalIpv6LbUtilization())) + return false; + } + if (hasInternalIpv6Utilization() != other.hasInternalIpv6Utilization()) return false; + if (hasInternalIpv6Utilization()) { + if (!getInternalIpv6Utilization().equals(other.getInternalIpv6Utilization())) return false; + } + if (!getIpv4UtilizationsList().equals(other.getIpv4UtilizationsList())) 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 (hasExternalIpv6InstanceUtilization()) { + hash = (37 * hash) + EXTERNAL_IPV6_INSTANCE_UTILIZATION_FIELD_NUMBER; + hash = (53 * hash) + getExternalIpv6InstanceUtilization().hashCode(); + } + if (hasExternalIpv6LbUtilization()) { + hash = (37 * hash) + EXTERNAL_IPV6_LB_UTILIZATION_FIELD_NUMBER; + hash = (53 * hash) + getExternalIpv6LbUtilization().hashCode(); + } + if (hasInternalIpv6Utilization()) { + hash = (37 * hash) + INTERNAL_IPV6_UTILIZATION_FIELD_NUMBER; + hash = (53 * hash) + getInternalIpv6Utilization().hashCode(); + } + if (getIpv4UtilizationsCount() > 0) { + hash = (37 * hash) + IPV4_UTILIZATIONS_FIELD_NUMBER; + hash = (53 * hash) + getIpv4UtilizationsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails 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; + } + + /** + * + * + *
    +   * The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
    +   * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetails} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SubnetworkUtilizationDetails) + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetails.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.SubnetworkUtilizationDetails.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExternalIpv6InstanceUtilizationFieldBuilder(); + getExternalIpv6LbUtilizationFieldBuilder(); + getInternalIpv6UtilizationFieldBuilder(); + getIpv4UtilizationsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + externalIpv6InstanceUtilization_ = null; + if (externalIpv6InstanceUtilizationBuilder_ != null) { + externalIpv6InstanceUtilizationBuilder_.dispose(); + externalIpv6InstanceUtilizationBuilder_ = null; + } + externalIpv6LbUtilization_ = null; + if (externalIpv6LbUtilizationBuilder_ != null) { + externalIpv6LbUtilizationBuilder_.dispose(); + externalIpv6LbUtilizationBuilder_ = null; + } + internalIpv6Utilization_ = null; + if (internalIpv6UtilizationBuilder_ != null) { + internalIpv6UtilizationBuilder_.dispose(); + internalIpv6UtilizationBuilder_ = null; + } + if (ipv4UtilizationsBuilder_ == null) { + ipv4Utilizations_ = java.util.Collections.emptyList(); + } else { + ipv4Utilizations_ = null; + ipv4UtilizationsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails build() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetails buildPartial() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetails result = + new com.google.cloud.compute.v1.SubnetworkUtilizationDetails(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.SubnetworkUtilizationDetails result) { + if (ipv4UtilizationsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + ipv4Utilizations_ = java.util.Collections.unmodifiableList(ipv4Utilizations_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.ipv4Utilizations_ = ipv4Utilizations_; + } else { + result.ipv4Utilizations_ = ipv4UtilizationsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.SubnetworkUtilizationDetails result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.externalIpv6InstanceUtilization_ = + externalIpv6InstanceUtilizationBuilder_ == null + ? externalIpv6InstanceUtilization_ + : externalIpv6InstanceUtilizationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.externalIpv6LbUtilization_ = + externalIpv6LbUtilizationBuilder_ == null + ? externalIpv6LbUtilization_ + : externalIpv6LbUtilizationBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.internalIpv6Utilization_ = + internalIpv6UtilizationBuilder_ == null + ? internalIpv6Utilization_ + : internalIpv6UtilizationBuilder_.build(); + 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.cloud.compute.v1.SubnetworkUtilizationDetails) { + return mergeFrom((com.google.cloud.compute.v1.SubnetworkUtilizationDetails) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.SubnetworkUtilizationDetails other) { + if (other == com.google.cloud.compute.v1.SubnetworkUtilizationDetails.getDefaultInstance()) + return this; + if (other.hasExternalIpv6InstanceUtilization()) { + mergeExternalIpv6InstanceUtilization(other.getExternalIpv6InstanceUtilization()); + } + if (other.hasExternalIpv6LbUtilization()) { + mergeExternalIpv6LbUtilization(other.getExternalIpv6LbUtilization()); + } + if (other.hasInternalIpv6Utilization()) { + mergeInternalIpv6Utilization(other.getInternalIpv6Utilization()); + } + if (ipv4UtilizationsBuilder_ == null) { + if (!other.ipv4Utilizations_.isEmpty()) { + if (ipv4Utilizations_.isEmpty()) { + ipv4Utilizations_ = other.ipv4Utilizations_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.addAll(other.ipv4Utilizations_); + } + onChanged(); + } + } else { + if (!other.ipv4Utilizations_.isEmpty()) { + if (ipv4UtilizationsBuilder_.isEmpty()) { + ipv4UtilizationsBuilder_.dispose(); + ipv4UtilizationsBuilder_ = null; + ipv4Utilizations_ = other.ipv4Utilizations_; + bitField0_ = (bitField0_ & ~0x00000008); + ipv4UtilizationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIpv4UtilizationsFieldBuilder() + : null; + } else { + ipv4UtilizationsBuilder_.addAllMessages(other.ipv4Utilizations_); + } + } + } + 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 557656162: + { + input.readMessage( + getInternalIpv6UtilizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 557656162 + case 1092509162: + { + input.readMessage( + getExternalIpv6LbUtilizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 1092509162 + case 1649440090: + { + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization m = + input.readMessage( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + .parser(), + extensionRegistry); + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.add(m); + } else { + ipv4UtilizationsBuilder_.addMessage(m); + } + break; + } // case 1649440090 + case -936965406: + { + input.readMessage( + getExternalIpv6InstanceUtilizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case -936965406 + 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.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6InstanceUtilization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + externalIpv6InstanceUtilizationBuilder_; + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return Whether the externalIpv6InstanceUtilization field is set. + */ + public boolean hasExternalIpv6InstanceUtilization() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return The externalIpv6InstanceUtilization. + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6InstanceUtilization() { + if (externalIpv6InstanceUtilizationBuilder_ == null) { + return externalIpv6InstanceUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6InstanceUtilization_; + } else { + return externalIpv6InstanceUtilizationBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public Builder setExternalIpv6InstanceUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (externalIpv6InstanceUtilizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + externalIpv6InstanceUtilization_ = value; + } else { + externalIpv6InstanceUtilizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public Builder setExternalIpv6InstanceUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + builderForValue) { + if (externalIpv6InstanceUtilizationBuilder_ == null) { + externalIpv6InstanceUtilization_ = builderForValue.build(); + } else { + externalIpv6InstanceUtilizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public Builder mergeExternalIpv6InstanceUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (externalIpv6InstanceUtilizationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && externalIpv6InstanceUtilization_ != null + && externalIpv6InstanceUtilization_ + != com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance()) { + getExternalIpv6InstanceUtilizationBuilder().mergeFrom(value); + } else { + externalIpv6InstanceUtilization_ = value; + } + } else { + externalIpv6InstanceUtilizationBuilder_.mergeFrom(value); + } + if (externalIpv6InstanceUtilization_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public Builder clearExternalIpv6InstanceUtilization() { + bitField0_ = (bitField0_ & ~0x00000001); + externalIpv6InstanceUtilization_ = null; + if (externalIpv6InstanceUtilizationBuilder_ != null) { + externalIpv6InstanceUtilizationBuilder_.dispose(); + externalIpv6InstanceUtilizationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + getExternalIpv6InstanceUtilizationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getExternalIpv6InstanceUtilizationFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6InstanceUtilizationOrBuilder() { + if (externalIpv6InstanceUtilizationBuilder_ != null) { + return externalIpv6InstanceUtilizationBuilder_.getMessageOrBuilder(); + } else { + return externalIpv6InstanceUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6InstanceUtilization_; + } + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + getExternalIpv6InstanceUtilizationFieldBuilder() { + if (externalIpv6InstanceUtilizationBuilder_ == null) { + externalIpv6InstanceUtilizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder>( + getExternalIpv6InstanceUtilization(), getParentForChildren(), isClean()); + externalIpv6InstanceUtilization_ = null; + } + return externalIpv6InstanceUtilizationBuilder_; + } + + private com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + externalIpv6LbUtilization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + externalIpv6LbUtilizationBuilder_; + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return Whether the externalIpv6LbUtilization field is set. + */ + public boolean hasExternalIpv6LbUtilization() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return The externalIpv6LbUtilization. + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6LbUtilization() { + if (externalIpv6LbUtilizationBuilder_ == null) { + return externalIpv6LbUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6LbUtilization_; + } else { + return externalIpv6LbUtilizationBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public Builder setExternalIpv6LbUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (externalIpv6LbUtilizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + externalIpv6LbUtilization_ = value; + } else { + externalIpv6LbUtilizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public Builder setExternalIpv6LbUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + builderForValue) { + if (externalIpv6LbUtilizationBuilder_ == null) { + externalIpv6LbUtilization_ = builderForValue.build(); + } else { + externalIpv6LbUtilizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public Builder mergeExternalIpv6LbUtilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (externalIpv6LbUtilizationBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && externalIpv6LbUtilization_ != null + && externalIpv6LbUtilization_ + != com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance()) { + getExternalIpv6LbUtilizationBuilder().mergeFrom(value); + } else { + externalIpv6LbUtilization_ = value; + } + } else { + externalIpv6LbUtilizationBuilder_.mergeFrom(value); + } + if (externalIpv6LbUtilization_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public Builder clearExternalIpv6LbUtilization() { + bitField0_ = (bitField0_ & ~0x00000002); + externalIpv6LbUtilization_ = null; + if (externalIpv6LbUtilizationBuilder_ != null) { + externalIpv6LbUtilizationBuilder_.dispose(); + externalIpv6LbUtilizationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + getExternalIpv6LbUtilizationBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getExternalIpv6LbUtilizationFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6LbUtilizationOrBuilder() { + if (externalIpv6LbUtilizationBuilder_ != null) { + return externalIpv6LbUtilizationBuilder_.getMessageOrBuilder(); + } else { + return externalIpv6LbUtilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : externalIpv6LbUtilization_; + } + } + + /** + * + * + *
    +     * Utilizations of external IPV6 IP range for NetLB.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + getExternalIpv6LbUtilizationFieldBuilder() { + if (externalIpv6LbUtilizationBuilder_ == null) { + externalIpv6LbUtilizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder>( + getExternalIpv6LbUtilization(), getParentForChildren(), isClean()); + externalIpv6LbUtilization_ = null; + } + return externalIpv6LbUtilizationBuilder_; + } + + private com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + internalIpv6Utilization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + internalIpv6UtilizationBuilder_; + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return Whether the internalIpv6Utilization field is set. + */ + public boolean hasInternalIpv6Utilization() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return The internalIpv6Utilization. + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getInternalIpv6Utilization() { + if (internalIpv6UtilizationBuilder_ == null) { + return internalIpv6Utilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : internalIpv6Utilization_; + } else { + return internalIpv6UtilizationBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public Builder setInternalIpv6Utilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (internalIpv6UtilizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + internalIpv6Utilization_ = value; + } else { + internalIpv6UtilizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public Builder setInternalIpv6Utilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + builderForValue) { + if (internalIpv6UtilizationBuilder_ == null) { + internalIpv6Utilization_ = builderForValue.build(); + } else { + internalIpv6UtilizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public Builder mergeInternalIpv6Utilization( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization value) { + if (internalIpv6UtilizationBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && internalIpv6Utilization_ != null + && internalIpv6Utilization_ + != com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance()) { + getInternalIpv6UtilizationBuilder().mergeFrom(value); + } else { + internalIpv6Utilization_ = value; + } + } else { + internalIpv6UtilizationBuilder_.mergeFrom(value); + } + if (internalIpv6Utilization_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public Builder clearInternalIpv6Utilization() { + bitField0_ = (bitField0_ & ~0x00000004); + internalIpv6Utilization_ = null; + if (internalIpv6UtilizationBuilder_ != null) { + internalIpv6UtilizationBuilder_.dispose(); + internalIpv6UtilizationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + getInternalIpv6UtilizationBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getInternalIpv6UtilizationFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getInternalIpv6UtilizationOrBuilder() { + if (internalIpv6UtilizationBuilder_ != null) { + return internalIpv6UtilizationBuilder_.getMessageOrBuilder(); + } else { + return internalIpv6Utilization_ == null + ? com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance() + : internalIpv6Utilization_; + } + } + + /** + * + * + *
    +     * Utilizations of internal IPV6 IP range.
    +     * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder> + getInternalIpv6UtilizationFieldBuilder() { + if (internalIpv6UtilizationBuilder_ == null) { + internalIpv6UtilizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder>( + getInternalIpv6Utilization(), getParentForChildren(), isClean()); + internalIpv6Utilization_ = null; + } + return internalIpv6UtilizationBuilder_; + } + + private java.util.List + ipv4Utilizations_ = java.util.Collections.emptyList(); + + private void ensureIpv4UtilizationsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + ipv4Utilizations_ = + new java.util.ArrayList< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization>( + ipv4Utilizations_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder> + ipv4UtilizationsBuilder_; + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public java.util.List + getIpv4UtilizationsList() { + if (ipv4UtilizationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(ipv4Utilizations_); + } else { + return ipv4UtilizationsBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public int getIpv4UtilizationsCount() { + if (ipv4UtilizationsBuilder_ == null) { + return ipv4Utilizations_.size(); + } else { + return ipv4UtilizationsBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + getIpv4Utilizations(int index) { + if (ipv4UtilizationsBuilder_ == null) { + return ipv4Utilizations_.get(index); + } else { + return ipv4UtilizationsBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder setIpv4Utilizations( + int index, com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization value) { + if (ipv4UtilizationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.set(index, value); + onChanged(); + } else { + ipv4UtilizationsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder setIpv4Utilizations( + int index, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + builderForValue) { + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.set(index, builderForValue.build()); + onChanged(); + } else { + ipv4UtilizationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder addIpv4Utilizations( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization value) { + if (ipv4UtilizationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.add(value); + onChanged(); + } else { + ipv4UtilizationsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder addIpv4Utilizations( + int index, com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization value) { + if (ipv4UtilizationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.add(index, value); + onChanged(); + } else { + ipv4UtilizationsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder addIpv4Utilizations( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + builderForValue) { + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.add(builderForValue.build()); + onChanged(); + } else { + ipv4UtilizationsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder addIpv4Utilizations( + int index, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + builderForValue) { + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.add(index, builderForValue.build()); + onChanged(); + } else { + ipv4UtilizationsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder addAllIpv4Utilizations( + java.lang.Iterable< + ? extends com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization> + values) { + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Utilizations_); + onChanged(); + } else { + ipv4UtilizationsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder clearIpv4Utilizations() { + if (ipv4UtilizationsBuilder_ == null) { + ipv4Utilizations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + ipv4UtilizationsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public Builder removeIpv4Utilizations(int index) { + if (ipv4UtilizationsBuilder_ == null) { + ensureIpv4UtilizationsIsMutable(); + ipv4Utilizations_.remove(index); + onChanged(); + } else { + ipv4UtilizationsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + getIpv4UtilizationsBuilder(int index) { + return getIpv4UtilizationsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder + getIpv4UtilizationsOrBuilder(int index) { + if (ipv4UtilizationsBuilder_ == null) { + return ipv4Utilizations_.get(index); + } else { + return ipv4UtilizationsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public java.util.List< + ? extends + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder> + getIpv4UtilizationsOrBuilderList() { + if (ipv4UtilizationsBuilder_ != null) { + return ipv4UtilizationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(ipv4Utilizations_); + } + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + addIpv4UtilizationsBuilder() { + return getIpv4UtilizationsFieldBuilder() + .addBuilder( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + .getDefaultInstance()); + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + addIpv4UtilizationsBuilder(int index) { + return getIpv4UtilizationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + .getDefaultInstance()); + } + + /** + * + * + *
    +     * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +     * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + public java.util.List< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder> + getIpv4UtilizationsBuilderList() { + return getIpv4UtilizationsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder> + getIpv4UtilizationsFieldBuilder() { + if (ipv4UtilizationsBuilder_ == null) { + ipv4UtilizationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder>( + ipv4Utilizations_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + ipv4Utilizations_ = null; + } + return ipv4UtilizationsBuilder_; + } + + @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.compute.v1.SubnetworkUtilizationDetails) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SubnetworkUtilizationDetails) + private static final com.google.cloud.compute.v1.SubnetworkUtilizationDetails DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SubnetworkUtilizationDetails(); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubnetworkUtilizationDetails 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.compute.v1.SubnetworkUtilizationDetails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4Utilization.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4Utilization.java new file mode 100644 index 000000000000..f05165d7fd51 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4Utilization.java @@ -0,0 +1,893 @@ +/* + * 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/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +/** + * + * + *
    + * The IPV4 utilization of a single IP range.
    + * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization} + */ +public final class SubnetworkUtilizationDetailsIPV4Utilization + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) + SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SubnetworkUtilizationDetailsIPV4Utilization.newBuilder() to construct. + private SubnetworkUtilizationDetailsIPV4Utilization( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SubnetworkUtilizationDetailsIPV4Utilization() { + rangeName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SubnetworkUtilizationDetailsIPV4Utilization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder.class); + } + + private int bitField0_; + public static final int RANGE_NAME_FIELD_NUMBER = 332216397; + + @SuppressWarnings("serial") + private volatile java.lang.Object rangeName_ = ""; + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return Whether the rangeName field is set. + */ + @java.lang.Override + public boolean hasRangeName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return The rangeName. + */ + @java.lang.Override + public java.lang.String getRangeName() { + java.lang.Object ref = rangeName_; + 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(); + rangeName_ = s; + return s; + } + } + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return The bytes for rangeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRangeNameBytes() { + java.lang.Object ref = rangeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + rangeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOTAL_ALLOCATED_IP_FIELD_NUMBER = 279055546; + private long totalAllocatedIp_ = 0L; + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + @java.lang.Override + public boolean hasTotalAllocatedIp() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + @java.lang.Override + public long getTotalAllocatedIp() { + return totalAllocatedIp_; + } + + public static final int TOTAL_FREE_IP_FIELD_NUMBER = 105624031; + private long totalFreeIp_ = 0L; + + /** + * optional int64 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + @java.lang.Override + public boolean hasTotalFreeIp() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional int64 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + @java.lang.Override + public long getTotalFreeIp() { + return totalFreeIp_; + } + + 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_ & 0x00000004) != 0)) { + output.writeInt64(105624031, totalFreeIp_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(279055546, totalAllocatedIp_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 332216397, rangeName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(105624031, totalFreeIp_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(279055546, totalAllocatedIp_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(332216397, rangeName_); + } + 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization other = + (com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) obj; + + if (hasRangeName() != other.hasRangeName()) return false; + if (hasRangeName()) { + if (!getRangeName().equals(other.getRangeName())) return false; + } + if (hasTotalAllocatedIp() != other.hasTotalAllocatedIp()) return false; + if (hasTotalAllocatedIp()) { + if (getTotalAllocatedIp() != other.getTotalAllocatedIp()) return false; + } + if (hasTotalFreeIp() != other.hasTotalFreeIp()) return false; + if (hasTotalFreeIp()) { + if (getTotalFreeIp() != other.getTotalFreeIp()) 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 (hasRangeName()) { + hash = (37 * hash) + RANGE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getRangeName().hashCode(); + } + if (hasTotalAllocatedIp()) { + hash = (37 * hash) + TOTAL_ALLOCATED_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalAllocatedIp()); + } + if (hasTotalFreeIp()) { + hash = (37 * hash) + TOTAL_FREE_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalFreeIp()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization 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; + } + + /** + * + * + *
    +   * The IPV4 utilization of a single IP range.
    +   * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + rangeName_ = ""; + totalAllocatedIp_ = 0L; + totalFreeIp_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization build() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization buildPartial() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization result = + new com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.rangeName_ = rangeName_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.totalAllocatedIp_ = totalAllocatedIp_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.totalFreeIp_ = totalFreeIp_; + 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.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) { + return mergeFrom( + (com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization other) { + if (other + == com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + .getDefaultInstance()) return this; + if (other.hasRangeName()) { + rangeName_ = other.rangeName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasTotalAllocatedIp()) { + setTotalAllocatedIp(other.getTotalAllocatedIp()); + } + if (other.hasTotalFreeIp()) { + setTotalFreeIp(other.getTotalFreeIp()); + } + 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 844992248: + { + totalFreeIp_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 844992248 + case -2062522928: + { + totalAllocatedIp_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case -2062522928 + case -1637236118: + { + rangeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1637236118 + 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 rangeName_ = ""; + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @return Whether the rangeName field is set. + */ + public boolean hasRangeName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @return The rangeName. + */ + public java.lang.String getRangeName() { + java.lang.Object ref = rangeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rangeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @return The bytes for rangeName. + */ + public com.google.protobuf.ByteString getRangeNameBytes() { + java.lang.Object ref = rangeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + rangeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @param value The rangeName to set. + * @return This builder for chaining. + */ + public Builder setRangeName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + rangeName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @return This builder for chaining. + */ + public Builder clearRangeName() { + rangeName_ = getDefaultInstance().getRangeName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Will be set for secondary range. Empty for primary IPv4 range.
    +     * 
    + * + * optional string range_name = 332216397; + * + * @param value The bytes for rangeName to set. + * @return This builder for chaining. + */ + public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rangeName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private long totalAllocatedIp_; + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + @java.lang.Override + public boolean hasTotalAllocatedIp() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + @java.lang.Override + public long getTotalAllocatedIp() { + return totalAllocatedIp_; + } + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @param value The totalAllocatedIp to set. + * @return This builder for chaining. + */ + public Builder setTotalAllocatedIp(long value) { + + totalAllocatedIp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return This builder for chaining. + */ + public Builder clearTotalAllocatedIp() { + bitField0_ = (bitField0_ & ~0x00000002); + totalAllocatedIp_ = 0L; + onChanged(); + return this; + } + + private long totalFreeIp_; + + /** + * optional int64 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + @java.lang.Override + public boolean hasTotalFreeIp() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional int64 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + @java.lang.Override + public long getTotalFreeIp() { + return totalFreeIp_; + } + + /** + * optional int64 total_free_ip = 105624031; + * + * @param value The totalFreeIp to set. + * @return This builder for chaining. + */ + public Builder setTotalFreeIp(long value) { + + totalFreeIp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * optional int64 total_free_ip = 105624031; + * + * @return This builder for chaining. + */ + public Builder clearTotalFreeIp() { + bitField0_ = (bitField0_ & ~0x00000004); + totalFreeIp_ = 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.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) + private static final com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization(); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubnetworkUtilizationDetailsIPV4Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder.java new file mode 100644 index 000000000000..b5f872727866 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder.java @@ -0,0 +1,93 @@ +/* + * 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/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +public interface SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return Whether the rangeName field is set. + */ + boolean hasRangeName(); + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return The rangeName. + */ + java.lang.String getRangeName(); + + /** + * + * + *
    +   * Will be set for secondary range. Empty for primary IPv4 range.
    +   * 
    + * + * optional string range_name = 332216397; + * + * @return The bytes for rangeName. + */ + com.google.protobuf.ByteString getRangeNameBytes(); + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + boolean hasTotalAllocatedIp(); + + /** + * optional int64 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + long getTotalAllocatedIp(); + + /** + * optional int64 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + boolean hasTotalFreeIp(); + + /** + * optional int64 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + long getTotalFreeIp(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6Utilization.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6Utilization.java new file mode 100644 index 000000000000..32f84dd300ae --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6Utilization.java @@ -0,0 +1,866 @@ +/* + * 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/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +/** + * + * + *
    + * The IPV6 utilization of a single IP range.
    + * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization} + */ +public final class SubnetworkUtilizationDetailsIPV6Utilization + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) + SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SubnetworkUtilizationDetailsIPV6Utilization.newBuilder() to construct. + private SubnetworkUtilizationDetailsIPV6Utilization( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SubnetworkUtilizationDetailsIPV6Utilization() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SubnetworkUtilizationDetailsIPV6Utilization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder.class); + } + + private int bitField0_; + public static final int TOTAL_ALLOCATED_IP_FIELD_NUMBER = 279055546; + private com.google.cloud.compute.v1.Uint128 totalAllocatedIp_; + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + @java.lang.Override + public boolean hasTotalAllocatedIp() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Uint128 getTotalAllocatedIp() { + return totalAllocatedIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalAllocatedIp_; + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + @java.lang.Override + public com.google.cloud.compute.v1.Uint128OrBuilder getTotalAllocatedIpOrBuilder() { + return totalAllocatedIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalAllocatedIp_; + } + + public static final int TOTAL_FREE_IP_FIELD_NUMBER = 105624031; + private com.google.cloud.compute.v1.Uint128 totalFreeIp_; + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + @java.lang.Override + public boolean hasTotalFreeIp() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Uint128 getTotalFreeIp() { + return totalFreeIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalFreeIp_; + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + @java.lang.Override + public com.google.cloud.compute.v1.Uint128OrBuilder getTotalFreeIpOrBuilder() { + return totalFreeIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalFreeIp_; + } + + 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_ & 0x00000002) != 0)) { + output.writeMessage(105624031, getTotalFreeIp()); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(279055546, getTotalAllocatedIp()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(105624031, getTotalFreeIp()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 279055546, getTotalAllocatedIp()); + } + 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization other = + (com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) obj; + + if (hasTotalAllocatedIp() != other.hasTotalAllocatedIp()) return false; + if (hasTotalAllocatedIp()) { + if (!getTotalAllocatedIp().equals(other.getTotalAllocatedIp())) return false; + } + if (hasTotalFreeIp() != other.hasTotalFreeIp()) return false; + if (hasTotalFreeIp()) { + if (!getTotalFreeIp().equals(other.getTotalFreeIp())) 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 (hasTotalAllocatedIp()) { + hash = (37 * hash) + TOTAL_ALLOCATED_IP_FIELD_NUMBER; + hash = (53 * hash) + getTotalAllocatedIp().hashCode(); + } + if (hasTotalFreeIp()) { + hash = (37 * hash) + TOTAL_FREE_IP_FIELD_NUMBER; + hash = (53 * hash) + getTotalFreeIp().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization 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; + } + + /** + * + * + *
    +   * The IPV6 utilization of a single IP range.
    +   * 
    + * + * Protobuf type {@code google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.class, + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTotalAllocatedIpFieldBuilder(); + getTotalFreeIpFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + totalAllocatedIp_ = null; + if (totalAllocatedIpBuilder_ != null) { + totalAllocatedIpBuilder_.dispose(); + totalAllocatedIpBuilder_ = null; + } + totalFreeIp_ = null; + if (totalFreeIpBuilder_ != null) { + totalFreeIpBuilder_.dispose(); + totalFreeIpBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization build() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization buildPartial() { + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization result = + new com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.totalAllocatedIp_ = + totalAllocatedIpBuilder_ == null ? totalAllocatedIp_ : totalAllocatedIpBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.totalFreeIp_ = + totalFreeIpBuilder_ == null ? totalFreeIp_ : totalFreeIpBuilder_.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.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) { + return mergeFrom( + (com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization other) { + if (other + == com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + .getDefaultInstance()) return this; + if (other.hasTotalAllocatedIp()) { + mergeTotalAllocatedIp(other.getTotalAllocatedIp()); + } + if (other.hasTotalFreeIp()) { + mergeTotalFreeIp(other.getTotalFreeIp()); + } + 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 844992250: + { + input.readMessage(getTotalFreeIpFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 844992250 + case -2062522926: + { + input.readMessage( + getTotalAllocatedIpFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case -2062522926 + 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.cloud.compute.v1.Uint128 totalAllocatedIp_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder> + totalAllocatedIpBuilder_; + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + public boolean hasTotalAllocatedIp() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + public com.google.cloud.compute.v1.Uint128 getTotalAllocatedIp() { + if (totalAllocatedIpBuilder_ == null) { + return totalAllocatedIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalAllocatedIp_; + } else { + return totalAllocatedIpBuilder_.getMessage(); + } + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public Builder setTotalAllocatedIp(com.google.cloud.compute.v1.Uint128 value) { + if (totalAllocatedIpBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + totalAllocatedIp_ = value; + } else { + totalAllocatedIpBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public Builder setTotalAllocatedIp( + com.google.cloud.compute.v1.Uint128.Builder builderForValue) { + if (totalAllocatedIpBuilder_ == null) { + totalAllocatedIp_ = builderForValue.build(); + } else { + totalAllocatedIpBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public Builder mergeTotalAllocatedIp(com.google.cloud.compute.v1.Uint128 value) { + if (totalAllocatedIpBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && totalAllocatedIp_ != null + && totalAllocatedIp_ != com.google.cloud.compute.v1.Uint128.getDefaultInstance()) { + getTotalAllocatedIpBuilder().mergeFrom(value); + } else { + totalAllocatedIp_ = value; + } + } else { + totalAllocatedIpBuilder_.mergeFrom(value); + } + if (totalAllocatedIp_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public Builder clearTotalAllocatedIp() { + bitField0_ = (bitField0_ & ~0x00000001); + totalAllocatedIp_ = null; + if (totalAllocatedIpBuilder_ != null) { + totalAllocatedIpBuilder_.dispose(); + totalAllocatedIpBuilder_ = null; + } + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public com.google.cloud.compute.v1.Uint128.Builder getTotalAllocatedIpBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTotalAllocatedIpFieldBuilder().getBuilder(); + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + public com.google.cloud.compute.v1.Uint128OrBuilder getTotalAllocatedIpOrBuilder() { + if (totalAllocatedIpBuilder_ != null) { + return totalAllocatedIpBuilder_.getMessageOrBuilder(); + } else { + return totalAllocatedIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalAllocatedIp_; + } + } + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder> + getTotalAllocatedIpFieldBuilder() { + if (totalAllocatedIpBuilder_ == null) { + totalAllocatedIpBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder>( + getTotalAllocatedIp(), getParentForChildren(), isClean()); + totalAllocatedIp_ = null; + } + return totalAllocatedIpBuilder_; + } + + private com.google.cloud.compute.v1.Uint128 totalFreeIp_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder> + totalFreeIpBuilder_; + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + public boolean hasTotalFreeIp() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + public com.google.cloud.compute.v1.Uint128 getTotalFreeIp() { + if (totalFreeIpBuilder_ == null) { + return totalFreeIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalFreeIp_; + } else { + return totalFreeIpBuilder_.getMessage(); + } + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public Builder setTotalFreeIp(com.google.cloud.compute.v1.Uint128 value) { + if (totalFreeIpBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + totalFreeIp_ = value; + } else { + totalFreeIpBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public Builder setTotalFreeIp(com.google.cloud.compute.v1.Uint128.Builder builderForValue) { + if (totalFreeIpBuilder_ == null) { + totalFreeIp_ = builderForValue.build(); + } else { + totalFreeIpBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public Builder mergeTotalFreeIp(com.google.cloud.compute.v1.Uint128 value) { + if (totalFreeIpBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && totalFreeIp_ != null + && totalFreeIp_ != com.google.cloud.compute.v1.Uint128.getDefaultInstance()) { + getTotalFreeIpBuilder().mergeFrom(value); + } else { + totalFreeIp_ = value; + } + } else { + totalFreeIpBuilder_.mergeFrom(value); + } + if (totalFreeIp_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public Builder clearTotalFreeIp() { + bitField0_ = (bitField0_ & ~0x00000002); + totalFreeIp_ = null; + if (totalFreeIpBuilder_ != null) { + totalFreeIpBuilder_.dispose(); + totalFreeIpBuilder_ = null; + } + onChanged(); + return this; + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public com.google.cloud.compute.v1.Uint128.Builder getTotalFreeIpBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getTotalFreeIpFieldBuilder().getBuilder(); + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + public com.google.cloud.compute.v1.Uint128OrBuilder getTotalFreeIpOrBuilder() { + if (totalFreeIpBuilder_ != null) { + return totalFreeIpBuilder_.getMessageOrBuilder(); + } else { + return totalFreeIp_ == null + ? com.google.cloud.compute.v1.Uint128.getDefaultInstance() + : totalFreeIp_; + } + } + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder> + getTotalFreeIpFieldBuilder() { + if (totalFreeIpBuilder_ == null) { + totalFreeIpBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Uint128, + com.google.cloud.compute.v1.Uint128.Builder, + com.google.cloud.compute.v1.Uint128OrBuilder>( + getTotalFreeIp(), getParentForChildren(), isClean()); + totalFreeIp_ = null; + } + return totalFreeIpBuilder_; + } + + @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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) + private static final com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization(); + } + + public static com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubnetworkUtilizationDetailsIPV6Utilization 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.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder.java new file mode 100644 index 000000000000..c4139a966ecc --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder.java @@ -0,0 +1,60 @@ +/* + * 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/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +public interface SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return Whether the totalAllocatedIp field is set. + */ + boolean hasTotalAllocatedIp(); + + /** + * optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; + * + * @return The totalAllocatedIp. + */ + com.google.cloud.compute.v1.Uint128 getTotalAllocatedIp(); + + /** optional .google.cloud.compute.v1.Uint128 total_allocated_ip = 279055546; */ + com.google.cloud.compute.v1.Uint128OrBuilder getTotalAllocatedIpOrBuilder(); + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return Whether the totalFreeIp field is set. + */ + boolean hasTotalFreeIp(); + + /** + * optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; + * + * @return The totalFreeIp. + */ + com.google.cloud.compute.v1.Uint128 getTotalFreeIp(); + + /** optional .google.cloud.compute.v1.Uint128 total_free_ip = 105624031; */ + com.google.cloud.compute.v1.Uint128OrBuilder getTotalFreeIpOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsOrBuilder.java new file mode 100644 index 000000000000..6b646983de2e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkUtilizationDetailsOrBuilder.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/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.compute.v1; + +public interface SubnetworkUtilizationDetailsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SubnetworkUtilizationDetails) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return Whether the externalIpv6InstanceUtilization field is set. + */ + boolean hasExternalIpv6InstanceUtilization(); + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + * + * @return The externalIpv6InstanceUtilization. + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6InstanceUtilization(); + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6InstanceUtilizationOrBuilder(); + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return Whether the externalIpv6LbUtilization field is set. + */ + boolean hasExternalIpv6LbUtilization(); + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + * + * @return The externalIpv6LbUtilization. + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getExternalIpv6LbUtilization(); + + /** + * + * + *
    +   * Utilizations of external IPV6 IP range for NetLB.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getExternalIpv6LbUtilizationOrBuilder(); + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return Whether the internalIpv6Utilization field is set. + */ + boolean hasInternalIpv6Utilization(); + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + * + * @return The internalIpv6Utilization. + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization + getInternalIpv6Utilization(); + + /** + * + * + *
    +   * Utilizations of internal IPV6 IP range.
    +   * 
    + * + * + * optional .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationOrBuilder + getInternalIpv6UtilizationOrBuilder(); + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + java.util.List + getIpv4UtilizationsList(); + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization getIpv4Utilizations( + int index); + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + int getIpv4UtilizationsCount(); + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + java.util.List< + ? extends + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder> + getIpv4UtilizationsOrBuilderList(); + + /** + * + * + *
    +   * Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
    +   * 
    + * + * + * repeated .google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + * + */ + com.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationOrBuilder + getIpv4UtilizationsOrBuilder(int index); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto index 34abf8175471..390013799208 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto +++ b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto @@ -14,7 +14,7 @@ // Generated by the disco-to-proto3-converter. DO NOT EDIT! // Source Discovery file: compute.v1.json -// Source file revision: 20250902 +// Source file revision: 20250909 // API name: compute // API version: v1 @@ -11018,6 +11018,18 @@ message GetStoragePoolTypeRequest { // A request message for Subnetworks.Get. See the method description for details. message GetSubnetworkRequest { + // Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. + enum Views { + // A value indicating that the enum field is not set. + UNDEFINED_VIEWS = 0; + + DEFAULT = 115302945; + + // Utilization data is included in the response. + WITH_UTILIZATION = 504090633; + + } + // Project ID for this request. string project = 227560217 [(google.api.field_behavior) = REQUIRED]; @@ -11027,6 +11039,10 @@ message GetSubnetworkRequest { // Name of the Subnetwork resource to return. string subnetwork = 307827694 [(google.api.field_behavior) = REQUIRED]; + // Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. + // Check the Views enum for the list of possible values. + optional string views = 112204398; + } // A request message for TargetGrpcProxies.Get. See the method description for details. @@ -17629,6 +17645,9 @@ message InterconnectLocation { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; + // [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other. + repeated string single_region_production_critical_peer_locations = 439537103; + // [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. // Check the Status enum for the list of possible values. optional string status = 181260274; @@ -17910,6 +17929,9 @@ message InterconnectRemoteLocation { // [Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps. optional int32 max_lag_size10_gbps = 294007573; + // [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps. + optional int32 max_lag_size400_gbps = 104941138; + // [Output Only] Name of the resource. optional string name = 3373707; @@ -20814,6 +20836,18 @@ message ListStoragePoolsRequest { // A request message for Subnetworks.List. See the method description for details. message ListSubnetworksRequest { + // Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. + enum Views { + // A value indicating that the enum field is not set. + UNDEFINED_VIEWS = 0; + + DEFAULT = 115302945; + + // Utilization data is included in the response. + WITH_UTILIZATION = 504090633; + + } + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; @@ -20835,6 +20869,10 @@ message ListSubnetworksRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. optional bool return_partial_success = 517198390; + // Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. + // Check the Views enum for the list of possible values. + optional string views = 112204398; + } // A request message for TargetGrpcProxies.List. See the method description for details. @@ -28519,6 +28557,9 @@ message RequestMirrorPolicy { // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. optional string backend_service = 306946058; + // The percentage of requests to be mirrored to `backend_service`. + optional double mirror_percent = 277432261; + } // A request message for Networks.RequestRemovePeering. See the method description for details. @@ -36034,6 +36075,9 @@ message Subnetwork { // Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use. repeated string system_reserved_internal_ipv6_ranges = 432294995; + // Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range. + optional SubnetworkUtilizationDetails utilization_details = 125404453; + } // @@ -36159,6 +36203,41 @@ message SubnetworkSecondaryRange { } +// The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range. +message SubnetworkUtilizationDetails { + // Utilizations of external IPV6 IP range. + optional SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236; + + // Utilizations of external IPV6 IP range for NetLB. + optional SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645; + + // Utilizations of internal IPV6 IP range. + optional SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020; + + // Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty. + repeated SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011; + +} + +// The IPV4 utilization of a single IP range. +message SubnetworkUtilizationDetailsIPV4Utilization { + // Will be set for secondary range. Empty for primary IPv4 range. + optional string range_name = 332216397; + + optional int64 total_allocated_ip = 279055546; + + optional int64 total_free_ip = 105624031; + +} + +// The IPV6 utilization of a single IP range. +message SubnetworkUtilizationDetailsIPV6Utilization { + optional Uint128 total_allocated_ip = 279055546; + + optional Uint128 total_free_ip = 105624031; + +} + // message SubnetworksExpandIpCidrRangeRequest { // The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update. @@ -44477,7 +44556,7 @@ service Projects { option (google.api.method_signature) = "project,projects_list_xpn_hosts_request_resource"; } - // Moves a persistent disk from one zone to another. + // Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption. rpc MoveDisk(MoveDiskProjectRequest) returns (Operation) { option (google.api.http) = { body: "disk_move_request_resource" diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/AsyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/AsyncGet.java index a26630d5b86f..7da8ffa31a9d 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/AsyncGet.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/AsyncGet.java @@ -40,6 +40,7 @@ public static void asyncGet() throws Exception { .setProject("project-309310695") .setRegion("region-934795532") .setSubnetwork("subnetwork-1302785042") + .setViews("views112204398") .build(); ApiFuture future = subnetworksClient.getCallable().futureCall(request); // Do something. diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/SyncGet.java index e534d81e8717..2dfca5abb054 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/SyncGet.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/get/SyncGet.java @@ -39,6 +39,7 @@ public static void syncGet() throws Exception { .setProject("project-309310695") .setRegion("region-934795532") .setSubnetwork("subnetwork-1302785042") + .setViews("views112204398") .build(); Subnetwork response = subnetworksClient.get(request); } diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncList.java index 79ce320153a0..a4a316819d07 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncList.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncList.java @@ -44,6 +44,7 @@ public static void asyncList() throws Exception { .setProject("project-309310695") .setRegion("region-934795532") .setReturnPartialSuccess(true) + .setViews("views112204398") .build(); ApiFuture future = subnetworksClient.listPagedCallable().futureCall(request); // Do something. diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncListPaged.java index 5613e76f3582..9aa13b4208c7 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncListPaged.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/AsyncListPaged.java @@ -45,6 +45,7 @@ public static void asyncListPaged() throws Exception { .setProject("project-309310695") .setRegion("region-934795532") .setReturnPartialSuccess(true) + .setViews("views112204398") .build(); while (true) { SubnetworkList response = subnetworksClient.listCallable().call(request); diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/SyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/SyncList.java index 885d0821dc72..d0c5a1a3a6f6 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/SyncList.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/subnetworks/list/SyncList.java @@ -43,6 +43,7 @@ public static void syncList() throws Exception { .setProject("project-309310695") .setRegion("region-934795532") .setReturnPartialSuccess(true) + .setViews("views112204398") .build(); for (Subnetwork element : subnetworksClient.list(request).iterateAll()) { // doThingsWith(element); diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index 2810c6f73dc6..e8ac39828992 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-confidentialcomputing - 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-confidentialcomputing:0.60.0' +implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "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-confidentialcomputing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/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-configdelivery/README.md b/java-configdelivery/README.md index 0070f7eb05b8..5dbb43b8a4e5 100644 --- a/java-configdelivery/README.md +++ b/java-configdelivery/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-configdelivery - 0.8.0 + 0.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-configdelivery:0.8.0' +implementation 'com.google.cloud:google-cloud-configdelivery:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.9.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.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.9.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 13ae3531f8c2..826f1ab31f10 100644 --- a/java-connectgateway/README.md +++ b/java-connectgateway/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-connectgateway - 0.26.0 + 0.27.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-connectgateway:0.26.0' +implementation 'com.google.cloud:google-cloud-connectgateway:0.27.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.26.0" +libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.27.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.26.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.27.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 3654e62387f1..dcd717886781 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contact-center-insights:2.74.0' +implementation 'com.google.cloud:google-cloud-contact-center-insights:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.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-contact-center-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.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-container/README.md b/java-container/README.md index 91f42009c04d..1795226a4328 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-container - 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-container:2.77.0' +implementation 'com.google.cloud:google-cloud-container:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "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-container.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/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-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 4208e6e747d3..b4d728b64525 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -198,7 +198,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal *
    * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -222,7 +222,7 @@ public boolean hasKubernetesDashboard() { *
    * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return The kubernetesDashboard. */ @java.lang.Override @@ -2367,7 +2367,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -2390,7 +2390,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index e55298aa438f..bcc8d87d1ea3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java @@ -122,7 +122,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1814 + * google/container/v1/cluster_service.proto;l=1812 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index e9b2f3723698..d7ec53658a89 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -324,7 +324,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The minCpuPlatform. */ @java.lang.Override @@ -361,7 +361,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -2024,7 +2024,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -2060,7 +2060,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2096,7 +2096,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2131,7 +2131,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2162,7 +2162,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 15723fed7192..fa740b0cb80b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -198,7 +198,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -224,7 +224,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=5013 + * deprecated. See google/container/v1/cluster_service.proto;l=5011 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index bff45cc119e3..bed9166c8524 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -242,7 +242,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2148 * @return The enabled. */ @java.lang.Override @@ -672,7 +672,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2148 * @return The enabled. */ @java.lang.Override @@ -693,7 +693,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2148 * @param value The enabled to set. * @return This builder for chaining. */ @@ -718,7 +718,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2148 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index e69d0fdc1b40..7efa76a01388 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -36,7 +36,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2148 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index f562eb55d195..1deb4e6486cb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @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.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @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.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The operationId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The bytes for operationId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @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.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @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.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @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.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @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.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @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.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @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 operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The operationId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1095,7 +1095,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index 9fd631ebe684..df861bc62cd0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4172 + * google/container/v1/cluster_service.proto;l=4170 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4178 + * google/container/v1/cluster_service.proto;l=4176 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4182 + * google/container/v1/cluster_service.proto;l=4180 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index 1999074f8af4..556a7d999490 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -506,7 +506,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2393 + * google/container/v1/cluster_service.proto;l=2391 * @return The initialNodeCount. */ @java.lang.Override @@ -538,7 +538,7 @@ public int getInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -567,7 +567,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return The nodeConfig. */ @java.lang.Override @@ -1682,7 +1682,7 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1707,7 +1707,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override @@ -2806,7 +2806,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The zone. */ @java.lang.Override @@ -2836,7 +2836,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The bytes for zone. */ @java.lang.Override @@ -3067,7 +3067,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The currentNodeVersion. */ @java.lang.Override @@ -3100,7 +3100,7 @@ public java.lang.String getCurrentNodeVersion() { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3232,7 +3232,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The statusMessage. */ @java.lang.Override @@ -3263,7 +3263,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3381,7 +3381,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3401,7 +3401,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3421,7 +3421,7 @@ public int getInstanceGroupUrlsCount() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3442,7 +3442,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3467,7 +3467,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2658 + * google/container/v1/cluster_service.proto;l=2656 * @return The currentNodeCount. */ @java.lang.Override @@ -3607,7 +3607,7 @@ public com.google.protobuf.ByteString getLocationBytes() { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1.Cluster.enable_tpu is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2673 * @return The enableTpu. */ @java.lang.Override @@ -3637,7 +3637,7 @@ public boolean getEnableTpu() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -3670,7 +3670,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -8048,7 +8048,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2393 + * google/container/v1/cluster_service.proto;l=2391 * @return The initialNodeCount. */ @java.lang.Override @@ -8077,7 +8077,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2393 + * google/container/v1/cluster_service.proto;l=2391 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -8110,7 +8110,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2393 + * google/container/v1/cluster_service.proto;l=2391 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8148,7 +8148,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -8176,7 +8176,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return The nodeConfig. */ @java.lang.Deprecated @@ -11383,7 +11383,7 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -11407,7 +11407,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -15401,7 +15401,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The zone. */ @java.lang.Deprecated @@ -15431,7 +15431,7 @@ public java.lang.String getZone() { * * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The bytes for zone. */ @java.lang.Deprecated @@ -15461,7 +15461,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @param value The zone to set. * @return This builder for chaining. */ @@ -15490,7 +15490,7 @@ public Builder setZone(java.lang.String value) { * * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15515,7 +15515,7 @@ public Builder clearZone() { * * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -15972,7 +15972,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -16004,7 +16004,7 @@ public java.lang.String getCurrentNodeVersion() { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -16036,7 +16036,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -16067,7 +16067,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16094,7 +16094,7 @@ public Builder clearCurrentNodeVersion() { * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -16347,7 +16347,7 @@ public Builder clearStatus() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The statusMessage. */ @java.lang.Deprecated @@ -16377,7 +16377,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -16407,7 +16407,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -16436,7 +16436,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16461,7 +16461,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -16695,7 +16695,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -16716,7 +16716,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -16736,7 +16736,7 @@ public int getInstanceGroupUrlsCount() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -16757,7 +16757,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -16778,7 +16778,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -16807,7 +16807,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16835,7 +16835,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16860,7 +16860,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16884,7 +16884,7 @@ public Builder clearInstanceGroupUrls() { * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16916,7 +16916,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2658 + * google/container/v1/cluster_service.proto;l=2656 * @return The currentNodeCount. */ @java.lang.Override @@ -16938,7 +16938,7 @@ public int getCurrentNodeCount() { * * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2658 + * google/container/v1/cluster_service.proto;l=2656 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -16964,7 +16964,7 @@ public Builder setCurrentNodeCount(int value) { * * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2658 + * google/container/v1/cluster_service.proto;l=2656 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17236,7 +17236,7 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1.Cluster.enable_tpu is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2673 * @return The enableTpu. */ @java.lang.Override @@ -17257,7 +17257,7 @@ public boolean getEnableTpu() { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1.Cluster.enable_tpu is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2673 * @param value The enableTpu to set. * @return This builder for chaining. */ @@ -17282,7 +17282,7 @@ public Builder setEnableTpu(boolean value) { * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1.Cluster.enable_tpu is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17311,7 +17311,7 @@ public Builder clearEnableTpu() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -17343,7 +17343,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -17375,7 +17375,7 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -17406,7 +17406,7 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17433,7 +17433,7 @@ public Builder clearTpuIpv4CidrBlock() { * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index e333a0972310..3b448f056484 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -108,7 +108,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2393 + * google/container/v1/cluster_service.proto;l=2391 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -134,7 +134,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2406 + * google/container/v1/cluster_service.proto;l=2404 * @return The nodeConfig. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.master_authorized_networks_config is deprecated. See - * google/container/v1/cluster_service.proto;l=2513 + * google/container/v1/cluster_service.proto;l=2511 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -1707,7 +1707,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The zone. */ @java.lang.Deprecated @@ -1726,7 +1726,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2588 + * google/container/v1/cluster_service.proto;l=2586 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1860,7 +1860,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1882,7 +1882,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1960,7 +1960,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The statusMessage. */ @java.lang.Deprecated @@ -1980,7 +1980,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2636 + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2048,7 +2048,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2066,7 +2066,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2084,7 +2084,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2103,7 +2103,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=2653 + * google/container/v1/cluster_service.proto;l=2651 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2123,7 +2123,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=2658 + * google/container/v1/cluster_service.proto;l=2656 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2203,7 +2203,7 @@ java.lang.String getResourceLabelsOrDefault( * bool enable_tpu = 115 [deprecated = true]; * * @deprecated google.container.v1.Cluster.enable_tpu is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2673 * @return The enableTpu. */ @java.lang.Deprecated @@ -2225,7 +2225,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -2247,7 +2247,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2682 + * google/container/v1/cluster_service.proto;l=2680 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java index ca8b6b9de417..b6c1f1f0f5a2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -920,7 +920,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override @@ -1272,7 +1272,7 @@ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutos * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3094 + * google/container/v1/cluster_service.proto;l=3092 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -1302,7 +1302,7 @@ public boolean hasDesiredPrivateClusterConfig() { * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3094 + * google/container/v1/cluster_service.proto;l=3092 * @return The desiredPrivateClusterConfig. */ @java.lang.Override @@ -1984,7 +1984,7 @@ public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExterna * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -2008,7 +2008,7 @@ public boolean hasDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -3552,7 +3552,7 @@ public com.google.container.v1.NodeKubeletConfig getDesiredNodePoolAutoConfigKub * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Override @@ -3578,7 +3578,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return The userManagedKeysConfig. */ @java.lang.Override @@ -9556,7 +9556,7 @@ public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -9580,7 +9580,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -10815,7 +10815,7 @@ public Builder clearDesiredVerticalPodAutoscaling() { * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. - * See google/container/v1/cluster_service.proto;l=3094 + * See google/container/v1/cluster_service.proto;l=3092 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Deprecated @@ -10844,7 +10844,7 @@ public boolean hasDesiredPrivateClusterConfig() { * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. - * See google/container/v1/cluster_service.proto;l=3094 + * See google/container/v1/cluster_service.proto;l=3092 * @return The desiredPrivateClusterConfig. */ @java.lang.Deprecated @@ -13350,7 +13350,7 @@ public Builder clearDesiredServiceExternalIpsConfig() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -13374,7 +13374,7 @@ public boolean hasDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -13398,7 +13398,7 @@ public boolean getDesiredEnablePrivateEndpoint() { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -13426,7 +13426,7 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return This builder for chaining. */ @java.lang.Deprecated @@ -18486,7 +18486,7 @@ public Builder clearDesiredNodePoolAutoConfigKubeletConfig() { * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -18511,7 +18511,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return The userManagedKeysConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java index 6d55caf2a187..26a984d31a3b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java @@ -583,7 +583,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -605,7 +605,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1/cluster_service.proto;l=3056 + * deprecated. See google/container/v1/cluster_service.proto;l=3054 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3094 + * google/container/v1/cluster_service.proto;l=3092 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Deprecated @@ -877,7 +877,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.desired_private_cluster_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3094 + * google/container/v1/cluster_service.proto;l=3092 * @return The desiredPrivateClusterConfig. */ @java.lang.Deprecated @@ -1360,7 +1360,7 @@ public interface ClusterUpdateOrBuilder * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Deprecated @@ -1381,7 +1381,7 @@ public interface ClusterUpdateOrBuilder * optional bool desired_enable_private_endpoint = 71 [deprecated = true]; * * @deprecated google.container.v1.ClusterUpdate.desired_enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=3139 + * See google/container/v1/cluster_service.proto;l=3137 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Deprecated @@ -2476,7 +2476,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -2499,7 +2499,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1/cluster_service.proto;l=3255 + * google/container/v1/cluster_service.proto;l=3253 * @return The userManagedKeysConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index a9e1cd3b0e8f..51eee395c61d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @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.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @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.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return The bytes for clusterId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @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.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @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.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @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.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @return The zone. */ @java.lang.Deprecated @@ -906,7 +906,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @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.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @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.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @return This builder for chaining. */ @java.lang.Deprecated @@ -987,7 +987,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @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.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return The clusterId. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @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.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @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.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1118,7 +1118,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 0145ec2ce2da..57466e5cb430 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5207 + * google/container/v1/cluster_service.proto;l=5205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5213 + * google/container/v1/cluster_service.proto;l=5211 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5217 + * google/container/v1/cluster_service.proto;l=5215 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index b08f28635ef6..c87283672857 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @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.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for zone. */ @java.lang.Override @@ -752,7 +752,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return The projectId. */ @java.lang.Deprecated @@ -780,7 +780,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @param value The projectId to set. * @return This builder for chaining. */ @@ -835,7 +835,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return This builder for chaining. */ @java.lang.Deprecated @@ -858,7 +858,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -889,7 +889,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The zone. */ @java.lang.Deprecated @@ -918,7 +918,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for zone. */ @java.lang.Deprecated @@ -947,7 +947,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @param value The zone to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return This builder for chaining. */ @java.lang.Deprecated @@ -999,7 +999,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index f25cbda5c17c..2e3d5cdfa7d1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3608 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3616 + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 95374c4b3b5c..c336d5eaf074 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @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.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @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.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The bytes for clusterId. */ @java.lang.Override @@ -837,7 +837,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return The projectId. */ @java.lang.Deprecated @@ -865,7 +865,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -893,7 +893,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @param value The projectId to set. * @return This builder for chaining. */ @@ -920,7 +920,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return This builder for chaining. */ @java.lang.Deprecated @@ -943,7 +943,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -974,7 +974,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return The zone. */ @java.lang.Deprecated @@ -1003,7 +1003,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @param value The zone to set. * @return This builder for chaining. */ @@ -1060,7 +1060,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1084,7 +1084,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1113,7 +1113,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The clusterId. */ @java.lang.Deprecated @@ -1140,7 +1140,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1167,7 +1167,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1193,7 +1193,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1215,7 +1215,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index aeb451cb5108..7ba8615e2264 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4258 + * google/container/v1/cluster_service.proto;l=4256 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4264 + * google/container/v1/cluster_service.proto;l=4262 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4268 + * google/container/v1/cluster_service.proto;l=4266 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 299e5efdcffc..e6422fd23835 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @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.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @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.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @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.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @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.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @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.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @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.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @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.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @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.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return The clusterId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @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.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @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.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index c7ae08d081d1..31295aae50d1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4079 + * google/container/v1/cluster_service.proto;l=4077 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4085 + * google/container/v1/cluster_service.proto;l=4083 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4089 + * google/container/v1/cluster_service.proto;l=4087 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 5245187ad700..b9700fb0caf8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @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.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @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.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @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.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @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.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -827,7 +827,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Deprecated @@ -855,7 +855,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return This builder for chaining. */ @java.lang.Deprecated @@ -933,7 +933,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +993,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1103,7 +1103,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @return The clusterId. */ @java.lang.Deprecated @@ -1130,7 +1130,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1157,7 +1157,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1183,7 +1183,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1205,7 +1205,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1234,7 +1234,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1261,7 +1261,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1314,7 +1314,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1336,7 +1336,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 3609df9d7bf1..25bb47ee4e20 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4284 + * google/container/v1/cluster_service.proto;l=4282 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4290 + * google/container/v1/cluster_service.proto;l=4288 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4294 + * google/container/v1/cluster_service.proto;l=4292 * @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.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4298 + * google/container/v1/cluster_service.proto;l=4296 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index cebdbe413019..e587fadada33 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @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.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @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.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @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.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @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.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @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.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @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.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @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.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @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.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return The clusterId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @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.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @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.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index cb5e4784d284..bb8d543ba7e5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3632 + * google/container/v1/cluster_service.proto;l=3630 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3638 + * google/container/v1/cluster_service.proto;l=3636 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3642 + * google/container/v1/cluster_service.proto;l=3640 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index e0fc410b05bf..f9b680299595 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @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.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @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.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @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.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @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.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -827,7 +827,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return The projectId. */ @java.lang.Deprecated @@ -855,7 +855,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return This builder for chaining. */ @java.lang.Deprecated @@ -933,7 +933,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +993,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1103,7 +1103,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @return The clusterId. */ @java.lang.Deprecated @@ -1130,7 +1130,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1157,7 +1157,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1183,7 +1183,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1205,7 +1205,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1234,7 +1234,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1261,7 +1261,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1314,7 +1314,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1336,7 +1336,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index e12cd6bbc479..59aff3399f3e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4333 + * google/container/v1/cluster_service.proto;l=4331 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4339 + * google/container/v1/cluster_service.proto;l=4337 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4343 + * google/container/v1/cluster_service.proto;l=4341 * @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.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4347 + * google/container/v1/cluster_service.proto;l=4345 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index b0b5beeb4942..cd5ebdecf9e6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @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.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @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.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The operationId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The bytes for operationId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @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.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @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.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @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.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @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.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @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.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @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 operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The operationId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1095,7 +1095,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index f33f0e50b1ba..a96d103cb057 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4131 + * google/container/v1/cluster_service.proto;l=4129 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4137 + * google/container/v1/cluster_service.proto;l=4135 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4141 + * google/container/v1/cluster_service.proto;l=4139 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index f36043b41a53..223d13337534 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @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.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The bytes for zone. */ @java.lang.Override @@ -653,7 +653,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return The projectId. */ @java.lang.Deprecated @@ -681,7 +681,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -709,7 +709,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @param value The projectId to set. * @return This builder for chaining. */ @@ -736,7 +736,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return This builder for chaining. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -790,7 +790,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The zone. */ @java.lang.Deprecated @@ -819,7 +819,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The bytes for zone. */ @java.lang.Deprecated @@ -848,7 +848,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @param value The zone to set. * @return This builder for chaining. */ @@ -876,7 +876,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return This builder for chaining. */ @java.lang.Deprecated @@ -900,7 +900,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index bf7f1e0e85fd..d76af69cfddf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4204 + * google/container/v1/cluster_service.proto;l=4202 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4210 + * google/container/v1/cluster_service.proto;l=4208 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index 06e711050210..59dac95953de 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -194,7 +194,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -221,7 +221,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -253,7 +253,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -280,7 +280,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -312,7 +312,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -339,7 +339,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -759,7 +759,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -803,7 +803,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -2583,7 +2583,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2609,7 +2609,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2635,7 +2635,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2660,7 +2660,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2681,7 +2681,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2709,7 +2709,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2735,7 +2735,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2761,7 +2761,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2786,7 +2786,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2807,7 +2807,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2835,7 +2835,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2861,7 +2861,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2887,7 +2887,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2912,7 +2912,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2933,7 +2933,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -3798,7 +3798,7 @@ public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString valu * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -3841,7 +3841,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -3884,7 +3884,7 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -3926,7 +3926,7 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3964,7 +3964,7 @@ public Builder clearTpuIpv4CidrBlock() { * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index adb85fdb79d2..3a3e54da7afd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -95,7 +95,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -111,7 +111,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2184 + * google/container/v1/cluster_service.proto;l=2182 * @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.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -143,7 +143,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2187 + * google/container/v1/cluster_service.proto;l=2185 * @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.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -175,7 +175,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=2190 + * google/container/v1/cluster_service.proto;l=2188 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -444,7 +444,7 @@ public interface IPAllocationPolicyOrBuilder * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -477,7 +477,7 @@ public interface IPAllocationPolicyOrBuilder * string tpu_ipv4_cidr_block = 13 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2276 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index 7729de64a489..11399401ef4d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @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.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The bytes for zone. */ @java.lang.Override @@ -655,7 +655,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return The projectId. */ @java.lang.Deprecated @@ -683,7 +683,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -711,7 +711,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @param value The projectId to set. * @return This builder for chaining. */ @@ -738,7 +738,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return This builder for chaining. */ @java.lang.Deprecated @@ -761,7 +761,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -792,7 +792,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The zone. */ @java.lang.Deprecated @@ -821,7 +821,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The bytes for zone. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @param value The zone to set. * @return This builder for chaining. */ @@ -878,7 +878,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return This builder for chaining. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index ba998bf56c0f..c54788b6e915 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4101 + * google/container/v1/cluster_service.proto;l=4099 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4107 + * google/container/v1/cluster_service.proto;l=4105 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index 835b3da0baf5..1df9c95b5acb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @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.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @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.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @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.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @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.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @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.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @return The zone. */ @java.lang.Deprecated @@ -905,7 +905,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @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.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @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.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @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.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return The clusterId. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @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.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @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.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 49379389679b..fb0d4e3f57c6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4311 + * google/container/v1/cluster_service.proto;l=4309 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4317 + * google/container/v1/cluster_service.proto;l=4315 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4321 + * google/container/v1/cluster_service.proto;l=4319 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index 5d2fd18f9188..db15124a2ac3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @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.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The bytes for zone. */ @java.lang.Override @@ -655,7 +655,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return The projectId. */ @java.lang.Deprecated @@ -683,7 +683,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -711,7 +711,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @param value The projectId to set. * @return This builder for chaining. */ @@ -738,7 +738,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return This builder for chaining. */ @java.lang.Deprecated @@ -761,7 +761,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -792,7 +792,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The zone. */ @java.lang.Deprecated @@ -821,7 +821,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The bytes for zone. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @param value The zone to set. * @return This builder for chaining. */ @@ -878,7 +878,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return This builder for chaining. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index 87da35f85a45..f178e7d797b7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4153 + * google/container/v1/cluster_service.proto;l=4151 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4159 + * google/container/v1/cluster_service.proto;l=4157 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index 614c40ecaba1..c21dd9b2b0a7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return The username. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @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.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The password. */ @java.lang.Override @@ -202,7 +202,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The bytes for password. */ @java.lang.Override @@ -950,7 +950,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return The username. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return The bytes for username. */ @java.lang.Deprecated @@ -1016,7 +1016,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @param value The username to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1076,7 +1076,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1112,7 +1112,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The password. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The bytes for password. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @param value The password to set. * @return This builder for chaining. */ @@ -1213,7 +1213,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1242,7 +1242,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index 3b2fedd0d1f9..168ffe044b07 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -41,7 +41,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return The username. */ @java.lang.Deprecated @@ -64,7 +64,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1758 + * google/container/v1/cluster_service.proto;l=1756 * @return The bytes for username. */ @java.lang.Deprecated @@ -88,7 +88,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The password. */ @java.lang.Deprecated @@ -112,7 +112,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1769 + * google/container/v1/cluster_service.proto;l=1767 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index 6bfc1709d2b8..59569276fcb5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -6882,7 +6882,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The statusMessage. */ @java.lang.Override @@ -6913,7 +6913,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The bytes for statusMessage. */ @java.lang.Override @@ -9954,7 +9954,7 @@ public Builder clearStatus() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The statusMessage. */ @java.lang.Deprecated @@ -9984,7 +9984,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -10014,7 +10014,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -10043,7 +10043,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return This builder for chaining. */ @java.lang.Deprecated @@ -10068,7 +10068,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 97a330f91e25..df542fa7a161 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -408,7 +408,7 @@ public interface NodePoolOrBuilder * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The statusMessage. */ @java.lang.Deprecated @@ -428,7 +428,7 @@ public interface NodePoolOrBuilder * * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=4627 + * google/container/v1/cluster_service.proto;l=4625 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 81d8d458ee46..8036023c66b7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/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.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @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.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @return The bytes for zone. */ @java.lang.Override @@ -1218,7 +1218,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The statusMessage. */ @java.lang.Override @@ -1248,7 +1248,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2793,7 +2793,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @return The zone. */ @java.lang.Deprecated @@ -2822,7 +2822,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2851,7 +2851,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @param value The zone to set. * @return This builder for chaining. */ @@ -2879,7 +2879,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2903,7 +2903,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3255,7 +3255,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The statusMessage. */ @java.lang.Deprecated @@ -3284,7 +3284,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -3313,7 +3313,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3341,7 +3341,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3365,7 +3365,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index c07132089695..76f4e2d9116c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -63,7 +63,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @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.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3497 + * google/container/v1/cluster_service.proto;l=3495 * @return The bytes for zone. */ @java.lang.Deprecated @@ -187,7 +187,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The statusMessage. */ @java.lang.Deprecated @@ -206,7 +206,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3511 + * google/container/v1/cluster_service.proto;l=3509 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java index afe02a19f109..394dde4af8c2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/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.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See - * google/container/v1/cluster_service.proto;l=1916 + * google/container/v1/cluster_service.proto;l=1914 * @return The enablePrivateNodes. */ @java.lang.Override @@ -115,7 +115,7 @@ public boolean getEnablePrivateNodes() { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1924 + * google/container/v1/cluster_service.proto;l=1922 * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -204,7 +204,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The privateEndpoint. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getPrivateEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The bytes for privateEndpoint. */ @java.lang.Override @@ -275,7 +275,7 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The publicEndpoint. */ @java.lang.Override @@ -308,7 +308,7 @@ public java.lang.String getPublicEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The bytes for publicEndpoint. */ @java.lang.Override @@ -397,7 +397,7 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. - * See google/container/v1/cluster_service.proto;l=1956 + * See google/container/v1/cluster_service.proto;l=1954 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -422,7 +422,7 @@ public boolean hasMasterGlobalAccessConfig() { * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. - * See google/container/v1/cluster_service.proto;l=1956 + * See google/container/v1/cluster_service.proto;l=1954 * @return The masterGlobalAccessConfig. */ @java.lang.Override @@ -478,7 +478,7 @@ public boolean hasMasterGlobalAccessConfig() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. - * See google/container/v1/cluster_service.proto;l=1965 + * See google/container/v1/cluster_service.proto;l=1963 * @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.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. - * See google/container/v1/cluster_service.proto;l=1965 + * See google/container/v1/cluster_service.proto;l=1963 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override @@ -1077,7 +1077,7 @@ public Builder mergeFrom( * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See - * google/container/v1/cluster_service.proto;l=1916 + * google/container/v1/cluster_service.proto;l=1914 * @return The enablePrivateNodes. */ @java.lang.Override @@ -1102,7 +1102,7 @@ public boolean getEnablePrivateNodes() { * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See - * google/container/v1/cluster_service.proto;l=1916 + * google/container/v1/cluster_service.proto;l=1914 * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -1131,7 +1131,7 @@ public Builder setEnablePrivateNodes(boolean value) { * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See - * google/container/v1/cluster_service.proto;l=1916 + * google/container/v1/cluster_service.proto;l=1914 * @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.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=1924 + * See google/container/v1/cluster_service.proto;l=1922 * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -1183,7 +1183,7 @@ public boolean getEnablePrivateEndpoint() { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=1924 + * See google/container/v1/cluster_service.proto;l=1922 * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -1211,7 +1211,7 @@ public Builder setEnablePrivateEndpoint(boolean value) { * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. - * See google/container/v1/cluster_service.proto;l=1924 + * See google/container/v1/cluster_service.proto;l=1922 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1366,7 +1366,7 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The privateEndpoint. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public java.lang.String getPrivateEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The bytes for privateEndpoint. */ @java.lang.Deprecated @@ -1430,7 +1430,7 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @param value The privateEndpoint to set. * @return This builder for chaining. */ @@ -1461,7 +1461,7 @@ public Builder setPrivateEndpoint(java.lang.String value) { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1488,7 +1488,7 @@ public Builder clearPrivateEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ @@ -1522,7 +1522,7 @@ public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The publicEndpoint. */ @java.lang.Deprecated @@ -1554,7 +1554,7 @@ public java.lang.String getPublicEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The bytes for publicEndpoint. */ @java.lang.Deprecated @@ -1586,7 +1586,7 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @param value The publicEndpoint to set. * @return This builder for chaining. */ @@ -1617,7 +1617,7 @@ public Builder setPublicEndpoint(java.lang.String value) { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1644,7 +1644,7 @@ public Builder clearPublicEndpoint() { * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ @@ -1795,7 +1795,7 @@ public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1/cluster_service.proto;l=1956 + * deprecated. See google/container/v1/cluster_service.proto;l=1954 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Deprecated @@ -1819,7 +1819,7 @@ public boolean hasMasterGlobalAccessConfig() { * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is - * deprecated. See google/container/v1/cluster_service.proto;l=1956 + * deprecated. See google/container/v1/cluster_service.proto;l=1954 * @return The masterGlobalAccessConfig. */ @java.lang.Deprecated @@ -2057,7 +2057,7 @@ public Builder clearMasterGlobalAccessConfig() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1/cluster_service.proto;l=1965 + * deprecated. See google/container/v1/cluster_service.proto;l=1963 * @return The privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -2088,7 +2088,7 @@ public java.lang.String getPrivateEndpointSubnetwork() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1/cluster_service.proto;l=1965 + * deprecated. See google/container/v1/cluster_service.proto;l=1963 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -2119,7 +2119,7 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1/cluster_service.proto;l=1965 + * deprecated. See google/container/v1/cluster_service.proto;l=1963 * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ @@ -2149,7 +2149,7 @@ public Builder setPrivateEndpointSubnetwork(java.lang.String value) { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1/cluster_service.proto;l=1965 + * deprecated. See google/container/v1/cluster_service.proto;l=1963 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2175,7 +2175,7 @@ public Builder clearPrivateEndpointSubnetwork() { * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is - * deprecated. See google/container/v1/cluster_service.proto;l=1965 + * deprecated. See google/container/v1/cluster_service.proto;l=1963 * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java index fb81c985a370..e6aea35c4799 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java @@ -40,7 +40,7 @@ public interface PrivateClusterConfigOrBuilder * bool enable_private_nodes = 1 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See - * google/container/v1/cluster_service.proto;l=1916 + * google/container/v1/cluster_service.proto;l=1914 * @return The enablePrivateNodes. */ @java.lang.Deprecated @@ -61,7 +61,7 @@ public interface PrivateClusterConfigOrBuilder * bool enable_private_endpoint = 2 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1924 + * google/container/v1/cluster_service.proto;l=1922 * @return The enablePrivateEndpoint. */ @java.lang.Deprecated @@ -115,7 +115,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The privateEndpoint. */ @java.lang.Deprecated @@ -137,7 +137,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1937 + * google/container/v1/cluster_service.proto;l=1935 * @return The bytes for privateEndpoint. */ @java.lang.Deprecated @@ -159,7 +159,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The publicEndpoint. */ @java.lang.Deprecated @@ -181,7 +181,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See - * google/container/v1/cluster_service.proto;l=1945 + * google/container/v1/cluster_service.proto;l=1943 * @return The bytes for publicEndpoint. */ @java.lang.Deprecated @@ -229,7 +229,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. - * See google/container/v1/cluster_service.proto;l=1956 + * See google/container/v1/cluster_service.proto;l=1954 * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Deprecated @@ -251,7 +251,7 @@ public interface PrivateClusterConfigOrBuilder * * * @deprecated google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. - * See google/container/v1/cluster_service.proto;l=1956 + * See google/container/v1/cluster_service.proto;l=1954 * @return The masterGlobalAccessConfig. */ @java.lang.Deprecated @@ -291,7 +291,7 @@ public interface PrivateClusterConfigOrBuilder * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. - * See google/container/v1/cluster_service.proto;l=1965 + * See google/container/v1/cluster_service.proto;l=1963 * @return The privateEndpointSubnetwork. */ @java.lang.Deprecated @@ -312,7 +312,7 @@ public interface PrivateClusterConfigOrBuilder * string private_endpoint_subnetwork = 10 [deprecated = true]; * * @deprecated google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. - * See google/container/v1/cluster_service.proto;l=1965 + * See google/container/v1/cluster_service.proto;l=1963 * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index dd0e62afd771..5addd400f652 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @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.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @return The zone. */ @java.lang.Override @@ -182,7 +182,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @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.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @return The clusterId. */ @java.lang.Override @@ -243,7 +243,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4929 + * google/container/v1/cluster_service.proto;l=4927 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4929 + * google/container/v1/cluster_service.proto;l=4927 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -876,7 +876,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @return The projectId. */ @java.lang.Deprecated @@ -904,7 +904,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @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.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @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.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @return This builder for chaining. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @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.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @return The zone. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @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.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @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.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @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.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @return The clusterId. */ @java.lang.Deprecated @@ -1179,7 +1179,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @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.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @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.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1254,7 +1254,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=4929 + * See google/container/v1/cluster_service.proto;l=4927 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=4929 + * See google/container/v1/cluster_service.proto;l=4927 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=4929 + * See google/container/v1/cluster_service.proto;l=4927 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=4929 + * See google/container/v1/cluster_service.proto;l=4927 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=4929 + * See google/container/v1/cluster_service.proto;l=4927 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index f310c4d02514..4c4b6f4f2fe9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4915 + * google/container/v1/cluster_service.proto;l=4913 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4921 + * google/container/v1/cluster_service.proto;l=4919 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4925 + * google/container/v1/cluster_service.proto;l=4923 * @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.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4929 + * google/container/v1/cluster_service.proto;l=4927 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4929 + * google/container/v1/cluster_service.proto;l=4927 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 943fc24b1442..c4afdb3ae9f9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @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.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @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.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The bytes for clusterId. */ @java.lang.Override @@ -846,7 +846,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return The projectId. */ @java.lang.Deprecated @@ -874,7 +874,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @param value The projectId to set. * @return This builder for chaining. */ @@ -929,7 +929,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return This builder for chaining. */ @java.lang.Deprecated @@ -952,7 +952,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -983,7 +983,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return The zone. */ @java.lang.Deprecated @@ -1012,7 +1012,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1041,7 +1041,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @param value The zone to set. * @return This builder for chaining. */ @@ -1069,7 +1069,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1093,7 +1093,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1122,7 +1122,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The clusterId. */ @java.lang.Deprecated @@ -1149,7 +1149,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1202,7 +1202,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1224,7 +1224,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 1f7fb68331b6..225f64fa6aa0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3942 + * google/container/v1/cluster_service.proto;l=3940 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3948 + * google/container/v1/cluster_service.proto;l=3946 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3952 + * google/container/v1/cluster_service.proto;l=3950 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index 1ec438a548ff..2b98eb032366 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -99,7 +99,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return The projectId. */ @java.lang.Override @@ -128,7 +128,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @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.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return The zone. */ @java.lang.Override @@ -193,7 +193,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @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.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The clusterId. */ @java.lang.Override @@ -254,7 +254,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The bytes for clusterId. */ @java.lang.Override @@ -1013,7 +1013,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return The projectId. */ @java.lang.Deprecated @@ -1041,7 +1041,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1119,7 +1119,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1150,7 +1150,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return The zone. */ @java.lang.Deprecated @@ -1179,7 +1179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1208,7 +1208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @param value The zone to set. * @return This builder for chaining. */ @@ -1236,7 +1236,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1260,7 +1260,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1289,7 +1289,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The clusterId. */ @java.lang.Deprecated @@ -1316,7 +1316,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1343,7 +1343,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1369,7 +1369,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1391,7 +1391,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 0baaa60dc2ef..2cad3ba22ad8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5121 + * google/container/v1/cluster_service.proto;l=5119 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5127 + * google/container/v1/cluster_service.proto;l=5125 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5131 + * google/container/v1/cluster_service.proto;l=5129 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 991e62ca1039..0dbde4f9661f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @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.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @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.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The bytes for clusterId. */ @java.lang.Override @@ -782,7 +782,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return The projectId. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @param value The projectId to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -919,7 +919,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return The zone. */ @java.lang.Deprecated @@ -948,7 +948,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return The bytes for zone. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @param value The zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1029,7 +1029,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The clusterId. */ @java.lang.Deprecated @@ -1085,7 +1085,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1112,7 +1112,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1160,7 +1160,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 3cbf1c77e4c2..f7b76df38083 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5156 + * google/container/v1/cluster_service.proto;l=5154 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5162 + * google/container/v1/cluster_service.proto;l=5160 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5166 + * google/container/v1/cluster_service.proto;l=5164 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index ef2cc9d8deb4..0be7420fc4d0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @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.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @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.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The bytes for clusterId. */ @java.lang.Override @@ -870,7 +870,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return The projectId. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @param value The projectId to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return This builder for chaining. */ @java.lang.Deprecated @@ -976,7 +976,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1007,7 +1007,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return The zone. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1065,7 +1065,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @param value The zone to set. * @return This builder for chaining. */ @@ -1093,7 +1093,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1146,7 +1146,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The clusterId. */ @java.lang.Deprecated @@ -1173,7 +1173,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1226,7 +1226,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1248,7 +1248,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index 0b2a29aa3fea..a3cde5175f3e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3968 + * google/container/v1/cluster_service.proto;l=3966 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3974 + * google/container/v1/cluster_service.proto;l=3972 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3978 + * google/container/v1/cluster_service.proto;l=3976 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index dcb57141ccdd..0dffe45b6de2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @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.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @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.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The bytes for clusterId. */ @java.lang.Override @@ -838,7 +838,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return The projectId. */ @java.lang.Deprecated @@ -866,7 +866,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @param value The projectId to set. * @return This builder for chaining. */ @@ -921,7 +921,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return This builder for chaining. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return The zone. */ @java.lang.Deprecated @@ -1004,7 +1004,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1033,7 +1033,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @param value The zone to set. * @return This builder for chaining. */ @@ -1061,7 +1061,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1085,7 +1085,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1114,7 +1114,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The clusterId. */ @java.lang.Deprecated @@ -1141,7 +1141,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1168,7 +1168,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1194,7 +1194,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1216,7 +1216,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index a25619a169d9..0fd8c83995ca 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3872 + * google/container/v1/cluster_service.proto;l=3870 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3878 + * google/container/v1/cluster_service.proto;l=3876 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3882 + * google/container/v1/cluster_service.proto;l=3880 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index d0a4e674ed6d..f73f75b13902 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -274,7 +274,7 @@ private Action(int value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The projectId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The bytes for projectId. */ @java.lang.Override @@ -338,7 +338,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Override @@ -368,7 +368,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Override @@ -401,7 +401,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Override @@ -429,7 +429,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Override @@ -1089,7 +1089,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The projectId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1145,7 +1145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1172,7 +1172,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1195,7 +1195,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1226,7 +1226,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Deprecated @@ -1255,7 +1255,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1284,7 +1284,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @param value The zone to set. * @return This builder for chaining. */ @@ -1312,7 +1312,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1336,7 +1336,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1365,7 +1365,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Deprecated @@ -1392,7 +1392,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1419,7 +1419,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1445,7 +1445,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1467,7 +1467,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index ad6d526c2ac0..c813201287d2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4051 + * google/container/v1/cluster_service.proto;l=4049 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4061 + * google/container/v1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index f685eb558847..23d1d2c0bb4b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @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.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @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.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The bytes for clusterId. */ @java.lang.Override @@ -838,7 +838,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return The projectId. */ @java.lang.Deprecated @@ -866,7 +866,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @param value The projectId to set. * @return This builder for chaining. */ @@ -921,7 +921,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return This builder for chaining. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return The zone. */ @java.lang.Deprecated @@ -1004,7 +1004,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1033,7 +1033,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @param value The zone to set. * @return This builder for chaining. */ @@ -1061,7 +1061,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1085,7 +1085,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1114,7 +1114,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The clusterId. */ @java.lang.Deprecated @@ -1141,7 +1141,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1168,7 +1168,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1194,7 +1194,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1216,7 +1216,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index 602cc5be8a6a..3097b3497acc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3907 + * google/container/v1/cluster_service.proto;l=3905 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3913 + * google/container/v1/cluster_service.proto;l=3911 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3917 + * google/container/v1/cluster_service.proto;l=3915 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index 00d395e8c065..d4bd52437347 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @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.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @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.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return The bytes for clusterId. */ @java.lang.Override @@ -844,7 +844,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @return The projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @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.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @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.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @return This builder for chaining. */ @java.lang.Deprecated @@ -950,7 +950,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @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.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @return The zone. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @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.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @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.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1091,7 +1091,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @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.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return The clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @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.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @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.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index 31f1be7a165e..dc919f383ed2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5319 + * google/container/v1/cluster_service.proto;l=5317 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5325 + * google/container/v1/cluster_service.proto;l=5323 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5329 + * google/container/v1/cluster_service.proto;l=5327 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 806633fba0a6..ed79cf5bf9f4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @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.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @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.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -933,7 +933,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @return The projectId. */ @java.lang.Deprecated @@ -961,7 +961,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @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.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @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.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @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.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @return The zone. */ @java.lang.Deprecated @@ -1099,7 +1099,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @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.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @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.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @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.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @return The clusterId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @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.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @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.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1311,7 +1311,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 530f4fd5a100..3fcec39f4074 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3842 + * google/container/v1/cluster_service.proto;l=3840 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3848 + * google/container/v1/cluster_service.proto;l=3846 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3852 + * google/container/v1/cluster_service.proto;l=3850 * @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.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3856 + * google/container/v1/cluster_service.proto;l=3854 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index 907d1a4981f1..8ff5e6629a2a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @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.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @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.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @return The clusterId. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -933,7 +933,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @return The projectId. */ @java.lang.Deprecated @@ -961,7 +961,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @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.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @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.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @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.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @return The zone. */ @java.lang.Deprecated @@ -1099,7 +1099,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @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.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @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.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @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.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @return The clusterId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @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.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @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.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1311,7 +1311,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index f6fd4d69269c..4298975bdd9c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4844 + * google/container/v1/cluster_service.proto;l=4842 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4850 + * google/container/v1/cluster_service.proto;l=4848 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4854 + * google/container/v1/cluster_service.proto;l=4852 * @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.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4858 + * google/container/v1/cluster_service.proto;l=4856 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 3fedf02032a8..738fe685c950 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @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.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @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.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @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.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @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.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -868,7 +868,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return The projectId. */ @java.lang.Deprecated @@ -896,7 +896,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -924,7 +924,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @param value The projectId to set. * @return This builder for chaining. */ @@ -951,7 +951,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -974,7 +974,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return The zone. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @param value The zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1144,7 +1144,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @return The clusterId. */ @java.lang.Deprecated @@ -1171,7 +1171,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1198,7 +1198,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1224,7 +1224,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1246,7 +1246,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1275,7 +1275,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1302,7 +1302,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1329,7 +1329,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1355,7 +1355,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1377,7 +1377,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index a8001680e177..d7a376de9030 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4874 + * google/container/v1/cluster_service.proto;l=4872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4880 + * google/container/v1/cluster_service.proto;l=4878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4884 + * google/container/v1/cluster_service.proto;l=4882 * @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.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4888 + * google/container/v1/cluster_service.proto;l=4886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index d474d53221b9..4a6ef32b5b66 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @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.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @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.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The bytes for clusterId. */ @java.lang.Override @@ -782,7 +782,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return The projectId. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @param value The projectId to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -919,7 +919,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return The zone. */ @java.lang.Deprecated @@ -948,7 +948,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return The bytes for zone. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @param value The zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1029,7 +1029,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The clusterId. */ @java.lang.Deprecated @@ -1085,7 +1085,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1112,7 +1112,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1160,7 +1160,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index ec10221b4e43..3545edf54187 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5182 + * google/container/v1/cluster_service.proto;l=5180 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=5188 + * google/container/v1/cluster_service.proto;l=5186 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=5192 + * google/container/v1/cluster_service.proto;l=5190 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index 2ba4ce5a882f..d657c59dda25 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -386,7 +386,7 @@ private Code(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -406,7 +406,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The code. */ @java.lang.Override @@ -905,7 +905,7 @@ public Builder mergeFrom( * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -925,7 +925,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -948,7 +948,7 @@ public Builder setCodeValue(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The code. */ @java.lang.Override @@ -970,7 +970,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @param value The code to set. * @return This builder for chaining. */ @@ -996,7 +996,7 @@ public Builder setCode(com.google.container.v1.StatusCondition.Code value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index 8814ddbe6d07..512eacf332f1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -35,7 +35,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=5403 + * google/container/v1/cluster_service.proto;l=5401 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 405529f8ceee..1a3609702856 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @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.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @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.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The bytes for clusterId. */ @java.lang.Override @@ -835,7 +835,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return The projectId. */ @java.lang.Deprecated @@ -863,7 +863,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -891,7 +891,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @param value The projectId to set. * @return This builder for chaining. */ @@ -918,7 +918,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return This builder for chaining. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -972,7 +972,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return The zone. */ @java.lang.Deprecated @@ -1001,7 +1001,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @param value The zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1082,7 +1082,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1111,7 +1111,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The clusterId. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1191,7 +1191,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1213,7 +1213,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 43ac3c4e839f..8b7a3e6913e3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3654 + * google/container/v1/cluster_service.proto;l=3652 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3660 + * google/container/v1/cluster_service.proto;l=3658 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3664 + * google/container/v1/cluster_service.proto;l=3662 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index 1e5c1ec7ebaf..e6b86ce056a5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @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.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @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.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The bytes for clusterId. */ @java.lang.Override @@ -835,7 +835,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return The projectId. */ @java.lang.Deprecated @@ -863,7 +863,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -891,7 +891,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @param value The projectId to set. * @return This builder for chaining. */ @@ -918,7 +918,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return This builder for chaining. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -972,7 +972,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Deprecated @@ -1001,7 +1001,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @param value The zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1082,7 +1082,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1111,7 +1111,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The clusterId. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1191,7 +1191,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1213,7 +1213,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 9a5a638d92f2..ab4223cd9dba 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3999 + * google/container/v1/cluster_service.proto;l=3997 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4005 + * google/container/v1/cluster_service.proto;l=4003 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4009 + * google/container/v1/cluster_service.proto;l=4007 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 3908ef124d57..bbc3701d8e1a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -94,7 +94,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return The projectId. */ @java.lang.Override @@ -123,7 +123,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @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.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return The zone. */ @java.lang.Override @@ -188,7 +188,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @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.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @return The clusterId. */ @java.lang.Override @@ -249,7 +249,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @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.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @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.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -3565,7 +3565,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return The projectId. */ @java.lang.Deprecated @@ -3593,7 +3593,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -3621,7 +3621,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @param value The projectId to set. * @return This builder for chaining. */ @@ -3648,7 +3648,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3671,7 +3671,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -3702,7 +3702,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return The zone. */ @java.lang.Deprecated @@ -3731,7 +3731,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -3760,7 +3760,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @param value The zone to set. * @return This builder for chaining. */ @@ -3788,7 +3788,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3812,7 +3812,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3841,7 +3841,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @return The clusterId. */ @java.lang.Deprecated @@ -3868,7 +3868,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -3895,7 +3895,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -3921,7 +3921,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3943,7 +3943,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -3972,7 +3972,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return The nodePoolId. */ @java.lang.Deprecated @@ -3999,7 +3999,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -4026,7 +4026,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -4052,7 +4052,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4074,7 +4074,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index 19917330da5c..446f90bda157 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3679 + * google/container/v1/cluster_service.proto;l=3677 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3685 + * google/container/v1/cluster_service.proto;l=3683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3689 + * google/container/v1/cluster_service.proto;l=3687 * @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.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return The nodePoolId. */ @java.lang.Deprecated @@ -160,7 +160,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3693 + * google/container/v1/cluster_service.proto;l=3691 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index a29904596d39..5bdbce6016f5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -47,8 +47,6 @@ 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 v1 service ClusterManager { option (google.api.default_host) = "container.googleapis.com"; 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 16e957a981f6..79c56078afb9 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=5675 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 * @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=5675 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 * @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=5675 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 * @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=5675 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 * @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 d4b5d7abdca5..42995f77c8d9 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=5675 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5673 * @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 8149c97e2de5..ecaee80c2e8b 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=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @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=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @return The istioConfig. */ @java.lang.Override @@ -627,7 +627,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -647,7 +647,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return The kalmConfig. */ @java.lang.Override @@ -2593,7 +2593,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -2617,7 +2617,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -3070,7 +3070,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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -3089,7 +3089,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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @return The istioConfig. */ @java.lang.Deprecated @@ -4126,7 +4126,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -4145,7 +4145,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return The kalmConfig. */ @java.lang.Deprecated 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 ddd594d6030a..9c4711a4a17b 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=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @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=1944 + * google/container/v1beta1/cluster_service.proto;l=1942 * @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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @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=1953 + * google/container/v1beta1/cluster_service.proto;l=1951 * @return The istioConfig. */ @java.lang.Deprecated @@ -436,7 +436,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -453,7 +453,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=1972 + * google/container/v1beta1/cluster_service.proto;l=1970 * @return The kalmConfig. */ @java.lang.Deprecated 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 51b1c3d4f536..f853da28112f 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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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 373aaa16ac17..83a58ec29d81 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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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=5448 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5446 * @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 2ce1bcdfbdae..b05a0708877e 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=2536 + * google/container/v1beta1/cluster_service.proto;l=2534 * @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=2536 + * google/container/v1beta1/cluster_service.proto;l=2534 * @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=2536 + * google/container/v1beta1/cluster_service.proto;l=2534 * @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=2536 + * google/container/v1beta1/cluster_service.proto;l=2534 * @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 f1c11c64b038..121ec284fb99 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=2536 + * google/container/v1beta1/cluster_service.proto;l=2534 * @return The enabled. */ @java.lang.Deprecated 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 92ef672b1393..f41661a36cbd 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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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 5c0b3079b807..1296732e3b14 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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4550 + * google/container/v1beta1/cluster_service.proto;l=4548 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4556 + * google/container/v1beta1/cluster_service.proto;l=4554 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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=4560 + * google/container/v1beta1/cluster_service.proto;l=4558 * @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 34b98d082a22..4dd58ba199b8 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=2640 + * google/container/v1beta1/cluster_service.proto;l=2638 * @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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @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=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @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=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @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=2788 + * google/container/v1beta1/cluster_service.proto;l=2786 * @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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -2914,7 +2914,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return Whether the tpuConfig field is set. */ @java.lang.Override @@ -2935,7 +2935,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return The tpuConfig. */ @java.lang.Override @@ -3199,7 +3199,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=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The zone. */ @java.lang.Override @@ -3229,7 +3229,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=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The bytes for zone. */ @java.lang.Override @@ -3460,7 +3460,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=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The currentNodeVersion. */ @java.lang.Override @@ -3493,7 +3493,7 @@ public java.lang.String getCurrentNodeVersion() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3625,7 +3625,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=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The statusMessage. */ @java.lang.Override @@ -3656,7 +3656,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3774,7 +3774,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3794,7 +3794,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3814,7 +3814,7 @@ public int getInstanceGroupUrlsCount() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3835,7 +3835,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3860,7 +3860,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=2939 + * google/container/v1beta1/cluster_service.proto;l=2937 * @return The currentNodeCount. */ @java.lang.Override @@ -4001,7 +4001,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=2957 + * google/container/v1beta1/cluster_service.proto;l=2955 * @return The enableTpu. */ @java.lang.Override @@ -4031,7 +4031,7 @@ public boolean getEnableTpu() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -4064,7 +4064,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=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -4599,7 +4599,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=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return Whether the protectConfig field is set. */ @java.lang.Override @@ -4621,7 +4621,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return The protectConfig. */ @java.lang.Override @@ -8870,7 +8870,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=2640 + * google/container/v1beta1/cluster_service.proto;l=2638 * @return The initialNodeCount. */ @java.lang.Override @@ -8899,7 +8899,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=2640 + * google/container/v1beta1/cluster_service.proto;l=2638 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -8932,7 +8932,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=2640 + * google/container/v1beta1/cluster_service.proto;l=2638 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8970,7 +8970,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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -8998,7 +8998,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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @return The nodeConfig. */ @java.lang.Deprecated @@ -12415,7 +12415,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=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -12439,7 +12439,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1beta1.Cluster.master_authorized_networks_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @return The masterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -13671,7 +13671,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=2788 + * google/container/v1beta1/cluster_service.proto;l=2786 * @return The privateCluster. */ @java.lang.Override @@ -13694,7 +13694,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=2788 + * google/container/v1beta1/cluster_service.proto;l=2786 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -13721,7 +13721,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=2788 + * google/container/v1beta1/cluster_service.proto;l=2786 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13748,7 +13748,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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -13778,7 +13778,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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -13808,7 +13808,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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -13837,7 +13837,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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13862,7 +13862,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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -16594,7 +16594,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return Whether the tpuConfig field is set. */ @java.lang.Deprecated @@ -16614,7 +16614,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return The tpuConfig. */ @java.lang.Deprecated @@ -17528,7 +17528,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=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The zone. */ @java.lang.Deprecated @@ -17558,7 +17558,7 @@ public java.lang.String getZone() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The bytes for zone. */ @java.lang.Deprecated @@ -17588,7 +17588,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @param value The zone to set. * @return This builder for chaining. */ @@ -17617,7 +17617,7 @@ public Builder setZone(java.lang.String value) { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17642,7 +17642,7 @@ public Builder clearZone() { * * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -18099,7 +18099,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=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -18131,7 +18131,7 @@ public java.lang.String getCurrentNodeVersion() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -18163,7 +18163,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=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -18194,7 +18194,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=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ @java.lang.Deprecated @@ -18221,7 +18221,7 @@ public Builder clearCurrentNodeVersion() { * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -18474,7 +18474,7 @@ public Builder clearStatus() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The statusMessage. */ @java.lang.Deprecated @@ -18504,7 +18504,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -18534,7 +18534,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -18563,7 +18563,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=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return This builder for chaining. */ @java.lang.Deprecated @@ -18588,7 +18588,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -18822,7 +18822,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -18843,7 +18843,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -18863,7 +18863,7 @@ public int getInstanceGroupUrlsCount() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -18884,7 +18884,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -18905,7 +18905,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -18934,7 +18934,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -18962,7 +18962,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -18987,7 +18987,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=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19011,7 +19011,7 @@ public Builder clearInstanceGroupUrls() { * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -19043,7 +19043,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=2939 + * google/container/v1beta1/cluster_service.proto;l=2937 * @return The currentNodeCount. */ @java.lang.Override @@ -19065,7 +19065,7 @@ public int getCurrentNodeCount() { * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2939 + * google/container/v1beta1/cluster_service.proto;l=2937 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -19091,7 +19091,7 @@ public Builder setCurrentNodeCount(int value) { * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2939 + * google/container/v1beta1/cluster_service.proto;l=2937 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19364,7 +19364,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=2957 + * google/container/v1beta1/cluster_service.proto;l=2955 * @return The enableTpu. */ @java.lang.Override @@ -19386,7 +19386,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=2957 + * google/container/v1beta1/cluster_service.proto;l=2955 * @param value The enableTpu to set. * @return This builder for chaining. */ @@ -19412,7 +19412,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=2957 + * google/container/v1beta1/cluster_service.proto;l=2955 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19441,7 +19441,7 @@ public Builder clearEnableTpu() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -19473,7 +19473,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=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -19505,7 +19505,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=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -19536,7 +19536,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=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19563,7 +19563,7 @@ public Builder clearTpuIpv4CidrBlock() { * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -21461,7 +21461,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=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -21482,7 +21482,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return The protectConfig. */ @java.lang.Deprecated 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 76f71ca670f4..c8b9968a4a04 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=2640 + * google/container/v1beta1/cluster_service.proto;l=2638 * @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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @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=2653 + * google/container/v1beta1/cluster_service.proto;l=2651 * @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=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @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=2765 + * See google/container/v1beta1/cluster_service.proto;l=2763 * @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=2788 + * google/container/v1beta1/cluster_service.proto;l=2786 * @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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @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=2795 + * google/container/v1beta1/cluster_service.proto;l=2793 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1789,7 +1789,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return Whether the tpuConfig field is set. */ @java.lang.Deprecated @@ -1807,7 +1807,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=2850 + * google/container/v1beta1/cluster_service.proto;l=2848 * @return The tpuConfig. */ @java.lang.Deprecated @@ -1980,7 +1980,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=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The zone. */ @java.lang.Deprecated @@ -1999,7 +1999,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=2869 + * google/container/v1beta1/cluster_service.proto;l=2867 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2133,7 +2133,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -2155,7 +2155,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2904 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -2233,7 +2233,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The statusMessage. */ @java.lang.Deprecated @@ -2253,7 +2253,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2917 + * google/container/v1beta1/cluster_service.proto;l=2915 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2321,7 +2321,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2339,7 +2339,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2357,7 +2357,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2376,7 +2376,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2934 + * google/container/v1beta1/cluster_service.proto;l=2932 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2396,7 +2396,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2939 + * google/container/v1beta1/cluster_service.proto;l=2937 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2477,7 +2477,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=2957 + * google/container/v1beta1/cluster_service.proto;l=2955 * @return The enableTpu. */ @java.lang.Deprecated @@ -2499,7 +2499,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -2521,7 +2521,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.tpu_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * google/container/v1beta1/cluster_service.proto;l=2962 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -2887,7 +2887,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -2906,7 +2906,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2998 + * google/container/v1beta1/cluster_service.proto;l=2996 * @return The protectConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java index 63f1da10be2b..cc281e01c3aa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java @@ -572,7 +572,7 @@ public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3381 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @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=3381 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @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=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @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=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @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=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @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=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The desiredTpuConfig. */ @java.lang.Override @@ -2570,7 +2570,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -2594,7 +2594,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -2786,7 +2786,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=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Override @@ -2808,7 +2808,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return The desiredProtectConfig. */ @java.lang.Override @@ -4177,7 +4177,7 @@ public boolean hasDesiredNodePoolAutoConfigKubeletConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3636 + * google/container/v1beta1/cluster_service.proto;l=3634 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Override @@ -4203,7 +4203,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3636 + * google/container/v1beta1/cluster_service.proto;l=3634 * @return The userManagedKeysConfig. */ @java.lang.Override @@ -9345,7 +9345,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=3381 + * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Deprecated @@ -9369,7 +9369,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_master_authorized_networks_config - * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3381 + * is deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Deprecated @@ -10827,7 +10827,7 @@ public Builder clearDesiredVerticalPodAutoscaling() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Deprecated @@ -10856,7 +10856,7 @@ public boolean hasDesiredPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_private_cluster_config is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @return The desiredPrivateClusterConfig. */ @java.lang.Deprecated @@ -11947,7 +11947,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=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @return Whether the privateClusterConfig field is set. */ @java.lang.Deprecated @@ -11969,7 +11969,7 @@ public boolean hasPrivateClusterConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.private_cluster_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @return The privateClusterConfig. */ @java.lang.Deprecated @@ -12193,7 +12193,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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return Whether the desiredTpuConfig field is set. */ @java.lang.Deprecated @@ -12213,7 +12213,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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The desiredTpuConfig. */ @java.lang.Deprecated @@ -16276,7 +16276,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -16300,7 +16300,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -16324,7 +16324,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -16352,7 +16352,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16919,7 +16919,7 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -16940,7 +16940,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -21547,7 +21547,7 @@ public Builder clearDesiredNodePoolAutoConfigKubeletConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3636 + * See google/container/v1beta1/cluster_service.proto;l=3634 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -21572,7 +21572,7 @@ public boolean hasUserManagedKeysConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3636 + * See google/container/v1beta1/cluster_service.proto;l=3634 * @return The userManagedKeysConfig. */ @java.lang.Deprecated 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 5352a01cbfb0..a45da211fcb1 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=3381 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @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=3381 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3379 * @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=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @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=3422 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3420 * @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=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @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=3439 + * google/container/v1beta1/cluster_service.proto;l=3437 * @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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @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=3444 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The desiredTpuConfig. */ @java.lang.Deprecated @@ -1784,7 +1784,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Deprecated @@ -1805,7 +1805,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=3526 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3524 * @return The desiredEnablePrivateEndpoint. */ @java.lang.Deprecated @@ -1948,7 +1948,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -1967,7 +1967,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3544 + * google/container/v1beta1/cluster_service.proto;l=3542 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -2942,7 +2942,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3636 + * google/container/v1beta1/cluster_service.proto;l=3634 * @return Whether the userManagedKeysConfig field is set. */ @java.lang.Deprecated @@ -2965,7 +2965,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.user_managed_keys_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3636 + * google/container/v1beta1/cluster_service.proto;l=3634 * @return The userManagedKeysConfig. */ @java.lang.Deprecated 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 4ff48f1b5e2c..bb521bd02b99 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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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 71a9f833f97d..730e251b1ae9 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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5643 + * google/container/v1beta1/cluster_service.proto;l=5641 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5649 + * google/container/v1beta1/cluster_service.proto;l=5647 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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=5653 + * google/container/v1beta1/cluster_service.proto;l=5651 * @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/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 056fdb155a85..865f67d05e77 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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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 fa4aefcd40fb..4b5b249d7d2d 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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3991 + * google/container/v1beta1/cluster_service.proto;l=3989 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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=3997 + * google/container/v1beta1/cluster_service.proto;l=3995 * @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 4e517199a161..65fc1e003747 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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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 412096806d6d..e80fa02159f1 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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4686 + * google/container/v1beta1/cluster_service.proto;l=4684 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4692 + * google/container/v1beta1/cluster_service.proto;l=4690 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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=4696 + * google/container/v1beta1/cluster_service.proto;l=4694 * @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 c29648892378..8354d8b08b3d 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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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 85f65447ab45..95bd6360c496 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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4457 + * google/container/v1beta1/cluster_service.proto;l=4455 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4463 + * google/container/v1beta1/cluster_service.proto;l=4461 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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=4467 + * google/container/v1beta1/cluster_service.proto;l=4465 * @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 16c97137ded5..6527f4359bd6 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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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 fa65dbd7f4bd..92deb1a3bb21 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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4712 + * google/container/v1beta1/cluster_service.proto;l=4710 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4718 + * google/container/v1beta1/cluster_service.proto;l=4716 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4722 + * google/container/v1beta1/cluster_service.proto;l=4720 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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=4726 + * google/container/v1beta1/cluster_service.proto;l=4724 * @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/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index f9c8fb999608..083da33b8f6a 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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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 02ad2a910d3c..6494972a4dcf 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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4013 + * google/container/v1beta1/cluster_service.proto;l=4011 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4019 + * google/container/v1beta1/cluster_service.proto;l=4017 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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=4023 + * google/container/v1beta1/cluster_service.proto;l=4021 * @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 2c7e05fcaf64..919ef9e32c59 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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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 994819f647ce..ef3fc81c1b4e 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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4761 + * google/container/v1beta1/cluster_service.proto;l=4759 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4767 + * google/container/v1beta1/cluster_service.proto;l=4765 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4771 + * google/container/v1beta1/cluster_service.proto;l=4769 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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=4775 + * google/container/v1beta1/cluster_service.proto;l=4773 * @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 55dd4d5ce99f..3bc9992894e8 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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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 6918d9008315..9f8894564059 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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4509 + * google/container/v1beta1/cluster_service.proto;l=4507 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4515 + * google/container/v1beta1/cluster_service.proto;l=4513 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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=4519 + * google/container/v1beta1/cluster_service.proto;l=4517 * @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 7dfec23b7c96..b4a772836c36 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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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 8c8b6a0500f3..5a5a94c724b4 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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4582 + * google/container/v1beta1/cluster_service.proto;l=4580 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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=4588 + * google/container/v1beta1/cluster_service.proto;l=4586 * @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 94d3a24e796d..b0ee1e6295ce 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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @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=2439 + * google/container/v1beta1/cluster_service.proto;l=2437 * @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=2439 + * google/container/v1beta1/cluster_service.proto;l=2437 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override @@ -2964,7 +2964,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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2990,7 +2990,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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -3016,7 +3016,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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -3041,7 +3041,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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3062,7 +3062,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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -3090,7 +3090,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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -3116,7 +3116,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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -3142,7 +3142,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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -3167,7 +3167,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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3188,7 +3188,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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -3216,7 +3216,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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -3242,7 +3242,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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -3268,7 +3268,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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -3293,7 +3293,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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3314,7 +3314,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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -4266,7 +4266,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=2439 + * See google/container/v1beta1/cluster_service.proto;l=2437 * @return The tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -4307,7 +4307,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=2439 + * See google/container/v1beta1/cluster_service.proto;l=2437 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated @@ -4348,7 +4348,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=2439 + * See google/container/v1beta1/cluster_service.proto;l=2437 * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -4388,7 +4388,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=2439 + * See google/container/v1beta1/cluster_service.proto;l=2437 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4424,7 +4424,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=2439 + * See google/container/v1beta1/cluster_service.proto;l=2437 * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ 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 be07198d016f..128f07ed9252 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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @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=2333 + * google/container/v1beta1/cluster_service.proto;l=2331 * @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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @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=2336 + * google/container/v1beta1/cluster_service.proto;l=2334 * @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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @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=2339 + * google/container/v1beta1/cluster_service.proto;l=2337 * @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=2439 + * google/container/v1beta1/cluster_service.proto;l=2437 * @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=2439 + * google/container/v1beta1/cluster_service.proto;l=2437 * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Deprecated 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 7a9255ab5572..228ffb20e783 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=2198 + * google/container/v1beta1/cluster_service.proto;l=2196 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2198 + * google/container/v1beta1/cluster_service.proto;l=2196 * @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=2198 + * google/container/v1beta1/cluster_service.proto;l=2196 * @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=2198 + * google/container/v1beta1/cluster_service.proto;l=2196 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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 1b532a8b139e..cb60456b6a95 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=2198 + * google/container/v1beta1/cluster_service.proto;l=2196 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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=2201 + * google/container/v1beta1/cluster_service.proto;l=2199 * @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 c0c372b0f1f3..e8a01ecb9a20 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=2043 + * google/container/v1beta1/cluster_service.proto;l=2041 * @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=2043 + * google/container/v1beta1/cluster_service.proto;l=2041 * @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=2043 + * google/container/v1beta1/cluster_service.proto;l=2041 * @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=2043 + * google/container/v1beta1/cluster_service.proto;l=2041 * @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 19128c3c7300..cbec79fc45a8 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=2043 + * google/container/v1beta1/cluster_service.proto;l=2041 * @return The enabled. */ @java.lang.Deprecated 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 63d6e49e1c32..f91cf87cfb54 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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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 3bfc57bd4316..83126e9dc626 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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4479 + * google/container/v1beta1/cluster_service.proto;l=4477 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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=4485 + * google/container/v1beta1/cluster_service.proto;l=4483 * @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 8e44dbd170ab..234ae5eb0053 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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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 9f616f6b516b..6a3866e66ddf 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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4739 + * google/container/v1beta1/cluster_service.proto;l=4737 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4745 + * google/container/v1beta1/cluster_service.proto;l=4743 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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=4749 + * google/container/v1beta1/cluster_service.proto;l=4747 * @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 33f2f1bb5fb5..1d714a1b69d6 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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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 9ba89ce62e93..d262ade930bf 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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4531 + * google/container/v1beta1/cluster_service.proto;l=4529 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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=4537 + * google/container/v1beta1/cluster_service.proto;l=4535 * @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/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index 9b4ec2f4e806..2b59d4ef4a7f 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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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 ec421a0025ae..ce305bb6fb50 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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1888 + * google/container/v1beta1/cluster_service.proto;l=1886 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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=1899 + * google/container/v1beta1/cluster_service.proto;l=1897 * @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/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 225e0e383050..5c4f723e9ad1 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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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 32153a94f80d..6d9723187953 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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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=5065 + * google/container/v1beta1/cluster_service.proto;l=5063 * @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 486a148b8fdd..339051072ac9 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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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 9798ca814817..8383262c288a 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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3878 + * google/container/v1beta1/cluster_service.proto;l=3876 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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=3892 + * google/container/v1beta1/cluster_service.proto;l=3890 * @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 d7139d4381a4..7e1f9e990384 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=2135 + * See google/container/v1beta1/cluster_service.proto;l=2133 * @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=2142 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2135 + * See google/container/v1beta1/cluster_service.proto;l=2133 * @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=2135 + * See google/container/v1beta1/cluster_service.proto;l=2133 * @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=2135 + * See google/container/v1beta1/cluster_service.proto;l=2133 * @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=2142 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 * @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=2142 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 * @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=2142 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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 f9be8c0a628d..4809ea09ee38 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=2135 + * See google/container/v1beta1/cluster_service.proto;l=2133 * @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=2142 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2140 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2155 + * google/container/v1beta1/cluster_service.proto;l=2153 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2163 + * google/container/v1beta1/cluster_service.proto;l=2161 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2174 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2172 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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=2183 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2181 * @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/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 98fe58bb4e9f..8061a5ea8b0d 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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5348 + * See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5348 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=5346 * @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 165fd4e29525..bd8fc7962626 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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5334 + * See google/container/v1beta1/cluster_service.proto;l=5332 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5340 + * google/container/v1beta1/cluster_service.proto;l=5338 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5344 + * See google/container/v1beta1/cluster_service.proto;l=5342 * @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=5348 + * See google/container/v1beta1/cluster_service.proto;l=5346 * @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=5348 + * See google/container/v1beta1/cluster_service.proto;l=5346 * @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 cfe88a179498..b30bef008fdd 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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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 2123f3ac6771..417beb3b9f96 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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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=1556 + * google/container/v1beta1/cluster_service.proto;l=1554 * @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/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index c77b94be7801..dcaedc059601 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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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 d4d5d2f37dac..74469a441bf1 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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4320 + * google/container/v1beta1/cluster_service.proto;l=4318 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4326 + * google/container/v1beta1/cluster_service.proto;l=4324 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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=4330 + * google/container/v1beta1/cluster_service.proto;l=4328 * @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 fea3019af783..b445904898ab 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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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 290999593e5c..5ceb563c1e28 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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5557 + * google/container/v1beta1/cluster_service.proto;l=5555 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5563 + * google/container/v1beta1/cluster_service.proto;l=5561 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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=5567 + * google/container/v1beta1/cluster_service.proto;l=5565 * @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 ae3f0a62348f..b37a53f06775 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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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 2bd019973fbe..0053aec1d3ba 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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5592 + * google/container/v1beta1/cluster_service.proto;l=5590 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5598 + * google/container/v1beta1/cluster_service.proto;l=5596 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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=5602 + * google/container/v1beta1/cluster_service.proto;l=5600 * @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 5e91f551bce5..4409c73bd279 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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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 ae82c5d60ce2..558e338abb08 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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4346 + * google/container/v1beta1/cluster_service.proto;l=4344 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4352 + * google/container/v1beta1/cluster_service.proto;l=4350 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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=4356 + * google/container/v1beta1/cluster_service.proto;l=4354 * @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 3a5a8dcd943a..b01ac1b27aec 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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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 4969ec7d478a..04137749ad59 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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4250 + * google/container/v1beta1/cluster_service.proto;l=4248 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4256 + * google/container/v1beta1/cluster_service.proto;l=4254 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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=4260 + * google/container/v1beta1/cluster_service.proto;l=4258 * @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 38a81ea0d775..e39ddd372a66 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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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 b3e801dc7f81..bb0057a53da8 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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4429 + * google/container/v1beta1/cluster_service.proto;l=4427 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4435 + * google/container/v1beta1/cluster_service.proto;l=4433 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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=4439 + * google/container/v1beta1/cluster_service.proto;l=4437 * @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 19b5318d81a0..4db4d617b981 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=4285 + * google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * google/container/v1beta1/cluster_service.proto;l=4283 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4295 + * google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * google/container/v1beta1/cluster_service.proto;l=4293 * @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=4285 + * See google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * See google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * See google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * See google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * See google/container/v1beta1/cluster_service.proto;l=4283 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4295 + * See google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * See google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * See google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * See google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * See google/container/v1beta1/cluster_service.proto;l=4293 * @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 b55da8c14913..40f73a91a605 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=4285 + * google/container/v1beta1/cluster_service.proto;l=4283 * @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=4285 + * google/container/v1beta1/cluster_service.proto;l=4283 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4291 + * google/container/v1beta1/cluster_service.proto;l=4289 * @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=4295 + * google/container/v1beta1/cluster_service.proto;l=4293 * @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=4295 + * google/container/v1beta1/cluster_service.proto;l=4293 * @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 e71d96da6200..75226efe547c 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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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 134cd72121eb..aef6591aaf9b 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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5818 + * google/container/v1beta1/cluster_service.proto;l=5816 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5824 + * google/container/v1beta1/cluster_service.proto;l=5822 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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=5828 + * google/container/v1beta1/cluster_service.proto;l=5826 * @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 040c717d39c4..43d6ae937545 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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4234 + * See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4234 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4232 * @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 4c49dba408e3..02fa33164755 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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4220 + * See google/container/v1beta1/cluster_service.proto;l=4218 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4226 + * google/container/v1beta1/cluster_service.proto;l=4224 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4230 + * See google/container/v1beta1/cluster_service.proto;l=4228 * @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=4234 + * See google/container/v1beta1/cluster_service.proto;l=4232 * @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=4234 + * See google/container/v1beta1/cluster_service.proto;l=4232 * @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 310412180baa..ae839e283d48 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=5263 + * google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * google/container/v1beta1/cluster_service.proto;l=5261 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5273 + * google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * google/container/v1beta1/cluster_service.proto;l=5271 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5263 + * See google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * See google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * See google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * See google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * See google/container/v1beta1/cluster_service.proto;l=5261 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5273 + * See google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * See google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * See google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * See google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * See google/container/v1beta1/cluster_service.proto;l=5271 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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 9d2d84a7bf20..1f32c1a3142b 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=5263 + * google/container/v1beta1/cluster_service.proto;l=5261 * @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=5263 + * google/container/v1beta1/cluster_service.proto;l=5261 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5269 + * google/container/v1beta1/cluster_service.proto;l=5267 * @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=5273 + * google/container/v1beta1/cluster_service.proto;l=5271 * @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=5273 + * google/container/v1beta1/cluster_service.proto;l=5271 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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=5277 + * See google/container/v1beta1/cluster_service.proto;l=5275 * @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 71974f394bc6..dae146ffee32 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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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 aec7992d213e..4f375c780c16 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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5293 + * google/container/v1beta1/cluster_service.proto;l=5291 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5299 + * google/container/v1beta1/cluster_service.proto;l=5297 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5303 + * google/container/v1beta1/cluster_service.proto;l=5301 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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=5307 + * google/container/v1beta1/cluster_service.proto;l=5305 * @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 1e1ea8b2d316..6015e9be10e7 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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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 e3d0a1c2b2fe..5980c83acd65 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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5618 + * google/container/v1beta1/cluster_service.proto;l=5616 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5624 + * google/container/v1beta1/cluster_service.proto;l=5622 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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=5628 + * google/container/v1beta1/cluster_service.proto;l=5626 * @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 cf703de8fe4a..73970d45c75b 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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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 cda79977bded..187c2df55575 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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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=5951 + * google/container/v1beta1/cluster_service.proto;l=5949 * @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 a63fb8d9c3a8..41c89a01fefc 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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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 821ad13b4843..e50c4e5c7604 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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4035 + * google/container/v1beta1/cluster_service.proto;l=4033 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4041 + * google/container/v1beta1/cluster_service.proto;l=4039 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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=4045 + * google/container/v1beta1/cluster_service.proto;l=4043 * @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 466c91737996..42a000ee5e09 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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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 e2e900ba50ef..117d0b13c1b6 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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4377 + * google/container/v1beta1/cluster_service.proto;l=4375 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4383 + * google/container/v1beta1/cluster_service.proto;l=4381 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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=4387 + * google/container/v1beta1/cluster_service.proto;l=4385 * @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 2e00dea27fc9..d4e5cfeeff01 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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -3569,7 +3569,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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The projectId. */ @java.lang.Deprecated @@ -3597,7 +3597,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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -3625,7 +3625,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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @param value The projectId to set. * @return This builder for chaining. */ @@ -3652,7 +3652,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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3675,7 +3675,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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -3706,7 +3706,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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @return The zone. */ @java.lang.Deprecated @@ -3735,7 +3735,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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @return The bytes for zone. */ @java.lang.Deprecated @@ -3764,7 +3764,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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @param value The zone to set. * @return This builder for chaining. */ @@ -3792,7 +3792,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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3816,7 +3816,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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3845,7 +3845,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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @return The clusterId. */ @java.lang.Deprecated @@ -3872,7 +3872,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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -3899,7 +3899,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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -3925,7 +3925,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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3947,7 +3947,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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -3976,7 +3976,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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The nodePoolId. */ @java.lang.Deprecated @@ -4003,7 +4003,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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -4030,7 +4030,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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -4056,7 +4056,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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4078,7 +4078,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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @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/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index 92cc955ceb43..d49a06dc2e2a 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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @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=4060 + * google/container/v1beta1/cluster_service.proto;l=4058 * @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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @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=4066 + * google/container/v1beta1/cluster_service.proto;l=4064 * @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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @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=4070 + * google/container/v1beta1/cluster_service.proto;l=4068 * @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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @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=4074 + * google/container/v1beta1/cluster_service.proto;l=4072 * @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/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 52b00eaa48d6..6bca86d943c2 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 @@ -82,7 +82,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @return The identityNamespace. */ @java.lang.Override @@ -109,7 +109,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -636,7 +636,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @return The identityNamespace. */ @java.lang.Deprecated @@ -662,7 +662,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -688,7 +688,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -713,7 +713,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @return This builder for chaining. */ @java.lang.Deprecated @@ -734,7 +734,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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @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 9ddacc7d1a2f..065ebd5517c8 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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @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=6255 + * See google/container/v1beta1/cluster_service.proto;l=6253 * @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 eb7db3e73e5d..590a8f1d1ed1 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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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 2afaffc350af..dc1c476ea174 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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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=5806 + * google/container/v1beta1/cluster_service.proto;l=5804 * @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 9034499edbdc..7fbfde7a733d 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,8 +48,6 @@ 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"; diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md index eedc45266620..f6d82e481366 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-containeranalysis - 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-containeranalysis:2.75.0' +implementation 'com.google.cloud:google-cloud-containeranalysis:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "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-containeranalysis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/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-contentwarehouse/README.md b/java-contentwarehouse/README.md index d1bca9bab0dd..975a796d3007 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contentwarehouse - 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-contentwarehouse:0.70.0' +implementation 'com.google.cloud:google-cloud-contentwarehouse:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "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-contentwarehouse.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/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-data-fusion/README.md b/java-data-fusion/README.md index 5689acc62ded..991988e28701 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:1.74.0' +implementation 'com.google.cloud:google-cloud-data-fusion:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "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-data-fusion.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/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-datacatalog/README.md b/java-datacatalog/README.md index 55ad477139a0..60c89a25a8f4 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datacatalog - 1.80.0 + 1.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datacatalog:1.80.0' +implementation 'com.google.cloud:google-cloud-datacatalog:1.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.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-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.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-dataflow/README.md b/java-dataflow/README.md index 938a7acf24cb..4be37df2a300 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataflow - 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-dataflow:0.78.0' +implementation 'com.google.cloud:google-cloud-dataflow:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "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-dataflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/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-dataform/README.md b/java-dataform/README.md index 4ad6ffacafea..c45c58e75a0e 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataform - 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-dataform:0.73.0' +implementation 'com.google.cloud:google-cloud-dataform:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "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-dataform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/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-datalabeling/README.md b/java-datalabeling/README.md index ec6f9169a451..7daff2803835 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalabeling - 0.194.0 + 0.195.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalabeling:0.194.0' +implementation 'com.google.cloud:google-cloud-datalabeling:0.195.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.194.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.195.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.194.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.195.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 2882b5576a26..830a78e5c91d 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalineage - 0.66.0 + 0.67.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalineage:0.66.0' +implementation 'com.google.cloud:google-cloud-datalineage:0.67.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.66.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.67.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.66.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.67.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 5dc629f3ebcf..58f5ccb4166a 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataplex - 1.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataplex:1.72.0' +implementation 'com.google.cloud:google-cloud-dataplex:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.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-dataplex.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.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-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java index 0b776c856f4d..20e74a0dc217 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResult.java @@ -80,7 +80,7 @@ public interface SnippetsOrBuilder * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return Whether the dataplexEntry field is set. */ @java.lang.Deprecated @@ -96,7 +96,7 @@ public interface SnippetsOrBuilder * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return The dataplexEntry. */ @java.lang.Deprecated @@ -174,7 +174,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return Whether the dataplexEntry field is set. */ @java.lang.Override @@ -193,7 +193,7 @@ public boolean hasDataplexEntry() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return The dataplexEntry. */ @java.lang.Override @@ -607,7 +607,7 @@ public Builder mergeFrom( * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return Whether the dataplexEntry field is set. */ @java.lang.Deprecated @@ -625,7 +625,7 @@ public boolean hasDataplexEntry() { * .google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.Snippets.dataplex_entry is - * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1418 + * deprecated. See google/cloud/dataplex/v1/catalog.proto;l=1416 * @return The dataplexEntry. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public com.google.cloud.dataplex.v1.SearchEntriesResult.Snippets getDefaultInsta * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The linkedResource. */ @java.lang.Override @@ -903,7 +903,7 @@ public java.lang.String getLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The bytes for linkedResource. */ @java.lang.Override @@ -967,7 +967,7 @@ public com.google.cloud.dataplex.v1.EntryOrBuilder getDataplexEntryOrBuilder() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return Whether the snippets field is set. */ @java.lang.Override @@ -987,7 +987,7 @@ public boolean hasSnippets() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return The snippets. */ @java.lang.Override @@ -1448,7 +1448,7 @@ public Builder mergeFrom( * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The linkedResource. */ @java.lang.Deprecated @@ -1474,7 +1474,7 @@ public java.lang.String getLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The bytes for linkedResource. */ @java.lang.Deprecated @@ -1500,7 +1500,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @param value The linkedResource to set. * @return This builder for chaining. */ @@ -1525,7 +1525,7 @@ public Builder setLinkedResource(java.lang.String value) { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1546,7 +1546,7 @@ public Builder clearLinkedResource() { * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @param value The bytes for linkedResource to set. * @return This builder for chaining. */ @@ -1707,7 +1707,7 @@ public com.google.cloud.dataplex.v1.EntryOrBuilder getDataplexEntryOrBuilder() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return Whether the snippets field is set. */ @java.lang.Deprecated @@ -1727,7 +1727,7 @@ public boolean hasSnippets() { * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return The snippets. */ @java.lang.Deprecated diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java index ae8f93093e0b..c28b174dba2d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/SearchEntriesResultOrBuilder.java @@ -34,7 +34,7 @@ public interface SearchEntriesResultOrBuilder * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The linkedResource. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface SearchEntriesResultOrBuilder * string linked_resource = 8 [deprecated = true]; * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.linked_resource is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1422 + * google/cloud/dataplex/v1/catalog.proto;l=1420 * @return The bytes for linkedResource. */ @java.lang.Deprecated @@ -84,7 +84,7 @@ public interface SearchEntriesResultOrBuilder * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return Whether the snippets field is set. */ @java.lang.Deprecated @@ -101,7 +101,7 @@ public interface SearchEntriesResultOrBuilder * * * @deprecated google.cloud.dataplex.v1.SearchEntriesResult.snippets is deprecated. See - * google/cloud/dataplex/v1/catalog.proto;l=1427 + * google/cloud/dataplex/v1/catalog.proto;l=1425 * @return The snippets. */ @java.lang.Deprecated diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto index ed9d5c6eec5b..97a2b37659a9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/catalog.proto @@ -36,8 +36,6 @@ option java_package = "com.google.cloud.dataplex.v1"; option php_namespace = "Google\\Cloud\\Dataplex\\V1"; option ruby_package = "Google::Cloud::Dataplex::V1"; -// LINT: LEGACY_NAMES - // The primary resources offered by this service are EntryGroups, EntryTypes, // AspectTypes, Entries and EntryLinks. They collectively let data // administrators organize, manage, secure, and catalog data located across diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index 77969dd9ded3..ee442164ce9d 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.75.0' +implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "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-dataproc-metastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/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-dataproc/README.md b/java-dataproc/README.md index 9204b905ad41..4a46221b743d 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc - 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-dataproc:4.71.0' +implementation 'com.google.cloud:google-cloud-dataproc:4.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.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-cloud-dataproc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/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-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java index a2a79dc7fe75..27787b5f2249 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/Component.java @@ -143,6 +143,16 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { * JUPYTER = 1; */ JUPYTER(1), + /** + * + * + *
    +   * The Jupyter Kernel Gateway.
    +   * 
    + * + * JUPYTER_KERNEL_GATEWAY = 22; + */ + JUPYTER_KERNEL_GATEWAY(22), /** * * @@ -341,6 +351,17 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JUPYTER_VALUE = 1; + /** + * + * + *
    +   * The Jupyter Kernel Gateway.
    +   * 
    + * + * JUPYTER_KERNEL_GATEWAY = 22; + */ + public static final int JUPYTER_KERNEL_GATEWAY_VALUE = 22; + /** * * @@ -464,6 +485,8 @@ public static Component forNumber(int value) { return ICEBERG; case 1: return JUPYTER; + case 22: + return JUPYTER_KERNEL_GATEWAY; case 21: return PIG; case 6: diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java index d5546dddb3fe..04bbbb03de4e 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java @@ -284,7 +284,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026pypi_repository_config\030\001" + " \001(\0132..google.cloud.dataproc.v1.PyPiRepositoryConfigB\003\340A\001\"4\n" + "\024PyPiRepositoryConfig\022\034\n" - + "\017pypi_repository\030\001 \001(\tB\003\340A\001*\365\001\n" + + "\017pypi_repository\030\001 \001(\tB\003\340A\001*\221\002\n" + "\tComponent\022\031\n" + "\025COMPONENT_UNSPECIFIED\020\000\022\014\n" + "\010ANACONDA\020\005\022\t\n" @@ -297,8 +297,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014HIVE_WEBHCAT\020\003\022\010\n" + "\004HUDI\020\022\022\013\n" + "\007ICEBERG\020\023\022\013\n" - + "\007JUPYTER\020\001\022\007\n" - + "\003PIG\020\025\022\n\n" + + "\007JUPYTER\020\001\022\032\n" + + "\026JUPYTER_KERNEL_GATEWAY\020\026\022\007\n" + + "\003PIG\020\025\022\n" + + "\n" + "\006PRESTO\020\006\022\t\n" + "\005TRINO\020\021\022\n\n" + "\006RANGER\020\014\022\010\n" @@ -310,14 +312,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032FAILURE_ACTION_UNSPECIFIED\020\000\022\r\n" + "\tNO_ACTION\020\001\022\n\n" + "\006DELETE\020\002B\247\003\n" - + "\034com.google.cloud.dataproc.v1B\013Share" - + "dProtoP\001Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb\352A^\n" - + " container.googleapis.com/Cluster\022:projects/{pr" - + "oject}/locations/{location}/clusters/{cluster}\352A^\n" - + " metastore.googleapis.com/Serv" - + "ice\022:projects/{project}/locations/{location}/services/{service}\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project" - + "}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\006proto3" + + "\034com.google.cloud.dataproc.v1B\013SharedProtoP\001Z;cl" + + "oud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb\352A^\n" + + " container.googleap" + + "is.com/Cluster\022:projects/{project}/locations/{location}/clusters/{cluster}\352A^\n" + + " metastore.googleapis.com/Service\022:project" + + "s/{project}/locations/{location}/services/{service}\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations/" + + "{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto index 85191acdd2ec..33fb9aff3cae 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto @@ -588,6 +588,9 @@ enum Component { // The Jupyter Notebook. JUPYTER = 1; + // The Jupyter Kernel Gateway. + JUPYTER_KERNEL_GATEWAY = 22; + // The Pig component. PIG = 21; diff --git a/java-datastream/README.md b/java-datastream/README.md index 9c066b146965..6e727e656967 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datastream - 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-datastream:1.73.0' +implementation 'com.google.cloud:google-cloud-datastream:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "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-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/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-deploy/README.md b/java-deploy/README.md index 6605cb8099ee..5baf92c897d4 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-deploy - 1.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-deploy:1.72.0' +implementation 'com.google.cloud:google-cloud-deploy:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.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-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.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-developerconnect/README.md b/java-developerconnect/README.md index c78be3b35a8c..a78ede62968d 100644 --- a/java-developerconnect/README.md +++ b/java-developerconnect/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-developerconnect - 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-developerconnect:0.31.0' +implementation 'com.google.cloud:google-cloud-developerconnect:0.32.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.31.0" +libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "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-developerconnect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.31.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/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-devicestreaming/README.md b/java-devicestreaming/README.md index 1f1708c9865d..0758e5097ff4 100644 --- a/java-devicestreaming/README.md +++ b/java-devicestreaming/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-devicestreaming - 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-devicestreaming:0.14.0' +implementation 'com.google.cloud:google-cloud-devicestreaming:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "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-devicestreaming.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/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-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index 7e7b36697884..239a4d59cc9c 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.85.0' +implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.86.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.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.86.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/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto index c88489d8fe4e..c021a0b0f407 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto @@ -26,8 +26,6 @@ option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; option objc_class_prefix = "DF"; option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1"; -// LINT: LEGACY_NAMES - // A data store connection. It represents a data store in Discovery Engine and // the type of the contents it contains. message DataStoreConnection { diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index bd936a584e3b..779a62c88cb3 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow - 4.80.0 + 4.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow:4.80.0' +implementation 'com.google.cloud:google-cloud-dialogflow:4.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.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-dialogflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.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-discoveryengine/README.md b/java-discoveryengine/README.md index 55cb01912c5c..f12a3f4dc67b 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-discoveryengine - 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-discoveryengine:0.70.0' +implementation 'com.google.cloud:google-cloud-discoveryengine:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.71.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.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/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-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 2aea780330f9..1c340429c10d 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-distributedcloudedge - 0.71.0 + 0.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.71.0' +implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.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-cloud-distributedcloudedge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.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-dlp/README.md b/java-dlp/README.md index 66989ff76394..1c372601aaca 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dlp - 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-dlp:3.78.0' +implementation 'com.google.cloud:google-cloud-dlp:3.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "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-dlp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/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-dms/README.md b/java-dms/README.md index f89de6d6205f..82519dba50ab 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dms - 2.73.0 + 2.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dms:2.73.0' +implementation 'com.google.cloud:google-cloud-dms:2.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.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-dms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.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-document-ai/README.md b/java-document-ai/README.md index 5c475d2f89a2..c98b11ad6343 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.78.0 + 2.79.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.78.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "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-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/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-domains/README.md b/java-domains/README.md index 0e282140e17c..abf1e3fdd376 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-domains - 1.71.0 + 1.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-domains:1.71.0' +implementation 'com.google.cloud:google-cloud-domains:1.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.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-cloud-domains.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.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-edgenetwork/README.md b/java-edgenetwork/README.md index 904712748324..8e814769246f 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-edgenetwork - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-edgenetwork:0.42.0' +implementation 'com.google.cloud:google-cloud-edgenetwork:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.43.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.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.43.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 a0565082060d..70a94cab62fd 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-enterpriseknowledgegraph - 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-enterpriseknowledgegraph:0.70.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "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-enterpriseknowledgegraph.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/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-errorreporting/README.md b/java-errorreporting/README.md index facb6df0d2e4..b269a6faab96 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-errorreporting - 0.195.0-beta + 0.196.0-beta ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-errorreporting:0.195.0-beta' +implementation 'com.google.cloud:google-cloud-errorreporting:0.196.0-beta' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.195.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.196.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.195.0-beta +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.196.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 f694fd085546..3d604d2a45a4 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-essential-contacts:2.74.0' +implementation 'com.google.cloud:google-cloud-essential-contacts:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.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-essential-contacts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.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-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index 474bafa9e4ae..cc5c895b2ad4 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.74.0' +implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "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-eventarc-publishing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/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-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEvent.java b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEvent.java index ec1b097b02a3..3bee0d8c8c93 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEvent.java +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEvent.java @@ -2838,6 +2838,12 @@ public com.google.protobuf.ByteString getTextDataBytes() { * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -2854,6 +2860,12 @@ public boolean hasProtoData() { * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -2873,6 +2885,12 @@ public com.google.protobuf.Any getProtoData() { * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4476,6 +4494,12 @@ public Builder setTextDataBytes(com.google.protobuf.ByteString value) { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4492,6 +4516,12 @@ public boolean hasProtoData() { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4518,6 +4548,12 @@ public com.google.protobuf.Any getProtoData() { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4541,6 +4577,12 @@ public Builder setProtoData(com.google.protobuf.Any value) { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4561,6 +4603,12 @@ public Builder setProtoData(com.google.protobuf.Any.Builder builderForValue) { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4592,6 +4640,12 @@ public Builder mergeProtoData(com.google.protobuf.Any value) { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4618,6 +4672,12 @@ public Builder clearProtoData() { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4631,6 +4691,12 @@ public com.google.protobuf.Any.Builder getProtoDataBuilder() { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -4652,6 +4718,12 @@ public com.google.protobuf.AnyOrBuilder getProtoDataOrBuilder() { * *
          * Optional. Proto data.
    +     *
    +     * NOTE: The `protoData` field only functions as expected when the payload
    +     * is specifically a `CloudEvent` message type, and can't be used for
    +     * arbitrary protocol buffer messages. For any other protocol buffer type,
    +     * you must serialize your proto message into bytes, and use the
    +     * `binaryData` field instead.
          * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEventOrBuilder.java b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEventOrBuilder.java index b5f8a9c9eb72..236efafe00ba 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEventOrBuilder.java +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/CloudEventOrBuilder.java @@ -287,6 +287,12 @@ com.google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue getA * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -300,6 +306,12 @@ com.google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue getA * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -313,6 +325,12 @@ com.google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue getA * *
        * Optional. Proto data.
    +   *
    +   * NOTE: The `protoData` field only functions as expected when the payload
    +   * is specifically a `CloudEvent` message type, and can't be used for
    +   * arbitrary protocol buffer messages. For any other protocol buffer type,
    +   * you must serialize your proto message into bytes, and use the
    +   * `binaryData` field instead.
        * 
    * * .google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/cloud_event.proto b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/cloud_event.proto index 17ff1c1df7ba..169be2905aa9 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/cloud_event.proto +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/cloud_event.proto @@ -90,6 +90,12 @@ message CloudEvent { string text_data = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. Proto data. + // + // NOTE: The `protoData` field only functions as expected when the payload + // is specifically a `CloudEvent` message type, and can't be used for + // arbitrary protocol buffer messages. For any other protocol buffer type, + // you must serialize your proto message into bytes, and use the + // `binaryData` field instead. google.protobuf.Any proto_data = 8 [(google.api.field_behavior) = OPTIONAL]; } } diff --git a/java-eventarc/README.md b/java-eventarc/README.md index 4a0f2bd50664..c8edeef90a16 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc - 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-eventarc:1.74.0' +implementation 'com.google.cloud:google-cloud-eventarc:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "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-eventarc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/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-filestore/README.md b/java-filestore/README.md index 8edc1f59c979..9b6d83eaf769 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-filestore - 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-filestore:1.75.0' +implementation 'com.google.cloud:google-cloud-filestore:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "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-filestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/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-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto b/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto index 9a6d88e602c5..43ac3dce8f39 100644 --- a/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto +++ b/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto @@ -34,8 +34,6 @@ option java_outer_classname = "CloudFilestoreServiceProto"; option java_package = "com.google.cloud.filestore.v1"; option php_namespace = "Google\\Cloud\\Filestore\\V1"; -// LINT: LEGACY_NAMES - // Configures and manages Filestore resources. // // Filestore Manager v1. diff --git a/java-financialservices/README.md b/java-financialservices/README.md index 7d79422066bb..534ee05dbec6 100644 --- a/java-financialservices/README.md +++ b/java-financialservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-financialservices - 0.15.0 + 0.16.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-financialservices:0.15.0' +implementation 'com.google.cloud:google-cloud-financialservices:0.16.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.16.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.15.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.16.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 525ad55fb2ae..c278100dc65e 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-functions - 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-functions:2.76.0' +implementation 'com.google.cloud:google-cloud-functions:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "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-functions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/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-gdchardwaremanagement/README.md b/java-gdchardwaremanagement/README.md index 16aaa39be827..e6b7b2f4c3e2 100644 --- a/java-gdchardwaremanagement/README.md +++ b/java-gdchardwaremanagement/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gdchardwaremanagement - 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-gdchardwaremanagement:0.29.0' +implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "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-gdchardwaremanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/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-geminidataanalytics/README.md b/java-geminidataanalytics/README.md index f8a402a02d3d..c9b8e551e193 100644 --- a/java-geminidataanalytics/README.md +++ b/java-geminidataanalytics/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-geminidataanalytics - 0.2.0 + 0.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.2.0' +implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.3.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 e04cedcf732c..5e6e26f8037c 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-backup:0.73.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "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-gke-backup.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/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-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index 6ccbeb725cd6..48b4e7651882 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.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-connect-gateway:0.75.0' +implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.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-gke-connect-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/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-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 8c0a39fe1d6a..f585479e905e 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.73.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "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-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/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-gkehub/README.md b/java-gkehub/README.md index 517b039d2810..e4bf0fb83e26 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkehub - 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-gkehub:1.74.0' +implementation 'com.google.cloud:google-cloud-gkehub:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "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-gkehub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/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-grafeas/README.md b/java-grafeas/README.md index 55feb66e9b4a..371b2757a10a 100644 --- a/java-grafeas/README.md +++ b/java-grafeas/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: io.grafeas grafeas - 2.75.0 + 2.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'io.grafeas:grafeas:2.75.0' +implementation 'io.grafeas:grafeas:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "io.grafeas" % "grafeas" % "2.75.0" +libraryDependencies += "io.grafeas" % "grafeas" % "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/io.grafeas/grafeas.svg -[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/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-gsuite-addons/README.md b/java-gsuite-addons/README.md index 2434ecb0ccae..00e0010ba0d1 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.74.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.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-gsuite-addons.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.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-iam-admin/README.md b/java-iam-admin/README.md index 43305a36511b..8112b9430214 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-admin - 3.69.0 + 3.70.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-admin:3.69.0' +implementation 'com.google.cloud:google-iam-admin:3.70.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.69.0" +libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.70.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.69.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.70.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 3a188a2407b2..1f4e6b9be304 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-policy - 1.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-policy:1.72.0' +implementation 'com.google.cloud:google-iam-policy:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.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-iam-policy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.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-iamcredentials/README.md b/java-iamcredentials/README.md index a555c3d0ea3d..4752b9ccb511 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iamcredentials - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iamcredentials:2.74.0' +implementation 'com.google.cloud:google-cloud-iamcredentials:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.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-iamcredentials.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.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-iap/README.md b/java-iap/README.md index 96fdde4794e1..7e3289fe0da4 100644 --- a/java-iap/README.md +++ b/java-iap/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iap - 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-iap:0.30.0' +implementation 'com.google.cloud:google-cloud-iap:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.31.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.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/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-ids/README.md b/java-ids/README.md index 311bcb904907..2b218f205036 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ids - 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-ids:1.73.0' +implementation 'com.google.cloud:google-cloud-ids:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "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-ids.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/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-infra-manager/README.md b/java-infra-manager/README.md index 83300e01c020..a6db70ebf2a5 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.51.0 + 0.52.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-infra-manager:0.51.0' +implementation 'com.google.cloud:google-cloud-infra-manager:0.52.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.51.0" +libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.52.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.51.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.52.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 511144779c1a..7b4076702fb5 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iot - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iot:2.74.0' +implementation 'com.google.cloud:google-cloud-iot:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.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-iot.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.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-java-shopping-merchant-issue-resolution/README.md b/java-java-shopping-merchant-issue-resolution/README.md index 718d25d14537..5c9b11ee317f 100644 --- a/java-java-shopping-merchant-issue-resolution/README.md +++ b/java-java-shopping-merchant-issue-resolution/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.3.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 7f1cf5628c7e..a02c7043ffc5 100644 --- a/java-java-shopping-merchant-order-tracking/README.md +++ b/java-java-shopping-merchant-order-tracking/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.3.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 122efc0327ef..332f426c5cd0 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 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-kms:2.77.0' +implementation 'com.google.cloud:google-cloud-kms:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "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-kms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/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-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto index c8350038230f..c27d6633edd1 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto +++ b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto @@ -29,8 +29,6 @@ option java_outer_classname = "KmsResourcesProto"; option java_package = "com.google.cloud.kms.v1"; option php_namespace = "Google\\Cloud\\Kms\\V1"; -// LINT: LEGACY_NAMES - // A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of // [CryptoKeys][google.cloud.kms.v1.CryptoKey]. message KeyRing { diff --git a/java-kmsinventory/README.md b/java-kmsinventory/README.md index 8ea6e1aa5a54..93982ec6fba1 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kmsinventory - 0.63.0 + 0.64.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kmsinventory:0.63.0' +implementation 'com.google.cloud:google-cloud-kmsinventory:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.64.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.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.64.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 6afd824d0e53..54388a958f7c 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-language - 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-language:2.75.0' +implementation 'com.google.cloud:google-cloud-language:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.76.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.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/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-licensemanager/README.md b/java-licensemanager/README.md index 774219fd24a5..f52ae7488f15 100644 --- a/java-licensemanager/README.md +++ b/java-licensemanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-licensemanager - 0.7.0 + 0.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-licensemanager:0.7.0' +implementation 'com.google.cloud:google-cloud-licensemanager:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.8.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.7.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.8.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 85c5eecb0c72..2a79a15430df 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-life-sciences:0.76.0' +implementation 'com.google.cloud:google-cloud-life-sciences:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "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-life-sciences.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/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-locationfinder/README.md b/java-locationfinder/README.md index 4bc3f28f7437..664a07c1be60 100644 --- a/java-locationfinder/README.md +++ b/java-locationfinder/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import diff --git a/java-lustre/README.md b/java-lustre/README.md index da6ddd7a7da9..7184f7456c54 100644 --- a/java-lustre/README.md +++ b/java-lustre/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-lustre - 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-lustre:0.14.0' +implementation 'com.google.cloud:google-cloud-lustre:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "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-lustre.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/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-maintenance/README.md b/java-maintenance/README.md index e983c1598b69..9156a722b067 100644 --- a/java-maintenance/README.md +++ b/java-maintenance/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-maintenance - 0.8.0 + 0.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-maintenance:0.8.0' +implementation 'com.google.cloud:google-cloud-maintenance:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.9.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.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.9.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 4867a5fbbca2..008fd48755ad 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managed-identities:1.72.0' +implementation 'com.google.cloud:google-cloud-managed-identities:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.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-managed-identities.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.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-managedkafka/README.md b/java-managedkafka/README.md index 54cdf79a7c5b..59c3eeeed567 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managedkafka - 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-managedkafka:0.30.0' +implementation 'com.google.cloud:google-cloud-managedkafka:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "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-managedkafka.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/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-maps-addressvalidation/README.md b/java-maps-addressvalidation/README.md index d325fba5d8b3..4f015b6824be 100644 --- a/java-maps-addressvalidation/README.md +++ b/java-maps-addressvalidation/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-addressvalidation - 0.68.0 + 0.69.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-addressvalidation:0.68.0' +implementation 'com.google.maps:google-maps-addressvalidation:0.69.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.68.0" +libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.69.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.68.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/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-maps-area-insights/README.md b/java-maps-area-insights/README.md index acb35f302ffa..8d0afdd294c1 100644 --- a/java-maps-area-insights/README.md +++ b/java-maps-area-insights/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.25.0 + 0.26.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-area-insights:0.25.0' +implementation 'com.google.maps:google-maps-area-insights:0.26.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.25.0" +libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "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.maps/google-maps-area-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.25.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/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-maps-fleetengine-delivery/README.md b/java-maps-fleetengine-delivery/README.md index b535db6da04c..067fb44ec729 100644 --- a/java-maps-fleetengine-delivery/README.md +++ b/java-maps-fleetengine-delivery/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.21.0 + 0.22.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine-delivery:0.21.0' +implementation 'com.google.maps:google-maps-fleetengine-delivery:0.22.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.21.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.22.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.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.22.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 b022ba6402a6..34ccdf019bb0 100644 --- a/java-maps-fleetengine/README.md +++ b/java-maps-fleetengine/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-fleetengine - 0.21.0 + 0.22.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine:0.21.0' +implementation 'com.google.maps:google-maps-fleetengine:0.22.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.21.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.22.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.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.22.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 962ba93f6adb..3f88ee80cf16 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-mapsplatformdatasets - 0.63.0 + 0.64.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.63.0' +implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.63.0" +libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.64.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.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.64.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 2e10fb3c92ed..e1414d2c0932 100644 --- a/java-maps-places/README.md +++ b/java-maps-places/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-places - 0.45.0 + 0.46.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-places:0.45.0' +implementation 'com.google.maps:google-maps-places:0.46.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-places" % "0.45.0" +libraryDependencies += "com.google.maps" % "google-maps-places" % "0.46.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.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.46.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 eba325781601..8697dd5f7f1d 100644 --- a/java-maps-routeoptimization/README.md +++ b/java-maps-routeoptimization/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-routeoptimization - 0.32.0 + 0.33.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routeoptimization:0.32.0' +implementation 'com.google.maps:google-maps-routeoptimization:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.32.0" +libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "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.maps/google-maps-routeoptimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/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-routing/README.md b/java-maps-routing/README.md index e79e358bdc90..f62b8c44a943 100644 --- a/java-maps-routing/README.md +++ b/java-maps-routing/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-routing - 1.59.0 + 1.60.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routing:1.59.0' +implementation 'com.google.maps:google-maps-routing:1.60.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.59.0" +libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.60.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.59.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.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-maps-solar/README.md b/java-maps-solar/README.md index 1ae6d6b5dec0..dccd17a99417 100644 --- a/java-maps-solar/README.md +++ b/java-maps-solar/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-solar - 0.33.0 + 0.34.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-solar:0.33.0' +implementation 'com.google.maps:google-maps-solar:0.34.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.33.0" +libraryDependencies += "com.google.maps" % "google-maps-solar" % "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.maps/google-maps-solar.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/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-marketingplatformadminapi/README.md b/java-marketingplatformadminapi/README.md index b55f325a6a3c..804d6af2291e 100644 --- a/java-marketingplatformadminapi/README.md +++ b/java-marketingplatformadminapi/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.ads-marketingplatform admin - 0.23.0 + 0.24.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.ads-marketingplatform:admin:0.23.0' +implementation 'com.google.ads-marketingplatform:admin:0.24.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.23.0" +libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "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.ads-marketingplatform/admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/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-mediatranslation/README.md b/java-mediatranslation/README.md index 4f9f05414045..419d7dc31eab 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-mediatranslation - 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-mediatranslation:0.80.0' +implementation 'com.google.cloud:google-cloud-mediatranslation:0.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "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-mediatranslation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/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-meet/README.md b/java-meet/README.md index cf88a5c76b9e..75bd376dc60e 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-meet - 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-meet:0.41.0' +implementation 'com.google.cloud:google-cloud-meet:0.42.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.41.0" +libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.42.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.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/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-memcache/README.md b/java-memcache/README.md index 479b08f7e2b7..30f432b8954b 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-memcache - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.74.0' +implementation 'com.google.cloud:google-cloud-memcache:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.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-memcache.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.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-migrationcenter/README.md b/java-migrationcenter/README.md index 09dc902710e0..39b7ff126fc5 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-migrationcenter - 0.56.0 + 0.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-migrationcenter:0.56.0' +implementation 'com.google.cloud:google-cloud-migrationcenter:0.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.57.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.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.57.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 1c795286c711..ae71684c64c0 100644 --- a/java-modelarmor/README.md +++ b/java-modelarmor/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-modelarmor - 0.15.0 + 0.16.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-modelarmor:0.15.0' +implementation 'com.google.cloud:google-cloud-modelarmor:0.16.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.16.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.15.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.16.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 a3cc723ff05b..72d79606878a 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.76.0' +implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "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-monitoring-dashboard.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/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-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index 7a03b2c1dab1..ebaa4447be34 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.68.0 + 0.69.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.68.0' +implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.69.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.68.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.69.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.68.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/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-monitoring/README.md b/java-monitoring/README.md index 2c04d2844acb..4150964aed1a 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring - 3.75.0 + 3.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring:3.75.0' +implementation 'com.google.cloud:google-cloud-monitoring:3.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.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-monitoring.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.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-netapp/README.md b/java-netapp/README.md index 3021c5df736d..570ad3851161 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-netapp - 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-netapp:0.53.0' +implementation 'com.google.cloud:google-cloud-netapp:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.54.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.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/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-network-management/README.md b/java-network-management/README.md index 31b81fd1e218..2e40fff8cf01 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.75.0 + 1.76.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-management:1.75.0' +implementation 'com.google.cloud:google-cloud-network-management:1.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "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-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/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-network-security/README.md b/java-network-security/README.md index 63b1f8c4a7d3..f5ad161444e4 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-security:0.77.0' +implementation 'com.google.cloud:google-cloud-network-security:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "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-network-security.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/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-networkconnectivity/README.md b/java-networkconnectivity/README.md index ee7d3ab59760..01d74ff87b3a 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkconnectivity - 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-networkconnectivity:1.73.0' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "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-networkconnectivity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/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-networkservices/README.md b/java-networkservices/README.md index 69dd4c507dd9..df300c7e975f 100644 --- a/java-networkservices/README.md +++ b/java-networkservices/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkservices - 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-networkservices:0.30.0' +implementation 'com.google.cloud:google-cloud-networkservices:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "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-networkservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/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-notebooks/README.md b/java-notebooks/README.md index f9d4b0075d68..c547910d0038 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-notebooks - 1.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-notebooks:1.72.0' +implementation 'com.google.cloud:google-cloud-notebooks:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.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-notebooks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.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-optimization/README.md b/java-optimization/README.md index f47d8881f4a1..694980437eac 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-optimization - 1.72.0 + 1.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-optimization:1.72.0' +implementation 'com.google.cloud:google-cloud-optimization:1.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.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-optimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.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-oracledatabase/README.md b/java-oracledatabase/README.md index 8821ee4dc8d1..90b068f51323 100644 --- a/java-oracledatabase/README.md +++ b/java-oracledatabase/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-oracledatabase - 0.23.0 + 0.24.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-oracledatabase:0.23.0' +implementation 'com.google.cloud:google-cloud-oracledatabase:0.24.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.23.0" +libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "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.cloud/google-cloud-oracledatabase.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/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-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index 7943540f3fe1..d846795c2068 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.74.0' +implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "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-orchestration-airflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/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-orgpolicy/README.md b/java-orgpolicy/README.md index 6967b1909cbf..81c07a6d27a5 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orgpolicy - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orgpolicy:2.74.0' +implementation 'com.google.cloud:google-cloud-orgpolicy:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.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-orgpolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.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-os-config/README.md b/java-os-config/README.md index c0764b2e1bc8..52ae01959125 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-config:2.76.0' +implementation 'com.google.cloud:google-cloud-os-config:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "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-os-config.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/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-login/README.md b/java-os-login/README.md index 15d95c77e115..99e630f74173 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 2.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-login:2.73.0' +implementation 'com.google.cloud:google-cloud-os-login:2.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.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-os-login.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.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-parallelstore/README.md b/java-parallelstore/README.md index 8d305fdeb5fb..916421537c98 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parallelstore - 0.37.0 + 0.38.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parallelstore:0.37.0' +implementation 'com.google.cloud:google-cloud-parallelstore:0.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.38.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.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.38.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 ca6addb4416c..d8e53ad370d1 100644 --- a/java-parametermanager/README.md +++ b/java-parametermanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parametermanager - 0.18.0 + 0.19.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parametermanager:0.18.0' +implementation 'com.google.cloud:google-cloud-parametermanager:0.19.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.18.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.19.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.18.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.19.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 57f80caccbe9..9dc205dda01f 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-phishingprotection - 0.105.0 + 0.106.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-phishingprotection:0.105.0' +implementation 'com.google.cloud:google-cloud-phishingprotection:0.106.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.105.0" +libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.106.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.105.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.106.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 ec106d9e4fce..75e011cf28da 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.73.0' +implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "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-policy-troubleshooter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/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-policysimulator/README.md b/java-policysimulator/README.md index a06b59d7f637..155038b3ac5c 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policysimulator - 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-policysimulator:0.53.0' +implementation 'com.google.cloud:google-cloud-policysimulator:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.54.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.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/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-private-catalog/README.md b/java-private-catalog/README.md index 5c83b4fd62c2..cbdc825b4d52 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-private-catalog:0.76.0' +implementation 'com.google.cloud:google-cloud-private-catalog:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "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-private-catalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/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-privilegedaccessmanager/README.md b/java-privilegedaccessmanager/README.md index c1cbd188d762..c1d4fab02bbe 100644 --- a/java-privilegedaccessmanager/README.md +++ b/java-privilegedaccessmanager/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-privilegedaccessmanager - 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-privilegedaccessmanager:0.28.0' +implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "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-privilegedaccessmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/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-profiler/README.md b/java-profiler/README.md index f221a61e17d1..a14707ba0931 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-profiler - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-profiler:2.74.0' +implementation 'com.google.cloud:google-cloud-profiler:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.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-profiler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.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-publicca/README.md b/java-publicca/README.md index 8987251c8b39..876996e76aa8 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-publicca - 0.71.0 + 0.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-publicca:0.71.0' +implementation 'com.google.cloud:google-cloud-publicca:0.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.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-cloud-publicca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.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-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index 89b7b206bf87..d65208c68a06 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-rapidmigrationassessment - 0.57.0 + 0.58.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.57.0' +implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.58.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.57.0" +libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.58.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.57.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.58.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 1612b2c6b870..a1e4de72949a 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recaptchaenterprise - 3.71.0 + 3.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.71.0' +implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "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-cloud-recaptchaenterprise.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/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-recommendations-ai/README.md b/java-recommendations-ai/README.md index 9b0261279f50..3257934cb900 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -24,7 +24,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.81.0 + 0.82.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommendations-ai:0.81.0' +implementation 'com.google.cloud:google-cloud-recommendations-ai:0.82.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.81.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.82.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.81.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.82.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 6e7cb640004c..97cb19575191 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommender - 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-recommender:2.76.0' +implementation 'com.google.cloud:google-cloud-recommender:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "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-recommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/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-redis-cluster/README.md b/java-redis-cluster/README.md index c2ce472d7731..f5f53c39b595 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.46.0 + 0.47.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis-cluster:0.46.0' +implementation 'com.google.cloud:google-cloud-redis-cluster:0.47.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.46.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.47.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.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/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-redis/README.md b/java-redis/README.md index ad48966075ed..d71a0dfe930c 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis - 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-redis:2.77.0' +implementation 'com.google.cloud:google-cloud-redis:2.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "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-redis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/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-resourcemanager/README.md b/java-resourcemanager/README.md index fb348735cb19..f710c7c82da0 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-resourcemanager - 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-resourcemanager:1.76.0' +implementation 'com.google.cloud:google-cloud-resourcemanager:1.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.77.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.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/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-retail/README.md b/java-retail/README.md index 09a9519c6b13..c7489becb817 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-retail - 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-retail:2.76.0' +implementation 'com.google.cloud:google-cloud-retail:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "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-retail.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/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-run/README.md b/java-run/README.md index a3d3ab2565cf..271e4957fb54 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-run - 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-run:0.74.0' +implementation 'com.google.cloud:google-cloud-run:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-run" % "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-run.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/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-saasservicemgmt/README.md b/java-saasservicemgmt/README.md index 9ac0c628a2b0..748ffee47a5b 100644 --- a/java-saasservicemgmt/README.md +++ b/java-saasservicemgmt/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-saasservicemgmt - 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-saasservicemgmt:0.4.0' +implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "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-saasservicemgmt.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/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-scheduler/README.md b/java-scheduler/README.md index a59dffcf3a37..728ba2599e2c 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-scheduler - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.74.0' +implementation 'com.google.cloud:google-cloud-scheduler:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.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-scheduler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.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-secretmanager/README.md b/java-secretmanager/README.md index d9f86e5623e6..059d6a8113b0 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-secretmanager - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-secretmanager:2.74.0' +implementation 'com.google.cloud:google-cloud-secretmanager:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.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-secretmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.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-securesourcemanager/README.md b/java-securesourcemanager/README.md index e6eaa94a756f..fc4eeb17d6d3 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securesourcemanager - 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-securesourcemanager:0.44.0' +implementation 'com.google.cloud:google-cloud-securesourcemanager:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.45.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.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/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-security-private-ca/README.md b/java-security-private-ca/README.md index 0582de0cf126..a884648c574d 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 2.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-security-private-ca:2.76.0' +implementation 'com.google.cloud:google-cloud-security-private-ca:2.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "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-security-private-ca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/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-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 72e7daf04317..184716498ecd 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.77.0' +implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.78.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.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/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-securitycenter/README.md b/java-securitycenter/README.md index 194e31ae5c52..b1259f76e97d 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.82.0 + 2.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter:2.82.0' +implementation 'com.google.cloud:google-cloud-securitycenter:2.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.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-securitycenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.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-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index 7c9c1029e4a9..ef952ffc12e8 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycentermanagement - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.42.0' +implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.43.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.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.43.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 1ecce2c6ca15..0c4e9fe84785 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securityposture - 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-securityposture:0.39.0' +implementation 'com.google.cloud:google-cloud-securityposture:0.40.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.39.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.40.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.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/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-service-control/README.md b/java-service-control/README.md index 362d093e81ac..640f62ca119e 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-control:1.74.0' +implementation 'com.google.cloud:google-cloud-service-control:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "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-service-control.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/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-service-management/README.md b/java-service-management/README.md index 50413c1d2831..0fc44999622e 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.72.0 + 3.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-management:3.72.0' +implementation 'com.google.cloud:google-cloud-service-management:3.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.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-service-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.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-service-usage/README.md b/java-service-usage/README.md index 7aa1a7dca97c..dc53fe203243 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-usage:2.74.0' +implementation 'com.google.cloud:google-cloud-service-usage:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.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-usage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.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/google-cloud-service-usage/src/main/resources/META-INF/native-image/com.google.api.serviceusage.v1/reflect-config.json b/java-service-usage/google-cloud-service-usage/src/main/resources/META-INF/native-image/com.google.api.serviceusage.v1/reflect-config.json index a0963238bc41..0ecc36106103 100644 --- a/java-service-usage/google-cloud-service-usage/src/main/resources/META-INF/native-image/com.google.api.serviceusage.v1/reflect-config.json +++ b/java-service-usage/google-cloud-service-usage/src/main/resources/META-INF/native-image/com.google.api.serviceusage.v1/reflect-config.json @@ -233,6 +233,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.GoSettings", "queryAllDeclaredConstructors": true, diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index 9f59c022a259..10a4e89733bb 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicedirectory - 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-servicedirectory:2.75.0' +implementation 'com.google.cloud:google-cloud-servicedirectory:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "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-servicedirectory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/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-servicehealth/README.md b/java-servicehealth/README.md index a2a30795784c..029031961d04 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicehealth - 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-servicehealth:0.41.0' +implementation 'com.google.cloud:google-cloud-servicehealth:0.42.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.41.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.42.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.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/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-shell/README.md b/java-shell/README.md index 4003cb3f6517..6386d65250e3 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-shell - 2.73.0 + 2.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.73.0' +implementation 'com.google.cloud:google-cloud-shell:2.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.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-shell.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.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-shopping-css/README.md b/java-shopping-css/README.md index 02b3734e332a..3a9dbcba29ac 100644 --- a/java-shopping-css/README.md +++ b/java-shopping-css/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.shopping google-shopping-css - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-css:0.42.0' +implementation 'com.google.shopping:google-shopping-css:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.42.0" +libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.43.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.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.43.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 082a3f89adea..08a9c92321af 100644 --- a/java-shopping-merchant-accounts/README.md +++ b/java-shopping-merchant-accounts/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-accounts:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-accounts:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.3.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 9ef29dc493d9..b79f723c61f7 100644 --- a/java-shopping-merchant-conversions/README.md +++ b/java-shopping-merchant-conversions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-conversions:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-conversions:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.3.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 03ba1d0ce310..f23ce027c29a 100644 --- a/java-shopping-merchant-datasources/README.md +++ b/java-shopping-merchant-datasources/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-datasources:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-datasources:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.3.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 04087076a651..3963d47997f3 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-inventories:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-inventories:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.3.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 0f366abe610e..8d9589175246 100644 --- a/java-shopping-merchant-lfp/README.md +++ b/java-shopping-merchant-lfp/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-lfp:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-lfp:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.3.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 1a8e561c1582..f10d460a4a52 100644 --- a/java-shopping-merchant-notifications/README.md +++ b/java-shopping-merchant-notifications/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-notifications:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-notifications:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.3.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 d172576ec183..29910bfa0eeb 100644 --- a/java-shopping-merchant-product-studio/README.md +++ b/java-shopping-merchant-product-studio/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.14.0 + 0.15.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.14.0' +implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.14.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "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.shopping/google-shopping-merchant-productstudio.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/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-shopping-merchant-products/README.md b/java-shopping-merchant-products/README.md index 7594918a6a92..ee6af4490a3b 100644 --- a/java-shopping-merchant-products/README.md +++ b/java-shopping-merchant-products/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-products:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-products:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.3.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/google-shopping-merchant-products/src/main/resources/META-INF/native-image/com.google.shopping.merchant.products.v1/reflect-config.json b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/resources/META-INF/native-image/com.google.shopping.merchant.products.v1/reflect-config.json index 0f3f051051eb..f0db507cc19c 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/resources/META-INF/native-image/com.google.shopping.merchant.products.v1/reflect-config.json +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/resources/META-INF/native-image/com.google.shopping.merchant.products.v1/reflect-config.json @@ -1250,6 +1250,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.merchant.products.v1.CarrierTransitTimeOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.shopping.merchant.products.v1.CertificationAuthority", "queryAllDeclaredConstructors": true, @@ -1538,6 +1547,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.merchant.products.v1.ProductAttributes$CarrierPriceOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.merchant.products.v1.ProductAttributes$CarrierShipping", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.merchant.products.v1.ProductAttributes$CarrierShipping$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.shopping.merchant.products.v1.ProductCertification", "queryAllDeclaredConstructors": true, diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/CarrierTransitTimeOption.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/CarrierTransitTimeOption.java new file mode 100644 index 000000000000..01970c5f5b16 --- /dev/null +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/CarrierTransitTimeOption.java @@ -0,0 +1,1035 @@ +/* + * 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/shopping/merchant/products/v1/products_common.proto + +// Protobuf Java Version: 3.25.8 +package com.google.shopping.merchant.products.v1; + +/** + * + * + *
    + * Possible carrier where transit time is coming from.
    + * 
    + * + * Protobuf enum {@code google.shopping.merchant.products.v1.CarrierTransitTimeOption} + */ +public enum CarrierTransitTimeOption implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +   * Carrier transit time option is unspecified.
    +   * 
    + * + * CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED = 0; + */ + CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED(0), + /** + * + * + *
    +   * DHL Paket shipping service.
    +   * 
    + * + * DHL_PAKET = 1; + */ + DHL_PAKET(1), + /** + * + * + *
    +   * DHL Packchen shipping service.
    +   * 
    + * + * DHL_PACKCHEN = 2; + */ + DHL_PACKCHEN(2), + /** + * + * + *
    +   * DHL Express Easy shipping service.
    +   * 
    + * + * DHL_EXPRESSEASY = 3; + */ + DHL_EXPRESSEASY(3), + /** + * + * + *
    +   * DPD Express shipping service.
    +   * 
    + * + * DPD_EXPRESS = 4; + */ + DPD_EXPRESS(4), + /** + * + * + *
    +   * DPD Classic Parcel shipping service.
    +   * 
    + * + * DPD_CLASSIC_PARCEL = 5; + */ + DPD_CLASSIC_PARCEL(5), + /** + * + * + *
    +   * Hermes Haustur shipping service.
    +   * 
    + * + * HERMES_HAUSTUR = 6; + */ + HERMES_HAUSTUR(6), + /** + * + * + *
    +   * Hermes Paketshop shipping service.
    +   * 
    + * + * HERMES_PAKETSHOP = 7; + */ + HERMES_PAKETSHOP(7), + /** + * + * + *
    +   * GLS Business shipping service.
    +   * 
    + * + * GLS_BUSINESS = 8; + */ + GLS_BUSINESS(8), + /** + * + * + *
    +   * GLS Express shipping service.
    +   * 
    + * + * GLS_EXPRESS = 9; + */ + GLS_EXPRESS(9), + /** + * + * + *
    +   * GLS Private shipping service.
    +   * 
    + * + * GLS_PRIVATE = 10; + */ + GLS_PRIVATE(10), + /** + * + * + *
    +   * Colissimo Domicile shipping service.
    +   * 
    + * + * COLISSIMO_DOMICILE = 11; + */ + COLISSIMO_DOMICILE(11), + /** + * + * + *
    +   * DHL Express 12 AM shipping service.
    +   * 
    + * + * DHL_EXPRESS_12AM = 12; + */ + DHL_EXPRESS_12AM(12), + /** + * + * + *
    +   * DHL Express 9 AM shipping service.
    +   * 
    + * + * DHL_EXPRESS_9AM = 13; + */ + DHL_EXPRESS_9AM(13), + /** + * + * + *
    +   * GEODIS Express shipping service.
    +   * 
    + * + * GEODIS_EXPRESS = 14; + */ + GEODIS_EXPRESS(14), + /** + * + * + *
    +   * GEODIS Pack 30 shipping service.
    +   * 
    + * + * GEODIS_PACK_30 = 15; + */ + GEODIS_PACK_30(15), + /** + * + * + *
    +   * GEODIS Same Day shipping service.
    +   * 
    + * + * GEODIS_SAME_DAY = 16; + */ + GEODIS_SAME_DAY(16), + /** + * + * + *
    +   * GEODIS Top 24 shipping service.
    +   * 
    + * + * GEODIS_TOP_24 = 17; + */ + GEODIS_TOP_24(17), + /** + * + * + *
    +   * TNT Essentiel 24H shipping service.
    +   * 
    + * + * TNT_ESSENTIEL_24H = 18; + */ + TNT_ESSENTIEL_24H(18), + /** + * + * + *
    +   * TNT Essentiel Flexibilite shipping service.
    +   * 
    + * + * TNT_ESSENTIEL_FLEXIBILITE = 19; + */ + TNT_ESSENTIEL_FLEXIBILITE(19), + /** + * + * + *
    +   * FedEx Ground shipping service.
    +   * 
    + * + * FEDEX_GROUND = 20; + */ + FEDEX_GROUND(20), + /** + * + * + *
    +   * FedEx Home Delivery shipping service.
    +   * 
    + * + * FEDEX_HOME_DELIVERY = 21; + */ + FEDEX_HOME_DELIVERY(21), + /** + * + * + *
    +   * FedEx Express Saver shipping service.
    +   * 
    + * + * FEDEX_EXPRESS_SAVER = 22; + */ + FEDEX_EXPRESS_SAVER(22), + /** + * + * + *
    +   * FedEx First Overnight shipping service.
    +   * 
    + * + * FEDEX_FIRST_OVERNIGHT = 23; + */ + FEDEX_FIRST_OVERNIGHT(23), + /** + * + * + *
    +   * FedEx Priority Overnight shipping service.
    +   * 
    + * + * FEDEX_PRIORITY_OVERNIGHT = 24; + */ + FEDEX_PRIORITY_OVERNIGHT(24), + /** + * + * + *
    +   * FedEx Standard Overnight shipping service.
    +   * 
    + * + * FEDEX_STANDARD_OVERNIGHT = 25; + */ + FEDEX_STANDARD_OVERNIGHT(25), + /** + * + * + *
    +   * FedEx 2Day shipping service.
    +   * 
    + * + * FEDEX_2DAY = 26; + */ + FEDEX_2DAY(26), + /** + * + * + *
    +   * UPS 2nd Day Air shipping service.
    +   * 
    + * + * UPS_2ND_DAY_AIR = 27; + */ + UPS_2ND_DAY_AIR(27), + /** + * + * + *
    +   * UPS 2nd Day AM shipping service.
    +   * 
    + * + * UPS_2ND_DAY_AM = 28; + */ + UPS_2ND_DAY_AM(28), + /** + * + * + *
    +   * UPS 3 Day Select shipping service.
    +   * 
    + * + * UPS_3_DAY_SELECT = 29; + */ + UPS_3_DAY_SELECT(29), + /** + * + * + *
    +   * UPS Ground shipping service.
    +   * 
    + * + * UPS_GROUND = 30; + */ + UPS_GROUND(30), + /** + * + * + *
    +   * UPS Next Day Air shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR = 31; + */ + UPS_NEXT_DAY_AIR(31), + /** + * + * + *
    +   * UPS Next Day Air Early AM shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR_EARLY_AM = 32; + */ + UPS_NEXT_DAY_AIR_EARLY_AM(32), + /** + * + * + *
    +   * UPS Next Day Air Saver shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR_SAVER = 33; + */ + UPS_NEXT_DAY_AIR_SAVER(33), + /** + * + * + *
    +   * USPS Priority Mail Express shipping service.
    +   * 
    + * + * USPS_PRIORITY_MAIL_EXPRESS = 34; + */ + USPS_PRIORITY_MAIL_EXPRESS(34), + /** + * + * + *
    +   * USPS Media Mail shipping service.
    +   * 
    + * + * USPS_MEDIA_MAIL = 35; + */ + USPS_MEDIA_MAIL(35), + /** + * + * + *
    +   * USPS Ground Advantage Retail shipping service.
    +   * 
    + * + * USPS_GROUND_ADVANTAGE_RETAIL = 36; + */ + USPS_GROUND_ADVANTAGE_RETAIL(36), + /** + * + * + *
    +   * USPS Priority Mail shipping service.
    +   * 
    + * + * USPS_PRIORITY_MAIL = 37; + */ + USPS_PRIORITY_MAIL(37), + /** + * + * + *
    +   * USPS Ground Advantage Commercial shipping service.
    +   * 
    + * + * USPS_GROUND_ADVANTAGE_COMMERCIAL = 38; + */ + USPS_GROUND_ADVANTAGE_COMMERCIAL(38), + /** + * + * + *
    +   * USPS First Class Mail shipping service.
    +   * 
    + * + * USPS_FIRST_CLASS_MAIL = 39; + */ + USPS_FIRST_CLASS_MAIL(39), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
    +   * Carrier transit time option is unspecified.
    +   * 
    + * + * CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED = 0; + */ + public static final int CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +   * DHL Paket shipping service.
    +   * 
    + * + * DHL_PAKET = 1; + */ + public static final int DHL_PAKET_VALUE = 1; + + /** + * + * + *
    +   * DHL Packchen shipping service.
    +   * 
    + * + * DHL_PACKCHEN = 2; + */ + public static final int DHL_PACKCHEN_VALUE = 2; + + /** + * + * + *
    +   * DHL Express Easy shipping service.
    +   * 
    + * + * DHL_EXPRESSEASY = 3; + */ + public static final int DHL_EXPRESSEASY_VALUE = 3; + + /** + * + * + *
    +   * DPD Express shipping service.
    +   * 
    + * + * DPD_EXPRESS = 4; + */ + public static final int DPD_EXPRESS_VALUE = 4; + + /** + * + * + *
    +   * DPD Classic Parcel shipping service.
    +   * 
    + * + * DPD_CLASSIC_PARCEL = 5; + */ + public static final int DPD_CLASSIC_PARCEL_VALUE = 5; + + /** + * + * + *
    +   * Hermes Haustur shipping service.
    +   * 
    + * + * HERMES_HAUSTUR = 6; + */ + public static final int HERMES_HAUSTUR_VALUE = 6; + + /** + * + * + *
    +   * Hermes Paketshop shipping service.
    +   * 
    + * + * HERMES_PAKETSHOP = 7; + */ + public static final int HERMES_PAKETSHOP_VALUE = 7; + + /** + * + * + *
    +   * GLS Business shipping service.
    +   * 
    + * + * GLS_BUSINESS = 8; + */ + public static final int GLS_BUSINESS_VALUE = 8; + + /** + * + * + *
    +   * GLS Express shipping service.
    +   * 
    + * + * GLS_EXPRESS = 9; + */ + public static final int GLS_EXPRESS_VALUE = 9; + + /** + * + * + *
    +   * GLS Private shipping service.
    +   * 
    + * + * GLS_PRIVATE = 10; + */ + public static final int GLS_PRIVATE_VALUE = 10; + + /** + * + * + *
    +   * Colissimo Domicile shipping service.
    +   * 
    + * + * COLISSIMO_DOMICILE = 11; + */ + public static final int COLISSIMO_DOMICILE_VALUE = 11; + + /** + * + * + *
    +   * DHL Express 12 AM shipping service.
    +   * 
    + * + * DHL_EXPRESS_12AM = 12; + */ + public static final int DHL_EXPRESS_12AM_VALUE = 12; + + /** + * + * + *
    +   * DHL Express 9 AM shipping service.
    +   * 
    + * + * DHL_EXPRESS_9AM = 13; + */ + public static final int DHL_EXPRESS_9AM_VALUE = 13; + + /** + * + * + *
    +   * GEODIS Express shipping service.
    +   * 
    + * + * GEODIS_EXPRESS = 14; + */ + public static final int GEODIS_EXPRESS_VALUE = 14; + + /** + * + * + *
    +   * GEODIS Pack 30 shipping service.
    +   * 
    + * + * GEODIS_PACK_30 = 15; + */ + public static final int GEODIS_PACK_30_VALUE = 15; + + /** + * + * + *
    +   * GEODIS Same Day shipping service.
    +   * 
    + * + * GEODIS_SAME_DAY = 16; + */ + public static final int GEODIS_SAME_DAY_VALUE = 16; + + /** + * + * + *
    +   * GEODIS Top 24 shipping service.
    +   * 
    + * + * GEODIS_TOP_24 = 17; + */ + public static final int GEODIS_TOP_24_VALUE = 17; + + /** + * + * + *
    +   * TNT Essentiel 24H shipping service.
    +   * 
    + * + * TNT_ESSENTIEL_24H = 18; + */ + public static final int TNT_ESSENTIEL_24H_VALUE = 18; + + /** + * + * + *
    +   * TNT Essentiel Flexibilite shipping service.
    +   * 
    + * + * TNT_ESSENTIEL_FLEXIBILITE = 19; + */ + public static final int TNT_ESSENTIEL_FLEXIBILITE_VALUE = 19; + + /** + * + * + *
    +   * FedEx Ground shipping service.
    +   * 
    + * + * FEDEX_GROUND = 20; + */ + public static final int FEDEX_GROUND_VALUE = 20; + + /** + * + * + *
    +   * FedEx Home Delivery shipping service.
    +   * 
    + * + * FEDEX_HOME_DELIVERY = 21; + */ + public static final int FEDEX_HOME_DELIVERY_VALUE = 21; + + /** + * + * + *
    +   * FedEx Express Saver shipping service.
    +   * 
    + * + * FEDEX_EXPRESS_SAVER = 22; + */ + public static final int FEDEX_EXPRESS_SAVER_VALUE = 22; + + /** + * + * + *
    +   * FedEx First Overnight shipping service.
    +   * 
    + * + * FEDEX_FIRST_OVERNIGHT = 23; + */ + public static final int FEDEX_FIRST_OVERNIGHT_VALUE = 23; + + /** + * + * + *
    +   * FedEx Priority Overnight shipping service.
    +   * 
    + * + * FEDEX_PRIORITY_OVERNIGHT = 24; + */ + public static final int FEDEX_PRIORITY_OVERNIGHT_VALUE = 24; + + /** + * + * + *
    +   * FedEx Standard Overnight shipping service.
    +   * 
    + * + * FEDEX_STANDARD_OVERNIGHT = 25; + */ + public static final int FEDEX_STANDARD_OVERNIGHT_VALUE = 25; + + /** + * + * + *
    +   * FedEx 2Day shipping service.
    +   * 
    + * + * FEDEX_2DAY = 26; + */ + public static final int FEDEX_2DAY_VALUE = 26; + + /** + * + * + *
    +   * UPS 2nd Day Air shipping service.
    +   * 
    + * + * UPS_2ND_DAY_AIR = 27; + */ + public static final int UPS_2ND_DAY_AIR_VALUE = 27; + + /** + * + * + *
    +   * UPS 2nd Day AM shipping service.
    +   * 
    + * + * UPS_2ND_DAY_AM = 28; + */ + public static final int UPS_2ND_DAY_AM_VALUE = 28; + + /** + * + * + *
    +   * UPS 3 Day Select shipping service.
    +   * 
    + * + * UPS_3_DAY_SELECT = 29; + */ + public static final int UPS_3_DAY_SELECT_VALUE = 29; + + /** + * + * + *
    +   * UPS Ground shipping service.
    +   * 
    + * + * UPS_GROUND = 30; + */ + public static final int UPS_GROUND_VALUE = 30; + + /** + * + * + *
    +   * UPS Next Day Air shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR = 31; + */ + public static final int UPS_NEXT_DAY_AIR_VALUE = 31; + + /** + * + * + *
    +   * UPS Next Day Air Early AM shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR_EARLY_AM = 32; + */ + public static final int UPS_NEXT_DAY_AIR_EARLY_AM_VALUE = 32; + + /** + * + * + *
    +   * UPS Next Day Air Saver shipping service.
    +   * 
    + * + * UPS_NEXT_DAY_AIR_SAVER = 33; + */ + public static final int UPS_NEXT_DAY_AIR_SAVER_VALUE = 33; + + /** + * + * + *
    +   * USPS Priority Mail Express shipping service.
    +   * 
    + * + * USPS_PRIORITY_MAIL_EXPRESS = 34; + */ + public static final int USPS_PRIORITY_MAIL_EXPRESS_VALUE = 34; + + /** + * + * + *
    +   * USPS Media Mail shipping service.
    +   * 
    + * + * USPS_MEDIA_MAIL = 35; + */ + public static final int USPS_MEDIA_MAIL_VALUE = 35; + + /** + * + * + *
    +   * USPS Ground Advantage Retail shipping service.
    +   * 
    + * + * USPS_GROUND_ADVANTAGE_RETAIL = 36; + */ + public static final int USPS_GROUND_ADVANTAGE_RETAIL_VALUE = 36; + + /** + * + * + *
    +   * USPS Priority Mail shipping service.
    +   * 
    + * + * USPS_PRIORITY_MAIL = 37; + */ + public static final int USPS_PRIORITY_MAIL_VALUE = 37; + + /** + * + * + *
    +   * USPS Ground Advantage Commercial shipping service.
    +   * 
    + * + * USPS_GROUND_ADVANTAGE_COMMERCIAL = 38; + */ + public static final int USPS_GROUND_ADVANTAGE_COMMERCIAL_VALUE = 38; + + /** + * + * + *
    +   * USPS First Class Mail shipping service.
    +   * 
    + * + * USPS_FIRST_CLASS_MAIL = 39; + */ + public static final int USPS_FIRST_CLASS_MAIL_VALUE = 39; + + 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 CarrierTransitTimeOption 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 CarrierTransitTimeOption forNumber(int value) { + switch (value) { + case 0: + return CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED; + case 1: + return DHL_PAKET; + case 2: + return DHL_PACKCHEN; + case 3: + return DHL_EXPRESSEASY; + case 4: + return DPD_EXPRESS; + case 5: + return DPD_CLASSIC_PARCEL; + case 6: + return HERMES_HAUSTUR; + case 7: + return HERMES_PAKETSHOP; + case 8: + return GLS_BUSINESS; + case 9: + return GLS_EXPRESS; + case 10: + return GLS_PRIVATE; + case 11: + return COLISSIMO_DOMICILE; + case 12: + return DHL_EXPRESS_12AM; + case 13: + return DHL_EXPRESS_9AM; + case 14: + return GEODIS_EXPRESS; + case 15: + return GEODIS_PACK_30; + case 16: + return GEODIS_SAME_DAY; + case 17: + return GEODIS_TOP_24; + case 18: + return TNT_ESSENTIEL_24H; + case 19: + return TNT_ESSENTIEL_FLEXIBILITE; + case 20: + return FEDEX_GROUND; + case 21: + return FEDEX_HOME_DELIVERY; + case 22: + return FEDEX_EXPRESS_SAVER; + case 23: + return FEDEX_FIRST_OVERNIGHT; + case 24: + return FEDEX_PRIORITY_OVERNIGHT; + case 25: + return FEDEX_STANDARD_OVERNIGHT; + case 26: + return FEDEX_2DAY; + case 27: + return UPS_2ND_DAY_AIR; + case 28: + return UPS_2ND_DAY_AM; + case 29: + return UPS_3_DAY_SELECT; + case 30: + return UPS_GROUND; + case 31: + return UPS_NEXT_DAY_AIR; + case 32: + return UPS_NEXT_DAY_AIR_EARLY_AM; + case 33: + return UPS_NEXT_DAY_AIR_SAVER; + case 34: + return USPS_PRIORITY_MAIL_EXPRESS; + case 35: + return USPS_MEDIA_MAIL; + case 36: + return USPS_GROUND_ADVANTAGE_RETAIL; + case 37: + return USPS_PRIORITY_MAIL; + case 38: + return USPS_GROUND_ADVANTAGE_COMMERCIAL; + case 39: + return USPS_FIRST_CLASS_MAIL; + 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 CarrierTransitTimeOption findValueByNumber(int number) { + return CarrierTransitTimeOption.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.shopping.merchant.products.v1.ProductsCommonProto.getDescriptor() + .getEnumTypes() + .get(15); + } + + private static final CarrierTransitTimeOption[] VALUES = values(); + + public static CarrierTransitTimeOption 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 CarrierTransitTimeOption(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.shopping.merchant.products.v1.CarrierTransitTimeOption) +} diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java index a68c48abc909..a08919ef4b10 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java @@ -62,6 +62,7 @@ private ProductAttributes() { loyaltyPrograms_ = java.util.Collections.emptyList(); productTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); shipping_ = java.util.Collections.emptyList(); + carrierShipping_ = java.util.Collections.emptyList(); freeShippingThreshold_ = java.util.Collections.emptyList(); shippingLabel_ = ""; transitTimeLabel_ = ""; @@ -123,6 +124,5807 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.shopping.merchant.products.v1.ProductAttributes.Builder.class); } + /** + * + * + *
    +   * Possible carrier where price is coming from.
    +   * 
    + * + * Protobuf enum {@code google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption} + */ + public enum CarrierPriceOption implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * Carrier price option is unspecified.
    +     * 
    + * + * CARRIER_PRICE_OPTION_UNSPECIFIED = 0; + */ + CARRIER_PRICE_OPTION_UNSPECIFIED(0), + /** + * + * + *
    +     * Australia Post Regular shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR = 1; + */ + AUSTRALIA_POST_REGULAR(1), + /** + * + * + *
    +     * Australia Post Express shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS = 2; + */ + AUSTRALIA_POST_EXPRESS(2), + /** + * + * + *
    +     * Australia Post Regular Small shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_S = 3; + */ + AUSTRALIA_POST_REGULAR_S(3), + /** + * + * + *
    +     * Australia Post Regular Medium shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_M = 4; + */ + AUSTRALIA_POST_REGULAR_M(4), + /** + * + * + *
    +     * Australia Post Regular Large shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_L = 5; + */ + AUSTRALIA_POST_REGULAR_L(5), + /** + * + * + *
    +     * Australia Post Regular XL shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_XL = 6; + */ + AUSTRALIA_POST_REGULAR_XL(6), + /** + * + * + *
    +     * Australia Post Express Small shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_S = 7; + */ + AUSTRALIA_POST_EXPRESS_S(7), + /** + * + * + *
    +     * Australia Post Express Medium shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_M = 8; + */ + AUSTRALIA_POST_EXPRESS_M(8), + /** + * + * + *
    +     * Australia Post Express Large shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_L = 9; + */ + AUSTRALIA_POST_EXPRESS_L(9), + /** + * + * + *
    +     * Australia Post Express XL shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_XL = 10; + */ + AUSTRALIA_POST_EXPRESS_XL(10), + /** + * + * + *
    +     * TNT Road Express shipping service.
    +     * 
    + * + * TNT_ROAD_EXPRESS = 11; + */ + TNT_ROAD_EXPRESS(11), + /** + * + * + *
    +     * TNT Overnight Express shipping service.
    +     * 
    + * + * TNT_OVERNIGHT_EXPRESS = 12; + */ + TNT_OVERNIGHT_EXPRESS(12), + /** + * + * + *
    +     * Toll Road Delivery shipping service.
    +     * 
    + * + * TOLL_ROAD_DELIVERY = 13; + */ + TOLL_ROAD_DELIVERY(13), + /** + * + * + *
    +     * Toll Overnight Priority shipping service.
    +     * 
    + * + * TOLL_OVERNIGHT_PRIORITY = 14; + */ + TOLL_OVERNIGHT_PRIORITY(14), + /** + * + * + *
    +     * DHL Paket shipping service.
    +     * 
    + * + * DHL_PAKET = 15; + */ + DHL_PAKET(15), + /** + * + * + *
    +     * DHL Packchen shipping service.
    +     * 
    + * + * DHL_PACKCHEN = 16; + */ + DHL_PACKCHEN(16), + /** + * + * + *
    +     * DPD Express 12 shipping service.
    +     * 
    + * + * DPD_EXPRESS_12 = 17; + */ + DPD_EXPRESS_12(17), + /** + * + * + *
    +     * DPD Express shipping service.
    +     * 
    + * + * DPD_EXPRESS = 18; + */ + DPD_EXPRESS(18), + /** + * + * + *
    +     * DPD Classic Parcel shipping service.
    +     * 
    + * + * DPD_CLASSIC_PARCEL = 19; + */ + DPD_CLASSIC_PARCEL(19), + /** + * + * + *
    +     * Hermes Packchen shipping service.
    +     * 
    + * + * HERMES_PACKCHEN = 20; + */ + HERMES_PACKCHEN(20), + /** + * + * + *
    +     * Hermes Paketklasse S shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_S = 21; + */ + HERMES_PAKETKLASSE_S(21), + /** + * + * + *
    +     * Hermes Paketklasse M shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_M = 22; + */ + HERMES_PAKETKLASSE_M(22), + /** + * + * + *
    +     * Hermes Paketklasse L shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_L = 23; + */ + HERMES_PAKETKLASSE_L(23), + /** + * + * + *
    +     * UPS Express shipping service.
    +     * 
    + * + * UPS_EXPRESS = 24; + */ + UPS_EXPRESS(24), + /** + * + * + *
    +     * UPS Express Saver shipping service.
    +     * 
    + * + * UPS_EXPRESS_SAVER = 25; + */ + UPS_EXPRESS_SAVER(25), + /** + * + * + *
    +     * UPS Express Standard shipping service.
    +     * 
    + * + * UPS_EXPRESS_STANDARD = 26; + */ + UPS_EXPRESS_STANDARD(26), + /** + * + * + *
    +     * DHL Express shipping service.
    +     * 
    + * + * DHL_EXPRESS = 27; + */ + DHL_EXPRESS(27), + /** + * + * + *
    +     * DHL Express 12 shipping service.
    +     * 
    + * + * DHL_EXPRESS_12 = 28; + */ + DHL_EXPRESS_12(28), + /** + * + * + *
    +     * DPD Next Day shipping service.
    +     * 
    + * + * DPD_NEXT_DAY = 29; + */ + DPD_NEXT_DAY(29), + /** + * + * + *
    +     * DPD Standard Next Day shipping service.
    +     * 
    + * + * DPD_STANDARD_NEXT_DAY = 30; + */ + DPD_STANDARD_NEXT_DAY(30), + /** + * + * + *
    +     * DPD Standard Two Day shipping service.
    +     * 
    + * + * DPD_STANDARD_TWO_DAY = 31; + */ + DPD_STANDARD_TWO_DAY(31), + /** + * + * + *
    +     * RMG 1st Class Small shipping service.
    +     * 
    + * + * RMG_1ST_CLASS_SMALL = 32; + */ + RMG_1ST_CLASS_SMALL(32), + /** + * + * + *
    +     * RMG 1st Class Medium shipping service.
    +     * 
    + * + * RMG_1ST_CLASS_MEDIUM = 33; + */ + RMG_1ST_CLASS_MEDIUM(33), + /** + * + * + *
    +     * RMG 2nd Class Small shipping service.
    +     * 
    + * + * RMG_2ND_CLASS_SMALL = 34; + */ + RMG_2ND_CLASS_SMALL(34), + /** + * + * + *
    +     * RMG 2nd Class Medium shipping service.
    +     * 
    + * + * RMG_2ND_CLASS_MEDIUM = 35; + */ + RMG_2ND_CLASS_MEDIUM(35), + /** + * + * + *
    +     * TNT Express shipping service.
    +     * 
    + * + * TNT_EXPRESS = 36; + */ + TNT_EXPRESS(36), + /** + * + * + *
    +     * TNT Express 10 shipping service.
    +     * 
    + * + * TNT_EXPRESS_10 = 37; + */ + TNT_EXPRESS_10(37), + /** + * + * + *
    +     * TNT Express 12 shipping service.
    +     * 
    + * + * TNT_EXPRESS_12 = 38; + */ + TNT_EXPRESS_12(38), + /** + * + * + *
    +     * Yodel B2C 48HR shipping service.
    +     * 
    + * + * YODEL_B2C_48HR = 39; + */ + YODEL_B2C_48HR(39), + /** + * + * + *
    +     * Yodel B2C 72HR shipping service.
    +     * 
    + * + * YODEL_B2C_72HR = 40; + */ + YODEL_B2C_72HR(40), + /** + * + * + *
    +     * Yodel B2C Packet shipping service.
    +     * 
    + * + * YODEL_B2C_PACKET = 41; + */ + YODEL_B2C_PACKET(41), + /** + * + * + *
    +     * FedEx Ground shipping service.
    +     * 
    + * + * FEDEX_GROUND = 42; + */ + FEDEX_GROUND(42), + /** + * + * + *
    +     * FedEx Home Delivery shipping service.
    +     * 
    + * + * FEDEX_HOME_DELIVERY = 43; + */ + FEDEX_HOME_DELIVERY(43), + /** + * + * + *
    +     * FedEx Express Saver shipping service.
    +     * 
    + * + * FEDEX_EXPRESS_SAVER = 44; + */ + FEDEX_EXPRESS_SAVER(44), + /** + * + * + *
    +     * FedEx First Overnight shipping service.
    +     * 
    + * + * FEDEX_FIRST_OVERNIGHT = 45; + */ + FEDEX_FIRST_OVERNIGHT(45), + /** + * + * + *
    +     * FedEx Priority Overnight shipping service.
    +     * 
    + * + * FEDEX_PRIORITY_OVERNIGHT = 46; + */ + FEDEX_PRIORITY_OVERNIGHT(46), + /** + * + * + *
    +     * FedEx Standard Overnight shipping service.
    +     * 
    + * + * FEDEX_STANDARD_OVERNIGHT = 47; + */ + FEDEX_STANDARD_OVERNIGHT(47), + /** + * + * + *
    +     * FedEx 2Day shipping service.
    +     * 
    + * + * FEDEX_2DAY = 48; + */ + FEDEX_2DAY(48), + /** + * + * + *
    +     * UPS Standard shipping service.
    +     * 
    + * + * UPS_STANDARD = 49; + */ + UPS_STANDARD(49), + /** + * + * + *
    +     * UPS 2nd Day Air shipping service.
    +     * 
    + * + * UPS_2ND_DAY_AIR = 50; + */ + UPS_2ND_DAY_AIR(50), + /** + * + * + *
    +     * UPS 2nd Day AM shipping service.
    +     * 
    + * + * UPS_2ND_DAY_AM = 51; + */ + UPS_2ND_DAY_AM(51), + /** + * + * + *
    +     * UPS 3 Day Select shipping service.
    +     * 
    + * + * UPS_3_DAY_SELECT = 52; + */ + UPS_3_DAY_SELECT(52), + /** + * + * + *
    +     * UPS Ground shipping service.
    +     * 
    + * + * UPS_GROUND = 53; + */ + UPS_GROUND(53), + /** + * + * + *
    +     * UPS Next Day Air shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR = 54; + */ + UPS_NEXT_DAY_AIR(54), + /** + * + * + *
    +     * UPS Next Day Air Early AM shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR_EARLY_AM = 55; + */ + UPS_NEXT_DAY_AIR_EARLY_AM(55), + /** + * + * + *
    +     * UPS Next Day Air Saver shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR_SAVER = 56; + */ + UPS_NEXT_DAY_AIR_SAVER(56), + /** + * + * + *
    +     * USPS Priority Mail Express shipping service.
    +     * 
    + * + * USPS_PRIORITY_MAIL_EXPRESS = 57; + */ + USPS_PRIORITY_MAIL_EXPRESS(57), + /** + * + * + *
    +     * USPS Media Mail shipping service.
    +     * 
    + * + * USPS_MEDIA_MAIL = 58; + */ + USPS_MEDIA_MAIL(58), + /** + * + * + *
    +     * USPS Ground Advantage Retail shipping service.
    +     * 
    + * + * USPS_GROUND_ADVANTAGE_RETAIL = 59; + */ + USPS_GROUND_ADVANTAGE_RETAIL(59), + /** + * + * + *
    +     * USPS Priority Mail shipping service.
    +     * 
    + * + * USPS_PRIORITY_MAIL = 60; + */ + USPS_PRIORITY_MAIL(60), + /** + * + * + *
    +     * USPS Ground Advantage Commercial shipping service.
    +     * 
    + * + * USPS_GROUND_ADVANTAGE_COMMERCIAL = 61; + */ + USPS_GROUND_ADVANTAGE_COMMERCIAL(61), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
    +     * Carrier price option is unspecified.
    +     * 
    + * + * CARRIER_PRICE_OPTION_UNSPECIFIED = 0; + */ + public static final int CARRIER_PRICE_OPTION_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * Australia Post Regular shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR = 1; + */ + public static final int AUSTRALIA_POST_REGULAR_VALUE = 1; + + /** + * + * + *
    +     * Australia Post Express shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS = 2; + */ + public static final int AUSTRALIA_POST_EXPRESS_VALUE = 2; + + /** + * + * + *
    +     * Australia Post Regular Small shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_S = 3; + */ + public static final int AUSTRALIA_POST_REGULAR_S_VALUE = 3; + + /** + * + * + *
    +     * Australia Post Regular Medium shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_M = 4; + */ + public static final int AUSTRALIA_POST_REGULAR_M_VALUE = 4; + + /** + * + * + *
    +     * Australia Post Regular Large shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_L = 5; + */ + public static final int AUSTRALIA_POST_REGULAR_L_VALUE = 5; + + /** + * + * + *
    +     * Australia Post Regular XL shipping service.
    +     * 
    + * + * AUSTRALIA_POST_REGULAR_XL = 6; + */ + public static final int AUSTRALIA_POST_REGULAR_XL_VALUE = 6; + + /** + * + * + *
    +     * Australia Post Express Small shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_S = 7; + */ + public static final int AUSTRALIA_POST_EXPRESS_S_VALUE = 7; + + /** + * + * + *
    +     * Australia Post Express Medium shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_M = 8; + */ + public static final int AUSTRALIA_POST_EXPRESS_M_VALUE = 8; + + /** + * + * + *
    +     * Australia Post Express Large shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_L = 9; + */ + public static final int AUSTRALIA_POST_EXPRESS_L_VALUE = 9; + + /** + * + * + *
    +     * Australia Post Express XL shipping service.
    +     * 
    + * + * AUSTRALIA_POST_EXPRESS_XL = 10; + */ + public static final int AUSTRALIA_POST_EXPRESS_XL_VALUE = 10; + + /** + * + * + *
    +     * TNT Road Express shipping service.
    +     * 
    + * + * TNT_ROAD_EXPRESS = 11; + */ + public static final int TNT_ROAD_EXPRESS_VALUE = 11; + + /** + * + * + *
    +     * TNT Overnight Express shipping service.
    +     * 
    + * + * TNT_OVERNIGHT_EXPRESS = 12; + */ + public static final int TNT_OVERNIGHT_EXPRESS_VALUE = 12; + + /** + * + * + *
    +     * Toll Road Delivery shipping service.
    +     * 
    + * + * TOLL_ROAD_DELIVERY = 13; + */ + public static final int TOLL_ROAD_DELIVERY_VALUE = 13; + + /** + * + * + *
    +     * Toll Overnight Priority shipping service.
    +     * 
    + * + * TOLL_OVERNIGHT_PRIORITY = 14; + */ + public static final int TOLL_OVERNIGHT_PRIORITY_VALUE = 14; + + /** + * + * + *
    +     * DHL Paket shipping service.
    +     * 
    + * + * DHL_PAKET = 15; + */ + public static final int DHL_PAKET_VALUE = 15; + + /** + * + * + *
    +     * DHL Packchen shipping service.
    +     * 
    + * + * DHL_PACKCHEN = 16; + */ + public static final int DHL_PACKCHEN_VALUE = 16; + + /** + * + * + *
    +     * DPD Express 12 shipping service.
    +     * 
    + * + * DPD_EXPRESS_12 = 17; + */ + public static final int DPD_EXPRESS_12_VALUE = 17; + + /** + * + * + *
    +     * DPD Express shipping service.
    +     * 
    + * + * DPD_EXPRESS = 18; + */ + public static final int DPD_EXPRESS_VALUE = 18; + + /** + * + * + *
    +     * DPD Classic Parcel shipping service.
    +     * 
    + * + * DPD_CLASSIC_PARCEL = 19; + */ + public static final int DPD_CLASSIC_PARCEL_VALUE = 19; + + /** + * + * + *
    +     * Hermes Packchen shipping service.
    +     * 
    + * + * HERMES_PACKCHEN = 20; + */ + public static final int HERMES_PACKCHEN_VALUE = 20; + + /** + * + * + *
    +     * Hermes Paketklasse S shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_S = 21; + */ + public static final int HERMES_PAKETKLASSE_S_VALUE = 21; + + /** + * + * + *
    +     * Hermes Paketklasse M shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_M = 22; + */ + public static final int HERMES_PAKETKLASSE_M_VALUE = 22; + + /** + * + * + *
    +     * Hermes Paketklasse L shipping service.
    +     * 
    + * + * HERMES_PAKETKLASSE_L = 23; + */ + public static final int HERMES_PAKETKLASSE_L_VALUE = 23; + + /** + * + * + *
    +     * UPS Express shipping service.
    +     * 
    + * + * UPS_EXPRESS = 24; + */ + public static final int UPS_EXPRESS_VALUE = 24; + + /** + * + * + *
    +     * UPS Express Saver shipping service.
    +     * 
    + * + * UPS_EXPRESS_SAVER = 25; + */ + public static final int UPS_EXPRESS_SAVER_VALUE = 25; + + /** + * + * + *
    +     * UPS Express Standard shipping service.
    +     * 
    + * + * UPS_EXPRESS_STANDARD = 26; + */ + public static final int UPS_EXPRESS_STANDARD_VALUE = 26; + + /** + * + * + *
    +     * DHL Express shipping service.
    +     * 
    + * + * DHL_EXPRESS = 27; + */ + public static final int DHL_EXPRESS_VALUE = 27; + + /** + * + * + *
    +     * DHL Express 12 shipping service.
    +     * 
    + * + * DHL_EXPRESS_12 = 28; + */ + public static final int DHL_EXPRESS_12_VALUE = 28; + + /** + * + * + *
    +     * DPD Next Day shipping service.
    +     * 
    + * + * DPD_NEXT_DAY = 29; + */ + public static final int DPD_NEXT_DAY_VALUE = 29; + + /** + * + * + *
    +     * DPD Standard Next Day shipping service.
    +     * 
    + * + * DPD_STANDARD_NEXT_DAY = 30; + */ + public static final int DPD_STANDARD_NEXT_DAY_VALUE = 30; + + /** + * + * + *
    +     * DPD Standard Two Day shipping service.
    +     * 
    + * + * DPD_STANDARD_TWO_DAY = 31; + */ + public static final int DPD_STANDARD_TWO_DAY_VALUE = 31; + + /** + * + * + *
    +     * RMG 1st Class Small shipping service.
    +     * 
    + * + * RMG_1ST_CLASS_SMALL = 32; + */ + public static final int RMG_1ST_CLASS_SMALL_VALUE = 32; + + /** + * + * + *
    +     * RMG 1st Class Medium shipping service.
    +     * 
    + * + * RMG_1ST_CLASS_MEDIUM = 33; + */ + public static final int RMG_1ST_CLASS_MEDIUM_VALUE = 33; + + /** + * + * + *
    +     * RMG 2nd Class Small shipping service.
    +     * 
    + * + * RMG_2ND_CLASS_SMALL = 34; + */ + public static final int RMG_2ND_CLASS_SMALL_VALUE = 34; + + /** + * + * + *
    +     * RMG 2nd Class Medium shipping service.
    +     * 
    + * + * RMG_2ND_CLASS_MEDIUM = 35; + */ + public static final int RMG_2ND_CLASS_MEDIUM_VALUE = 35; + + /** + * + * + *
    +     * TNT Express shipping service.
    +     * 
    + * + * TNT_EXPRESS = 36; + */ + public static final int TNT_EXPRESS_VALUE = 36; + + /** + * + * + *
    +     * TNT Express 10 shipping service.
    +     * 
    + * + * TNT_EXPRESS_10 = 37; + */ + public static final int TNT_EXPRESS_10_VALUE = 37; + + /** + * + * + *
    +     * TNT Express 12 shipping service.
    +     * 
    + * + * TNT_EXPRESS_12 = 38; + */ + public static final int TNT_EXPRESS_12_VALUE = 38; + + /** + * + * + *
    +     * Yodel B2C 48HR shipping service.
    +     * 
    + * + * YODEL_B2C_48HR = 39; + */ + public static final int YODEL_B2C_48HR_VALUE = 39; + + /** + * + * + *
    +     * Yodel B2C 72HR shipping service.
    +     * 
    + * + * YODEL_B2C_72HR = 40; + */ + public static final int YODEL_B2C_72HR_VALUE = 40; + + /** + * + * + *
    +     * Yodel B2C Packet shipping service.
    +     * 
    + * + * YODEL_B2C_PACKET = 41; + */ + public static final int YODEL_B2C_PACKET_VALUE = 41; + + /** + * + * + *
    +     * FedEx Ground shipping service.
    +     * 
    + * + * FEDEX_GROUND = 42; + */ + public static final int FEDEX_GROUND_VALUE = 42; + + /** + * + * + *
    +     * FedEx Home Delivery shipping service.
    +     * 
    + * + * FEDEX_HOME_DELIVERY = 43; + */ + public static final int FEDEX_HOME_DELIVERY_VALUE = 43; + + /** + * + * + *
    +     * FedEx Express Saver shipping service.
    +     * 
    + * + * FEDEX_EXPRESS_SAVER = 44; + */ + public static final int FEDEX_EXPRESS_SAVER_VALUE = 44; + + /** + * + * + *
    +     * FedEx First Overnight shipping service.
    +     * 
    + * + * FEDEX_FIRST_OVERNIGHT = 45; + */ + public static final int FEDEX_FIRST_OVERNIGHT_VALUE = 45; + + /** + * + * + *
    +     * FedEx Priority Overnight shipping service.
    +     * 
    + * + * FEDEX_PRIORITY_OVERNIGHT = 46; + */ + public static final int FEDEX_PRIORITY_OVERNIGHT_VALUE = 46; + + /** + * + * + *
    +     * FedEx Standard Overnight shipping service.
    +     * 
    + * + * FEDEX_STANDARD_OVERNIGHT = 47; + */ + public static final int FEDEX_STANDARD_OVERNIGHT_VALUE = 47; + + /** + * + * + *
    +     * FedEx 2Day shipping service.
    +     * 
    + * + * FEDEX_2DAY = 48; + */ + public static final int FEDEX_2DAY_VALUE = 48; + + /** + * + * + *
    +     * UPS Standard shipping service.
    +     * 
    + * + * UPS_STANDARD = 49; + */ + public static final int UPS_STANDARD_VALUE = 49; + + /** + * + * + *
    +     * UPS 2nd Day Air shipping service.
    +     * 
    + * + * UPS_2ND_DAY_AIR = 50; + */ + public static final int UPS_2ND_DAY_AIR_VALUE = 50; + + /** + * + * + *
    +     * UPS 2nd Day AM shipping service.
    +     * 
    + * + * UPS_2ND_DAY_AM = 51; + */ + public static final int UPS_2ND_DAY_AM_VALUE = 51; + + /** + * + * + *
    +     * UPS 3 Day Select shipping service.
    +     * 
    + * + * UPS_3_DAY_SELECT = 52; + */ + public static final int UPS_3_DAY_SELECT_VALUE = 52; + + /** + * + * + *
    +     * UPS Ground shipping service.
    +     * 
    + * + * UPS_GROUND = 53; + */ + public static final int UPS_GROUND_VALUE = 53; + + /** + * + * + *
    +     * UPS Next Day Air shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR = 54; + */ + public static final int UPS_NEXT_DAY_AIR_VALUE = 54; + + /** + * + * + *
    +     * UPS Next Day Air Early AM shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR_EARLY_AM = 55; + */ + public static final int UPS_NEXT_DAY_AIR_EARLY_AM_VALUE = 55; + + /** + * + * + *
    +     * UPS Next Day Air Saver shipping service.
    +     * 
    + * + * UPS_NEXT_DAY_AIR_SAVER = 56; + */ + public static final int UPS_NEXT_DAY_AIR_SAVER_VALUE = 56; + + /** + * + * + *
    +     * USPS Priority Mail Express shipping service.
    +     * 
    + * + * USPS_PRIORITY_MAIL_EXPRESS = 57; + */ + public static final int USPS_PRIORITY_MAIL_EXPRESS_VALUE = 57; + + /** + * + * + *
    +     * USPS Media Mail shipping service.
    +     * 
    + * + * USPS_MEDIA_MAIL = 58; + */ + public static final int USPS_MEDIA_MAIL_VALUE = 58; + + /** + * + * + *
    +     * USPS Ground Advantage Retail shipping service.
    +     * 
    + * + * USPS_GROUND_ADVANTAGE_RETAIL = 59; + */ + public static final int USPS_GROUND_ADVANTAGE_RETAIL_VALUE = 59; + + /** + * + * + *
    +     * USPS Priority Mail shipping service.
    +     * 
    + * + * USPS_PRIORITY_MAIL = 60; + */ + public static final int USPS_PRIORITY_MAIL_VALUE = 60; + + /** + * + * + *
    +     * USPS Ground Advantage Commercial shipping service.
    +     * 
    + * + * USPS_GROUND_ADVANTAGE_COMMERCIAL = 61; + */ + public static final int USPS_GROUND_ADVANTAGE_COMMERCIAL_VALUE = 61; + + 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 CarrierPriceOption 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 CarrierPriceOption forNumber(int value) { + switch (value) { + case 0: + return CARRIER_PRICE_OPTION_UNSPECIFIED; + case 1: + return AUSTRALIA_POST_REGULAR; + case 2: + return AUSTRALIA_POST_EXPRESS; + case 3: + return AUSTRALIA_POST_REGULAR_S; + case 4: + return AUSTRALIA_POST_REGULAR_M; + case 5: + return AUSTRALIA_POST_REGULAR_L; + case 6: + return AUSTRALIA_POST_REGULAR_XL; + case 7: + return AUSTRALIA_POST_EXPRESS_S; + case 8: + return AUSTRALIA_POST_EXPRESS_M; + case 9: + return AUSTRALIA_POST_EXPRESS_L; + case 10: + return AUSTRALIA_POST_EXPRESS_XL; + case 11: + return TNT_ROAD_EXPRESS; + case 12: + return TNT_OVERNIGHT_EXPRESS; + case 13: + return TOLL_ROAD_DELIVERY; + case 14: + return TOLL_OVERNIGHT_PRIORITY; + case 15: + return DHL_PAKET; + case 16: + return DHL_PACKCHEN; + case 17: + return DPD_EXPRESS_12; + case 18: + return DPD_EXPRESS; + case 19: + return DPD_CLASSIC_PARCEL; + case 20: + return HERMES_PACKCHEN; + case 21: + return HERMES_PAKETKLASSE_S; + case 22: + return HERMES_PAKETKLASSE_M; + case 23: + return HERMES_PAKETKLASSE_L; + case 24: + return UPS_EXPRESS; + case 25: + return UPS_EXPRESS_SAVER; + case 26: + return UPS_EXPRESS_STANDARD; + case 27: + return DHL_EXPRESS; + case 28: + return DHL_EXPRESS_12; + case 29: + return DPD_NEXT_DAY; + case 30: + return DPD_STANDARD_NEXT_DAY; + case 31: + return DPD_STANDARD_TWO_DAY; + case 32: + return RMG_1ST_CLASS_SMALL; + case 33: + return RMG_1ST_CLASS_MEDIUM; + case 34: + return RMG_2ND_CLASS_SMALL; + case 35: + return RMG_2ND_CLASS_MEDIUM; + case 36: + return TNT_EXPRESS; + case 37: + return TNT_EXPRESS_10; + case 38: + return TNT_EXPRESS_12; + case 39: + return YODEL_B2C_48HR; + case 40: + return YODEL_B2C_72HR; + case 41: + return YODEL_B2C_PACKET; + case 42: + return FEDEX_GROUND; + case 43: + return FEDEX_HOME_DELIVERY; + case 44: + return FEDEX_EXPRESS_SAVER; + case 45: + return FEDEX_FIRST_OVERNIGHT; + case 46: + return FEDEX_PRIORITY_OVERNIGHT; + case 47: + return FEDEX_STANDARD_OVERNIGHT; + case 48: + return FEDEX_2DAY; + case 49: + return UPS_STANDARD; + case 50: + return UPS_2ND_DAY_AIR; + case 51: + return UPS_2ND_DAY_AM; + case 52: + return UPS_3_DAY_SELECT; + case 53: + return UPS_GROUND; + case 54: + return UPS_NEXT_DAY_AIR; + case 55: + return UPS_NEXT_DAY_AIR_EARLY_AM; + case 56: + return UPS_NEXT_DAY_AIR_SAVER; + case 57: + return USPS_PRIORITY_MAIL_EXPRESS; + case 58: + return USPS_MEDIA_MAIL; + case 59: + return USPS_GROUND_ADVANTAGE_RETAIL; + case 60: + return USPS_PRIORITY_MAIL; + case 61: + return USPS_GROUND_ADVANTAGE_COMMERCIAL; + 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 CarrierPriceOption findValueByNumber(int number) { + return CarrierPriceOption.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.shopping.merchant.products.v1.ProductAttributes.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final CarrierPriceOption[] VALUES = values(); + + public static CarrierPriceOption 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 CarrierPriceOption(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption) + } + + public interface CarrierShippingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return Whether the country field is set. + */ + boolean hasCountry(); + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return The country. + */ + java.lang.String getCountry(); + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return The bytes for country. + */ + com.google.protobuf.ByteString getCountryBytes(); + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return Whether the region field is set. + */ + boolean hasRegion(); + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return The region. + */ + java.lang.String getRegion(); + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return Whether the postalCode field is set. + */ + boolean hasPostalCode(); + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return The postalCode. + */ + java.lang.String getPostalCode(); + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return The bytes for postalCode. + */ + com.google.protobuf.ByteString getPostalCodeBytes(); + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return Whether the originPostalCode field is set. + */ + boolean hasOriginPostalCode(); + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return The originPostalCode. + */ + java.lang.String getOriginPostalCode(); + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return The bytes for originPostalCode. + */ + com.google.protobuf.ByteString getOriginPostalCodeBytes(); + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return Whether the flatPrice field is set. + */ + boolean hasFlatPrice(); + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return The flatPrice. + */ + com.google.shopping.type.Price getFlatPrice(); + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + com.google.shopping.type.PriceOrBuilder getFlatPriceOrBuilder(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return Whether the carrierPrice field is set. + */ + boolean hasCarrierPrice(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The enum numeric value on the wire for carrierPrice. + */ + int getCarrierPriceValue(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The carrierPrice. + */ + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption getCarrierPrice(); + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return Whether the carrierPriceFlatAdjustment field is set. + */ + boolean hasCarrierPriceFlatAdjustment(); + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return The carrierPriceFlatAdjustment. + */ + com.google.shopping.type.Price getCarrierPriceFlatAdjustment(); + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + com.google.shopping.type.PriceOrBuilder getCarrierPriceFlatAdjustmentOrBuilder(); + + /** + * + * + *
    +     * A percentual adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +     * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return Whether the carrierPricePercentageAdjustment field is set. + */ + boolean hasCarrierPricePercentageAdjustment(); + + /** + * + * + *
    +     * A percentual adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +     * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return The carrierPricePercentageAdjustment. + */ + double getCarrierPricePercentageAdjustment(); + + /** + * + * + *
    +     * Minimum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time.
    +     * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +     * can only be set if
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * is also set.
    +     * 
    + * + * optional int64 min_handling_time = 9; + * + * @return Whether the minHandlingTime field is set. + */ + boolean hasMinHandlingTime(); + + /** + * + * + *
    +     * Minimum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time.
    +     * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +     * can only be set if
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * is also set.
    +     * 
    + * + * optional int64 min_handling_time = 9; + * + * @return The minHandlingTime. + */ + long getMinHandlingTime(); + + /** + * + * + *
    +     * Maximum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time. Both
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * and
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * are required if providing shipping speeds.
    +     * 
    + * + * optional int64 max_handling_time = 10; + * + * @return Whether the maxHandlingTime field is set. + */ + boolean hasMaxHandlingTime(); + + /** + * + * + *
    +     * Maximum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time. Both
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * and
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * are required if providing shipping speeds.
    +     * 
    + * + * optional int64 max_handling_time = 10; + * + * @return The maxHandlingTime. + */ + long getMaxHandlingTime(); + + /** + * + * + *
    +     * Minimum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships.
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +     * can only be set if
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * is set. Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return Whether the fixedMinTransitTime field is set. + */ + boolean hasFixedMinTransitTime(); + + /** + * + * + *
    +     * Minimum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships.
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +     * can only be set if
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * is set. Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return The fixedMinTransitTime. + */ + long getFixedMinTransitTime(); + + /** + * + * + *
    +     * Maximum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships. Needs to be provided together with
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +     * Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return Whether the fixedMaxTransitTime field is set. + */ + boolean hasFixedMaxTransitTime(); + + /** + * + * + *
    +     * Maximum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships. Needs to be provided together with
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +     * Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return The fixedMaxTransitTime. + */ + long getFixedMaxTransitTime(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return Whether the carrierTransitTime field is set. + */ + boolean hasCarrierTransitTime(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The enum numeric value on the wire for carrierTransitTime. + */ + int getCarrierTransitTimeValue(); + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The carrierTransitTime. + */ + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption getCarrierTransitTime(); + } + + /** + * + * + *
    +   * Carrier-based shipping configuration. Allows for setting shipping speed or
    +   * shipping cost based on a carrier's provided info.
    +   * 
    + * + * Protobuf type {@code google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping} + */ + public static final class CarrierShipping extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) + CarrierShippingOrBuilder { + private static final long serialVersionUID = 0L; + + // Use CarrierShipping.newBuilder() to construct. + private CarrierShipping(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CarrierShipping() { + country_ = ""; + region_ = ""; + postalCode_ = ""; + originPostalCode_ = ""; + carrierPrice_ = 0; + carrierTransitTime_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CarrierShipping(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.products.v1.ProductsCommonProto + .internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.merchant.products.v1.ProductsCommonProto + .internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.class, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + .class); + } + + private int bitField0_; + public static final int COUNTRY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object country_ = ""; + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return Whether the country field is set. + */ + @java.lang.Override + public boolean hasCountry() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return The country. + */ + @java.lang.Override + public java.lang.String getCountry() { + java.lang.Object ref = country_; + 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(); + country_ = s; + return s; + } + } + + /** + * + * + *
    +     * The [CLDR territory
    +     * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +     * of the country to which an item will ship.
    +     * 
    + * + * optional string country = 1; + * + * @return The bytes for country. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCountryBytes() { + java.lang.Object ref = country_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + country_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REGION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object region_ = ""; + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return Whether the region field is set. + */ + @java.lang.Override + public boolean hasRegion() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + + /** + * + * + *
    +     * The geographic region to which a shipping rate applies.
    +     * See [region](https://support.google.com/merchants/answer/6324484) for
    +     * more information.
    +     * 
    + * + * optional string region = 2; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POSTAL_CODE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object postalCode_ = ""; + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return Whether the postalCode field is set. + */ + @java.lang.Override + public boolean hasPostalCode() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return The postalCode. + */ + @java.lang.Override + public java.lang.String getPostalCode() { + java.lang.Object ref = postalCode_; + 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(); + postalCode_ = s; + return s; + } + } + + /** + * + * + *
    +     * The postal code range that the shipping rate applies to, represented by
    +     * a postal code (eg. `94043`), a postal code prefix followed by a *
    +     * wildcard (eg. `94*`), a range between two postal codes (eg.
    +     * `94043-98033`) or two postal code prefixes of equal length (eg.
    +     * `94*-98*`).
    +     * 
    + * + * optional string postal_code = 3; + * + * @return The bytes for postalCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPostalCodeBytes() { + java.lang.Object ref = postalCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + postalCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORIGIN_POSTAL_CODE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object originPostalCode_ = ""; + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return Whether the originPostalCode field is set. + */ + @java.lang.Override + public boolean hasOriginPostalCode() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return The originPostalCode. + */ + @java.lang.Override + public java.lang.String getOriginPostalCode() { + java.lang.Object ref = originPostalCode_; + 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(); + originPostalCode_ = s; + return s; + } + } + + /** + * + * + *
    +     * The source location postal code from which this offer ships. Represented
    +     * only by a full-length postal code.
    +     * 
    + * + * optional string origin_postal_code = 4; + * + * @return The bytes for originPostalCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOriginPostalCodeBytes() { + java.lang.Object ref = originPostalCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + originPostalCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FLAT_PRICE_FIELD_NUMBER = 5; + private com.google.shopping.type.Price flatPrice_; + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return Whether the flatPrice field is set. + */ + @java.lang.Override + public boolean hasFlatPrice() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return The flatPrice. + */ + @java.lang.Override + public com.google.shopping.type.Price getFlatPrice() { + return flatPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : flatPrice_; + } + + /** + * + * + *
    +     * Fixed shipping price, represented as a number with currency. Cannot be
    +     * set together with
    +     * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +     * or its adjustments
    +     * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +     * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + @java.lang.Override + public com.google.shopping.type.PriceOrBuilder getFlatPriceOrBuilder() { + return flatPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : flatPrice_; + } + + public static final int CARRIER_PRICE_FIELD_NUMBER = 6; + private int carrierPrice_ = 0; + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return Whether the carrierPrice field is set. + */ + @java.lang.Override + public boolean hasCarrierPrice() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The enum numeric value on the wire for carrierPrice. + */ + @java.lang.Override + public int getCarrierPriceValue() { + return carrierPrice_; + } + + /** + * + * + *
    +     * Selected carrier to calculate the shipping price from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate shipping price.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The carrierPrice. + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption + getCarrierPrice() { + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption result = + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption.forNumber( + carrierPrice_); + return result == null + ? com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption + .UNRECOGNIZED + : result; + } + + public static final int CARRIER_PRICE_FLAT_ADJUSTMENT_FIELD_NUMBER = 7; + private com.google.shopping.type.Price carrierPriceFlatAdjustment_; + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return Whether the carrierPriceFlatAdjustment field is set. + */ + @java.lang.Override + public boolean hasCarrierPriceFlatAdjustment() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return The carrierPriceFlatAdjustment. + */ + @java.lang.Override + public com.google.shopping.type.Price getCarrierPriceFlatAdjustment() { + return carrierPriceFlatAdjustment_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : carrierPriceFlatAdjustment_; + } + + /** + * + * + *
    +     * A flat adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +     * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + @java.lang.Override + public com.google.shopping.type.PriceOrBuilder getCarrierPriceFlatAdjustmentOrBuilder() { + return carrierPriceFlatAdjustment_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : carrierPriceFlatAdjustment_; + } + + public static final int CARRIER_PRICE_PERCENTAGE_ADJUSTMENT_FIELD_NUMBER = 8; + private double carrierPricePercentageAdjustment_ = 0D; + + /** + * + * + *
    +     * A percentual adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +     * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return Whether the carrierPricePercentageAdjustment field is set. + */ + @java.lang.Override + public boolean hasCarrierPricePercentageAdjustment() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * + * + *
    +     * A percentual adjustment on the carrier price. Can be either positive or
    +     * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +     * be set together with
    +     * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +     * and
    +     * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +     * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return The carrierPricePercentageAdjustment. + */ + @java.lang.Override + public double getCarrierPricePercentageAdjustment() { + return carrierPricePercentageAdjustment_; + } + + public static final int MIN_HANDLING_TIME_FIELD_NUMBER = 9; + private long minHandlingTime_ = 0L; + + /** + * + * + *
    +     * Minimum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time.
    +     * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +     * can only be set if
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * is also set.
    +     * 
    + * + * optional int64 min_handling_time = 9; + * + * @return Whether the minHandlingTime field is set. + */ + @java.lang.Override + public boolean hasMinHandlingTime() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * + * + *
    +     * Minimum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time.
    +     * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +     * can only be set if
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * is also set.
    +     * 
    + * + * optional int64 min_handling_time = 9; + * + * @return The minHandlingTime. + */ + @java.lang.Override + public long getMinHandlingTime() { + return minHandlingTime_; + } + + public static final int MAX_HANDLING_TIME_FIELD_NUMBER = 10; + private long maxHandlingTime_ = 0L; + + /** + * + * + *
    +     * Maximum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time. Both
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * and
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * are required if providing shipping speeds.
    +     * 
    + * + * optional int64 max_handling_time = 10; + * + * @return Whether the maxHandlingTime field is set. + */ + @java.lang.Override + public boolean hasMaxHandlingTime() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * + * + *
    +     * Maximum handling time (inclusive) between when the order is received and
    +     * shipped in business days. 0 means that the order is shipped on the same
    +     * day as it is received if it happens before the cut-off time. Both
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +     * and
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * are required if providing shipping speeds.
    +     * 
    + * + * optional int64 max_handling_time = 10; + * + * @return The maxHandlingTime. + */ + @java.lang.Override + public long getMaxHandlingTime() { + return maxHandlingTime_; + } + + public static final int FIXED_MIN_TRANSIT_TIME_FIELD_NUMBER = 11; + private long fixedMinTransitTime_ = 0L; + + /** + * + * + *
    +     * Minimum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships.
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +     * can only be set if
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * is set. Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return Whether the fixedMinTransitTime field is set. + */ + @java.lang.Override + public boolean hasFixedMinTransitTime() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
    +     * Minimum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships.
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +     * can only be set if
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * is set. Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return The fixedMinTransitTime. + */ + @java.lang.Override + public long getFixedMinTransitTime() { + return fixedMinTransitTime_; + } + + public static final int FIXED_MAX_TRANSIT_TIME_FIELD_NUMBER = 12; + private long fixedMaxTransitTime_ = 0L; + + /** + * + * + *
    +     * Maximum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships. Needs to be provided together with
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +     * Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return Whether the fixedMaxTransitTime field is set. + */ + @java.lang.Override + public boolean hasFixedMaxTransitTime() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
    +     * Maximum transit time (inclusive) between when the order has shipped and
    +     * when it is delivered in business days. 0 means that the order is
    +     * delivered on the same day as it ships. Needs to be provided together with
    +     * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +     * Cannot be set if
    +     * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +     * is present.
    +     * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return The fixedMaxTransitTime. + */ + @java.lang.Override + public long getFixedMaxTransitTime() { + return fixedMaxTransitTime_; + } + + public static final int CARRIER_TRANSIT_TIME_FIELD_NUMBER = 13; + private int carrierTransitTime_ = 0; + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return Whether the carrierTransitTime field is set. + */ + @java.lang.Override + public boolean hasCarrierTransitTime() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The enum numeric value on the wire for carrierTransitTime. + */ + @java.lang.Override + public int getCarrierTransitTimeValue() { + return carrierTransitTime_; + } + + /** + * + * + *
    +     * Selected carrier to calculate the shipping speed from. Select a carrier
    +     * from the [available carriers
    +     * list](https://support.google.com/merchants/answer/15449142#Supported),
    +     * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +     * selected carrier, the location expressed in
    +     * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +     * along with the user location to determine the accurate delivery speed.
    +     * Carrier is represented by a carrier service name or a carrier service ID.
    +     * Cannot be set together with
    +     * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +     * or
    +     * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +     * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The carrierTransitTime. + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.CarrierTransitTimeOption + getCarrierTransitTime() { + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption result = + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption.forNumber( + carrierTransitTime_); + return result == null + ? com.google.shopping.merchant.products.v1.CarrierTransitTimeOption.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 (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, country_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, region_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, postalCode_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, originPostalCode_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getFlatPrice()); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeEnum(6, carrierPrice_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(7, getCarrierPriceFlatAdjustment()); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeDouble(8, carrierPricePercentageAdjustment_); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(9, minHandlingTime_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(10, maxHandlingTime_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeInt64(11, fixedMinTransitTime_); + } + if (((bitField0_ & 0x00000800) != 0)) { + output.writeInt64(12, fixedMaxTransitTime_); + } + if (((bitField0_ & 0x00001000) != 0)) { + output.writeEnum(13, carrierTransitTime_); + } + 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(1, country_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, region_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, postalCode_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, originPostalCode_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFlatPrice()); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, carrierPrice_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, getCarrierPriceFlatAdjustment()); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 8, carrierPricePercentageAdjustment_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, minHandlingTime_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, maxHandlingTime_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, fixedMinTransitTime_); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, fixedMaxTransitTime_); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, carrierTransitTime_); + } + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping)) { + return super.equals(obj); + } + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping other = + (com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) obj; + + if (hasCountry() != other.hasCountry()) return false; + if (hasCountry()) { + if (!getCountry().equals(other.getCountry())) return false; + } + if (hasRegion() != other.hasRegion()) return false; + if (hasRegion()) { + if (!getRegion().equals(other.getRegion())) return false; + } + if (hasPostalCode() != other.hasPostalCode()) return false; + if (hasPostalCode()) { + if (!getPostalCode().equals(other.getPostalCode())) return false; + } + if (hasOriginPostalCode() != other.hasOriginPostalCode()) return false; + if (hasOriginPostalCode()) { + if (!getOriginPostalCode().equals(other.getOriginPostalCode())) return false; + } + if (hasFlatPrice() != other.hasFlatPrice()) return false; + if (hasFlatPrice()) { + if (!getFlatPrice().equals(other.getFlatPrice())) return false; + } + if (hasCarrierPrice() != other.hasCarrierPrice()) return false; + if (hasCarrierPrice()) { + if (carrierPrice_ != other.carrierPrice_) return false; + } + if (hasCarrierPriceFlatAdjustment() != other.hasCarrierPriceFlatAdjustment()) return false; + if (hasCarrierPriceFlatAdjustment()) { + if (!getCarrierPriceFlatAdjustment().equals(other.getCarrierPriceFlatAdjustment())) + return false; + } + if (hasCarrierPricePercentageAdjustment() != other.hasCarrierPricePercentageAdjustment()) + return false; + if (hasCarrierPricePercentageAdjustment()) { + if (java.lang.Double.doubleToLongBits(getCarrierPricePercentageAdjustment()) + != java.lang.Double.doubleToLongBits(other.getCarrierPricePercentageAdjustment())) + return false; + } + if (hasMinHandlingTime() != other.hasMinHandlingTime()) return false; + if (hasMinHandlingTime()) { + if (getMinHandlingTime() != other.getMinHandlingTime()) return false; + } + if (hasMaxHandlingTime() != other.hasMaxHandlingTime()) return false; + if (hasMaxHandlingTime()) { + if (getMaxHandlingTime() != other.getMaxHandlingTime()) return false; + } + if (hasFixedMinTransitTime() != other.hasFixedMinTransitTime()) return false; + if (hasFixedMinTransitTime()) { + if (getFixedMinTransitTime() != other.getFixedMinTransitTime()) return false; + } + if (hasFixedMaxTransitTime() != other.hasFixedMaxTransitTime()) return false; + if (hasFixedMaxTransitTime()) { + if (getFixedMaxTransitTime() != other.getFixedMaxTransitTime()) return false; + } + if (hasCarrierTransitTime() != other.hasCarrierTransitTime()) return false; + if (hasCarrierTransitTime()) { + if (carrierTransitTime_ != other.carrierTransitTime_) 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 (hasCountry()) { + hash = (37 * hash) + COUNTRY_FIELD_NUMBER; + hash = (53 * hash) + getCountry().hashCode(); + } + if (hasRegion()) { + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + } + if (hasPostalCode()) { + hash = (37 * hash) + POSTAL_CODE_FIELD_NUMBER; + hash = (53 * hash) + getPostalCode().hashCode(); + } + if (hasOriginPostalCode()) { + hash = (37 * hash) + ORIGIN_POSTAL_CODE_FIELD_NUMBER; + hash = (53 * hash) + getOriginPostalCode().hashCode(); + } + if (hasFlatPrice()) { + hash = (37 * hash) + FLAT_PRICE_FIELD_NUMBER; + hash = (53 * hash) + getFlatPrice().hashCode(); + } + if (hasCarrierPrice()) { + hash = (37 * hash) + CARRIER_PRICE_FIELD_NUMBER; + hash = (53 * hash) + carrierPrice_; + } + if (hasCarrierPriceFlatAdjustment()) { + hash = (37 * hash) + CARRIER_PRICE_FLAT_ADJUSTMENT_FIELD_NUMBER; + hash = (53 * hash) + getCarrierPriceFlatAdjustment().hashCode(); + } + if (hasCarrierPricePercentageAdjustment()) { + hash = (37 * hash) + CARRIER_PRICE_PERCENTAGE_ADJUSTMENT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCarrierPricePercentageAdjustment())); + } + if (hasMinHandlingTime()) { + hash = (37 * hash) + MIN_HANDLING_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinHandlingTime()); + } + if (hasMaxHandlingTime()) { + hash = (37 * hash) + MAX_HANDLING_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxHandlingTime()); + } + if (hasFixedMinTransitTime()) { + hash = (37 * hash) + FIXED_MIN_TRANSIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFixedMinTransitTime()); + } + if (hasFixedMaxTransitTime()) { + hash = (37 * hash) + FIXED_MAX_TRANSIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFixedMaxTransitTime()); + } + if (hasCarrierTransitTime()) { + hash = (37 * hash) + CARRIER_TRANSIT_TIME_FIELD_NUMBER; + hash = (53 * hash) + carrierTransitTime_; + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping 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; + } + + /** + * + * + *
    +     * Carrier-based shipping configuration. Allows for setting shipping speed or
    +     * shipping cost based on a carrier's provided info.
    +     * 
    + * + * Protobuf type {@code google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.products.v1.ProductsCommonProto + .internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.shopping.merchant.products.v1.ProductsCommonProto + .internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.class, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + .class); + } + + // Construct using + // com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFlatPriceFieldBuilder(); + getCarrierPriceFlatAdjustmentFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + country_ = ""; + region_ = ""; + postalCode_ = ""; + originPostalCode_ = ""; + flatPrice_ = null; + if (flatPriceBuilder_ != null) { + flatPriceBuilder_.dispose(); + flatPriceBuilder_ = null; + } + carrierPrice_ = 0; + carrierPriceFlatAdjustment_ = null; + if (carrierPriceFlatAdjustmentBuilder_ != null) { + carrierPriceFlatAdjustmentBuilder_.dispose(); + carrierPriceFlatAdjustmentBuilder_ = null; + } + carrierPricePercentageAdjustment_ = 0D; + minHandlingTime_ = 0L; + maxHandlingTime_ = 0L; + fixedMinTransitTime_ = 0L; + fixedMaxTransitTime_ = 0L; + carrierTransitTime_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.products.v1.ProductsCommonProto + .internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor; + } + + @java.lang.Override + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + getDefaultInstanceForType() { + return com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping build() { + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + buildPartial() { + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping result = + new com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.country_ = country_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.region_ = region_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.postalCode_ = postalCode_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.originPostalCode_ = originPostalCode_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.flatPrice_ = flatPriceBuilder_ == null ? flatPrice_ : flatPriceBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.carrierPrice_ = carrierPrice_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.carrierPriceFlatAdjustment_ = + carrierPriceFlatAdjustmentBuilder_ == null + ? carrierPriceFlatAdjustment_ + : carrierPriceFlatAdjustmentBuilder_.build(); + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.carrierPricePercentageAdjustment_ = carrierPricePercentageAdjustment_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.minHandlingTime_ = minHandlingTime_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.maxHandlingTime_ = maxHandlingTime_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.fixedMinTransitTime_ = fixedMinTransitTime_; + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.fixedMaxTransitTime_ = fixedMaxTransitTime_; + to_bitField0_ |= 0x00000800; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.carrierTransitTime_ = carrierTransitTime_; + to_bitField0_ |= 0x00001000; + } + 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) { + return mergeFrom( + (com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping other) { + if (other + == com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + .getDefaultInstance()) return this; + if (other.hasCountry()) { + country_ = other.country_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasRegion()) { + region_ = other.region_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasPostalCode()) { + postalCode_ = other.postalCode_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasOriginPostalCode()) { + originPostalCode_ = other.originPostalCode_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasFlatPrice()) { + mergeFlatPrice(other.getFlatPrice()); + } + if (other.hasCarrierPrice()) { + setCarrierPrice(other.getCarrierPrice()); + } + if (other.hasCarrierPriceFlatAdjustment()) { + mergeCarrierPriceFlatAdjustment(other.getCarrierPriceFlatAdjustment()); + } + if (other.hasCarrierPricePercentageAdjustment()) { + setCarrierPricePercentageAdjustment(other.getCarrierPricePercentageAdjustment()); + } + if (other.hasMinHandlingTime()) { + setMinHandlingTime(other.getMinHandlingTime()); + } + if (other.hasMaxHandlingTime()) { + setMaxHandlingTime(other.getMaxHandlingTime()); + } + if (other.hasFixedMinTransitTime()) { + setFixedMinTransitTime(other.getFixedMinTransitTime()); + } + if (other.hasFixedMaxTransitTime()) { + setFixedMaxTransitTime(other.getFixedMaxTransitTime()); + } + if (other.hasCarrierTransitTime()) { + setCarrierTransitTime(other.getCarrierTransitTime()); + } + 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: + { + country_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + region_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + postalCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + originPostalCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getFlatPriceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + carrierPrice_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + input.readMessage( + getCarrierPriceFlatAdjustmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 65: + { + carrierPricePercentageAdjustment_ = input.readDouble(); + bitField0_ |= 0x00000080; + break; + } // case 65 + case 72: + { + minHandlingTime_ = input.readInt64(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: + { + maxHandlingTime_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: + { + fixedMinTransitTime_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: + { + fixedMaxTransitTime_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: + { + carrierTransitTime_ = input.readEnum(); + bitField0_ |= 0x00001000; + break; + } // case 104 + 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 country_ = ""; + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @return Whether the country field is set. + */ + public boolean hasCountry() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @return The country. + */ + public java.lang.String getCountry() { + java.lang.Object ref = country_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + country_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @return The bytes for country. + */ + public com.google.protobuf.ByteString getCountryBytes() { + java.lang.Object ref = country_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + country_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @param value The country to set. + * @return This builder for chaining. + */ + public Builder setCountry(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + country_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @return This builder for chaining. + */ + public Builder clearCountry() { + country_ = getDefaultInstance().getCountry(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +       * The [CLDR territory
    +       * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
    +       * of the country to which an item will ship.
    +       * 
    + * + * optional string country = 1; + * + * @param value The bytes for country to set. + * @return This builder for chaining. + */ + public Builder setCountryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + country_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @return Whether the region field is set. + */ + public boolean hasRegion() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + region_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + region_ = getDefaultInstance().getRegion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +       * The geographic region to which a shipping rate applies.
    +       * See [region](https://support.google.com/merchants/answer/6324484) for
    +       * more information.
    +       * 
    + * + * optional string region = 2; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + region_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object postalCode_ = ""; + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @return Whether the postalCode field is set. + */ + public boolean hasPostalCode() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @return The postalCode. + */ + public java.lang.String getPostalCode() { + java.lang.Object ref = postalCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + postalCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @return The bytes for postalCode. + */ + public com.google.protobuf.ByteString getPostalCodeBytes() { + java.lang.Object ref = postalCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + postalCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @param value The postalCode to set. + * @return This builder for chaining. + */ + public Builder setPostalCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + postalCode_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @return This builder for chaining. + */ + public Builder clearPostalCode() { + postalCode_ = getDefaultInstance().getPostalCode(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +       * The postal code range that the shipping rate applies to, represented by
    +       * a postal code (eg. `94043`), a postal code prefix followed by a *
    +       * wildcard (eg. `94*`), a range between two postal codes (eg.
    +       * `94043-98033`) or two postal code prefixes of equal length (eg.
    +       * `94*-98*`).
    +       * 
    + * + * optional string postal_code = 3; + * + * @param value The bytes for postalCode to set. + * @return This builder for chaining. + */ + public Builder setPostalCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + postalCode_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object originPostalCode_ = ""; + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @return Whether the originPostalCode field is set. + */ + public boolean hasOriginPostalCode() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @return The originPostalCode. + */ + public java.lang.String getOriginPostalCode() { + java.lang.Object ref = originPostalCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + originPostalCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @return The bytes for originPostalCode. + */ + public com.google.protobuf.ByteString getOriginPostalCodeBytes() { + java.lang.Object ref = originPostalCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + originPostalCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @param value The originPostalCode to set. + * @return This builder for chaining. + */ + public Builder setOriginPostalCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + originPostalCode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @return This builder for chaining. + */ + public Builder clearOriginPostalCode() { + originPostalCode_ = getDefaultInstance().getOriginPostalCode(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +       * The source location postal code from which this offer ships. Represented
    +       * only by a full-length postal code.
    +       * 
    + * + * optional string origin_postal_code = 4; + * + * @param value The bytes for originPostalCode to set. + * @return This builder for chaining. + */ + public Builder setOriginPostalCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + originPostalCode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.shopping.type.Price flatPrice_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + flatPriceBuilder_; + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return Whether the flatPrice field is set. + */ + public boolean hasFlatPrice() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + * + * @return The flatPrice. + */ + public com.google.shopping.type.Price getFlatPrice() { + if (flatPriceBuilder_ == null) { + return flatPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : flatPrice_; + } else { + return flatPriceBuilder_.getMessage(); + } + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public Builder setFlatPrice(com.google.shopping.type.Price value) { + if (flatPriceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + flatPrice_ = value; + } else { + flatPriceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public Builder setFlatPrice(com.google.shopping.type.Price.Builder builderForValue) { + if (flatPriceBuilder_ == null) { + flatPrice_ = builderForValue.build(); + } else { + flatPriceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public Builder mergeFlatPrice(com.google.shopping.type.Price value) { + if (flatPriceBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && flatPrice_ != null + && flatPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { + getFlatPriceBuilder().mergeFrom(value); + } else { + flatPrice_ = value; + } + } else { + flatPriceBuilder_.mergeFrom(value); + } + if (flatPrice_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public Builder clearFlatPrice() { + bitField0_ = (bitField0_ & ~0x00000010); + flatPrice_ = null; + if (flatPriceBuilder_ != null) { + flatPriceBuilder_.dispose(); + flatPriceBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public com.google.shopping.type.Price.Builder getFlatPriceBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getFlatPriceFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + public com.google.shopping.type.PriceOrBuilder getFlatPriceOrBuilder() { + if (flatPriceBuilder_ != null) { + return flatPriceBuilder_.getMessageOrBuilder(); + } else { + return flatPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : flatPrice_; + } + } + + /** + * + * + *
    +       * Fixed shipping price, represented as a number with currency. Cannot be
    +       * set together with
    +       * [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price]
    +       * or its adjustments
    +       * ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment],
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]).
    +       * 
    + * + * optional .google.shopping.type.Price flat_price = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + getFlatPriceFieldBuilder() { + if (flatPriceBuilder_ == null) { + flatPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getFlatPrice(), getParentForChildren(), isClean()); + flatPrice_ = null; + } + return flatPriceBuilder_; + } + + private int carrierPrice_ = 0; + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return Whether the carrierPrice field is set. + */ + @java.lang.Override + public boolean hasCarrierPrice() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The enum numeric value on the wire for carrierPrice. + */ + @java.lang.Override + public int getCarrierPriceValue() { + return carrierPrice_; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @param value The enum numeric value on the wire for carrierPrice to set. + * @return This builder for chaining. + */ + public Builder setCarrierPriceValue(int value) { + carrierPrice_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return The carrierPrice. + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption + getCarrierPrice() { + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption result = + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption.forNumber( + carrierPrice_); + return result == null + ? com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption + .UNRECOGNIZED + : result; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @param value The carrierPrice to set. + * @return This builder for chaining. + */ + public Builder setCarrierPrice( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + carrierPrice_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping price from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate shipping price.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.ProductAttributes.CarrierPriceOption carrier_price = 6; + * + * + * @return This builder for chaining. + */ + public Builder clearCarrierPrice() { + bitField0_ = (bitField0_ & ~0x00000020); + carrierPrice_ = 0; + onChanged(); + return this; + } + + private com.google.shopping.type.Price carrierPriceFlatAdjustment_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + carrierPriceFlatAdjustmentBuilder_; + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return Whether the carrierPriceFlatAdjustment field is set. + */ + public boolean hasCarrierPriceFlatAdjustment() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + * + * @return The carrierPriceFlatAdjustment. + */ + public com.google.shopping.type.Price getCarrierPriceFlatAdjustment() { + if (carrierPriceFlatAdjustmentBuilder_ == null) { + return carrierPriceFlatAdjustment_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : carrierPriceFlatAdjustment_; + } else { + return carrierPriceFlatAdjustmentBuilder_.getMessage(); + } + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public Builder setCarrierPriceFlatAdjustment(com.google.shopping.type.Price value) { + if (carrierPriceFlatAdjustmentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + carrierPriceFlatAdjustment_ = value; + } else { + carrierPriceFlatAdjustmentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public Builder setCarrierPriceFlatAdjustment( + com.google.shopping.type.Price.Builder builderForValue) { + if (carrierPriceFlatAdjustmentBuilder_ == null) { + carrierPriceFlatAdjustment_ = builderForValue.build(); + } else { + carrierPriceFlatAdjustmentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public Builder mergeCarrierPriceFlatAdjustment(com.google.shopping.type.Price value) { + if (carrierPriceFlatAdjustmentBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && carrierPriceFlatAdjustment_ != null + && carrierPriceFlatAdjustment_ + != com.google.shopping.type.Price.getDefaultInstance()) { + getCarrierPriceFlatAdjustmentBuilder().mergeFrom(value); + } else { + carrierPriceFlatAdjustment_ = value; + } + } else { + carrierPriceFlatAdjustmentBuilder_.mergeFrom(value); + } + if (carrierPriceFlatAdjustment_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public Builder clearCarrierPriceFlatAdjustment() { + bitField0_ = (bitField0_ & ~0x00000040); + carrierPriceFlatAdjustment_ = null; + if (carrierPriceFlatAdjustmentBuilder_ != null) { + carrierPriceFlatAdjustmentBuilder_.dispose(); + carrierPriceFlatAdjustmentBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public com.google.shopping.type.Price.Builder getCarrierPriceFlatAdjustmentBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getCarrierPriceFlatAdjustmentFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + public com.google.shopping.type.PriceOrBuilder getCarrierPriceFlatAdjustmentOrBuilder() { + if (carrierPriceFlatAdjustmentBuilder_ != null) { + return carrierPriceFlatAdjustmentBuilder_.getMessageOrBuilder(); + } else { + return carrierPriceFlatAdjustment_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : carrierPriceFlatAdjustment_; + } + } + + /** + * + * + *
    +       * A flat adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment].
    +       * 
    + * + * optional .google.shopping.type.Price carrier_price_flat_adjustment = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + getCarrierPriceFlatAdjustmentFieldBuilder() { + if (carrierPriceFlatAdjustmentBuilder_ == null) { + carrierPriceFlatAdjustmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getCarrierPriceFlatAdjustment(), getParentForChildren(), isClean()); + carrierPriceFlatAdjustment_ = null; + } + return carrierPriceFlatAdjustmentBuilder_; + } + + private double carrierPricePercentageAdjustment_; + + /** + * + * + *
    +       * A percentual adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +       * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return Whether the carrierPricePercentageAdjustment field is set. + */ + @java.lang.Override + public boolean hasCarrierPricePercentageAdjustment() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * + * + *
    +       * A percentual adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +       * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return The carrierPricePercentageAdjustment. + */ + @java.lang.Override + public double getCarrierPricePercentageAdjustment() { + return carrierPricePercentageAdjustment_; + } + + /** + * + * + *
    +       * A percentual adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +       * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @param value The carrierPricePercentageAdjustment to set. + * @return This builder for chaining. + */ + public Builder setCarrierPricePercentageAdjustment(double value) { + + carrierPricePercentageAdjustment_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
    +       * A percentual adjustment on the carrier price. Can be either positive or
    +       * negative. Cannot be zero. Requires `carrier_price` to be present. Cannot
    +       * be set together with
    +       * [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]
    +       * and
    +       * [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment].
    +       * 
    + * + * optional double carrier_price_percentage_adjustment = 8; + * + * @return This builder for chaining. + */ + public Builder clearCarrierPricePercentageAdjustment() { + bitField0_ = (bitField0_ & ~0x00000080); + carrierPricePercentageAdjustment_ = 0D; + onChanged(); + return this; + } + + private long minHandlingTime_; + + /** + * + * + *
    +       * Minimum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time.
    +       * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +       * can only be set if
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * is also set.
    +       * 
    + * + * optional int64 min_handling_time = 9; + * + * @return Whether the minHandlingTime field is set. + */ + @java.lang.Override + public boolean hasMinHandlingTime() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * + * + *
    +       * Minimum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time.
    +       * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +       * can only be set if
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * is also set.
    +       * 
    + * + * optional int64 min_handling_time = 9; + * + * @return The minHandlingTime. + */ + @java.lang.Override + public long getMinHandlingTime() { + return minHandlingTime_; + } + + /** + * + * + *
    +       * Minimum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time.
    +       * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +       * can only be set if
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * is also set.
    +       * 
    + * + * optional int64 min_handling_time = 9; + * + * @param value The minHandlingTime to set. + * @return This builder for chaining. + */ + public Builder setMinHandlingTime(long value) { + + minHandlingTime_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Minimum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time.
    +       * [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time]
    +       * can only be set if
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * is also set.
    +       * 
    + * + * optional int64 min_handling_time = 9; + * + * @return This builder for chaining. + */ + public Builder clearMinHandlingTime() { + bitField0_ = (bitField0_ & ~0x00000100); + minHandlingTime_ = 0L; + onChanged(); + return this; + } + + private long maxHandlingTime_; + + /** + * + * + *
    +       * Maximum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time. Both
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * and
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * are required if providing shipping speeds.
    +       * 
    + * + * optional int64 max_handling_time = 10; + * + * @return Whether the maxHandlingTime field is set. + */ + @java.lang.Override + public boolean hasMaxHandlingTime() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * + * + *
    +       * Maximum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time. Both
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * and
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * are required if providing shipping speeds.
    +       * 
    + * + * optional int64 max_handling_time = 10; + * + * @return The maxHandlingTime. + */ + @java.lang.Override + public long getMaxHandlingTime() { + return maxHandlingTime_; + } + + /** + * + * + *
    +       * Maximum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time. Both
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * and
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * are required if providing shipping speeds.
    +       * 
    + * + * optional int64 max_handling_time = 10; + * + * @param value The maxHandlingTime to set. + * @return This builder for chaining. + */ + public Builder setMaxHandlingTime(long value) { + + maxHandlingTime_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Maximum handling time (inclusive) between when the order is received and
    +       * shipped in business days. 0 means that the order is shipped on the same
    +       * day as it is received if it happens before the cut-off time. Both
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]
    +       * and
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * are required if providing shipping speeds.
    +       * 
    + * + * optional int64 max_handling_time = 10; + * + * @return This builder for chaining. + */ + public Builder clearMaxHandlingTime() { + bitField0_ = (bitField0_ & ~0x00000200); + maxHandlingTime_ = 0L; + onChanged(); + return this; + } + + private long fixedMinTransitTime_; + + /** + * + * + *
    +       * Minimum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships.
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +       * can only be set if
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * is set. Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return Whether the fixedMinTransitTime field is set. + */ + @java.lang.Override + public boolean hasFixedMinTransitTime() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
    +       * Minimum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships.
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +       * can only be set if
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * is set. Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return The fixedMinTransitTime. + */ + @java.lang.Override + public long getFixedMinTransitTime() { + return fixedMinTransitTime_; + } + + /** + * + * + *
    +       * Minimum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships.
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +       * can only be set if
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * is set. Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @param value The fixedMinTransitTime to set. + * @return This builder for chaining. + */ + public Builder setFixedMinTransitTime(long value) { + + fixedMinTransitTime_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Minimum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships.
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]
    +       * can only be set if
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * is set. Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_min_transit_time = 11; + * + * @return This builder for chaining. + */ + public Builder clearFixedMinTransitTime() { + bitField0_ = (bitField0_ & ~0x00000400); + fixedMinTransitTime_ = 0L; + onChanged(); + return this; + } + + private long fixedMaxTransitTime_; + + /** + * + * + *
    +       * Maximum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships. Needs to be provided together with
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +       * Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return Whether the fixedMaxTransitTime field is set. + */ + @java.lang.Override + public boolean hasFixedMaxTransitTime() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
    +       * Maximum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships. Needs to be provided together with
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +       * Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return The fixedMaxTransitTime. + */ + @java.lang.Override + public long getFixedMaxTransitTime() { + return fixedMaxTransitTime_; + } + + /** + * + * + *
    +       * Maximum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships. Needs to be provided together with
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +       * Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @param value The fixedMaxTransitTime to set. + * @return This builder for chaining. + */ + public Builder setFixedMaxTransitTime(long value) { + + fixedMaxTransitTime_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Maximum transit time (inclusive) between when the order has shipped and
    +       * when it is delivered in business days. 0 means that the order is
    +       * delivered on the same day as it ships. Needs to be provided together with
    +       * [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time].
    +       * Cannot be set if
    +       * [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time]
    +       * is present.
    +       * 
    + * + * optional int64 fixed_max_transit_time = 12; + * + * @return This builder for chaining. + */ + public Builder clearFixedMaxTransitTime() { + bitField0_ = (bitField0_ & ~0x00000800); + fixedMaxTransitTime_ = 0L; + onChanged(); + return this; + } + + private int carrierTransitTime_ = 0; + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return Whether the carrierTransitTime field is set. + */ + @java.lang.Override + public boolean hasCarrierTransitTime() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The enum numeric value on the wire for carrierTransitTime. + */ + @java.lang.Override + public int getCarrierTransitTimeValue() { + return carrierTransitTime_; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @param value The enum numeric value on the wire for carrierTransitTime to set. + * @return This builder for chaining. + */ + public Builder setCarrierTransitTimeValue(int value) { + carrierTransitTime_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return The carrierTransitTime. + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.CarrierTransitTimeOption + getCarrierTransitTime() { + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption result = + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption.forNumber( + carrierTransitTime_); + return result == null + ? com.google.shopping.merchant.products.v1.CarrierTransitTimeOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @param value The carrierTransitTime to set. + * @return This builder for chaining. + */ + public Builder setCarrierTransitTime( + com.google.shopping.merchant.products.v1.CarrierTransitTimeOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; + carrierTransitTime_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +       * Selected carrier to calculate the shipping speed from. Select a carrier
    +       * from the [available carriers
    +       * list](https://support.google.com/merchants/answer/15449142#Supported),
    +       * for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this
    +       * selected carrier, the location expressed in
    +       * [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code],
    +       * along with the user location to determine the accurate delivery speed.
    +       * Carrier is represented by a carrier service name or a carrier service ID.
    +       * Cannot be set together with
    +       * [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time]
    +       * or
    +       * [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time].
    +       * 
    + * + * + * optional .google.shopping.merchant.products.v1.CarrierTransitTimeOption carrier_transit_time = 13; + * + * + * @return This builder for chaining. + */ + public Builder clearCarrierTransitTime() { + bitField0_ = (bitField0_ & ~0x00001000); + carrierTransitTime_ = 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) + } + + // @@protoc_insertion_point(class_scope:google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping) + private static final com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping(); + } + + public static com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CarrierShipping 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.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + private int bitField0_; private int bitField1_; private int bitField2_; @@ -2536,81 +8338,173 @@ public com.google.shopping.merchant.products.v1.ProductWeight getProductWeight() : productWeight_; } - public static final int SHIPPING_FIELD_NUMBER = 39; + public static final int SHIPPING_FIELD_NUMBER = 39; + + @SuppressWarnings("serial") + private java.util.List shipping_; + + /** + * + * + *
    +   * Shipping rules.
    +   * 
    + * + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + */ + @java.lang.Override + public java.util.List getShippingList() { + return shipping_; + } + + /** + * + * + *
    +   * Shipping rules.
    +   * 
    + * + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + */ + @java.lang.Override + public java.util.List + getShippingOrBuilderList() { + return shipping_; + } + + /** + * + * + *
    +   * Shipping rules.
    +   * 
    + * + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + */ + @java.lang.Override + public int getShippingCount() { + return shipping_.size(); + } + + /** + * + * + *
    +   * Shipping rules.
    +   * 
    + * + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.Shipping getShipping(int index) { + return shipping_.get(index); + } + + /** + * + * + *
    +   * Shipping rules.
    +   * 
    + * + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + */ + @java.lang.Override + public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrBuilder( + int index) { + return shipping_.get(index); + } + + public static final int CARRIER_SHIPPING_FIELD_NUMBER = 142; @SuppressWarnings("serial") - private java.util.List shipping_; + private java.util.List + carrierShipping_; /** * * *
    -   * Shipping rules.
    +   * Rules for carrier-based shipping.
        * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ @java.lang.Override - public java.util.List getShippingList() { - return shipping_; + public java.util.List + getCarrierShippingList() { + return carrierShipping_; } /** * * *
    -   * Shipping rules.
    +   * Rules for carrier-based shipping.
        * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ @java.lang.Override - public java.util.List - getShippingOrBuilderList() { - return shipping_; + public java.util.List< + ? extends + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder> + getCarrierShippingOrBuilderList() { + return carrierShipping_; } /** * * *
    -   * Shipping rules.
    +   * Rules for carrier-based shipping.
        * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ @java.lang.Override - public int getShippingCount() { - return shipping_.size(); + public int getCarrierShippingCount() { + return carrierShipping_.size(); } /** * * *
    -   * Shipping rules.
    +   * Rules for carrier-based shipping.
        * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ @java.lang.Override - public com.google.shopping.merchant.products.v1.Shipping getShipping(int index) { - return shipping_.get(index); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + getCarrierShipping(int index) { + return carrierShipping_.get(index); } /** * * *
    -   * Shipping rules.
    +   * Rules for carrier-based shipping.
        * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ @java.lang.Override - public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrBuilder( - int index) { - return shipping_.get(index); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder + getCarrierShippingOrBuilder(int index) { + return carrierShipping_.get(index); } public static final int FREE_SHIPPING_THRESHOLD_FIELD_NUMBER = 135; @@ -6642,6 +12536,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < gtins_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 140, gtins_.getRaw(i)); } + for (int i = 0; i < carrierShipping_.size(); i++) { + output.writeMessage(142, carrierShipping_.get(i)); + } getUnknownFields().writeTo(output); } @@ -7015,6 +12912,10 @@ public int getSerializedSize() { size += dataSize; size += 2 * getGtinsList().size(); } + for (int i = 0; i < carrierShipping_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(142, carrierShipping_.get(i)); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -7176,6 +13077,7 @@ public boolean equals(final java.lang.Object obj) { if (!getProductWeight().equals(other.getProductWeight())) return false; } if (!getShippingList().equals(other.getShippingList())) return false; + if (!getCarrierShippingList().equals(other.getCarrierShippingList())) return false; if (!getFreeShippingThresholdList().equals(other.getFreeShippingThresholdList())) return false; if (hasShippingWeight() != other.hasShippingWeight()) return false; if (hasShippingWeight()) { @@ -7517,6 +13419,10 @@ public int hashCode() { hash = (37 * hash) + SHIPPING_FIELD_NUMBER; hash = (53 * hash) + getShippingList().hashCode(); } + if (getCarrierShippingCount() > 0) { + hash = (37 * hash) + CARRIER_SHIPPING_FIELD_NUMBER; + hash = (53 * hash) + getCarrierShippingList().hashCode(); + } if (getFreeShippingThresholdCount() > 0) { hash = (37 * hash) + FREE_SHIPPING_THRESHOLD_FIELD_NUMBER; hash = (53 * hash) + getFreeShippingThresholdList().hashCode(); @@ -7886,6 +13792,7 @@ private void maybeForceBuilderInitialization() { getProductWidthFieldBuilder(); getProductWeightFieldBuilder(); getShippingFieldBuilder(); + getCarrierShippingFieldBuilder(); getFreeShippingThresholdFieldBuilder(); getShippingWeightFieldBuilder(); getShippingLengthFieldBuilder(); @@ -8018,13 +13925,20 @@ public Builder clear() { shippingBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000080); + if (carrierShippingBuilder_ == null) { + carrierShipping_ = java.util.Collections.emptyList(); + } else { + carrierShipping_ = null; + carrierShippingBuilder_.clear(); + } + bitField1_ = (bitField1_ & ~0x00000100); if (freeShippingThresholdBuilder_ == null) { freeShippingThreshold_ = java.util.Collections.emptyList(); } else { freeShippingThreshold_ = null; freeShippingThresholdBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000100); + bitField1_ = (bitField1_ & ~0x00000200); shippingWeight_ = null; if (shippingWeightBuilder_ != null) { shippingWeightBuilder_.dispose(); @@ -8052,7 +13966,7 @@ public Builder clear() { size_ = ""; sizeSystem_ = 0; sizeTypes_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00080000); + bitField1_ = (bitField1_ & ~0x00100000); energyEfficiencyClass_ = 0; minEnergyEfficiencyClass_ = 0; maxEnergyEfficiencyClass_ = 0; @@ -8081,7 +13995,7 @@ public Builder clear() { productDetails_ = null; productDetailsBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); productHighlights_ = com.google.protobuf.LazyStringArrayList.emptyList(); displayAdsId_ = ""; displayAdsSimilarIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -8099,9 +14013,9 @@ public Builder clear() { customLabel3_ = ""; customLabel4_ = ""; includedDestinations_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00008000); - excludedDestinations_ = java.util.Collections.emptyList(); bitField2_ = (bitField2_ & ~0x00010000); + excludedDestinations_ = java.util.Collections.emptyList(); + bitField2_ = (bitField2_ & ~0x00020000); shoppingAdsExcludedCountries_ = com.google.protobuf.LazyStringArrayList.emptyList(); externalSellerId_ = ""; pause_ = 0; @@ -8112,7 +14026,7 @@ public Builder clear() { cloudExportAdditionalProperties_ = null; cloudExportAdditionalPropertiesBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x00200000); + bitField2_ = (bitField2_ & ~0x00400000); virtualModelLink_ = ""; if (certificationsBuilder_ == null) { certifications_ = java.util.Collections.emptyList(); @@ -8120,7 +14034,7 @@ public Builder clear() { certifications_ = null; certificationsBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x00800000); + bitField2_ = (bitField2_ & ~0x01000000); structuredTitle_ = null; if (structuredTitleBuilder_ != null) { structuredTitleBuilder_.dispose(); @@ -8142,7 +14056,7 @@ public Builder clear() { sustainabilityIncentives_ = null; sustainabilityIncentivesBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); return this; } @@ -8204,63 +14118,72 @@ private void buildPartialRepeatedFields( } else { result.shipping_ = shippingBuilder_.build(); } - if (freeShippingThresholdBuilder_ == null) { + if (carrierShippingBuilder_ == null) { if (((bitField1_ & 0x00000100) != 0)) { - freeShippingThreshold_ = java.util.Collections.unmodifiableList(freeShippingThreshold_); + carrierShipping_ = java.util.Collections.unmodifiableList(carrierShipping_); bitField1_ = (bitField1_ & ~0x00000100); } + result.carrierShipping_ = carrierShipping_; + } else { + result.carrierShipping_ = carrierShippingBuilder_.build(); + } + if (freeShippingThresholdBuilder_ == null) { + if (((bitField1_ & 0x00000200) != 0)) { + freeShippingThreshold_ = java.util.Collections.unmodifiableList(freeShippingThreshold_); + bitField1_ = (bitField1_ & ~0x00000200); + } result.freeShippingThreshold_ = freeShippingThreshold_; } else { result.freeShippingThreshold_ = freeShippingThresholdBuilder_.build(); } - if (((bitField1_ & 0x00080000) != 0)) { + if (((bitField1_ & 0x00100000) != 0)) { sizeTypes_ = java.util.Collections.unmodifiableList(sizeTypes_); - bitField1_ = (bitField1_ & ~0x00080000); + bitField1_ = (bitField1_ & ~0x00100000); } result.sizeTypes_ = sizeTypes_; if (productDetailsBuilder_ == null) { - if (((bitField1_ & 0x40000000) != 0)) { + if (((bitField1_ & 0x80000000) != 0)) { productDetails_ = java.util.Collections.unmodifiableList(productDetails_); - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); } result.productDetails_ = productDetails_; } else { result.productDetails_ = productDetailsBuilder_.build(); } - if (((bitField2_ & 0x00008000) != 0)) { + if (((bitField2_ & 0x00010000) != 0)) { includedDestinations_ = java.util.Collections.unmodifiableList(includedDestinations_); - bitField2_ = (bitField2_ & ~0x00008000); + bitField2_ = (bitField2_ & ~0x00010000); } result.includedDestinations_ = includedDestinations_; - if (((bitField2_ & 0x00010000) != 0)) { + if (((bitField2_ & 0x00020000) != 0)) { excludedDestinations_ = java.util.Collections.unmodifiableList(excludedDestinations_); - bitField2_ = (bitField2_ & ~0x00010000); + bitField2_ = (bitField2_ & ~0x00020000); } result.excludedDestinations_ = excludedDestinations_; if (cloudExportAdditionalPropertiesBuilder_ == null) { - if (((bitField2_ & 0x00200000) != 0)) { + if (((bitField2_ & 0x00400000) != 0)) { cloudExportAdditionalProperties_ = java.util.Collections.unmodifiableList(cloudExportAdditionalProperties_); - bitField2_ = (bitField2_ & ~0x00200000); + bitField2_ = (bitField2_ & ~0x00400000); } result.cloudExportAdditionalProperties_ = cloudExportAdditionalProperties_; } else { result.cloudExportAdditionalProperties_ = cloudExportAdditionalPropertiesBuilder_.build(); } if (certificationsBuilder_ == null) { - if (((bitField2_ & 0x00800000) != 0)) { + if (((bitField2_ & 0x01000000) != 0)) { certifications_ = java.util.Collections.unmodifiableList(certifications_); - bitField2_ = (bitField2_ & ~0x00800000); + bitField2_ = (bitField2_ & ~0x01000000); } result.certifications_ = certifications_; } else { result.certifications_ = certificationsBuilder_.build(); } if (sustainabilityIncentivesBuilder_ == null) { - if (((bitField2_ & 0x08000000) != 0)) { + if (((bitField2_ & 0x10000000) != 0)) { sustainabilityIncentives_ = java.util.Collections.unmodifiableList(sustainabilityIncentives_); - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); } result.sustainabilityIncentives_ = sustainabilityIncentives_; } else { @@ -8446,202 +14369,202 @@ private void buildPartial1(com.google.shopping.merchant.products.v1.ProductAttri productWeightBuilder_ == null ? productWeight_ : productWeightBuilder_.build(); to_bitField1_ |= 0x00000004; } - if (((from_bitField1_ & 0x00000200) != 0)) { + if (((from_bitField1_ & 0x00000400) != 0)) { result.shippingWeight_ = shippingWeightBuilder_ == null ? shippingWeight_ : shippingWeightBuilder_.build(); to_bitField1_ |= 0x00000008; } - if (((from_bitField1_ & 0x00000400) != 0)) { + if (((from_bitField1_ & 0x00000800) != 0)) { result.shippingLength_ = shippingLengthBuilder_ == null ? shippingLength_ : shippingLengthBuilder_.build(); to_bitField1_ |= 0x00000010; } - if (((from_bitField1_ & 0x00000800) != 0)) { + if (((from_bitField1_ & 0x00001000) != 0)) { result.shippingWidth_ = shippingWidthBuilder_ == null ? shippingWidth_ : shippingWidthBuilder_.build(); to_bitField1_ |= 0x00000020; } - if (((from_bitField1_ & 0x00001000) != 0)) { + if (((from_bitField1_ & 0x00002000) != 0)) { result.shippingHeight_ = shippingHeightBuilder_ == null ? shippingHeight_ : shippingHeightBuilder_.build(); to_bitField1_ |= 0x00000040; } - if (((from_bitField1_ & 0x00002000) != 0)) { + if (((from_bitField1_ & 0x00004000) != 0)) { result.maxHandlingTime_ = maxHandlingTime_; to_bitField1_ |= 0x00000080; } - if (((from_bitField1_ & 0x00004000) != 0)) { + if (((from_bitField1_ & 0x00008000) != 0)) { result.minHandlingTime_ = minHandlingTime_; to_bitField1_ |= 0x00000100; } - if (((from_bitField1_ & 0x00008000) != 0)) { + if (((from_bitField1_ & 0x00010000) != 0)) { result.shippingLabel_ = shippingLabel_; to_bitField1_ |= 0x00000200; } - if (((from_bitField1_ & 0x00010000) != 0)) { + if (((from_bitField1_ & 0x00020000) != 0)) { result.transitTimeLabel_ = transitTimeLabel_; to_bitField1_ |= 0x00000400; } - if (((from_bitField1_ & 0x00020000) != 0)) { + if (((from_bitField1_ & 0x00040000) != 0)) { result.size_ = size_; to_bitField1_ |= 0x00000800; } - if (((from_bitField1_ & 0x00040000) != 0)) { + if (((from_bitField1_ & 0x00080000) != 0)) { result.sizeSystem_ = sizeSystem_; to_bitField1_ |= 0x00001000; } - if (((from_bitField1_ & 0x00100000) != 0)) { + if (((from_bitField1_ & 0x00200000) != 0)) { result.energyEfficiencyClass_ = energyEfficiencyClass_; to_bitField1_ |= 0x00002000; } - if (((from_bitField1_ & 0x00200000) != 0)) { + if (((from_bitField1_ & 0x00400000) != 0)) { result.minEnergyEfficiencyClass_ = minEnergyEfficiencyClass_; to_bitField1_ |= 0x00004000; } - if (((from_bitField1_ & 0x00400000) != 0)) { + if (((from_bitField1_ & 0x00800000) != 0)) { result.maxEnergyEfficiencyClass_ = maxEnergyEfficiencyClass_; to_bitField1_ |= 0x00008000; } - if (((from_bitField1_ & 0x00800000) != 0)) { + if (((from_bitField1_ & 0x01000000) != 0)) { result.unitPricingMeasure_ = unitPricingMeasureBuilder_ == null ? unitPricingMeasure_ : unitPricingMeasureBuilder_.build(); to_bitField1_ |= 0x00010000; } - if (((from_bitField1_ & 0x01000000) != 0)) { + if (((from_bitField1_ & 0x02000000) != 0)) { result.unitPricingBaseMeasure_ = unitPricingBaseMeasureBuilder_ == null ? unitPricingBaseMeasure_ : unitPricingBaseMeasureBuilder_.build(); to_bitField1_ |= 0x00020000; } - if (((from_bitField1_ & 0x02000000) != 0)) { + if (((from_bitField1_ & 0x04000000) != 0)) { result.multipack_ = multipack_; to_bitField1_ |= 0x00040000; } - if (((from_bitField1_ & 0x04000000) != 0)) { + if (((from_bitField1_ & 0x08000000) != 0)) { result.adsGrouping_ = adsGrouping_; to_bitField1_ |= 0x00080000; } - if (((from_bitField1_ & 0x08000000) != 0)) { + if (((from_bitField1_ & 0x10000000) != 0)) { adsLabels_.makeImmutable(); result.adsLabels_ = adsLabels_; } - if (((from_bitField1_ & 0x10000000) != 0)) { + if (((from_bitField1_ & 0x20000000) != 0)) { result.adsRedirect_ = adsRedirect_; to_bitField1_ |= 0x00100000; } - if (((from_bitField1_ & 0x20000000) != 0)) { + if (((from_bitField1_ & 0x40000000) != 0)) { result.costOfGoodsSold_ = costOfGoodsSoldBuilder_ == null ? costOfGoodsSold_ : costOfGoodsSoldBuilder_.build(); to_bitField1_ |= 0x00200000; } - if (((from_bitField1_ & 0x80000000) != 0)) { - productHighlights_.makeImmutable(); - result.productHighlights_ = productHighlights_; - } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; } private void buildPartial2(com.google.shopping.merchant.products.v1.ProductAttributes result) { int from_bitField2_ = bitField2_; - int to_bitField1_ = 0; if (((from_bitField2_ & 0x00000001) != 0)) { + productHighlights_.makeImmutable(); + result.productHighlights_ = productHighlights_; + } + int to_bitField1_ = 0; + if (((from_bitField2_ & 0x00000002) != 0)) { result.displayAdsId_ = displayAdsId_; to_bitField1_ |= 0x00400000; } - if (((from_bitField2_ & 0x00000002) != 0)) { + if (((from_bitField2_ & 0x00000004) != 0)) { displayAdsSimilarIds_.makeImmutable(); result.displayAdsSimilarIds_ = displayAdsSimilarIds_; } - if (((from_bitField2_ & 0x00000004) != 0)) { + if (((from_bitField2_ & 0x00000008) != 0)) { result.displayAdsTitle_ = displayAdsTitle_; to_bitField1_ |= 0x00800000; } - if (((from_bitField2_ & 0x00000008) != 0)) { + if (((from_bitField2_ & 0x00000010) != 0)) { result.displayAdsLink_ = displayAdsLink_; to_bitField1_ |= 0x01000000; } - if (((from_bitField2_ & 0x00000010) != 0)) { + if (((from_bitField2_ & 0x00000020) != 0)) { result.displayAdsValue_ = displayAdsValue_; to_bitField1_ |= 0x02000000; } - if (((from_bitField2_ & 0x00000020) != 0)) { + if (((from_bitField2_ & 0x00000040) != 0)) { promotionIds_.makeImmutable(); result.promotionIds_ = promotionIds_; } - if (((from_bitField2_ & 0x00000040) != 0)) { + if (((from_bitField2_ & 0x00000080) != 0)) { result.pickupMethod_ = pickupMethod_; to_bitField1_ |= 0x04000000; } - if (((from_bitField2_ & 0x00000080) != 0)) { + if (((from_bitField2_ & 0x00000100) != 0)) { result.pickupSla_ = pickupSla_; to_bitField1_ |= 0x08000000; } - if (((from_bitField2_ & 0x00000100) != 0)) { + if (((from_bitField2_ & 0x00000200) != 0)) { result.linkTemplate_ = linkTemplate_; to_bitField1_ |= 0x10000000; } - if (((from_bitField2_ & 0x00000200) != 0)) { + if (((from_bitField2_ & 0x00000400) != 0)) { result.mobileLinkTemplate_ = mobileLinkTemplate_; to_bitField1_ |= 0x20000000; } - if (((from_bitField2_ & 0x00000400) != 0)) { + if (((from_bitField2_ & 0x00000800) != 0)) { result.customLabel0_ = customLabel0_; to_bitField1_ |= 0x40000000; } - if (((from_bitField2_ & 0x00000800) != 0)) { + if (((from_bitField2_ & 0x00001000) != 0)) { result.customLabel1_ = customLabel1_; to_bitField1_ |= 0x80000000; } int to_bitField2_ = 0; - if (((from_bitField2_ & 0x00001000) != 0)) { + if (((from_bitField2_ & 0x00002000) != 0)) { result.customLabel2_ = customLabel2_; to_bitField2_ |= 0x00000001; } - if (((from_bitField2_ & 0x00002000) != 0)) { + if (((from_bitField2_ & 0x00004000) != 0)) { result.customLabel3_ = customLabel3_; to_bitField2_ |= 0x00000002; } - if (((from_bitField2_ & 0x00004000) != 0)) { + if (((from_bitField2_ & 0x00008000) != 0)) { result.customLabel4_ = customLabel4_; to_bitField2_ |= 0x00000004; } - if (((from_bitField2_ & 0x00020000) != 0)) { + if (((from_bitField2_ & 0x00040000) != 0)) { shoppingAdsExcludedCountries_.makeImmutable(); result.shoppingAdsExcludedCountries_ = shoppingAdsExcludedCountries_; } - if (((from_bitField2_ & 0x00040000) != 0)) { + if (((from_bitField2_ & 0x00080000) != 0)) { result.externalSellerId_ = externalSellerId_; to_bitField2_ |= 0x00000008; } - if (((from_bitField2_ & 0x00080000) != 0)) { + if (((from_bitField2_ & 0x00100000) != 0)) { result.pause_ = pause_; to_bitField2_ |= 0x00000010; } - if (((from_bitField2_ & 0x00100000) != 0)) { + if (((from_bitField2_ & 0x00200000) != 0)) { lifestyleImageLinks_.makeImmutable(); result.lifestyleImageLinks_ = lifestyleImageLinks_; } - if (((from_bitField2_ & 0x00400000) != 0)) { + if (((from_bitField2_ & 0x00800000) != 0)) { result.virtualModelLink_ = virtualModelLink_; to_bitField2_ |= 0x00000020; } - if (((from_bitField2_ & 0x01000000) != 0)) { + if (((from_bitField2_ & 0x02000000) != 0)) { result.structuredTitle_ = structuredTitleBuilder_ == null ? structuredTitle_ : structuredTitleBuilder_.build(); to_bitField2_ |= 0x00000040; } - if (((from_bitField2_ & 0x02000000) != 0)) { + if (((from_bitField2_ & 0x04000000) != 0)) { result.structuredDescription_ = structuredDescriptionBuilder_ == null ? structuredDescription_ : structuredDescriptionBuilder_.build(); to_bitField2_ |= 0x00000080; } - if (((from_bitField2_ & 0x04000000) != 0)) { + if (((from_bitField2_ & 0x08000000) != 0)) { result.autoPricingMinPrice_ = autoPricingMinPriceBuilder_ == null ? autoPricingMinPrice_ @@ -8913,11 +14836,38 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } } } + if (carrierShippingBuilder_ == null) { + if (!other.carrierShipping_.isEmpty()) { + if (carrierShipping_.isEmpty()) { + carrierShipping_ = other.carrierShipping_; + bitField1_ = (bitField1_ & ~0x00000100); + } else { + ensureCarrierShippingIsMutable(); + carrierShipping_.addAll(other.carrierShipping_); + } + onChanged(); + } + } else { + if (!other.carrierShipping_.isEmpty()) { + if (carrierShippingBuilder_.isEmpty()) { + carrierShippingBuilder_.dispose(); + carrierShippingBuilder_ = null; + carrierShipping_ = other.carrierShipping_; + bitField1_ = (bitField1_ & ~0x00000100); + carrierShippingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCarrierShippingFieldBuilder() + : null; + } else { + carrierShippingBuilder_.addAllMessages(other.carrierShipping_); + } + } + } if (freeShippingThresholdBuilder_ == null) { if (!other.freeShippingThreshold_.isEmpty()) { if (freeShippingThreshold_.isEmpty()) { freeShippingThreshold_ = other.freeShippingThreshold_; - bitField1_ = (bitField1_ & ~0x00000100); + bitField1_ = (bitField1_ & ~0x00000200); } else { ensureFreeShippingThresholdIsMutable(); freeShippingThreshold_.addAll(other.freeShippingThreshold_); @@ -8930,7 +14880,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu freeShippingThresholdBuilder_.dispose(); freeShippingThresholdBuilder_ = null; freeShippingThreshold_ = other.freeShippingThreshold_; - bitField1_ = (bitField1_ & ~0x00000100); + bitField1_ = (bitField1_ & ~0x00000200); freeShippingThresholdBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFreeShippingThresholdFieldBuilder() @@ -8960,17 +14910,17 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasShippingLabel()) { shippingLabel_ = other.shippingLabel_; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); } if (other.hasTransitTimeLabel()) { transitTimeLabel_ = other.transitTimeLabel_; - bitField1_ |= 0x00010000; + bitField1_ |= 0x00020000; onChanged(); } if (other.hasSize()) { size_ = other.size_; - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); } if (other.hasSizeSystem()) { @@ -8979,7 +14929,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.sizeTypes_.isEmpty()) { if (sizeTypes_.isEmpty()) { sizeTypes_ = other.sizeTypes_; - bitField1_ = (bitField1_ & ~0x00080000); + bitField1_ = (bitField1_ & ~0x00100000); } else { ensureSizeTypesIsMutable(); sizeTypes_.addAll(other.sizeTypes_); @@ -9006,13 +14956,13 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasAdsGrouping()) { adsGrouping_ = other.adsGrouping_; - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; onChanged(); } if (!other.adsLabels_.isEmpty()) { if (adsLabels_.isEmpty()) { adsLabels_ = other.adsLabels_; - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; } else { ensureAdsLabelsIsMutable(); adsLabels_.addAll(other.adsLabels_); @@ -9021,7 +14971,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasAdsRedirect()) { adsRedirect_ = other.adsRedirect_; - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); } if (other.hasCostOfGoodsSold()) { @@ -9031,7 +14981,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.productDetails_.isEmpty()) { if (productDetails_.isEmpty()) { productDetails_ = other.productDetails_; - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); } else { ensureProductDetailsIsMutable(); productDetails_.addAll(other.productDetails_); @@ -9044,7 +14994,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu productDetailsBuilder_.dispose(); productDetailsBuilder_ = null; productDetails_ = other.productDetails_; - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); productDetailsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getProductDetailsFieldBuilder() @@ -9057,7 +15007,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.productHighlights_.isEmpty()) { if (productHighlights_.isEmpty()) { productHighlights_ = other.productHighlights_; - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; } else { ensureProductHighlightsIsMutable(); productHighlights_.addAll(other.productHighlights_); @@ -9066,13 +15016,13 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasDisplayAdsId()) { displayAdsId_ = other.displayAdsId_; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); } if (!other.displayAdsSimilarIds_.isEmpty()) { if (displayAdsSimilarIds_.isEmpty()) { displayAdsSimilarIds_ = other.displayAdsSimilarIds_; - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; } else { ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.addAll(other.displayAdsSimilarIds_); @@ -9081,12 +15031,12 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasDisplayAdsTitle()) { displayAdsTitle_ = other.displayAdsTitle_; - bitField2_ |= 0x00000004; + bitField2_ |= 0x00000008; onChanged(); } if (other.hasDisplayAdsLink()) { displayAdsLink_ = other.displayAdsLink_; - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); } if (other.hasDisplayAdsValue()) { @@ -9095,7 +15045,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.promotionIds_.isEmpty()) { if (promotionIds_.isEmpty()) { promotionIds_ = other.promotionIds_; - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; } else { ensurePromotionIdsIsMutable(); promotionIds_.addAll(other.promotionIds_); @@ -9110,43 +15060,43 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasLinkTemplate()) { linkTemplate_ = other.linkTemplate_; - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; onChanged(); } if (other.hasMobileLinkTemplate()) { mobileLinkTemplate_ = other.mobileLinkTemplate_; - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); } if (other.hasCustomLabel0()) { customLabel0_ = other.customLabel0_; - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; onChanged(); } if (other.hasCustomLabel1()) { customLabel1_ = other.customLabel1_; - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; onChanged(); } if (other.hasCustomLabel2()) { customLabel2_ = other.customLabel2_; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); } if (other.hasCustomLabel3()) { customLabel3_ = other.customLabel3_; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); } if (other.hasCustomLabel4()) { customLabel4_ = other.customLabel4_; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); } if (!other.includedDestinations_.isEmpty()) { if (includedDestinations_.isEmpty()) { includedDestinations_ = other.includedDestinations_; - bitField2_ = (bitField2_ & ~0x00008000); + bitField2_ = (bitField2_ & ~0x00010000); } else { ensureIncludedDestinationsIsMutable(); includedDestinations_.addAll(other.includedDestinations_); @@ -9156,7 +15106,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.excludedDestinations_.isEmpty()) { if (excludedDestinations_.isEmpty()) { excludedDestinations_ = other.excludedDestinations_; - bitField2_ = (bitField2_ & ~0x00010000); + bitField2_ = (bitField2_ & ~0x00020000); } else { ensureExcludedDestinationsIsMutable(); excludedDestinations_.addAll(other.excludedDestinations_); @@ -9166,7 +15116,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.shoppingAdsExcludedCountries_.isEmpty()) { if (shoppingAdsExcludedCountries_.isEmpty()) { shoppingAdsExcludedCountries_ = other.shoppingAdsExcludedCountries_; - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; } else { ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.addAll(other.shoppingAdsExcludedCountries_); @@ -9175,7 +15125,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasExternalSellerId()) { externalSellerId_ = other.externalSellerId_; - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; onChanged(); } if (other.hasPause()) { @@ -9184,7 +15134,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.lifestyleImageLinks_.isEmpty()) { if (lifestyleImageLinks_.isEmpty()) { lifestyleImageLinks_ = other.lifestyleImageLinks_; - bitField2_ |= 0x00100000; + bitField2_ |= 0x00200000; } else { ensureLifestyleImageLinksIsMutable(); lifestyleImageLinks_.addAll(other.lifestyleImageLinks_); @@ -9195,7 +15145,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.cloudExportAdditionalProperties_.isEmpty()) { if (cloudExportAdditionalProperties_.isEmpty()) { cloudExportAdditionalProperties_ = other.cloudExportAdditionalProperties_; - bitField2_ = (bitField2_ & ~0x00200000); + bitField2_ = (bitField2_ & ~0x00400000); } else { ensureCloudExportAdditionalPropertiesIsMutable(); cloudExportAdditionalProperties_.addAll(other.cloudExportAdditionalProperties_); @@ -9208,7 +15158,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu cloudExportAdditionalPropertiesBuilder_.dispose(); cloudExportAdditionalPropertiesBuilder_ = null; cloudExportAdditionalProperties_ = other.cloudExportAdditionalProperties_; - bitField2_ = (bitField2_ & ~0x00200000); + bitField2_ = (bitField2_ & ~0x00400000); cloudExportAdditionalPropertiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCloudExportAdditionalPropertiesFieldBuilder() @@ -9221,14 +15171,14 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasVirtualModelLink()) { virtualModelLink_ = other.virtualModelLink_; - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; onChanged(); } if (certificationsBuilder_ == null) { if (!other.certifications_.isEmpty()) { if (certifications_.isEmpty()) { certifications_ = other.certifications_; - bitField2_ = (bitField2_ & ~0x00800000); + bitField2_ = (bitField2_ & ~0x01000000); } else { ensureCertificationsIsMutable(); certifications_.addAll(other.certifications_); @@ -9241,7 +15191,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu certificationsBuilder_.dispose(); certificationsBuilder_ = null; certifications_ = other.certifications_; - bitField2_ = (bitField2_ & ~0x00800000); + bitField2_ = (bitField2_ & ~0x01000000); certificationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCertificationsFieldBuilder() @@ -9264,7 +15214,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.sustainabilityIncentives_.isEmpty()) { if (sustainabilityIncentives_.isEmpty()) { sustainabilityIncentives_ = other.sustainabilityIncentives_; - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); } else { ensureSustainabilityIncentivesIsMutable(); sustainabilityIncentives_.addAll(other.sustainabilityIncentives_); @@ -9277,7 +15227,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu sustainabilityIncentivesBuilder_.dispose(); sustainabilityIncentivesBuilder_ = null; sustainabilityIncentives_ = other.sustainabilityIncentives_; - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); sustainabilityIncentivesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSustainabilityIncentivesFieldBuilder() @@ -9316,7 +15266,7 @@ public Builder mergeFrom( case 10: { externalSellerId_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; break; } // case 10 case 32: @@ -9377,7 +15327,7 @@ public Builder mergeFrom( case 104: { pause_ = input.readEnum(); - bitField2_ |= 0x00080000; + bitField2_ |= 0x00100000; break; } // case 104 case 114: @@ -9540,61 +15490,61 @@ public Builder mergeFrom( case 322: { input.readMessage(getShippingWeightFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00000200; + bitField1_ |= 0x00000400; break; } // case 322 case 330: { input.readMessage(getShippingLengthFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00000400; + bitField1_ |= 0x00000800; break; } // case 330 case 338: { input.readMessage(getShippingWidthFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00000800; + bitField1_ |= 0x00001000; break; } // case 338 case 346: { input.readMessage(getShippingHeightFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00001000; + bitField1_ |= 0x00002000; break; } // case 346 case 352: { maxHandlingTime_ = input.readInt64(); - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; break; } // case 352 case 360: { minHandlingTime_ = input.readInt64(); - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; break; } // case 360 case 370: { shippingLabel_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; break; } // case 370 case 378: { transitTimeLabel_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00010000; + bitField1_ |= 0x00020000; break; } // case 378 case 386: { size_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; break; } // case 386 case 392: { sizeSystem_ = input.readEnum(); - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; break; } // case 392 case 400: @@ -9619,45 +15569,45 @@ public Builder mergeFrom( case 424: { energyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; break; } // case 424 case 432: { minEnergyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; break; } // case 432 case 440: { maxEnergyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; break; } // case 440 case 450: { input.readMessage( getUnitPricingMeasureFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; break; } // case 450 case 458: { input.readMessage( getUnitPricingBaseMeasureFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; break; } // case 458 case 464: { multipack_ = input.readInt64(); - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; break; } // case 464 case 474: { adsGrouping_ = input.readStringRequireUtf8(); - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; break; } // case 474 case 482: @@ -9670,13 +15620,13 @@ public Builder mergeFrom( case 490: { adsRedirect_ = input.readStringRequireUtf8(); - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; break; } // case 490 case 498: { input.readMessage(getCostOfGoodsSoldFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; break; } // case 498 case 506: @@ -9703,7 +15653,7 @@ public Builder mergeFrom( case 522: { displayAdsId_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; break; } // case 522 case 530: @@ -9716,19 +15666,19 @@ public Builder mergeFrom( case 538: { displayAdsTitle_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000004; + bitField2_ |= 0x00000008; break; } // case 538 case 546: { displayAdsLink_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; break; } // case 546 case 553: { displayAdsValue_ = input.readDouble(); - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; break; } // case 553 case 562: @@ -9741,31 +15691,31 @@ public Builder mergeFrom( case 570: { customLabel0_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; break; } // case 570 case 578: { customLabel1_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; break; } // case 578 case 586: { customLabel2_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; break; } // case 586 case 594: { customLabel3_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; break; } // case 594 case 602: { customLabel4_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; break; } // case 602 case 608: @@ -9822,25 +15772,25 @@ public Builder mergeFrom( case 640: { pickupMethod_ = input.readEnum(); - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; break; } // case 640 case 648: { pickupSla_ = input.readEnum(); - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; break; } // case 648 case 658: { linkTemplate_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; break; } // case 658 case 666: { mobileLinkTemplate_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; break; } // case 666 case 674: @@ -9900,26 +15850,26 @@ public Builder mergeFrom( { input.readMessage( getAutoPricingMinPriceFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; break; } // case 994 case 1042: { virtualModelLink_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; break; } // case 1042 case 1058: { input.readMessage(getStructuredTitleFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; break; } // case 1058 case 1066: { input.readMessage( getStructuredDescriptionFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; break; } // case 1066 case 1082: @@ -9978,7 +15928,22 @@ public Builder mergeFrom( ensureGtinsIsMutable(); gtins_.add(s); break; - } // case 1122 + } // case 1122 + case 1138: + { + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping m = + input.readMessage( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + .parser(), + extensionRegistry); + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + carrierShipping_.add(m); + } else { + carrierShippingBuilder_.addMessage(m); + } + break; + } // case 1138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -10423,29 +16388,281 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * optional string link = 8; * - * @return Whether the link field is set. + * @return Whether the link field is set. + */ + public boolean hasLink() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
    +     * URL directly linking to your item's page on your online store.
    +     * 
    + * + * optional string link = 8; + * + * @return The link. + */ + public java.lang.String getLink() { + java.lang.Object ref = link_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + link_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * URL directly linking to your item's page on your online store.
    +     * 
    + * + * optional string link = 8; + * + * @return The bytes for link. + */ + public com.google.protobuf.ByteString getLinkBytes() { + java.lang.Object ref = link_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + link_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * URL directly linking to your item's page on your online store.
    +     * 
    + * + * optional string link = 8; + * + * @param value The link to set. + * @return This builder for chaining. + */ + public Builder setLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + link_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +     * URL directly linking to your item's page on your online store.
    +     * 
    + * + * optional string link = 8; + * + * @return This builder for chaining. + */ + public Builder clearLink() { + link_ = getDefaultInstance().getLink(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
    +     * URL directly linking to your item's page on your online store.
    +     * 
    + * + * optional string link = 8; + * + * @param value The bytes for link to set. + * @return This builder for chaining. + */ + public Builder setLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + link_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object mobileLink_ = ""; + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @return Whether the mobileLink field is set. + */ + public boolean hasMobileLink() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @return The mobileLink. + */ + public java.lang.String getMobileLink() { + java.lang.Object ref = mobileLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mobileLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @return The bytes for mobileLink. + */ + public com.google.protobuf.ByteString getMobileLinkBytes() { + java.lang.Object ref = mobileLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mobileLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @param value The mobileLink to set. + * @return This builder for chaining. + */ + public Builder setMobileLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + mobileLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @return This builder for chaining. + */ + public Builder clearMobileLink() { + mobileLink_ = getDefaultInstance().getMobileLink(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
    +     * URL for the mobile-optimized version of your item's landing page.
    +     * 
    + * + * optional string mobile_link = 9; + * + * @param value The bytes for mobileLink to set. + * @return This builder for chaining. + */ + public Builder setMobileLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mobileLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object canonicalLink_ = ""; + + /** + * + * + *
    +     * URL for the canonical version of your item's landing page.
    +     * 
    + * + * optional string canonical_link = 10; + * + * @return Whether the canonicalLink field is set. */ - public boolean hasLink() { - return ((bitField0_ & 0x00000010) != 0); + public boolean hasCanonicalLink() { + return ((bitField0_ & 0x00000040) != 0); } /** * * *
    -     * URL directly linking to your item's page on your online store.
    +     * URL for the canonical version of your item's landing page.
          * 
    * - * optional string link = 8; + * optional string canonical_link = 10; * - * @return The link. + * @return The canonicalLink. */ - public java.lang.String getLink() { - java.lang.Object ref = link_; + public java.lang.String getCanonicalLink() { + java.lang.Object ref = canonicalLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - link_ = s; + canonicalLink_ = s; return s; } else { return (java.lang.String) ref; @@ -10456,19 +16673,19 @@ public java.lang.String getLink() { * * *
    -     * URL directly linking to your item's page on your online store.
    +     * URL for the canonical version of your item's landing page.
          * 
    * - * optional string link = 8; + * optional string canonical_link = 10; * - * @return The bytes for link. + * @return The bytes for canonicalLink. */ - public com.google.protobuf.ByteString getLinkBytes() { - java.lang.Object ref = link_; + public com.google.protobuf.ByteString getCanonicalLinkBytes() { + java.lang.Object ref = canonicalLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - link_ = b; + canonicalLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -10479,20 +16696,20 @@ public com.google.protobuf.ByteString getLinkBytes() { * * *
    -     * URL directly linking to your item's page on your online store.
    +     * URL for the canonical version of your item's landing page.
          * 
    * - * optional string link = 8; + * optional string canonical_link = 10; * - * @param value The link to set. + * @param value The canonicalLink to set. * @return This builder for chaining. */ - public Builder setLink(java.lang.String value) { + public Builder setCanonicalLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - link_ = value; - bitField0_ |= 0x00000010; + canonicalLink_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -10501,16 +16718,16 @@ public Builder setLink(java.lang.String value) { * * *
    -     * URL directly linking to your item's page on your online store.
    +     * URL for the canonical version of your item's landing page.
          * 
    * - * optional string link = 8; + * optional string canonical_link = 10; * * @return This builder for chaining. */ - public Builder clearLink() { - link_ = getDefaultInstance().getLink(); - bitField0_ = (bitField0_ & ~0x00000010); + public Builder clearCanonicalLink() { + canonicalLink_ = getDefaultInstance().getCanonicalLink(); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -10519,59 +16736,59 @@ public Builder clearLink() { * * *
    -     * URL directly linking to your item's page on your online store.
    +     * URL for the canonical version of your item's landing page.
          * 
    * - * optional string link = 8; + * optional string canonical_link = 10; * - * @param value The bytes for link to set. + * @param value The bytes for canonicalLink to set. * @return This builder for chaining. */ - public Builder setLinkBytes(com.google.protobuf.ByteString value) { + public Builder setCanonicalLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - link_ = value; - bitField0_ |= 0x00000010; + canonicalLink_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } - private java.lang.Object mobileLink_ = ""; + private java.lang.Object imageLink_ = ""; /** * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * - * @return Whether the mobileLink field is set. + * @return Whether the imageLink field is set. */ - public boolean hasMobileLink() { - return ((bitField0_ & 0x00000020) != 0); + public boolean hasImageLink() { + return ((bitField0_ & 0x00000080) != 0); } /** * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * - * @return The mobileLink. + * @return The imageLink. */ - public java.lang.String getMobileLink() { - java.lang.Object ref = mobileLink_; + public java.lang.String getImageLink() { + java.lang.Object ref = imageLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - mobileLink_ = s; + imageLink_ = s; return s; } else { return (java.lang.String) ref; @@ -10582,19 +16799,19 @@ public java.lang.String getMobileLink() { * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * - * @return The bytes for mobileLink. + * @return The bytes for imageLink. */ - public com.google.protobuf.ByteString getMobileLinkBytes() { - java.lang.Object ref = mobileLink_; + public com.google.protobuf.ByteString getImageLinkBytes() { + java.lang.Object ref = imageLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - mobileLink_ = b; + imageLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -10605,20 +16822,20 @@ public com.google.protobuf.ByteString getMobileLinkBytes() { * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * - * @param value The mobileLink to set. + * @param value The imageLink to set. * @return This builder for chaining. */ - public Builder setMobileLink(java.lang.String value) { + public Builder setImageLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - mobileLink_ = value; - bitField0_ |= 0x00000020; + imageLink_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -10627,16 +16844,16 @@ public Builder setMobileLink(java.lang.String value) { * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * * @return This builder for chaining. */ - public Builder clearMobileLink() { - mobileLink_ = getDefaultInstance().getMobileLink(); - bitField0_ = (bitField0_ & ~0x00000020); + public Builder clearImageLink() { + imageLink_ = getDefaultInstance().getImageLink(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -10645,106 +16862,161 @@ public Builder clearMobileLink() { * * *
    -     * URL for the mobile-optimized version of your item's landing page.
    +     * URL of an image of the item.
          * 
    * - * optional string mobile_link = 9; + * optional string image_link = 11; * - * @param value The bytes for mobileLink to set. + * @param value The bytes for imageLink to set. * @return This builder for chaining. */ - public Builder setMobileLinkBytes(com.google.protobuf.ByteString value) { + public Builder setImageLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - mobileLink_ = value; - bitField0_ |= 0x00000020; + imageLink_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } - private java.lang.Object canonicalLink_ = ""; + private com.google.protobuf.LazyStringArrayList additionalImageLinks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureAdditionalImageLinksIsMutable() { + if (!additionalImageLinks_.isModifiable()) { + additionalImageLinks_ = new com.google.protobuf.LazyStringArrayList(additionalImageLinks_); + } + bitField0_ |= 0x00000100; + } /** * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * - * @return Whether the canonicalLink field is set. + * @return A list containing the additionalImageLinks. */ - public boolean hasCanonicalLink() { - return ((bitField0_ & 0x00000040) != 0); + public com.google.protobuf.ProtocolStringList getAdditionalImageLinksList() { + additionalImageLinks_.makeImmutable(); + return additionalImageLinks_; } /** * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * - * @return The canonicalLink. + * @return The count of additionalImageLinks. */ - public java.lang.String getCanonicalLink() { - java.lang.Object ref = canonicalLink_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - canonicalLink_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public int getAdditionalImageLinksCount() { + return additionalImageLinks_.size(); } /** * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * - * @return The bytes for canonicalLink. + * @param index The index of the element to return. + * @return The additionalImageLinks at the given index. */ - public com.google.protobuf.ByteString getCanonicalLinkBytes() { - java.lang.Object ref = canonicalLink_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - canonicalLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public java.lang.String getAdditionalImageLinks(int index) { + return additionalImageLinks_.get(index); + } + + /** + * + * + *
    +     * Additional URLs of images of the item.
    +     * 
    + * + * repeated string additional_image_links = 12; + * + * @param index The index of the value to return. + * @return The bytes of the additionalImageLinks at the given index. + */ + public com.google.protobuf.ByteString getAdditionalImageLinksBytes(int index) { + return additionalImageLinks_.getByteString(index); + } + + /** + * + * + *
    +     * Additional URLs of images of the item.
    +     * 
    + * + * repeated string additional_image_links = 12; + * + * @param index The index to set the value at. + * @param value The additionalImageLinks to set. + * @return This builder for chaining. + */ + public Builder setAdditionalImageLinks(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureAdditionalImageLinksIsMutable(); + additionalImageLinks_.set(index, value); + bitField0_ |= 0x00000100; + onChanged(); + return this; } /** * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * - * @param value The canonicalLink to set. + * @param value The additionalImageLinks to add. * @return This builder for chaining. */ - public Builder setCanonicalLink(java.lang.String value) { + public Builder addAdditionalImageLinks(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - canonicalLink_ = value; - bitField0_ |= 0x00000040; + ensureAdditionalImageLinksIsMutable(); + additionalImageLinks_.add(value); + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Additional URLs of images of the item.
    +     * 
    + * + * repeated string additional_image_links = 12; + * + * @param values The additionalImageLinks to add. + * @return This builder for chaining. + */ + public Builder addAllAdditionalImageLinks(java.lang.Iterable values) { + ensureAdditionalImageLinksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalImageLinks_); + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -10753,16 +17025,17 @@ public Builder setCanonicalLink(java.lang.String value) { * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * * @return This builder for chaining. */ - public Builder clearCanonicalLink() { - canonicalLink_ = getDefaultInstance().getCanonicalLink(); - bitField0_ = (bitField0_ & ~0x00000040); + public Builder clearAdditionalImageLinks() { + additionalImageLinks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; onChanged(); return this; } @@ -10771,62 +17044,76 @@ public Builder clearCanonicalLink() { * * *
    -     * URL for the canonical version of your item's landing page.
    +     * Additional URLs of images of the item.
          * 
    * - * optional string canonical_link = 10; + * repeated string additional_image_links = 12; * - * @param value The bytes for canonicalLink to set. + * @param value The bytes of the additionalImageLinks to add. * @return This builder for chaining. */ - public Builder setCanonicalLinkBytes(com.google.protobuf.ByteString value) { + public Builder addAdditionalImageLinksBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - canonicalLink_ = value; - bitField0_ |= 0x00000040; + ensureAdditionalImageLinksIsMutable(); + additionalImageLinks_.add(value); + bitField0_ |= 0x00000100; onChanged(); return this; } - private java.lang.Object imageLink_ = ""; + private com.google.protobuf.Timestamp expirationDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expirationDateBuilder_; /** * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; + * .google.protobuf.Timestamp expiration_date = 16; * - * @return Whether the imageLink field is set. + * @return Whether the expirationDate field is set. */ - public boolean hasImageLink() { - return ((bitField0_ & 0x00000080) != 0); + public boolean hasExpirationDate() { + return ((bitField0_ & 0x00000200) != 0); } /** * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; + * .google.protobuf.Timestamp expiration_date = 16; * - * @return The imageLink. + * @return The expirationDate. */ - public java.lang.String getImageLink() { - java.lang.Object ref = imageLink_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - imageLink_ = s; - return s; + public com.google.protobuf.Timestamp getExpirationDate() { + if (expirationDateBuilder_ == null) { + return expirationDate_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationDate_; } else { - return (java.lang.String) ref; + return expirationDateBuilder_.getMessage(); } } @@ -10834,43 +17121,51 @@ public java.lang.String getImageLink() { * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; - * - * @return The bytes for imageLink. + * .google.protobuf.Timestamp expiration_date = 16; */ - public com.google.protobuf.ByteString getImageLinkBytes() { - java.lang.Object ref = imageLink_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - imageLink_ = b; - return b; + public Builder setExpirationDate(com.google.protobuf.Timestamp value) { + if (expirationDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expirationDate_ = value; } else { - return (com.google.protobuf.ByteString) ref; + expirationDateBuilder_.setMessage(value); } + bitField0_ |= 0x00000200; + onChanged(); + return this; } /** * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; - * - * @param value The imageLink to set. - * @return This builder for chaining. + * .google.protobuf.Timestamp expiration_date = 16; */ - public Builder setImageLink(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setExpirationDate(com.google.protobuf.Timestamp.Builder builderForValue) { + if (expirationDateBuilder_ == null) { + expirationDate_ = builderForValue.build(); + } else { + expirationDateBuilder_.setMessage(builderForValue.build()); } - imageLink_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -10879,17 +17174,32 @@ public Builder setImageLink(java.lang.String value) { * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; - * - * @return This builder for chaining. + * .google.protobuf.Timestamp expiration_date = 16; */ - public Builder clearImageLink() { - imageLink_ = getDefaultInstance().getImageLink(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); + public Builder mergeExpirationDate(com.google.protobuf.Timestamp value) { + if (expirationDateBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) + && expirationDate_ != null + && expirationDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getExpirationDateBuilder().mergeFrom(value); + } else { + expirationDate_ = value; + } + } else { + expirationDateBuilder_.mergeFrom(value); + } + if (expirationDate_ != null) { + bitField0_ |= 0x00000200; + onChanged(); + } return this; } @@ -10897,119 +17207,233 @@ public Builder clearImageLink() { * * *
    -     * URL of an image of the item.
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
          * 
    * - * optional string image_link = 11; - * - * @param value The bytes for imageLink to set. - * @return This builder for chaining. + * .google.protobuf.Timestamp expiration_date = 16; */ - public Builder setImageLinkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearExpirationDate() { + bitField0_ = (bitField0_ & ~0x00000200); + expirationDate_ = null; + if (expirationDateBuilder_ != null) { + expirationDateBuilder_.dispose(); + expirationDateBuilder_ = null; } - checkByteStringIsUtf8(value); - imageLink_ = value; - bitField0_ |= 0x00000080; onChanged(); return this; } - private com.google.protobuf.LazyStringArrayList additionalImageLinks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
    +     * 
    + * + * .google.protobuf.Timestamp expiration_date = 16; + */ + public com.google.protobuf.Timestamp.Builder getExpirationDateBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getExpirationDateFieldBuilder().getBuilder(); + } - private void ensureAdditionalImageLinksIsMutable() { - if (!additionalImageLinks_.isModifiable()) { - additionalImageLinks_ = new com.google.protobuf.LazyStringArrayList(additionalImageLinks_); + /** + * + * + *
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
    +     * 
    + * + * .google.protobuf.Timestamp expiration_date = 16; + */ + public com.google.protobuf.TimestampOrBuilder getExpirationDateOrBuilder() { + if (expirationDateBuilder_ != null) { + return expirationDateBuilder_.getMessageOrBuilder(); + } else { + return expirationDate_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationDate_; + } + } + + /** + * + * + *
    +     * Date on which the item should expire, as specified upon insertion, in
    +     * [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    +     * expiration date is exposed in `productstatuses` as
    +     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    +     * and might be earlier if `expirationDate` is too far in the future.
    +     * 
    + * + * .google.protobuf.Timestamp expiration_date = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getExpirationDateFieldBuilder() { + if (expirationDateBuilder_ == null) { + expirationDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpirationDate(), getParentForChildren(), isClean()); + expirationDate_ = null; } - bitField0_ |= 0x00000100; + return expirationDateBuilder_; } + private com.google.protobuf.Timestamp disclosureDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + disclosureDateBuilder_; + /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; + * .google.protobuf.Timestamp disclosure_date = 79; * - * @return A list containing the additionalImageLinks. + * @return Whether the disclosureDate field is set. */ - public com.google.protobuf.ProtocolStringList getAdditionalImageLinksList() { - additionalImageLinks_.makeImmutable(); - return additionalImageLinks_; + public boolean hasDisclosureDate() { + return ((bitField0_ & 0x00000400) != 0); } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; + * .google.protobuf.Timestamp disclosure_date = 79; * - * @return The count of additionalImageLinks. + * @return The disclosureDate. */ - public int getAdditionalImageLinksCount() { - return additionalImageLinks_.size(); + public com.google.protobuf.Timestamp getDisclosureDate() { + if (disclosureDateBuilder_ == null) { + return disclosureDate_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : disclosureDate_; + } else { + return disclosureDateBuilder_.getMessage(); + } } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param index The index of the element to return. - * @return The additionalImageLinks at the given index. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public java.lang.String getAdditionalImageLinks(int index) { - return additionalImageLinks_.get(index); + public Builder setDisclosureDate(com.google.protobuf.Timestamp value) { + if (disclosureDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + disclosureDate_ = value; + } else { + disclosureDateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param index The index of the value to return. - * @return The bytes of the additionalImageLinks at the given index. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public com.google.protobuf.ByteString getAdditionalImageLinksBytes(int index) { - return additionalImageLinks_.getByteString(index); + public Builder setDisclosureDate(com.google.protobuf.Timestamp.Builder builderForValue) { + if (disclosureDateBuilder_ == null) { + disclosureDate_ = builderForValue.build(); + } else { + disclosureDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param index The index to set the value at. - * @param value The additionalImageLinks to set. - * @return This builder for chaining. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public Builder setAdditionalImageLinks(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder mergeDisclosureDate(com.google.protobuf.Timestamp value) { + if (disclosureDateBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && disclosureDate_ != null + && disclosureDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getDisclosureDateBuilder().mergeFrom(value); + } else { + disclosureDate_ = value; + } + } else { + disclosureDateBuilder_.mergeFrom(value); + } + if (disclosureDate_ != null) { + bitField0_ |= 0x00000400; + onChanged(); } - ensureAdditionalImageLinksIsMutable(); - additionalImageLinks_.set(index, value); - bitField0_ |= 0x00000100; - onChanged(); return this; } @@ -11017,21 +17441,22 @@ public Builder setAdditionalImageLinks(int index, java.lang.String value) { * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param value The additionalImageLinks to add. - * @return This builder for chaining. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public Builder addAdditionalImageLinks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearDisclosureDate() { + bitField0_ = (bitField0_ & ~0x00000400); + disclosureDate_ = null; + if (disclosureDateBuilder_ != null) { + disclosureDateBuilder_.dispose(); + disclosureDateBuilder_ = null; } - ensureAdditionalImageLinksIsMutable(); - additionalImageLinks_.add(value); - bitField0_ |= 0x00000100; onChanged(); return this; } @@ -11040,225 +17465,198 @@ public Builder addAdditionalImageLinks(java.lang.String value) { * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param values The additionalImageLinks to add. - * @return This builder for chaining. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public Builder addAllAdditionalImageLinks(java.lang.Iterable values) { - ensureAdditionalImageLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalImageLinks_); - bitField0_ |= 0x00000100; + public com.google.protobuf.Timestamp.Builder getDisclosureDateBuilder() { + bitField0_ |= 0x00000400; onChanged(); - return this; + return getDisclosureDateFieldBuilder().getBuilder(); } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @return This builder for chaining. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public Builder clearAdditionalImageLinks() { - additionalImageLinks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - ; - onChanged(); - return this; + public com.google.protobuf.TimestampOrBuilder getDisclosureDateOrBuilder() { + if (disclosureDateBuilder_ != null) { + return disclosureDateBuilder_.getMessageOrBuilder(); + } else { + return disclosureDate_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : disclosureDate_; + } } /** * * *
    -     * Additional URLs of images of the item.
    +     * The date time when an offer becomes visible in search results across
    +     * Google’s YouTube surfaces, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    +     * for more information.
          * 
    * - * repeated string additional_image_links = 12; - * - * @param value The bytes of the additionalImageLinks to add. - * @return This builder for chaining. + * .google.protobuf.Timestamp disclosure_date = 79; */ - public Builder addAdditionalImageLinksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureAdditionalImageLinksIsMutable(); - additionalImageLinks_.add(value); - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp expirationDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - expirationDateBuilder_; + getDisclosureDateFieldBuilder() { + if (disclosureDateBuilder_ == null) { + disclosureDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDisclosureDate(), getParentForChildren(), isClean()); + disclosureDate_ = null; + } + return disclosureDateBuilder_; + } + + private boolean adult_; /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Set to true if the item is targeted towards adults.
    +     * 
    + * + * optional bool adult = 17; + * + * @return Whether the adult field is set. + */ + @java.lang.Override + public boolean hasAdult() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
    +     * Set to true if the item is targeted towards adults.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional bool adult = 17; * - * @return Whether the expirationDate field is set. + * @return The adult. */ - public boolean hasExpirationDate() { - return ((bitField0_ & 0x00000200) != 0); + @java.lang.Override + public boolean getAdult() { + return adult_; } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Set to true if the item is targeted towards adults.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional bool adult = 17; * - * @return The expirationDate. + * @param value The adult to set. + * @return This builder for chaining. */ - public com.google.protobuf.Timestamp getExpirationDate() { - if (expirationDateBuilder_ == null) { - return expirationDate_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationDate_; - } else { - return expirationDateBuilder_.getMessage(); - } + public Builder setAdult(boolean value) { + + adult_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Set to true if the item is targeted towards adults.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional bool adult = 17; + * + * @return This builder for chaining. */ - public Builder setExpirationDate(com.google.protobuf.Timestamp value) { - if (expirationDateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expirationDate_ = value; - } else { - expirationDateBuilder_.setMessage(value); - } - bitField0_ |= 0x00000200; + public Builder clearAdult() { + bitField0_ = (bitField0_ & ~0x00000800); + adult_ = false; onChanged(); return this; } + private int ageGroup_ = 0; + /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @return Whether the ageGroup field is set. */ - public Builder setExpirationDate(com.google.protobuf.Timestamp.Builder builderForValue) { - if (expirationDateBuilder_ == null) { - expirationDate_ = builderForValue.build(); - } else { - expirationDateBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000200; - onChanged(); - return this; + @java.lang.Override + public boolean hasAgeGroup() { + return ((bitField0_ & 0x00001000) != 0); } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @return The enum numeric value on the wire for ageGroup. */ - public Builder mergeExpirationDate(com.google.protobuf.Timestamp value) { - if (expirationDateBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && expirationDate_ != null - && expirationDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getExpirationDateBuilder().mergeFrom(value); - } else { - expirationDate_ = value; - } - } else { - expirationDateBuilder_.mergeFrom(value); - } - if (expirationDate_ != null) { - bitField0_ |= 0x00000200; - onChanged(); - } - return this; + @java.lang.Override + public int getAgeGroupValue() { + return ageGroup_; } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @param value The enum numeric value on the wire for ageGroup to set. + * @return This builder for chaining. */ - public Builder clearExpirationDate() { - bitField0_ = (bitField0_ & ~0x00000200); - expirationDate_ = null; - if (expirationDateBuilder_ != null) { - expirationDateBuilder_.dispose(); - expirationDateBuilder_ = null; - } + public Builder setAgeGroupValue(int value) { + ageGroup_ = value; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -11267,151 +17665,117 @@ public Builder clearExpirationDate() { * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @return The ageGroup. */ - public com.google.protobuf.Timestamp.Builder getExpirationDateBuilder() { - bitField0_ |= 0x00000200; - onChanged(); - return getExpirationDateFieldBuilder().getBuilder(); + @java.lang.Override + public com.google.shopping.merchant.products.v1.AgeGroup getAgeGroup() { + com.google.shopping.merchant.products.v1.AgeGroup result = + com.google.shopping.merchant.products.v1.AgeGroup.forNumber(ageGroup_); + return result == null + ? com.google.shopping.merchant.products.v1.AgeGroup.UNRECOGNIZED + : result; } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @param value The ageGroup to set. + * @return This builder for chaining. */ - public com.google.protobuf.TimestampOrBuilder getExpirationDateOrBuilder() { - if (expirationDateBuilder_ != null) { - return expirationDateBuilder_.getMessageOrBuilder(); - } else { - return expirationDate_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationDate_; + public Builder setAgeGroup(com.google.shopping.merchant.products.v1.AgeGroup value) { + if (value == null) { + throw new NullPointerException(); } + bitField0_ |= 0x00001000; + ageGroup_ = value.getNumber(); + onChanged(); + return this; } /** * * *
    -     * Date on which the item should expire, as specified upon insertion, in
    -     * [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
    -     * expiration date is exposed in `productstatuses` as
    -     * [googleExpirationDate](https://support.google.com/merchants/answer/6324499)
    -     * and might be earlier if `expirationDate` is too far in the future.
    +     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    +     * the item.
          * 
    * - * .google.protobuf.Timestamp expiration_date = 16; + * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getExpirationDateFieldBuilder() { - if (expirationDateBuilder_ == null) { - expirationDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpirationDate(), getParentForChildren(), isClean()); - expirationDate_ = null; - } - return expirationDateBuilder_; + public Builder clearAgeGroup() { + bitField0_ = (bitField0_ & ~0x00001000); + ageGroup_ = 0; + onChanged(); + return this; } - private com.google.protobuf.Timestamp disclosureDate_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - disclosureDateBuilder_; + private int availability_ = 0; /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; * - * @return Whether the disclosureDate field is set. + * @return Whether the availability field is set. */ - public boolean hasDisclosureDate() { - return ((bitField0_ & 0x00000400) != 0); + @java.lang.Override + public boolean hasAvailability() { + return ((bitField0_ & 0x00002000) != 0); } /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; * - * @return The disclosureDate. + * @return The enum numeric value on the wire for availability. */ - public com.google.protobuf.Timestamp getDisclosureDate() { - if (disclosureDateBuilder_ == null) { - return disclosureDate_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : disclosureDate_; - } else { - return disclosureDateBuilder_.getMessage(); - } + @java.lang.Override + public int getAvailabilityValue() { + return availability_; } /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * + * @param value The enum numeric value on the wire for availability to set. + * @return This builder for chaining. */ - public Builder setDisclosureDate(com.google.protobuf.Timestamp value) { - if (disclosureDateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - disclosureDate_ = value; - } else { - disclosureDateBuilder_.setMessage(value); - } - bitField0_ |= 0x00000400; + public Builder setAvailabilityValue(int value) { + availability_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -11420,55 +17784,43 @@ public Builder setDisclosureDate(com.google.protobuf.Timestamp value) { * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * + * @return The availability. */ - public Builder setDisclosureDate(com.google.protobuf.Timestamp.Builder builderForValue) { - if (disclosureDateBuilder_ == null) { - disclosureDate_ = builderForValue.build(); - } else { - disclosureDateBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000400; - onChanged(); - return this; + @java.lang.Override + public com.google.shopping.merchant.products.v1.Availability getAvailability() { + com.google.shopping.merchant.products.v1.Availability result = + com.google.shopping.merchant.products.v1.Availability.forNumber(availability_); + return result == null + ? com.google.shopping.merchant.products.v1.Availability.UNRECOGNIZED + : result; } /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * + * @param value The availability to set. + * @return This builder for chaining. */ - public Builder mergeDisclosureDate(com.google.protobuf.Timestamp value) { - if (disclosureDateBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && disclosureDate_ != null - && disclosureDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getDisclosureDateBuilder().mergeFrom(value); - } else { - disclosureDate_ = value; - } - } else { - disclosureDateBuilder_.mergeFrom(value); - } - if (disclosureDate_ != null) { - bitField0_ |= 0x00000400; - onChanged(); + public Builder setAvailability(com.google.shopping.merchant.products.v1.Availability value) { + if (value == null) { + throw new NullPointerException(); } + bitField0_ |= 0x00002000; + availability_ = value.getNumber(); + onChanged(); return this; } @@ -11476,65 +17828,63 @@ public Builder mergeDisclosureDate(com.google.protobuf.Timestamp value) { * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
    +     * [Availability](https://support.google.com/merchants/answer/6324448) status
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * + * @return This builder for chaining. */ - public Builder clearDisclosureDate() { - bitField0_ = (bitField0_ & ~0x00000400); - disclosureDate_ = null; - if (disclosureDateBuilder_ != null) { - disclosureDateBuilder_.dispose(); - disclosureDateBuilder_ = null; - } + public Builder clearAvailability() { + bitField0_ = (bitField0_ & ~0x00002000); + availability_ = 0; onChanged(); return this; } + private com.google.protobuf.Timestamp availabilityDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + availabilityDateBuilder_; + /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
          * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * .google.protobuf.Timestamp availability_date = 20; + * + * @return Whether the availabilityDate field is set. */ - public com.google.protobuf.Timestamp.Builder getDisclosureDateBuilder() { - bitField0_ |= 0x00000400; - onChanged(); - return getDisclosureDateFieldBuilder().getBuilder(); + public boolean hasAvailabilityDate() { + return ((bitField0_ & 0x00004000) != 0); } /** * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
          * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * .google.protobuf.Timestamp availability_date = 20; + * + * @return The availabilityDate. */ - public com.google.protobuf.TimestampOrBuilder getDisclosureDateOrBuilder() { - if (disclosureDateBuilder_ != null) { - return disclosureDateBuilder_.getMessageOrBuilder(); - } else { - return disclosureDate_ == null + public com.google.protobuf.Timestamp getAvailabilityDate() { + if (availabilityDateBuilder_ == null) { + return availabilityDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() - : disclosureDate_; + : availabilityDate_; + } else { + return availabilityDateBuilder_.getMessage(); } } @@ -11542,82 +17892,93 @@ public com.google.protobuf.TimestampOrBuilder getDisclosureDateOrBuilder() { * * *
    -     * The date time when an offer becomes visible in search results across
    -     * Google’s YouTube surfaces, in [ISO
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
          * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * See [Disclosure date](https://support.google.com/merchants/answer/13034208)
    -     * for more information.
          * 
    * - * .google.protobuf.Timestamp disclosure_date = 79; + * .google.protobuf.Timestamp availability_date = 20; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getDisclosureDateFieldBuilder() { - if (disclosureDateBuilder_ == null) { - disclosureDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDisclosureDate(), getParentForChildren(), isClean()); - disclosureDate_ = null; + public Builder setAvailabilityDate(com.google.protobuf.Timestamp value) { + if (availabilityDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + availabilityDate_ = value; + } else { + availabilityDateBuilder_.setMessage(value); } - return disclosureDateBuilder_; + bitField0_ |= 0x00004000; + onChanged(); + return this; } - private boolean adult_; - /** * * *
    -     * Set to true if the item is targeted towards adults.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional bool adult = 17; - * - * @return Whether the adult field is set. + * .google.protobuf.Timestamp availability_date = 20; */ - @java.lang.Override - public boolean hasAdult() { - return ((bitField0_ & 0x00000800) != 0); + public Builder setAvailabilityDate(com.google.protobuf.Timestamp.Builder builderForValue) { + if (availabilityDateBuilder_ == null) { + availabilityDate_ = builderForValue.build(); + } else { + availabilityDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; } /** * * *
    -     * Set to true if the item is targeted towards adults.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional bool adult = 17; - * - * @return The adult. + * .google.protobuf.Timestamp availability_date = 20; */ - @java.lang.Override - public boolean getAdult() { - return adult_; + public Builder mergeAvailabilityDate(com.google.protobuf.Timestamp value) { + if (availabilityDateBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) + && availabilityDate_ != null + && availabilityDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getAvailabilityDateBuilder().mergeFrom(value); + } else { + availabilityDate_ = value; + } + } else { + availabilityDateBuilder_.mergeFrom(value); + } + if (availabilityDate_ != null) { + bitField0_ |= 0x00004000; + onChanged(); + } + return this; } /** * * *
    -     * Set to true if the item is targeted towards adults.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional bool adult = 17; - * - * @param value The adult to set. - * @return This builder for chaining. + * .google.protobuf.Timestamp availability_date = 20; */ - public Builder setAdult(boolean value) { - - adult_ = value; - bitField0_ |= 0x00000800; + public Builder clearAvailabilityDate() { + bitField0_ = (bitField0_ & ~0x00004000); + availabilityDate_ = null; + if (availabilityDateBuilder_ != null) { + availabilityDateBuilder_.dispose(); + availabilityDateBuilder_ = null; + } onChanged(); return this; } @@ -11626,394 +17987,381 @@ public Builder setAdult(boolean value) { * * *
    -     * Set to true if the item is targeted towards adults.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional bool adult = 17; - * - * @return This builder for chaining. + * .google.protobuf.Timestamp availability_date = 20; */ - public Builder clearAdult() { - bitField0_ = (bitField0_ & ~0x00000800); - adult_ = false; + public com.google.protobuf.Timestamp.Builder getAvailabilityDateBuilder() { + bitField0_ |= 0x00004000; onChanged(); - return this; + return getAvailabilityDateFieldBuilder().getBuilder(); } - private int ageGroup_ = 0; - /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; - * - * @return Whether the ageGroup field is set. + * .google.protobuf.Timestamp availability_date = 20; */ - @java.lang.Override - public boolean hasAgeGroup() { - return ((bitField0_ & 0x00001000) != 0); + public com.google.protobuf.TimestampOrBuilder getAvailabilityDateOrBuilder() { + if (availabilityDateBuilder_ != null) { + return availabilityDateBuilder_.getMessageOrBuilder(); + } else { + return availabilityDate_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : availabilityDate_; + } } /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * The day a pre-ordered product becomes available for delivery, in [ISO
    +     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; - * - * @return The enum numeric value on the wire for ageGroup. + * .google.protobuf.Timestamp availability_date = 20; */ - @java.lang.Override - public int getAgeGroupValue() { - return ageGroup_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getAvailabilityDateFieldBuilder() { + if (availabilityDateBuilder_ == null) { + availabilityDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getAvailabilityDate(), getParentForChildren(), isClean()); + availabilityDate_ = null; + } + return availabilityDateBuilder_; } + private java.lang.Object brand_ = ""; + /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * optional string brand = 21; * - * @param value The enum numeric value on the wire for ageGroup to set. - * @return This builder for chaining. + * @return Whether the brand field is set. */ - public Builder setAgeGroupValue(int value) { - ageGroup_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; + public boolean hasBrand() { + return ((bitField0_ & 0x00008000) != 0); } /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * optional string brand = 21; * - * @return The ageGroup. + * @return The brand. */ - @java.lang.Override - public com.google.shopping.merchant.products.v1.AgeGroup getAgeGroup() { - com.google.shopping.merchant.products.v1.AgeGroup result = - com.google.shopping.merchant.products.v1.AgeGroup.forNumber(ageGroup_); - return result == null - ? com.google.shopping.merchant.products.v1.AgeGroup.UNRECOGNIZED - : result; + public java.lang.String getBrand() { + java.lang.Object ref = brand_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + brand_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * optional string brand = 21; * - * @param value The ageGroup to set. - * @return This builder for chaining. + * @return The bytes for brand. */ - public Builder setAgeGroup(com.google.shopping.merchant.products.v1.AgeGroup value) { - if (value == null) { - throw new NullPointerException(); + public com.google.protobuf.ByteString getBrandBytes() { + java.lang.Object ref = brand_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + brand_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - bitField0_ |= 0x00001000; - ageGroup_ = value.getNumber(); - onChanged(); - return this; } /** * * *
    -     * Target [age group](https://support.google.com/merchants/answer/6324463) of
    -     * the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18; + * optional string brand = 21; * + * @param value The brand to set. * @return This builder for chaining. */ - public Builder clearAgeGroup() { - bitField0_ = (bitField0_ & ~0x00001000); - ageGroup_ = 0; + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + brand_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } - private int availability_ = 0; - /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string brand = 21; * - * @return Whether the availability field is set. + * @return This builder for chaining. */ - @java.lang.Override - public boolean hasAvailability() { - return ((bitField0_ & 0x00002000) != 0); + public Builder clearBrand() { + brand_ = getDefaultInstance().getBrand(); + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; } /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    +     * For example, "Google".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string brand = 21; * - * @return The enum numeric value on the wire for availability. + * @param value The bytes for brand to set. + * @return This builder for chaining. */ - @java.lang.Override - public int getAvailabilityValue() { - return availability_; + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + brand_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; } + private java.lang.Object color_ = ""; + /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string color = 22; * - * @param value The enum numeric value on the wire for availability to set. - * @return This builder for chaining. + * @return Whether the color field is set. */ - public Builder setAvailabilityValue(int value) { - availability_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; + public boolean hasColor() { + return ((bitField0_ & 0x00010000) != 0); } /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string color = 22; * - * @return The availability. + * @return The color. */ - @java.lang.Override - public com.google.shopping.merchant.products.v1.Availability getAvailability() { - com.google.shopping.merchant.products.v1.Availability result = - com.google.shopping.merchant.products.v1.Availability.forNumber(availability_); - return result == null - ? com.google.shopping.merchant.products.v1.Availability.UNRECOGNIZED - : result; + public java.lang.String getColor() { + java.lang.Object ref = color_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + color_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string color = 22; * - * @param value The availability to set. - * @return This builder for chaining. + * @return The bytes for color. */ - public Builder setAvailability(com.google.shopping.merchant.products.v1.Availability value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - availability_ = value.getNumber(); - onChanged(); - return this; + public com.google.protobuf.ByteString getColorBytes() { + java.lang.Object ref = color_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + color_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** * * *
    -     * [Availability](https://support.google.com/merchants/answer/6324448) status
    -     * of the item.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * optional .google.shopping.merchant.products.v1.Availability availability = 19; + * optional string color = 22; * + * @param value The color to set. * @return This builder for chaining. */ - public Builder clearAvailability() { - bitField0_ = (bitField0_ & ~0x00002000); - availability_ = 0; + public Builder setColor(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + color_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } - private com.google.protobuf.Timestamp availabilityDate_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - availabilityDateBuilder_; - /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional string color = 22; * - * @return Whether the availabilityDate field is set. + * @return This builder for chaining. */ - public boolean hasAvailabilityDate() { - return ((bitField0_ & 0x00004000) != 0); + public Builder clearColor() { + color_ = getDefaultInstance().getColor(); + bitField0_ = (bitField0_ & ~0x00010000); + onChanged(); + return this; } /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    +     * For example, "red".
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; - * - * @return The availabilityDate. - */ - public com.google.protobuf.Timestamp getAvailabilityDate() { - if (availabilityDateBuilder_ == null) { - return availabilityDate_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : availabilityDate_; - } else { - return availabilityDateBuilder_.getMessage(); - } - } - - /** - * - * - *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    -     * 
    + * optional string color = 22; * - * .google.protobuf.Timestamp availability_date = 20; + * @param value The bytes for color to set. + * @return This builder for chaining. */ - public Builder setAvailabilityDate(com.google.protobuf.Timestamp value) { - if (availabilityDateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - availabilityDate_ = value; - } else { - availabilityDateBuilder_.setMessage(value); + public Builder setColorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - bitField0_ |= 0x00004000; + checkByteStringIsUtf8(value); + color_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } + private int condition_ = 0; + /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @return Whether the condition field is set. */ - public Builder setAvailabilityDate(com.google.protobuf.Timestamp.Builder builderForValue) { - if (availabilityDateBuilder_ == null) { - availabilityDate_ = builderForValue.build(); - } else { - availabilityDateBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00004000; - onChanged(); - return this; + @java.lang.Override + public boolean hasCondition() { + return ((bitField0_ & 0x00020000) != 0); } /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @return The enum numeric value on the wire for condition. */ - public Builder mergeAvailabilityDate(com.google.protobuf.Timestamp value) { - if (availabilityDateBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && availabilityDate_ != null - && availabilityDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getAvailabilityDateBuilder().mergeFrom(value); - } else { - availabilityDate_ = value; - } - } else { - availabilityDateBuilder_.mergeFrom(value); - } - if (availabilityDate_ != null) { - bitField0_ |= 0x00004000; - onChanged(); - } - return this; + @java.lang.Override + public int getConditionValue() { + return condition_; } /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @param value The enum numeric value on the wire for condition to set. + * @return This builder for chaining. */ - public Builder clearAvailabilityDate() { - bitField0_ = (bitField0_ & ~0x00004000); - availabilityDate_ = null; - if (availabilityDateBuilder_ != null) { - availabilityDateBuilder_.dispose(); - availabilityDateBuilder_ = null; - } + public Builder setConditionValue(int value) { + condition_ = value; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -12022,169 +18370,159 @@ public Builder clearAvailabilityDate() { * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @return The condition. */ - public com.google.protobuf.Timestamp.Builder getAvailabilityDateBuilder() { - bitField0_ |= 0x00004000; - onChanged(); - return getAvailabilityDateFieldBuilder().getBuilder(); + @java.lang.Override + public com.google.shopping.merchant.products.v1.Condition getCondition() { + com.google.shopping.merchant.products.v1.Condition result = + com.google.shopping.merchant.products.v1.Condition.forNumber(condition_); + return result == null + ? com.google.shopping.merchant.products.v1.Condition.UNRECOGNIZED + : result; } /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @param value The condition to set. + * @return This builder for chaining. */ - public com.google.protobuf.TimestampOrBuilder getAvailabilityDateOrBuilder() { - if (availabilityDateBuilder_ != null) { - return availabilityDateBuilder_.getMessageOrBuilder(); - } else { - return availabilityDate_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : availabilityDate_; + public Builder setCondition(com.google.shopping.merchant.products.v1.Condition value) { + if (value == null) { + throw new NullPointerException(); } + bitField0_ |= 0x00020000; + condition_ = value.getNumber(); + onChanged(); + return this; } /** * * *
    -     * The day a pre-ordered product becomes available for delivery, in [ISO
    -     * 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    +     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    +     * of the item.
          * 
    * - * .google.protobuf.Timestamp availability_date = 20; + * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getAvailabilityDateFieldBuilder() { - if (availabilityDateBuilder_ == null) { - availabilityDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getAvailabilityDate(), getParentForChildren(), isClean()); - availabilityDate_ = null; - } - return availabilityDateBuilder_; + public Builder clearCondition() { + bitField0_ = (bitField0_ & ~0x00020000); + condition_ = 0; + onChanged(); + return this; } - private java.lang.Object brand_ = ""; + private int gender_ = 0; /** * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * - * @return Whether the brand field is set. + * @return Whether the gender field is set. */ - public boolean hasBrand() { - return ((bitField0_ & 0x00008000) != 0); + @java.lang.Override + public boolean hasGender() { + return ((bitField0_ & 0x00040000) != 0); } /** * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * - * @return The brand. - */ - public java.lang.String getBrand() { - java.lang.Object ref = brand_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - brand_ = s; - return s; - } else { - return (java.lang.String) ref; - } + * @return The enum numeric value on the wire for gender. + */ + @java.lang.Override + public int getGenderValue() { + return gender_; } /** * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * - * @return The bytes for brand. + * @param value The enum numeric value on the wire for gender to set. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString getBrandBytes() { - java.lang.Object ref = brand_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - brand_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder setGenderValue(int value) { + gender_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; } /** * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * - * @param value The brand to set. - * @return This builder for chaining. + * @return The gender. */ - public Builder setBrand(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - brand_ = value; - bitField0_ |= 0x00008000; - onChanged(); - return this; + @java.lang.Override + public com.google.shopping.merchant.products.v1.Gender getGender() { + com.google.shopping.merchant.products.v1.Gender result = + com.google.shopping.merchant.products.v1.Gender.forNumber(gender_); + return result == null ? com.google.shopping.merchant.products.v1.Gender.UNRECOGNIZED : result; } /** * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * + * @param value The gender to set. * @return This builder for chaining. */ - public Builder clearBrand() { - brand_ = getDefaultInstance().getBrand(); - bitField0_ = (bitField0_ & ~0x00008000); + public Builder setGender(com.google.shopping.merchant.products.v1.Gender value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; + gender_ = value.getNumber(); onChanged(); return this; } @@ -12193,62 +18531,63 @@ public Builder clearBrand() { * * *
    -     * [Brand](https://support.google.com/merchants/answer/6324351) of the item.
    -     * For example, "Google".
    +     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    +     * item.
          * 
    * - * optional string brand = 21; + * optional .google.shopping.merchant.products.v1.Gender gender = 24; * - * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - brand_ = value; - bitField0_ |= 0x00008000; + public Builder clearGender() { + bitField0_ = (bitField0_ & ~0x00040000); + gender_ = 0; onChanged(); return this; } - private java.lang.Object color_ = ""; + private java.lang.Object googleProductCategory_ = ""; /** * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * - * @return Whether the color field is set. + * @return Whether the googleProductCategory field is set. */ - public boolean hasColor() { - return ((bitField0_ & 0x00010000) != 0); + public boolean hasGoogleProductCategory() { + return ((bitField0_ & 0x00080000) != 0); } /** * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * - * @return The color. + * @return The googleProductCategory. */ - public java.lang.String getColor() { - java.lang.Object ref = color_; + public java.lang.String getGoogleProductCategory() { + java.lang.Object ref = googleProductCategory_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - color_ = s; + googleProductCategory_ = s; return s; } else { return (java.lang.String) ref; @@ -12259,20 +18598,23 @@ public java.lang.String getColor() { * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * - * @return The bytes for color. + * @return The bytes for googleProductCategory. */ - public com.google.protobuf.ByteString getColorBytes() { - java.lang.Object ref = color_; + public com.google.protobuf.ByteString getGoogleProductCategoryBytes() { + java.lang.Object ref = googleProductCategory_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - color_ = b; + googleProductCategory_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -12283,21 +18625,24 @@ public com.google.protobuf.ByteString getColorBytes() { * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * - * @param value The color to set. + * @param value The googleProductCategory to set. * @return This builder for chaining. */ - public Builder setColor(java.lang.String value) { + public Builder setGoogleProductCategory(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - color_ = value; - bitField0_ |= 0x00010000; + googleProductCategory_ = value; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -12306,17 +18651,20 @@ public Builder setColor(java.lang.String value) { * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * * @return This builder for chaining. */ - public Builder clearColor() { - color_ = getDefaultInstance().getColor(); - bitField0_ = (bitField0_ & ~0x00010000); + public Builder clearGoogleProductCategory() { + googleProductCategory_ = getDefaultInstance().getGoogleProductCategory(); + bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } @@ -12325,78 +18673,163 @@ public Builder clearColor() { * * *
    -     * [Color](https://support.google.com/merchants/answer/6324487) of the item.
    -     * For example, "red".
    +     * Google's category of the item (see [Google product
    +     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    +     * querying products, this field will contain the user provided value. There
    +     * is currently no way to get back the auto assigned google product
    +     * categories through the API.
          * 
    * - * optional string color = 22; + * optional string google_product_category = 25; * - * @param value The bytes for color to set. + * @param value The bytes for googleProductCategory to set. * @return This builder for chaining. */ - public Builder setColorBytes(com.google.protobuf.ByteString value) { + public Builder setGoogleProductCategoryBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - color_ = value; - bitField0_ |= 0x00010000; + googleProductCategory_ = value; + bitField0_ |= 0x00080000; onChanged(); return this; } - private int condition_ = 0; + private com.google.protobuf.LazyStringArrayList gtins_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureGtinsIsMutable() { + if (!gtins_.isModifiable()) { + gtins_ = new com.google.protobuf.LazyStringArrayList(gtins_); + } + bitField0_ |= 0x00100000; + } /** * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
    +     * 
    + * + * repeated string gtins = 140; + * + * @return A list containing the gtins. + */ + public com.google.protobuf.ProtocolStringList getGtinsList() { + gtins_.makeImmutable(); + return gtins_; + } + + /** + * + * + *
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
    +     * 
    + * + * repeated string gtins = 140; + * + * @return The count of gtins. + */ + public int getGtinsCount() { + return gtins_.size(); + } + + /** + * + * + *
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
    +     * 
    + * + * repeated string gtins = 140; + * + * @param index The index of the element to return. + * @return The gtins at the given index. + */ + public java.lang.String getGtins(int index) { + return gtins_.get(index); + } + + /** + * + * + *
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * - * @return Whether the condition field is set. + * @param index The index of the value to return. + * @return The bytes of the gtins at the given index. */ - @java.lang.Override - public boolean hasCondition() { - return ((bitField0_ & 0x00020000) != 0); + public com.google.protobuf.ByteString getGtinsBytes(int index) { + return gtins_.getByteString(index); } /** * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * - * @return The enum numeric value on the wire for condition. + * @param index The index to set the value at. + * @param value The gtins to set. + * @return This builder for chaining. */ - @java.lang.Override - public int getConditionValue() { - return condition_; + public Builder setGtins(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGtinsIsMutable(); + gtins_.set(index, value); + bitField0_ |= 0x00100000; + onChanged(); + return this; } /** * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * - * @param value The enum numeric value on the wire for condition to set. + * @param value The gtins to add. * @return This builder for chaining. */ - public Builder setConditionValue(int value) { - condition_ = value; - bitField0_ |= 0x00020000; + public Builder addGtins(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGtinsIsMutable(); + gtins_.add(value); + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -12405,42 +18838,43 @@ public Builder setConditionValue(int value) { * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * - * @return The condition. + * @param values The gtins to add. + * @return This builder for chaining. */ - @java.lang.Override - public com.google.shopping.merchant.products.v1.Condition getCondition() { - com.google.shopping.merchant.products.v1.Condition result = - com.google.shopping.merchant.products.v1.Condition.forNumber(condition_); - return result == null - ? com.google.shopping.merchant.products.v1.Condition.UNRECOGNIZED - : result; + public Builder addAllGtins(java.lang.Iterable values) { + ensureGtinsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gtins_); + bitField0_ |= 0x00100000; + onChanged(); + return this; } /** * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * - * @param value The condition to set. * @return This builder for chaining. */ - public Builder setCondition(com.google.shopping.merchant.products.v1.Condition value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; - condition_ = value.getNumber(); + public Builder clearGtins() { + gtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00100000); + ; onChanged(); return this; } @@ -12449,115 +18883,128 @@ public Builder setCondition(com.google.shopping.merchant.products.v1.Condition v * * *
    -     * [Condition](https://support.google.com/merchants/answer/6324469) or state
    -     * of the item.
    +     * Global Trade Item Numbers
    +     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * item.
    +     * You can provide up to 10 GTINs.
          * 
    * - * optional .google.shopping.merchant.products.v1.Condition condition = 23; + * repeated string gtins = 140; * + * @param value The bytes of the gtins to add. * @return This builder for chaining. */ - public Builder clearCondition() { - bitField0_ = (bitField0_ & ~0x00020000); - condition_ = 0; + public Builder addGtinsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureGtinsIsMutable(); + gtins_.add(value); + bitField0_ |= 0x00100000; onChanged(); return this; } - private int gender_ = 0; + private java.lang.Object itemGroupId_ = ""; /** * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * - * @return Whether the gender field is set. + * @return Whether the itemGroupId field is set. */ - @java.lang.Override - public boolean hasGender() { - return ((bitField0_ & 0x00040000) != 0); + public boolean hasItemGroupId() { + return ((bitField0_ & 0x00200000) != 0); } /** * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * - * @return The enum numeric value on the wire for gender. + * @return The itemGroupId. */ - @java.lang.Override - public int getGenderValue() { - return gender_; + public java.lang.String getItemGroupId() { + java.lang.Object ref = itemGroupId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemGroupId_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * - * @param value The enum numeric value on the wire for gender to set. - * @return This builder for chaining. + * @return The bytes for itemGroupId. */ - public Builder setGenderValue(int value) { - gender_ = value; - bitField0_ |= 0x00040000; - onChanged(); - return this; + public com.google.protobuf.ByteString getItemGroupIdBytes() { + java.lang.Object ref = itemGroupId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + itemGroupId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * - * @return The gender. + * @param value The itemGroupId to set. + * @return This builder for chaining. */ - @java.lang.Override - public com.google.shopping.merchant.products.v1.Gender getGender() { - com.google.shopping.merchant.products.v1.Gender result = - com.google.shopping.merchant.products.v1.Gender.forNumber(gender_); - return result == null ? com.google.shopping.merchant.products.v1.Gender.UNRECOGNIZED : result; + public Builder setItemGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + itemGroupId_ = value; + bitField0_ |= 0x00200000; + onChanged(); + return this; } /** * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * - * @param value The gender to set. * @return This builder for chaining. */ - public Builder setGender(com.google.shopping.merchant.products.v1.Gender value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; - gender_ = value.getNumber(); + public Builder clearItemGroupId() { + itemGroupId_ = getDefaultInstance().getItemGroupId(); + bitField0_ = (bitField0_ & ~0x00200000); onChanged(); return this; } @@ -12566,63 +19013,61 @@ public Builder setGender(com.google.shopping.merchant.products.v1.Gender value) * * *
    -     * Target [gender](https://support.google.com/merchants/answer/6324479) of the
    -     * item.
    +     * Shared identifier for all variants of the same product.
          * 
    * - * optional .google.shopping.merchant.products.v1.Gender gender = 24; + * optional string item_group_id = 27; * + * @param value The bytes for itemGroupId to set. * @return This builder for chaining. */ - public Builder clearGender() { - bitField0_ = (bitField0_ & ~0x00040000); - gender_ = 0; + public Builder setItemGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + itemGroupId_ = value; + bitField0_ |= 0x00200000; onChanged(); return this; } - private java.lang.Object googleProductCategory_ = ""; + private java.lang.Object material_ = ""; /** * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * - * @return Whether the googleProductCategory field is set. + * @return Whether the material field is set. */ - public boolean hasGoogleProductCategory() { - return ((bitField0_ & 0x00080000) != 0); + public boolean hasMaterial() { + return ((bitField0_ & 0x00400000) != 0); } /** * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * - * @return The googleProductCategory. + * @return The material. */ - public java.lang.String getGoogleProductCategory() { - java.lang.Object ref = googleProductCategory_; + public java.lang.String getMaterial() { + java.lang.Object ref = material_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - googleProductCategory_ = s; + material_ = s; return s; } else { return (java.lang.String) ref; @@ -12633,23 +19078,20 @@ public java.lang.String getGoogleProductCategory() { * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * - * @return The bytes for googleProductCategory. + * @return The bytes for material. */ - public com.google.protobuf.ByteString getGoogleProductCategoryBytes() { - java.lang.Object ref = googleProductCategory_; + public com.google.protobuf.ByteString getMaterialBytes() { + java.lang.Object ref = material_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - googleProductCategory_ = b; + material_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -12660,24 +19102,21 @@ public com.google.protobuf.ByteString getGoogleProductCategoryBytes() { * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * - * @param value The googleProductCategory to set. + * @param value The material to set. * @return This builder for chaining. */ - public Builder setGoogleProductCategory(java.lang.String value) { + public Builder setMaterial(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - googleProductCategory_ = value; - bitField0_ |= 0x00080000; + material_ = value; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -12686,20 +19125,17 @@ public Builder setGoogleProductCategory(java.lang.String value) { * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * * @return This builder for chaining. */ - public Builder clearGoogleProductCategory() { - googleProductCategory_ = getDefaultInstance().getGoogleProductCategory(); - bitField0_ = (bitField0_ & ~0x00080000); + public Builder clearMaterial() { + material_ = getDefaultInstance().getMaterial(); + bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } @@ -12708,186 +19144,115 @@ public Builder clearGoogleProductCategory() { * * *
    -     * Google's category of the item (see [Google product
    -     * taxonomy](https://support.google.com/merchants/answer/1705911)). When
    -     * querying products, this field will contain the user provided value. There
    -     * is currently no way to get back the auto assigned google product
    -     * categories through the API.
    +     * The [material](https://support.google.com/merchants/answer/6324410) of
    +     * which the item is made. For example, "Leather" or "Cotton".
          * 
    * - * optional string google_product_category = 25; + * optional string material = 28; * - * @param value The bytes for googleProductCategory to set. + * @param value The bytes for material to set. * @return This builder for chaining. */ - public Builder setGoogleProductCategoryBytes(com.google.protobuf.ByteString value) { + public Builder setMaterialBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - googleProductCategory_ = value; - bitField0_ |= 0x00080000; + material_ = value; + bitField0_ |= 0x00400000; onChanged(); return this; } - private com.google.protobuf.LazyStringArrayList gtins_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureGtinsIsMutable() { - if (!gtins_.isModifiable()) { - gtins_ = new com.google.protobuf.LazyStringArrayList(gtins_); - } - bitField0_ |= 0x00100000; - } - - /** - * - * - *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    -     * item.
    -     * You can provide up to 10 GTINs.
    -     * 
    - * - * repeated string gtins = 140; - * - * @return A list containing the gtins. - */ - public com.google.protobuf.ProtocolStringList getGtinsList() { - gtins_.makeImmutable(); - return gtins_; - } - - /** - * - * - *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    -     * item.
    -     * You can provide up to 10 GTINs.
    -     * 
    - * - * repeated string gtins = 140; - * - * @return The count of gtins. - */ - public int getGtinsCount() { - return gtins_.size(); - } + private java.lang.Object mpn_ = ""; /** * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * - * @param index The index of the element to return. - * @return The gtins at the given index. + * @return Whether the mpn field is set. */ - public java.lang.String getGtins(int index) { - return gtins_.get(index); + public boolean hasMpn() { + return ((bitField0_ & 0x00800000) != 0); } /** * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * - * @param index The index of the value to return. - * @return The bytes of the gtins at the given index. + * @return The mpn. */ - public com.google.protobuf.ByteString getGtinsBytes(int index) { - return gtins_.getByteString(index); + public java.lang.String getMpn() { + java.lang.Object ref = mpn_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mpn_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * - * @param index The index to set the value at. - * @param value The gtins to set. - * @return This builder for chaining. + * @return The bytes for mpn. */ - public Builder setGtins(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public com.google.protobuf.ByteString getMpnBytes() { + java.lang.Object ref = mpn_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mpn_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - ensureGtinsIsMutable(); - gtins_.set(index, value); - bitField0_ |= 0x00100000; - onChanged(); - return this; } /** * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * - * @param value The gtins to add. + * @param value The mpn to set. * @return This builder for chaining. */ - public Builder addGtins(java.lang.String value) { + public Builder setMpn(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureGtinsIsMutable(); - gtins_.add(value); - bitField0_ |= 0x00100000; - onChanged(); - return this; - } - - /** - * - * - *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    -     * item.
    -     * You can provide up to 10 GTINs.
    -     * 
    - * - * repeated string gtins = 140; - * - * @param values The gtins to add. - * @return This builder for chaining. - */ - public Builder addAllGtins(java.lang.Iterable values) { - ensureGtinsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gtins_); - bitField0_ |= 0x00100000; + mpn_ = value; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -12896,20 +19261,18 @@ public Builder addAllGtins(java.lang.Iterable values) { * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * * @return This builder for chaining. */ - public Builder clearGtins() { - gtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00100000); - ; + public Builder clearMpn() { + mpn_ = getDefaultInstance().getMpn(); + bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } @@ -12918,63 +19281,63 @@ public Builder clearGtins() { * * *
    -     * Global Trade Item Numbers
    -     * ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
    +     * Manufacturer Part Number
    +     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
          * item.
    -     * You can provide up to 10 GTINs.
          * 
    * - * repeated string gtins = 140; + * optional string mpn = 29; * - * @param value The bytes of the gtins to add. + * @param value The bytes for mpn to set. * @return This builder for chaining. */ - public Builder addGtinsBytes(com.google.protobuf.ByteString value) { + public Builder setMpnBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureGtinsIsMutable(); - gtins_.add(value); - bitField0_ |= 0x00100000; + mpn_ = value; + bitField0_ |= 0x00800000; onChanged(); return this; } - private java.lang.Object itemGroupId_ = ""; + private java.lang.Object pattern_ = ""; /** * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * - * @return Whether the itemGroupId field is set. + * @return Whether the pattern field is set. */ - public boolean hasItemGroupId() { - return ((bitField0_ & 0x00200000) != 0); + public boolean hasPattern() { + return ((bitField0_ & 0x01000000) != 0); } /** * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * - * @return The itemGroupId. + * @return The pattern. */ - public java.lang.String getItemGroupId() { - java.lang.Object ref = itemGroupId_; + public java.lang.String getPattern() { + java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - itemGroupId_ = s; + pattern_ = s; return s; } else { return (java.lang.String) ref; @@ -12985,19 +19348,20 @@ public java.lang.String getItemGroupId() { * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * - * @return The bytes for itemGroupId. + * @return The bytes for pattern. */ - public com.google.protobuf.ByteString getItemGroupIdBytes() { - java.lang.Object ref = itemGroupId_; + public com.google.protobuf.ByteString getPatternBytes() { + java.lang.Object ref = pattern_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - itemGroupId_ = b; + pattern_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -13008,20 +19372,21 @@ public com.google.protobuf.ByteString getItemGroupIdBytes() { * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * - * @param value The itemGroupId to set. + * @param value The pattern to set. * @return This builder for chaining. */ - public Builder setItemGroupId(java.lang.String value) { + public Builder setPattern(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - itemGroupId_ = value; - bitField0_ |= 0x00200000; + pattern_ = value; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -13030,16 +19395,17 @@ public Builder setItemGroupId(java.lang.String value) { * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * * @return This builder for chaining. */ - public Builder clearItemGroupId() { - itemGroupId_ = getDefaultInstance().getItemGroupId(); - bitField0_ = (bitField0_ & ~0x00200000); + public Builder clearPattern() { + pattern_ = getDefaultInstance().getPattern(); + bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } @@ -13048,64 +19414,64 @@ public Builder clearItemGroupId() { * * *
    -     * Shared identifier for all variants of the same product.
    +     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    +     * For example, polka dots.
          * 
    * - * optional string item_group_id = 27; + * optional string pattern = 30; * - * @param value The bytes for itemGroupId to set. + * @param value The bytes for pattern to set. * @return This builder for chaining. */ - public Builder setItemGroupIdBytes(com.google.protobuf.ByteString value) { + public Builder setPatternBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - itemGroupId_ = value; - bitField0_ |= 0x00200000; + pattern_ = value; + bitField0_ |= 0x01000000; onChanged(); return this; } - private java.lang.Object material_ = ""; + private com.google.shopping.type.Price price_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + priceBuilder_; /** * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; + * .google.shopping.type.Price price = 31; * - * @return Whether the material field is set. + * @return Whether the price field is set. */ - public boolean hasMaterial() { - return ((bitField0_ & 0x00400000) != 0); + public boolean hasPrice() { + return ((bitField0_ & 0x02000000) != 0); } /** * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; + * .google.shopping.type.Price price = 31; * - * @return The material. + * @return The price. */ - public java.lang.String getMaterial() { - java.lang.Object ref = material_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - material_ = s; - return s; + public com.google.shopping.type.Price getPrice() { + if (priceBuilder_ == null) { + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } else { - return (java.lang.String) ref; + return priceBuilder_.getMessage(); } } @@ -13113,45 +19479,41 @@ public java.lang.String getMaterial() { * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; - * - * @return The bytes for material. + * .google.shopping.type.Price price = 31; */ - public com.google.protobuf.ByteString getMaterialBytes() { - java.lang.Object ref = material_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - material_ = b; - return b; + public Builder setPrice(com.google.shopping.type.Price value) { + if (priceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + price_ = value; } else { - return (com.google.protobuf.ByteString) ref; + priceBuilder_.setMessage(value); } + bitField0_ |= 0x02000000; + onChanged(); + return this; } /** * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; - * - * @param value The material to set. - * @return This builder for chaining. + * .google.shopping.type.Price price = 31; */ - public Builder setMaterial(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { + if (priceBuilder_ == null) { + price_ = builderForValue.build(); + } else { + priceBuilder_.setMessage(builderForValue.build()); } - material_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -13160,18 +19522,27 @@ public Builder setMaterial(java.lang.String value) { * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; - * - * @return This builder for chaining. + * .google.shopping.type.Price price = 31; */ - public Builder clearMaterial() { - material_ = getDefaultInstance().getMaterial(); - bitField0_ = (bitField0_ & ~0x00400000); - onChanged(); + public Builder mergePrice(com.google.shopping.type.Price value) { + if (priceBuilder_ == null) { + if (((bitField0_ & 0x02000000) != 0) + && price_ != null + && price_ != com.google.shopping.type.Price.getDefaultInstance()) { + getPriceBuilder().mergeFrom(value); + } else { + price_ = value; + } + } else { + priceBuilder_.mergeFrom(value); + } + if (price_ != null) { + bitField0_ |= 0x02000000; + onChanged(); + } return this; } @@ -13179,92 +19550,51 @@ public Builder clearMaterial() { * * *
    -     * The [material](https://support.google.com/merchants/answer/6324410) of
    -     * which the item is made. For example, "Leather" or "Cotton".
    +     * Price of the item.
          * 
    * - * optional string material = 28; - * - * @param value The bytes for material to set. - * @return This builder for chaining. + * .google.shopping.type.Price price = 31; */ - public Builder setMaterialBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearPrice() { + bitField0_ = (bitField0_ & ~0x02000000); + price_ = null; + if (priceBuilder_ != null) { + priceBuilder_.dispose(); + priceBuilder_ = null; } - checkByteStringIsUtf8(value); - material_ = value; - bitField0_ |= 0x00400000; onChanged(); return this; } - private java.lang.Object mpn_ = ""; - - /** - * - * - *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    -     * 
    - * - * optional string mpn = 29; - * - * @return Whether the mpn field is set. - */ - public boolean hasMpn() { - return ((bitField0_ & 0x00800000) != 0); - } - /** * * *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    +     * Price of the item.
          * 
    * - * optional string mpn = 29; - * - * @return The mpn. + * .google.shopping.type.Price price = 31; */ - public java.lang.String getMpn() { - java.lang.Object ref = mpn_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - mpn_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public com.google.shopping.type.Price.Builder getPriceBuilder() { + bitField0_ |= 0x02000000; + onChanged(); + return getPriceFieldBuilder().getBuilder(); } /** * * - *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    -     * 
    - * - * optional string mpn = 29; - * - * @return The bytes for mpn. - */ - public com.google.protobuf.ByteString getMpnBytes() { - java.lang.Object ref = mpn_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - mpn_ = b; - return b; + *
    +     * Price of the item.
    +     * 
    + * + * .google.shopping.type.Price price = 31; + */ + public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { + if (priceBuilder_ != null) { + return priceBuilder_.getMessageOrBuilder(); } else { - return (com.google.protobuf.ByteString) ref; + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } } @@ -13272,156 +19602,158 @@ public com.google.protobuf.ByteString getMpnBytes() { * * *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    +     * Price of the item.
          * 
    * - * optional string mpn = 29; - * - * @param value The mpn to set. - * @return This builder for chaining. + * .google.shopping.type.Price price = 31; */ - public Builder setMpn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + getPriceFieldBuilder() { + if (priceBuilder_ == null) { + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); + price_ = null; } - mpn_ = value; - bitField0_ |= 0x00800000; - onChanged(); - return this; + return priceBuilder_; } + private com.google.shopping.type.Price maximumRetailPrice_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + maximumRetailPriceBuilder_; + /** * * *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string mpn = 29; + * .google.shopping.type.Price maximum_retail_price = 139; * - * @return This builder for chaining. + * @return Whether the maximumRetailPrice field is set. */ - public Builder clearMpn() { - mpn_ = getDefaultInstance().getMpn(); - bitField0_ = (bitField0_ & ~0x00800000); - onChanged(); - return this; + public boolean hasMaximumRetailPrice() { + return ((bitField0_ & 0x04000000) != 0); } /** * * *
    -     * Manufacturer Part Number
    -     * ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
    -     * item.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string mpn = 29; + * .google.shopping.type.Price maximum_retail_price = 139; * - * @param value The bytes for mpn to set. - * @return This builder for chaining. + * @return The maximumRetailPrice. */ - public Builder setMpnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.shopping.type.Price getMaximumRetailPrice() { + if (maximumRetailPriceBuilder_ == null) { + return maximumRetailPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : maximumRetailPrice_; + } else { + return maximumRetailPriceBuilder_.getMessage(); } - checkByteStringIsUtf8(value); - mpn_ = value; - bitField0_ |= 0x00800000; - onChanged(); - return this; } - private java.lang.Object pattern_ = ""; - /** * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @return Whether the pattern field is set. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public boolean hasPattern() { - return ((bitField0_ & 0x01000000) != 0); + public Builder setMaximumRetailPrice(com.google.shopping.type.Price value) { + if (maximumRetailPriceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + maximumRetailPrice_ = value; + } else { + maximumRetailPriceBuilder_.setMessage(value); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; } /** * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @return The pattern. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public java.lang.String getPattern() { - java.lang.Object ref = pattern_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pattern_ = s; - return s; + public Builder setMaximumRetailPrice(com.google.shopping.type.Price.Builder builderForValue) { + if (maximumRetailPriceBuilder_ == null) { + maximumRetailPrice_ = builderForValue.build(); } else { - return (java.lang.String) ref; + maximumRetailPriceBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x04000000; + onChanged(); + return this; } /** * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @return The bytes for pattern. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public com.google.protobuf.ByteString getPatternBytes() { - java.lang.Object ref = pattern_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pattern_ = b; - return b; + public Builder mergeMaximumRetailPrice(com.google.shopping.type.Price value) { + if (maximumRetailPriceBuilder_ == null) { + if (((bitField0_ & 0x04000000) != 0) + && maximumRetailPrice_ != null + && maximumRetailPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { + getMaximumRetailPriceBuilder().mergeFrom(value); + } else { + maximumRetailPrice_ = value; + } } else { - return (com.google.protobuf.ByteString) ref; + maximumRetailPriceBuilder_.mergeFrom(value); + } + if (maximumRetailPrice_ != null) { + bitField0_ |= 0x04000000; + onChanged(); } + return this; } /** * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @param value The pattern to set. - * @return This builder for chaining. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public Builder setPattern(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearMaximumRetailPrice() { + bitField0_ = (bitField0_ & ~0x04000000); + maximumRetailPrice_ = null; + if (maximumRetailPriceBuilder_ != null) { + maximumRetailPriceBuilder_.dispose(); + maximumRetailPriceBuilder_ = null; } - pattern_ = value; - bitField0_ |= 0x01000000; onChanged(); return this; } @@ -13430,83 +19762,102 @@ public Builder setPattern(java.lang.String value) { * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @return This builder for chaining. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public Builder clearPattern() { - pattern_ = getDefaultInstance().getPattern(); - bitField0_ = (bitField0_ & ~0x01000000); + public com.google.shopping.type.Price.Builder getMaximumRetailPriceBuilder() { + bitField0_ |= 0x04000000; onChanged(); - return this; + return getMaximumRetailPriceFieldBuilder().getBuilder(); } /** * * *
    -     * The item's [pattern](https://support.google.com/merchants/answer/6324483).
    -     * For example, polka dots.
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
          * 
    * - * optional string pattern = 30; - * - * @param value The bytes for pattern to set. - * @return This builder for chaining. + * .google.shopping.type.Price maximum_retail_price = 139; */ - public Builder setPatternBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.shopping.type.PriceOrBuilder getMaximumRetailPriceOrBuilder() { + if (maximumRetailPriceBuilder_ != null) { + return maximumRetailPriceBuilder_.getMessageOrBuilder(); + } else { + return maximumRetailPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : maximumRetailPrice_; } - checkByteStringIsUtf8(value); - pattern_ = value; - bitField0_ |= 0x01000000; - onChanged(); - return this; } - private com.google.shopping.type.Price price_; + /** + * + * + *
    +     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * 
    + * + * .google.shopping.type.Price maximum_retail_price = 139; + */ private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> - priceBuilder_; + getMaximumRetailPriceFieldBuilder() { + if (maximumRetailPriceBuilder_ == null) { + maximumRetailPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getMaximumRetailPrice(), getParentForChildren(), isClean()); + maximumRetailPrice_ = null; + } + return maximumRetailPriceBuilder_; + } + + private com.google.shopping.merchant.products.v1.ProductInstallment installment_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductInstallment, + com.google.shopping.merchant.products.v1.ProductInstallment.Builder, + com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder> + installmentBuilder_; /** * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; * - * @return Whether the price field is set. + * @return Whether the installment field is set. */ - public boolean hasPrice() { - return ((bitField0_ & 0x02000000) != 0); + public boolean hasInstallment() { + return ((bitField0_ & 0x08000000) != 0); } /** * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; * - * @return The price. + * @return The installment. */ - public com.google.shopping.type.Price getPrice() { - if (priceBuilder_ == null) { - return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; + public com.google.shopping.merchant.products.v1.ProductInstallment getInstallment() { + if (installmentBuilder_ == null) { + return installment_ == null + ? com.google.shopping.merchant.products.v1.ProductInstallment.getDefaultInstance() + : installment_; } else { - return priceBuilder_.getMessage(); + return installmentBuilder_.getMessage(); } } @@ -13514,21 +19865,22 @@ public com.google.shopping.type.Price getPrice() { * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public Builder setPrice(com.google.shopping.type.Price value) { - if (priceBuilder_ == null) { + public Builder setInstallment( + com.google.shopping.merchant.products.v1.ProductInstallment value) { + if (installmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - price_ = value; + installment_ = value; } else { - priceBuilder_.setMessage(value); + installmentBuilder_.setMessage(value); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -13537,18 +19889,19 @@ public Builder setPrice(com.google.shopping.type.Price value) { * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { - if (priceBuilder_ == null) { - price_ = builderForValue.build(); + public Builder setInstallment( + com.google.shopping.merchant.products.v1.ProductInstallment.Builder builderForValue) { + if (installmentBuilder_ == null) { + installment_ = builderForValue.build(); } else { - priceBuilder_.setMessage(builderForValue.build()); + installmentBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -13557,25 +19910,28 @@ public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public Builder mergePrice(com.google.shopping.type.Price value) { - if (priceBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) - && price_ != null - && price_ != com.google.shopping.type.Price.getDefaultInstance()) { - getPriceBuilder().mergeFrom(value); + public Builder mergeInstallment( + com.google.shopping.merchant.products.v1.ProductInstallment value) { + if (installmentBuilder_ == null) { + if (((bitField0_ & 0x08000000) != 0) + && installment_ != null + && installment_ + != com.google.shopping.merchant.products.v1.ProductInstallment + .getDefaultInstance()) { + getInstallmentBuilder().mergeFrom(value); } else { - price_ = value; + installment_ = value; } } else { - priceBuilder_.mergeFrom(value); + installmentBuilder_.mergeFrom(value); } - if (price_ != null) { - bitField0_ |= 0x02000000; + if (installment_ != null) { + bitField0_ |= 0x08000000; onChanged(); } return this; @@ -13585,17 +19941,17 @@ public Builder mergePrice(com.google.shopping.type.Price value) { * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public Builder clearPrice() { - bitField0_ = (bitField0_ & ~0x02000000); - price_ = null; - if (priceBuilder_ != null) { - priceBuilder_.dispose(); - priceBuilder_ = null; + public Builder clearInstallment() { + bitField0_ = (bitField0_ & ~0x08000000); + installment_ = null; + if (installmentBuilder_ != null) { + installmentBuilder_.dispose(); + installmentBuilder_ = null; } onChanged(); return this; @@ -13605,31 +19961,35 @@ public Builder clearPrice() { * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public com.google.shopping.type.Price.Builder getPriceBuilder() { - bitField0_ |= 0x02000000; + public com.google.shopping.merchant.products.v1.ProductInstallment.Builder + getInstallmentBuilder() { + bitField0_ |= 0x08000000; onChanged(); - return getPriceFieldBuilder().getBuilder(); + return getInstallmentFieldBuilder().getBuilder(); } /** * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ - public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { - if (priceBuilder_ != null) { - return priceBuilder_.getMessageOrBuilder(); + public com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder + getInstallmentOrBuilder() { + if (installmentBuilder_ != null) { + return installmentBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; + return installment_ == null + ? com.google.shopping.merchant.products.v1.ProductInstallment.getDefaultInstance() + : installment_; } } @@ -13637,68 +19997,70 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { * * *
    -     * Price of the item.
    +     * Number and amount of installments to pay for an item.
          * 
    * - * .google.shopping.type.Price price = 31; + * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - getPriceFieldBuilder() { - if (priceBuilder_ == null) { - priceBuilder_ = + com.google.shopping.merchant.products.v1.ProductInstallment, + com.google.shopping.merchant.products.v1.ProductInstallment.Builder, + com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder> + getInstallmentFieldBuilder() { + if (installmentBuilder_ == null) { + installmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); - price_ = null; + com.google.shopping.merchant.products.v1.ProductInstallment, + com.google.shopping.merchant.products.v1.ProductInstallment.Builder, + com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder>( + getInstallment(), getParentForChildren(), isClean()); + installment_ = null; } - return priceBuilder_; + return installmentBuilder_; } - private com.google.shopping.type.Price maximumRetailPrice_; + private com.google.shopping.merchant.products.v1.SubscriptionCost subscriptionCost_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - maximumRetailPriceBuilder_; + com.google.shopping.merchant.products.v1.SubscriptionCost, + com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, + com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder> + subscriptionCostBuilder_; /** * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; * - * @return Whether the maximumRetailPrice field is set. + * @return Whether the subscriptionCost field is set. */ - public boolean hasMaximumRetailPrice() { - return ((bitField0_ & 0x04000000) != 0); + public boolean hasSubscriptionCost() { + return ((bitField0_ & 0x10000000) != 0); } /** * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; * - * @return The maximumRetailPrice. + * @return The subscriptionCost. */ - public com.google.shopping.type.Price getMaximumRetailPrice() { - if (maximumRetailPriceBuilder_ == null) { - return maximumRetailPrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : maximumRetailPrice_; + public com.google.shopping.merchant.products.v1.SubscriptionCost getSubscriptionCost() { + if (subscriptionCostBuilder_ == null) { + return subscriptionCost_ == null + ? com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance() + : subscriptionCost_; } else { - return maximumRetailPriceBuilder_.getMessage(); + return subscriptionCostBuilder_.getMessage(); } } @@ -13706,21 +20068,23 @@ public com.google.shopping.type.Price getMaximumRetailPrice() { * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ - public Builder setMaximumRetailPrice(com.google.shopping.type.Price value) { - if (maximumRetailPriceBuilder_ == null) { + public Builder setSubscriptionCost( + com.google.shopping.merchant.products.v1.SubscriptionCost value) { + if (subscriptionCostBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - maximumRetailPrice_ = value; + subscriptionCost_ = value; } else { - maximumRetailPriceBuilder_.setMessage(value); + subscriptionCostBuilder_.setMessage(value); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -13729,18 +20093,20 @@ public Builder setMaximumRetailPrice(com.google.shopping.type.Price value) { * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ - public Builder setMaximumRetailPrice(com.google.shopping.type.Price.Builder builderForValue) { - if (maximumRetailPriceBuilder_ == null) { - maximumRetailPrice_ = builderForValue.build(); + public Builder setSubscriptionCost( + com.google.shopping.merchant.products.v1.SubscriptionCost.Builder builderForValue) { + if (subscriptionCostBuilder_ == null) { + subscriptionCost_ = builderForValue.build(); } else { - maximumRetailPriceBuilder_.setMessage(builderForValue.build()); + subscriptionCostBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -13749,25 +20115,28 @@ public Builder setMaximumRetailPrice(com.google.shopping.type.Price.Builder buil * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ - public Builder mergeMaximumRetailPrice(com.google.shopping.type.Price value) { - if (maximumRetailPriceBuilder_ == null) { - if (((bitField0_ & 0x04000000) != 0) - && maximumRetailPrice_ != null - && maximumRetailPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { - getMaximumRetailPriceBuilder().mergeFrom(value); + public Builder mergeSubscriptionCost( + com.google.shopping.merchant.products.v1.SubscriptionCost value) { + if (subscriptionCostBuilder_ == null) { + if (((bitField0_ & 0x10000000) != 0) + && subscriptionCost_ != null + && subscriptionCost_ + != com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance()) { + getSubscriptionCostBuilder().mergeFrom(value); } else { - maximumRetailPrice_ = value; + subscriptionCost_ = value; } } else { - maximumRetailPriceBuilder_.mergeFrom(value); + subscriptionCostBuilder_.mergeFrom(value); } - if (maximumRetailPrice_ != null) { - bitField0_ |= 0x04000000; + if (subscriptionCost_ != null) { + bitField0_ |= 0x10000000; onChanged(); } return this; @@ -13777,17 +20146,18 @@ public Builder mergeMaximumRetailPrice(com.google.shopping.type.Price value) { * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    -     * 
    - * - * .google.shopping.type.Price maximum_retail_price = 139; - */ - public Builder clearMaximumRetailPrice() { - bitField0_ = (bitField0_ & ~0x04000000); - maximumRetailPrice_ = null; - if (maximumRetailPriceBuilder_ != null) { - maximumRetailPriceBuilder_.dispose(); - maximumRetailPriceBuilder_ = null; + * Number of periods (months or years) and amount of payment per period + * for an item with an associated subscription contract. + * + * + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + */ + public Builder clearSubscriptionCost() { + bitField0_ = (bitField0_ & ~0x10000000); + subscriptionCost_ = null; + if (subscriptionCostBuilder_ != null) { + subscriptionCostBuilder_.dispose(); + subscriptionCostBuilder_ = null; } onChanged(); return this; @@ -13797,33 +20167,37 @@ public Builder clearMaximumRetailPrice() { * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ - public com.google.shopping.type.Price.Builder getMaximumRetailPriceBuilder() { - bitField0_ |= 0x04000000; + public com.google.shopping.merchant.products.v1.SubscriptionCost.Builder + getSubscriptionCostBuilder() { + bitField0_ |= 0x10000000; onChanged(); - return getMaximumRetailPriceFieldBuilder().getBuilder(); + return getSubscriptionCostFieldBuilder().getBuilder(); } /** * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ - public com.google.shopping.type.PriceOrBuilder getMaximumRetailPriceOrBuilder() { - if (maximumRetailPriceBuilder_ != null) { - return maximumRetailPriceBuilder_.getMessageOrBuilder(); + public com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder + getSubscriptionCostOrBuilder() { + if (subscriptionCostBuilder_ != null) { + return subscriptionCostBuilder_.getMessageOrBuilder(); } else { - return maximumRetailPrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : maximumRetailPrice_; + return subscriptionCost_ == null + ? com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance() + : subscriptionCost_; } } @@ -13831,68 +20205,69 @@ public com.google.shopping.type.PriceOrBuilder getMaximumRetailPriceOrBuilder() * * *
    -     * Maximum retail price (MRP) of the item. Applicable to India only.
    +     * Number of periods (months or years) and amount of payment per period
    +     * for an item with an associated subscription contract.
          * 
    * - * .google.shopping.type.Price maximum_retail_price = 139; + * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - getMaximumRetailPriceFieldBuilder() { - if (maximumRetailPriceBuilder_ == null) { - maximumRetailPriceBuilder_ = + com.google.shopping.merchant.products.v1.SubscriptionCost, + com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, + com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder> + getSubscriptionCostFieldBuilder() { + if (subscriptionCostBuilder_ == null) { + subscriptionCostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder>( - getMaximumRetailPrice(), getParentForChildren(), isClean()); - maximumRetailPrice_ = null; + com.google.shopping.merchant.products.v1.SubscriptionCost, + com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, + com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder>( + getSubscriptionCost(), getParentForChildren(), isClean()); + subscriptionCost_ = null; } - return maximumRetailPriceBuilder_; + return subscriptionCostBuilder_; } - private com.google.shopping.merchant.products.v1.ProductInstallment installment_; + private com.google.shopping.merchant.products.v1.LoyaltyPoints loyaltyPoints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductInstallment, - com.google.shopping.merchant.products.v1.ProductInstallment.Builder, - com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder> - installmentBuilder_; + com.google.shopping.merchant.products.v1.LoyaltyPoints, + com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, + com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder> + loyaltyPointsBuilder_; /** * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; * - * @return Whether the installment field is set. + * @return Whether the loyaltyPoints field is set. */ - public boolean hasInstallment() { - return ((bitField0_ & 0x08000000) != 0); + public boolean hasLoyaltyPoints() { + return ((bitField0_ & 0x20000000) != 0); } /** * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; * - * @return The installment. + * @return The loyaltyPoints. */ - public com.google.shopping.merchant.products.v1.ProductInstallment getInstallment() { - if (installmentBuilder_ == null) { - return installment_ == null - ? com.google.shopping.merchant.products.v1.ProductInstallment.getDefaultInstance() - : installment_; + public com.google.shopping.merchant.products.v1.LoyaltyPoints getLoyaltyPoints() { + if (loyaltyPointsBuilder_ == null) { + return loyaltyPoints_ == null + ? com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance() + : loyaltyPoints_; } else { - return installmentBuilder_.getMessage(); + return loyaltyPointsBuilder_.getMessage(); } } @@ -13900,22 +20275,21 @@ public com.google.shopping.merchant.products.v1.ProductInstallment getInstallmen * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public Builder setInstallment( - com.google.shopping.merchant.products.v1.ProductInstallment value) { - if (installmentBuilder_ == null) { + public Builder setLoyaltyPoints(com.google.shopping.merchant.products.v1.LoyaltyPoints value) { + if (loyaltyPointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - installment_ = value; + loyaltyPoints_ = value; } else { - installmentBuilder_.setMessage(value); + loyaltyPointsBuilder_.setMessage(value); } - bitField0_ |= 0x08000000; + bitField0_ |= 0x20000000; onChanged(); return this; } @@ -13924,19 +20298,19 @@ public Builder setInstallment( * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public Builder setInstallment( - com.google.shopping.merchant.products.v1.ProductInstallment.Builder builderForValue) { - if (installmentBuilder_ == null) { - installment_ = builderForValue.build(); + public Builder setLoyaltyPoints( + com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder builderForValue) { + if (loyaltyPointsBuilder_ == null) { + loyaltyPoints_ = builderForValue.build(); } else { - installmentBuilder_.setMessage(builderForValue.build()); + loyaltyPointsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x08000000; + bitField0_ |= 0x20000000; onChanged(); return this; } @@ -13945,28 +20319,27 @@ public Builder setInstallment( * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public Builder mergeInstallment( - com.google.shopping.merchant.products.v1.ProductInstallment value) { - if (installmentBuilder_ == null) { - if (((bitField0_ & 0x08000000) != 0) - && installment_ != null - && installment_ - != com.google.shopping.merchant.products.v1.ProductInstallment - .getDefaultInstance()) { - getInstallmentBuilder().mergeFrom(value); + public Builder mergeLoyaltyPoints( + com.google.shopping.merchant.products.v1.LoyaltyPoints value) { + if (loyaltyPointsBuilder_ == null) { + if (((bitField0_ & 0x20000000) != 0) + && loyaltyPoints_ != null + && loyaltyPoints_ + != com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance()) { + getLoyaltyPointsBuilder().mergeFrom(value); } else { - installment_ = value; + loyaltyPoints_ = value; } } else { - installmentBuilder_.mergeFrom(value); + loyaltyPointsBuilder_.mergeFrom(value); } - if (installment_ != null) { - bitField0_ |= 0x08000000; + if (loyaltyPoints_ != null) { + bitField0_ |= 0x20000000; onChanged(); } return this; @@ -13976,17 +20349,17 @@ public Builder mergeInstallment( * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public Builder clearInstallment() { - bitField0_ = (bitField0_ & ~0x08000000); - installment_ = null; - if (installmentBuilder_ != null) { - installmentBuilder_.dispose(); - installmentBuilder_ = null; + public Builder clearLoyaltyPoints() { + bitField0_ = (bitField0_ & ~0x20000000); + loyaltyPoints_ = null; + if (loyaltyPointsBuilder_ != null) { + loyaltyPointsBuilder_.dispose(); + loyaltyPointsBuilder_ = null; } onChanged(); return this; @@ -13996,106 +20369,140 @@ public Builder clearInstallment() { * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public com.google.shopping.merchant.products.v1.ProductInstallment.Builder - getInstallmentBuilder() { - bitField0_ |= 0x08000000; + public com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder + getLoyaltyPointsBuilder() { + bitField0_ |= 0x20000000; onChanged(); - return getInstallmentFieldBuilder().getBuilder(); + return getLoyaltyPointsFieldBuilder().getBuilder(); } /** * * *
    -     * Number and amount of installments to pay for an item.
    +     * Loyalty points that users receive after purchasing the item. Japan only.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; */ - public com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder - getInstallmentOrBuilder() { - if (installmentBuilder_ != null) { - return installmentBuilder_.getMessageOrBuilder(); + public com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder + getLoyaltyPointsOrBuilder() { + if (loyaltyPointsBuilder_ != null) { + return loyaltyPointsBuilder_.getMessageOrBuilder(); } else { - return installment_ == null - ? com.google.shopping.merchant.products.v1.ProductInstallment.getDefaultInstance() - : installment_; + return loyaltyPoints_ == null + ? com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance() + : loyaltyPoints_; + } + } + + /** + * + * + *
    +     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * 
    + * + * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.LoyaltyPoints, + com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, + com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder> + getLoyaltyPointsFieldBuilder() { + if (loyaltyPointsBuilder_ == null) { + loyaltyPointsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.LoyaltyPoints, + com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, + com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder>( + getLoyaltyPoints(), getParentForChildren(), isClean()); + loyaltyPoints_ = null; + } + return loyaltyPointsBuilder_; + } + + private java.util.List + loyaltyPrograms_ = java.util.Collections.emptyList(); + + private void ensureLoyaltyProgramsIsMutable() { + if (!((bitField0_ & 0x40000000) != 0)) { + loyaltyPrograms_ = + new java.util.ArrayList( + loyaltyPrograms_); + bitField0_ |= 0x40000000; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.products.v1.LoyaltyProgram, + com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder, + com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder> + loyaltyProgramsBuilder_; + /** * * *
    -     * Number and amount of installments to pay for an item.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.ProductInstallment installment = 32; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductInstallment, - com.google.shopping.merchant.products.v1.ProductInstallment.Builder, - com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder> - getInstallmentFieldBuilder() { - if (installmentBuilder_ == null) { - installmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductInstallment, - com.google.shopping.merchant.products.v1.ProductInstallment.Builder, - com.google.shopping.merchant.products.v1.ProductInstallmentOrBuilder>( - getInstallment(), getParentForChildren(), isClean()); - installment_ = null; + public java.util.List + getLoyaltyProgramsList() { + if (loyaltyProgramsBuilder_ == null) { + return java.util.Collections.unmodifiableList(loyaltyPrograms_); + } else { + return loyaltyProgramsBuilder_.getMessageList(); } - return installmentBuilder_; } - private com.google.shopping.merchant.products.v1.SubscriptionCost subscriptionCost_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.SubscriptionCost, - com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, - com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder> - subscriptionCostBuilder_; - /** * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; - * - * @return Whether the subscriptionCost field is set. + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public boolean hasSubscriptionCost() { - return ((bitField0_ & 0x10000000) != 0); + public int getLoyaltyProgramsCount() { + if (loyaltyProgramsBuilder_ == null) { + return loyaltyPrograms_.size(); + } else { + return loyaltyProgramsBuilder_.getCount(); + } } /** * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; - * - * @return The subscriptionCost. + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public com.google.shopping.merchant.products.v1.SubscriptionCost getSubscriptionCost() { - if (subscriptionCostBuilder_ == null) { - return subscriptionCost_ == null - ? com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance() - : subscriptionCost_; + public com.google.shopping.merchant.products.v1.LoyaltyProgram getLoyaltyPrograms(int index) { + if (loyaltyProgramsBuilder_ == null) { + return loyaltyPrograms_.get(index); } else { - return subscriptionCostBuilder_.getMessage(); + return loyaltyProgramsBuilder_.getMessage(index); } } @@ -14103,24 +20510,26 @@ public com.google.shopping.merchant.products.v1.SubscriptionCost getSubscription * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder setSubscriptionCost( - com.google.shopping.merchant.products.v1.SubscriptionCost value) { - if (subscriptionCostBuilder_ == null) { + public Builder setLoyaltyPrograms( + int index, com.google.shopping.merchant.products.v1.LoyaltyProgram value) { + if (loyaltyProgramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - subscriptionCost_ = value; + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.set(index, value); + onChanged(); } else { - subscriptionCostBuilder_.setMessage(value); + loyaltyProgramsBuilder_.setMessage(index, value); } - bitField0_ |= 0x10000000; - onChanged(); return this; } @@ -14128,21 +20537,24 @@ public Builder setSubscriptionCost( * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder setSubscriptionCost( - com.google.shopping.merchant.products.v1.SubscriptionCost.Builder builderForValue) { - if (subscriptionCostBuilder_ == null) { - subscriptionCost_ = builderForValue.build(); + public Builder setLoyaltyPrograms( + int index, + com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { + if (loyaltyProgramsBuilder_ == null) { + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.set(index, builderForValue.build()); + onChanged(); } else { - subscriptionCostBuilder_.setMessage(builderForValue.build()); + loyaltyProgramsBuilder_.setMessage(index, builderForValue.build()); } - bitField0_ |= 0x10000000; - onChanged(); return this; } @@ -14150,29 +20562,25 @@ public Builder setSubscriptionCost( * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder mergeSubscriptionCost( - com.google.shopping.merchant.products.v1.SubscriptionCost value) { - if (subscriptionCostBuilder_ == null) { - if (((bitField0_ & 0x10000000) != 0) - && subscriptionCost_ != null - && subscriptionCost_ - != com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance()) { - getSubscriptionCostBuilder().mergeFrom(value); - } else { - subscriptionCost_ = value; + public Builder addLoyaltyPrograms( + com.google.shopping.merchant.products.v1.LoyaltyProgram value) { + if (loyaltyProgramsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - } else { - subscriptionCostBuilder_.mergeFrom(value); - } - if (subscriptionCost_ != null) { - bitField0_ |= 0x10000000; + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.add(value); onChanged(); + } else { + loyaltyProgramsBuilder_.addMessage(value); } return this; } @@ -14181,20 +20589,26 @@ public Builder mergeSubscriptionCost( * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder clearSubscriptionCost() { - bitField0_ = (bitField0_ & ~0x10000000); - subscriptionCost_ = null; - if (subscriptionCostBuilder_ != null) { - subscriptionCostBuilder_.dispose(); - subscriptionCostBuilder_ = null; + public Builder addLoyaltyPrograms( + int index, com.google.shopping.merchant.products.v1.LoyaltyProgram value) { + if (loyaltyProgramsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.add(index, value); + onChanged(); + } else { + loyaltyProgramsBuilder_.addMessage(index, value); } - onChanged(); return this; } @@ -14202,130 +20616,119 @@ public Builder clearSubscriptionCost() { * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    -     * 
    - * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; - */ - public com.google.shopping.merchant.products.v1.SubscriptionCost.Builder - getSubscriptionCostBuilder() { - bitField0_ |= 0x10000000; - onChanged(); - return getSubscriptionCostFieldBuilder().getBuilder(); - } - - /** - * - * - *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder - getSubscriptionCostOrBuilder() { - if (subscriptionCostBuilder_ != null) { - return subscriptionCostBuilder_.getMessageOrBuilder(); + public Builder addLoyaltyPrograms( + com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { + if (loyaltyProgramsBuilder_ == null) { + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.add(builderForValue.build()); + onChanged(); } else { - return subscriptionCost_ == null - ? com.google.shopping.merchant.products.v1.SubscriptionCost.getDefaultInstance() - : subscriptionCost_; + loyaltyProgramsBuilder_.addMessage(builderForValue.build()); } + return this; } /** * * *
    -     * Number of periods (months or years) and amount of payment per period
    -     * for an item with an associated subscription contract.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.SubscriptionCost, - com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, - com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder> - getSubscriptionCostFieldBuilder() { - if (subscriptionCostBuilder_ == null) { - subscriptionCostBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.SubscriptionCost, - com.google.shopping.merchant.products.v1.SubscriptionCost.Builder, - com.google.shopping.merchant.products.v1.SubscriptionCostOrBuilder>( - getSubscriptionCost(), getParentForChildren(), isClean()); - subscriptionCost_ = null; - } - return subscriptionCostBuilder_; - } - - private com.google.shopping.merchant.products.v1.LoyaltyPoints loyaltyPoints_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.LoyaltyPoints, - com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, - com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder> - loyaltyPointsBuilder_; + public Builder addLoyaltyPrograms( + int index, + com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { + if (loyaltyProgramsBuilder_ == null) { + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.add(index, builderForValue.build()); + onChanged(); + } else { + loyaltyProgramsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; - * - * @return Whether the loyaltyPoints field is set. + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public boolean hasLoyaltyPoints() { - return ((bitField0_ & 0x20000000) != 0); + public Builder addAllLoyaltyPrograms( + java.lang.Iterable + values) { + if (loyaltyProgramsBuilder_ == null) { + ensureLoyaltyProgramsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, loyaltyPrograms_); + onChanged(); + } else { + loyaltyProgramsBuilder_.addAllMessages(values); + } + return this; } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; - * - * @return The loyaltyPoints. + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public com.google.shopping.merchant.products.v1.LoyaltyPoints getLoyaltyPoints() { - if (loyaltyPointsBuilder_ == null) { - return loyaltyPoints_ == null - ? com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance() - : loyaltyPoints_; + public Builder clearLoyaltyPrograms() { + if (loyaltyProgramsBuilder_ == null) { + loyaltyPrograms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x40000000); + onChanged(); } else { - return loyaltyPointsBuilder_.getMessage(); + loyaltyProgramsBuilder_.clear(); } + return this; } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder setLoyaltyPoints(com.google.shopping.merchant.products.v1.LoyaltyPoints value) { - if (loyaltyPointsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - loyaltyPoints_ = value; + public Builder removeLoyaltyPrograms(int index) { + if (loyaltyProgramsBuilder_ == null) { + ensureLoyaltyProgramsIsMutable(); + loyaltyPrograms_.remove(index); + onChanged(); } else { - loyaltyPointsBuilder_.setMessage(value); + loyaltyProgramsBuilder_.remove(index); } - bitField0_ |= 0x20000000; - onChanged(); return this; } @@ -14333,263 +20736,235 @@ public Builder setLoyaltyPoints(com.google.shopping.merchant.products.v1.Loyalty * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder setLoyaltyPoints( - com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder builderForValue) { - if (loyaltyPointsBuilder_ == null) { - loyaltyPoints_ = builderForValue.build(); - } else { - loyaltyPointsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x20000000; - onChanged(); - return this; + public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder + getLoyaltyProgramsBuilder(int index) { + return getLoyaltyProgramsFieldBuilder().getBuilder(index); } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder mergeLoyaltyPoints( - com.google.shopping.merchant.products.v1.LoyaltyPoints value) { - if (loyaltyPointsBuilder_ == null) { - if (((bitField0_ & 0x20000000) != 0) - && loyaltyPoints_ != null - && loyaltyPoints_ - != com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance()) { - getLoyaltyPointsBuilder().mergeFrom(value); - } else { - loyaltyPoints_ = value; - } + public com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder + getLoyaltyProgramsOrBuilder(int index) { + if (loyaltyProgramsBuilder_ == null) { + return loyaltyPrograms_.get(index); } else { - loyaltyPointsBuilder_.mergeFrom(value); - } - if (loyaltyPoints_ != null) { - bitField0_ |= 0x20000000; - onChanged(); + return loyaltyProgramsBuilder_.getMessageOrBuilder(index); } - return this; } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public Builder clearLoyaltyPoints() { - bitField0_ = (bitField0_ & ~0x20000000); - loyaltyPoints_ = null; - if (loyaltyPointsBuilder_ != null) { - loyaltyPointsBuilder_.dispose(); - loyaltyPointsBuilder_ = null; + public java.util.List< + ? extends com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder> + getLoyaltyProgramsOrBuilderList() { + if (loyaltyProgramsBuilder_ != null) { + return loyaltyProgramsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(loyaltyPrograms_); } - onChanged(); - return this; } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder - getLoyaltyPointsBuilder() { - bitField0_ |= 0x20000000; - onChanged(); - return getLoyaltyPointsFieldBuilder().getBuilder(); + public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder + addLoyaltyProgramsBuilder() { + return getLoyaltyProgramsFieldBuilder() + .addBuilder(com.google.shopping.merchant.products.v1.LoyaltyProgram.getDefaultInstance()); } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - public com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder - getLoyaltyPointsOrBuilder() { - if (loyaltyPointsBuilder_ != null) { - return loyaltyPointsBuilder_.getMessageOrBuilder(); - } else { - return loyaltyPoints_ == null - ? com.google.shopping.merchant.products.v1.LoyaltyPoints.getDefaultInstance() - : loyaltyPoints_; - } + public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder + addLoyaltyProgramsBuilder(int index) { + return getLoyaltyProgramsFieldBuilder() + .addBuilder( + index, com.google.shopping.merchant.products.v1.LoyaltyProgram.getDefaultInstance()); } /** * * *
    -     * Loyalty points that users receive after purchasing the item. Japan only.
    +     * A list of loyalty program information that is used to surface loyalty
    +     * benefits (for example, better pricing, points, etc) to the user of this
    +     * item.
          * 
    * - * .google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34; + * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; + * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.LoyaltyPoints, - com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, - com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder> - getLoyaltyPointsFieldBuilder() { - if (loyaltyPointsBuilder_ == null) { - loyaltyPointsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.LoyaltyPoints, - com.google.shopping.merchant.products.v1.LoyaltyPoints.Builder, - com.google.shopping.merchant.products.v1.LoyaltyPointsOrBuilder>( - getLoyaltyPoints(), getParentForChildren(), isClean()); - loyaltyPoints_ = null; - } - return loyaltyPointsBuilder_; - } - - private java.util.List - loyaltyPrograms_ = java.util.Collections.emptyList(); - - private void ensureLoyaltyProgramsIsMutable() { - if (!((bitField0_ & 0x40000000) != 0)) { - loyaltyPrograms_ = - new java.util.ArrayList( - loyaltyPrograms_); - bitField0_ |= 0x40000000; - } + public java.util.List + getLoyaltyProgramsBuilderList() { + return getLoyaltyProgramsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.shopping.merchant.products.v1.LoyaltyProgram, com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder, com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder> - loyaltyProgramsBuilder_; + getLoyaltyProgramsFieldBuilder() { + if (loyaltyProgramsBuilder_ == null) { + loyaltyProgramsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.products.v1.LoyaltyProgram, + com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder, + com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder>( + loyaltyPrograms_, + ((bitField0_ & 0x40000000) != 0), + getParentForChildren(), + isClean()); + loyaltyPrograms_ = null; + } + return loyaltyProgramsBuilder_; + } + + private com.google.protobuf.LazyStringArrayList productTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureProductTypesIsMutable() { + if (!productTypes_.isModifiable()) { + productTypes_ = new com.google.protobuf.LazyStringArrayList(productTypes_); + } + bitField0_ |= 0x80000000; + } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * - */ - public java.util.List - getLoyaltyProgramsList() { - if (loyaltyProgramsBuilder_ == null) { - return java.util.Collections.unmodifiableList(loyaltyPrograms_); - } else { - return loyaltyProgramsBuilder_.getMessageList(); - } + * repeated string product_types = 35; + * + * @return A list containing the productTypes. + */ + public com.google.protobuf.ProtocolStringList getProductTypesList() { + productTypes_.makeImmutable(); + return productTypes_; } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @return The count of productTypes. */ - public int getLoyaltyProgramsCount() { - if (loyaltyProgramsBuilder_ == null) { - return loyaltyPrograms_.size(); - } else { - return loyaltyProgramsBuilder_.getCount(); - } + public int getProductTypesCount() { + return productTypes_.size(); } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param index The index of the element to return. + * @return The productTypes at the given index. */ - public com.google.shopping.merchant.products.v1.LoyaltyProgram getLoyaltyPrograms(int index) { - if (loyaltyProgramsBuilder_ == null) { - return loyaltyPrograms_.get(index); - } else { - return loyaltyProgramsBuilder_.getMessage(index); - } + public java.lang.String getProductTypes(int index) { + return productTypes_.get(index); } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param index The index of the value to return. + * @return The bytes of the productTypes at the given index. */ - public Builder setLoyaltyPrograms( - int index, com.google.shopping.merchant.products.v1.LoyaltyProgram value) { - if (loyaltyProgramsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.set(index, value); - onChanged(); - } else { - loyaltyProgramsBuilder_.setMessage(index, value); - } - return this; + public com.google.protobuf.ByteString getProductTypesBytes(int index) { + return productTypes_.getByteString(index); } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param index The index to set the value at. + * @param value The productTypes to set. + * @return This builder for chaining. */ - public Builder setLoyaltyPrograms( - int index, - com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { - if (loyaltyProgramsBuilder_ == null) { - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.set(index, builderForValue.build()); - onChanged(); - } else { - loyaltyProgramsBuilder_.setMessage(index, builderForValue.build()); + public Builder setProductTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureProductTypesIsMutable(); + productTypes_.set(index, value); + bitField0_ |= 0x80000000; + onChanged(); return this; } @@ -14597,26 +20972,23 @@ public Builder setLoyaltyPrograms( * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param value The productTypes to add. + * @return This builder for chaining. */ - public Builder addLoyaltyPrograms( - com.google.shopping.merchant.products.v1.LoyaltyProgram value) { - if (loyaltyProgramsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.add(value); - onChanged(); - } else { - loyaltyProgramsBuilder_.addMessage(value); + public Builder addProductTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureProductTypesIsMutable(); + productTypes_.add(value); + bitField0_ |= 0x80000000; + onChanged(); return this; } @@ -14624,26 +20996,20 @@ public Builder addLoyaltyPrograms( * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param values The productTypes to add. + * @return This builder for chaining. */ - public Builder addLoyaltyPrograms( - int index, com.google.shopping.merchant.products.v1.LoyaltyProgram value) { - if (loyaltyProgramsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.add(index, value); - onChanged(); - } else { - loyaltyProgramsBuilder_.addMessage(index, value); - } + public Builder addAllProductTypes(java.lang.Iterable values) { + ensureProductTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, productTypes_); + bitField0_ |= 0x80000000; + onChanged(); return this; } @@ -14651,23 +21017,19 @@ public Builder addLoyaltyPrograms( * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @return This builder for chaining. */ - public Builder addLoyaltyPrograms( - com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { - if (loyaltyProgramsBuilder_ == null) { - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.add(builderForValue.build()); - onChanged(); - } else { - loyaltyProgramsBuilder_.addMessage(builderForValue.build()); - } + public Builder clearProductTypes() { + productTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x80000000); + ; + onChanged(); return this; } @@ -14675,95 +21037,90 @@ public Builder addLoyaltyPrograms( * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Categories of the item (formatted as in [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * repeated string product_types = 35; + * + * @param value The bytes of the productTypes to add. + * @return This builder for chaining. */ - public Builder addLoyaltyPrograms( - int index, - com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder builderForValue) { - if (loyaltyProgramsBuilder_ == null) { - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.add(index, builderForValue.build()); - onChanged(); - } else { - loyaltyProgramsBuilder_.addMessage(index, builderForValue.build()); + public Builder addProductTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureProductTypesIsMutable(); + productTypes_.add(value); + bitField0_ |= 0x80000000; + onChanged(); return this; } + private com.google.shopping.type.Price salePrice_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + salePriceBuilder_; + /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; + * + * @return Whether the salePrice field is set. */ - public Builder addAllLoyaltyPrograms( - java.lang.Iterable - values) { - if (loyaltyProgramsBuilder_ == null) { - ensureLoyaltyProgramsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, loyaltyPrograms_); - onChanged(); - } else { - loyaltyProgramsBuilder_.addAllMessages(values); - } - return this; + public boolean hasSalePrice() { + return ((bitField1_ & 0x00000001) != 0); } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; + * + * @return The salePrice. */ - public Builder clearLoyaltyPrograms() { - if (loyaltyProgramsBuilder_ == null) { - loyaltyPrograms_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x40000000); - onChanged(); + public com.google.shopping.type.Price getSalePrice() { + if (salePriceBuilder_ == null) { + return salePrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : salePrice_; } else { - loyaltyProgramsBuilder_.clear(); + return salePriceBuilder_.getMessage(); } - return this; } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public Builder removeLoyaltyPrograms(int index) { - if (loyaltyProgramsBuilder_ == null) { - ensureLoyaltyProgramsIsMutable(); - loyaltyPrograms_.remove(index); - onChanged(); + public Builder setSalePrice(com.google.shopping.type.Price value) { + if (salePriceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + salePrice_ = value; } else { - loyaltyProgramsBuilder_.remove(index); + salePriceBuilder_.setMessage(value); } + bitField1_ |= 0x00000001; + onChanged(); return this; } @@ -14771,234 +21128,266 @@ public Builder removeLoyaltyPrograms(int index) { * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder - getLoyaltyProgramsBuilder(int index) { - return getLoyaltyProgramsFieldBuilder().getBuilder(index); + public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) { + if (salePriceBuilder_ == null) { + salePrice_ = builderForValue.build(); + } else { + salePriceBuilder_.setMessage(builderForValue.build()); + } + bitField1_ |= 0x00000001; + onChanged(); + return this; } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder - getLoyaltyProgramsOrBuilder(int index) { - if (loyaltyProgramsBuilder_ == null) { - return loyaltyPrograms_.get(index); + public Builder mergeSalePrice(com.google.shopping.type.Price value) { + if (salePriceBuilder_ == null) { + if (((bitField1_ & 0x00000001) != 0) + && salePrice_ != null + && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) { + getSalePriceBuilder().mergeFrom(value); + } else { + salePrice_ = value; + } } else { - return loyaltyProgramsBuilder_.getMessageOrBuilder(index); + salePriceBuilder_.mergeFrom(value); + } + if (salePrice_ != null) { + bitField1_ |= 0x00000001; + onChanged(); } + return this; } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public java.util.List< - ? extends com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder> - getLoyaltyProgramsOrBuilderList() { - if (loyaltyProgramsBuilder_ != null) { - return loyaltyProgramsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(loyaltyPrograms_); + public Builder clearSalePrice() { + bitField1_ = (bitField1_ & ~0x00000001); + salePrice_ = null; + if (salePriceBuilder_ != null) { + salePriceBuilder_.dispose(); + salePriceBuilder_ = null; } + onChanged(); + return this; } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder - addLoyaltyProgramsBuilder() { - return getLoyaltyProgramsFieldBuilder() - .addBuilder(com.google.shopping.merchant.products.v1.LoyaltyProgram.getDefaultInstance()); + public com.google.shopping.type.Price.Builder getSalePriceBuilder() { + bitField1_ |= 0x00000001; + onChanged(); + return getSalePriceFieldBuilder().getBuilder(); } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder - addLoyaltyProgramsBuilder(int index) { - return getLoyaltyProgramsFieldBuilder() - .addBuilder( - index, com.google.shopping.merchant.products.v1.LoyaltyProgram.getDefaultInstance()); + public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() { + if (salePriceBuilder_ != null) { + return salePriceBuilder_.getMessageOrBuilder(); + } else { + return salePrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : salePrice_; + } } /** * * *
    -     * A list of loyalty program information that is used to surface loyalty
    -     * benefits (for example, better pricing, points, etc) to the user of this
    -     * item.
    +     * Advertised sale price of the item.
          * 
    * - * repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136; - * + * .google.shopping.type.Price sale_price = 36; */ - public java.util.List - getLoyaltyProgramsBuilderList() { - return getLoyaltyProgramsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.products.v1.LoyaltyProgram, - com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder, - com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder> - getLoyaltyProgramsFieldBuilder() { - if (loyaltyProgramsBuilder_ == null) { - loyaltyProgramsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.products.v1.LoyaltyProgram, - com.google.shopping.merchant.products.v1.LoyaltyProgram.Builder, - com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder>( - loyaltyPrograms_, - ((bitField0_ & 0x40000000) != 0), - getParentForChildren(), - isClean()); - loyaltyPrograms_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + getSalePriceFieldBuilder() { + if (salePriceBuilder_ == null) { + salePriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getSalePrice(), getParentForChildren(), isClean()); + salePrice_ = null; } - return loyaltyProgramsBuilder_; + return salePriceBuilder_; } - private com.google.protobuf.LazyStringArrayList productTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureProductTypesIsMutable() { - if (!productTypes_.isModifiable()) { - productTypes_ = new com.google.protobuf.LazyStringArrayList(productTypes_); - } - bitField0_ |= 0x80000000; - } + private com.google.type.Interval salePriceEffectiveDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + salePriceEffectiveDateBuilder_; /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; + * .google.type.Interval sale_price_effective_date = 37; * - * @return A list containing the productTypes. + * @return Whether the salePriceEffectiveDate field is set. */ - public com.google.protobuf.ProtocolStringList getProductTypesList() { - productTypes_.makeImmutable(); - return productTypes_; + public boolean hasSalePriceEffectiveDate() { + return ((bitField1_ & 0x00000002) != 0); } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; + * .google.type.Interval sale_price_effective_date = 37; * - * @return The count of productTypes. + * @return The salePriceEffectiveDate. */ - public int getProductTypesCount() { - return productTypes_.size(); + public com.google.type.Interval getSalePriceEffectiveDate() { + if (salePriceEffectiveDateBuilder_ == null) { + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; + } else { + return salePriceEffectiveDateBuilder_.getMessage(); + } } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; + * .google.type.Interval sale_price_effective_date = 37; + */ + public Builder setSalePriceEffectiveDate(com.google.type.Interval value) { + if (salePriceEffectiveDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + salePriceEffectiveDate_ = value; + } else { + salePriceEffectiveDateBuilder_.setMessage(value); + } + bitField1_ |= 0x00000002; + onChanged(); + return this; + } + + /** * - * @param index The index of the element to return. - * @return The productTypes at the given index. + * + *
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * 
    + * + * .google.type.Interval sale_price_effective_date = 37; */ - public java.lang.String getProductTypes(int index) { - return productTypes_.get(index); + public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) { + if (salePriceEffectiveDateBuilder_ == null) { + salePriceEffectiveDate_ = builderForValue.build(); + } else { + salePriceEffectiveDateBuilder_.setMessage(builderForValue.build()); + } + bitField1_ |= 0x00000002; + onChanged(); + return this; } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; - * - * @param index The index of the value to return. - * @return The bytes of the productTypes at the given index. + * .google.type.Interval sale_price_effective_date = 37; */ - public com.google.protobuf.ByteString getProductTypesBytes(int index) { - return productTypes_.getByteString(index); + public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) { + if (salePriceEffectiveDateBuilder_ == null) { + if (((bitField1_ & 0x00000002) != 0) + && salePriceEffectiveDate_ != null + && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) { + getSalePriceEffectiveDateBuilder().mergeFrom(value); + } else { + salePriceEffectiveDate_ = value; + } + } else { + salePriceEffectiveDateBuilder_.mergeFrom(value); + } + if (salePriceEffectiveDate_ != null) { + bitField1_ |= 0x00000002; + onChanged(); + } + return this; } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; - * - * @param index The index to set the value at. - * @param value The productTypes to set. - * @return This builder for chaining. + * .google.type.Interval sale_price_effective_date = 37; */ - public Builder setProductTypes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearSalePriceEffectiveDate() { + bitField1_ = (bitField1_ & ~0x00000002); + salePriceEffectiveDate_ = null; + if (salePriceEffectiveDateBuilder_ != null) { + salePriceEffectiveDateBuilder_.dispose(); + salePriceEffectiveDateBuilder_ = null; } - ensureProductTypesIsMutable(); - productTypes_.set(index, value); - bitField0_ |= 0x80000000; onChanged(); return this; } @@ -15007,222 +21396,210 @@ public Builder setProductTypes(int index, java.lang.String value) { * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; - * - * @param value The productTypes to add. - * @return This builder for chaining. + * .google.type.Interval sale_price_effective_date = 37; */ - public Builder addProductTypes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureProductTypesIsMutable(); - productTypes_.add(value); - bitField0_ |= 0x80000000; + public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() { + bitField1_ |= 0x00000002; onChanged(); - return this; + return getSalePriceEffectiveDateFieldBuilder().getBuilder(); } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; - * - * @param values The productTypes to add. - * @return This builder for chaining. + * .google.type.Interval sale_price_effective_date = 37; */ - public Builder addAllProductTypes(java.lang.Iterable values) { - ensureProductTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, productTypes_); - bitField0_ |= 0x80000000; - onChanged(); - return this; + public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() { + if (salePriceEffectiveDateBuilder_ != null) { + return salePriceEffectiveDateBuilder_.getMessageOrBuilder(); + } else { + return salePriceEffectiveDate_ == null + ? com.google.type.Interval.getDefaultInstance() + : salePriceEffectiveDate_; + } } /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * Date range during which the item is on sale, see [product data
    +     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
          * 
    * - * repeated string product_types = 35; - * - * @return This builder for chaining. + * .google.type.Interval sale_price_effective_date = 37; */ - public Builder clearProductTypes() { - productTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x80000000); - ; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + getSalePriceEffectiveDateFieldBuilder() { + if (salePriceEffectiveDateBuilder_ == null) { + salePriceEffectiveDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getSalePriceEffectiveDate(), getParentForChildren(), isClean()); + salePriceEffectiveDate_ = null; + } + return salePriceEffectiveDateBuilder_; } + private long sellOnGoogleQuantity_; + /** * * *
    -     * Categories of the item (formatted as in [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#product_category)).
    +     * The quantity of the product that is available for selling on Google.
    +     * Supported only for online products.
          * 
    * - * repeated string product_types = 35; + * optional int64 sell_on_google_quantity = 38; * - * @param value The bytes of the productTypes to add. - * @return This builder for chaining. + * @return Whether the sellOnGoogleQuantity field is set. */ - public Builder addProductTypesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureProductTypesIsMutable(); - productTypes_.add(value); - bitField0_ |= 0x80000000; - onChanged(); - return this; + @java.lang.Override + public boolean hasSellOnGoogleQuantity() { + return ((bitField1_ & 0x00000004) != 0); } - private com.google.shopping.type.Price salePrice_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - salePriceBuilder_; - /** * * *
    -     * Advertised sale price of the item.
    +     * The quantity of the product that is available for selling on Google.
    +     * Supported only for online products.
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * optional int64 sell_on_google_quantity = 38; * - * @return Whether the salePrice field is set. + * @return The sellOnGoogleQuantity. */ - public boolean hasSalePrice() { - return ((bitField1_ & 0x00000001) != 0); + @java.lang.Override + public long getSellOnGoogleQuantity() { + return sellOnGoogleQuantity_; } /** * * *
    -     * Advertised sale price of the item.
    +     * The quantity of the product that is available for selling on Google.
    +     * Supported only for online products.
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * optional int64 sell_on_google_quantity = 38; * - * @return The salePrice. + * @param value The sellOnGoogleQuantity to set. + * @return This builder for chaining. */ - public com.google.shopping.type.Price getSalePrice() { - if (salePriceBuilder_ == null) { - return salePrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : salePrice_; - } else { - return salePriceBuilder_.getMessage(); - } + public Builder setSellOnGoogleQuantity(long value) { + + sellOnGoogleQuantity_ = value; + bitField1_ |= 0x00000004; + onChanged(); + return this; } /** * * *
    -     * Advertised sale price of the item.
    +     * The quantity of the product that is available for selling on Google.
    +     * Supported only for online products.
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * optional int64 sell_on_google_quantity = 38; + * + * @return This builder for chaining. */ - public Builder setSalePrice(com.google.shopping.type.Price value) { - if (salePriceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - salePrice_ = value; - } else { - salePriceBuilder_.setMessage(value); - } - bitField1_ |= 0x00000001; + public Builder clearSellOnGoogleQuantity() { + bitField1_ = (bitField1_ & ~0x00000004); + sellOnGoogleQuantity_ = 0L; onChanged(); return this; } + private com.google.shopping.merchant.products.v1.ProductDimension productHeight_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> + productHeightBuilder_; + /** * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * + * @return Whether the productHeight field is set. */ - public Builder setSalePrice(com.google.shopping.type.Price.Builder builderForValue) { - if (salePriceBuilder_ == null) { - salePrice_ = builderForValue.build(); - } else { - salePriceBuilder_.setMessage(builderForValue.build()); - } - bitField1_ |= 0x00000001; - onChanged(); - return this; + public boolean hasProductHeight() { + return ((bitField1_ & 0x00000008) != 0); } /** * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * + * @return The productHeight. */ - public Builder mergeSalePrice(com.google.shopping.type.Price value) { - if (salePriceBuilder_ == null) { - if (((bitField1_ & 0x00000001) != 0) - && salePrice_ != null - && salePrice_ != com.google.shopping.type.Price.getDefaultInstance()) { - getSalePriceBuilder().mergeFrom(value); - } else { - salePrice_ = value; - } + public com.google.shopping.merchant.products.v1.ProductDimension getProductHeight() { + if (productHeightBuilder_ == null) { + return productHeight_ == null + ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() + : productHeight_; } else { - salePriceBuilder_.mergeFrom(value); - } - if (salePrice_ != null) { - bitField1_ |= 0x00000001; - onChanged(); + return productHeightBuilder_.getMessage(); } - return this; } /** * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public Builder clearSalePrice() { - bitField1_ = (bitField1_ & ~0x00000001); - salePrice_ = null; - if (salePriceBuilder_ != null) { - salePriceBuilder_.dispose(); - salePriceBuilder_ = null; + public Builder setProductHeight( + com.google.shopping.merchant.products.v1.ProductDimension value) { + if (productHeightBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + productHeight_ = value; + } else { + productHeightBuilder_.setMessage(value); } + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -15231,104 +21608,116 @@ public Builder clearSalePrice() { * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public com.google.shopping.type.Price.Builder getSalePriceBuilder() { - bitField1_ |= 0x00000001; + public Builder setProductHeight( + com.google.shopping.merchant.products.v1.ProductDimension.Builder builderForValue) { + if (productHeightBuilder_ == null) { + productHeight_ = builderForValue.build(); + } else { + productHeightBuilder_.setMessage(builderForValue.build()); + } + bitField1_ |= 0x00000008; onChanged(); - return getSalePriceFieldBuilder().getBuilder(); + return this; } /** * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public com.google.shopping.type.PriceOrBuilder getSalePriceOrBuilder() { - if (salePriceBuilder_ != null) { - return salePriceBuilder_.getMessageOrBuilder(); + public Builder mergeProductHeight( + com.google.shopping.merchant.products.v1.ProductDimension value) { + if (productHeightBuilder_ == null) { + if (((bitField1_ & 0x00000008) != 0) + && productHeight_ != null + && productHeight_ + != com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance()) { + getProductHeightBuilder().mergeFrom(value); + } else { + productHeight_ = value; + } } else { - return salePrice_ == null - ? com.google.shopping.type.Price.getDefaultInstance() - : salePrice_; + productHeightBuilder_.mergeFrom(value); } + if (productHeight_ != null) { + bitField1_ |= 0x00000008; + onChanged(); + } + return this; } /** * * *
    -     * Advertised sale price of the item.
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.type.Price sale_price = 36; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder> - getSalePriceFieldBuilder() { - if (salePriceBuilder_ == null) { - salePriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, - com.google.shopping.type.Price.Builder, - com.google.shopping.type.PriceOrBuilder>( - getSalePrice(), getParentForChildren(), isClean()); - salePrice_ = null; + public Builder clearProductHeight() { + bitField1_ = (bitField1_ & ~0x00000008); + productHeight_ = null; + if (productHeightBuilder_ != null) { + productHeightBuilder_.dispose(); + productHeightBuilder_ = null; } - return salePriceBuilder_; + onChanged(); + return this; } - private com.google.type.Interval salePriceEffectiveDate_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> - salePriceEffectiveDateBuilder_; - /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; - * - * @return Whether the salePriceEffectiveDate field is set. + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public boolean hasSalePriceEffectiveDate() { - return ((bitField1_ & 0x00000002) != 0); + public com.google.shopping.merchant.products.v1.ProductDimension.Builder + getProductHeightBuilder() { + bitField1_ |= 0x00000008; + onChanged(); + return getProductHeightFieldBuilder().getBuilder(); } /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; - * - * @return The salePriceEffectiveDate. + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public com.google.type.Interval getSalePriceEffectiveDate() { - if (salePriceEffectiveDateBuilder_ == null) { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + public com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder + getProductHeightOrBuilder() { + if (productHeightBuilder_ != null) { + return productHeightBuilder_.getMessageOrBuilder(); } else { - return salePriceEffectiveDateBuilder_.getMessage(); + return productHeight_ == null + ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() + : productHeight_; } } @@ -15336,280 +21725,281 @@ public com.google.type.Interval getSalePriceEffectiveDate() { * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The height of the product in the units provided. The value must be
    +     * between
    +     * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; */ - public Builder setSalePriceEffectiveDate(com.google.type.Interval value) { - if (salePriceEffectiveDateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - salePriceEffectiveDate_ = value; - } else { - salePriceEffectiveDateBuilder_.setMessage(value); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> + getProductHeightFieldBuilder() { + if (productHeightBuilder_ == null) { + productHeightBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder>( + getProductHeight(), getParentForChildren(), isClean()); + productHeight_ = null; } - bitField1_ |= 0x00000002; - onChanged(); - return this; + return productHeightBuilder_; } - /** - * - * - *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    -     * 
    - * - * .google.type.Interval sale_price_effective_date = 37; - */ - public Builder setSalePriceEffectiveDate(com.google.type.Interval.Builder builderForValue) { - if (salePriceEffectiveDateBuilder_ == null) { - salePriceEffectiveDate_ = builderForValue.build(); - } else { - salePriceEffectiveDateBuilder_.setMessage(builderForValue.build()); - } - bitField1_ |= 0x00000002; - onChanged(); - return this; - } + private com.google.shopping.merchant.products.v1.ProductDimension productLength_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> + productLengthBuilder_; /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * + * @return Whether the productLength field is set. */ - public Builder mergeSalePriceEffectiveDate(com.google.type.Interval value) { - if (salePriceEffectiveDateBuilder_ == null) { - if (((bitField1_ & 0x00000002) != 0) - && salePriceEffectiveDate_ != null - && salePriceEffectiveDate_ != com.google.type.Interval.getDefaultInstance()) { - getSalePriceEffectiveDateBuilder().mergeFrom(value); - } else { - salePriceEffectiveDate_ = value; - } - } else { - salePriceEffectiveDateBuilder_.mergeFrom(value); - } - if (salePriceEffectiveDate_ != null) { - bitField1_ |= 0x00000002; - onChanged(); - } - return this; + public boolean hasProductLength() { + return ((bitField1_ & 0x00000010) != 0); } /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * + * @return The productLength. */ - public Builder clearSalePriceEffectiveDate() { - bitField1_ = (bitField1_ & ~0x00000002); - salePriceEffectiveDate_ = null; - if (salePriceEffectiveDateBuilder_ != null) { - salePriceEffectiveDateBuilder_.dispose(); - salePriceEffectiveDateBuilder_ = null; + public com.google.shopping.merchant.products.v1.ProductDimension getProductLength() { + if (productLengthBuilder_ == null) { + return productLength_ == null + ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() + : productLength_; + } else { + return productLengthBuilder_.getMessage(); } - onChanged(); - return this; } /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - public com.google.type.Interval.Builder getSalePriceEffectiveDateBuilder() { - bitField1_ |= 0x00000002; + public Builder setProductLength( + com.google.shopping.merchant.products.v1.ProductDimension value) { + if (productLengthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + productLength_ = value; + } else { + productLengthBuilder_.setMessage(value); + } + bitField1_ |= 0x00000010; onChanged(); - return getSalePriceEffectiveDateFieldBuilder().getBuilder(); + return this; } /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - public com.google.type.IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() { - if (salePriceEffectiveDateBuilder_ != null) { - return salePriceEffectiveDateBuilder_.getMessageOrBuilder(); + public Builder setProductLength( + com.google.shopping.merchant.products.v1.ProductDimension.Builder builderForValue) { + if (productLengthBuilder_ == null) { + productLength_ = builderForValue.build(); } else { - return salePriceEffectiveDate_ == null - ? com.google.type.Interval.getDefaultInstance() - : salePriceEffectiveDate_; + productLengthBuilder_.setMessage(builderForValue.build()); } + bitField1_ |= 0x00000010; + onChanged(); + return this; } /** * * *
    -     * Date range during which the item is on sale, see [product data
    -     * specification](https://support.google.com/merchants/answer/7052112#price_and_availability).
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.type.Interval sale_price_effective_date = 37; + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> - getSalePriceEffectiveDateFieldBuilder() { - if (salePriceEffectiveDateBuilder_ == null) { - salePriceEffectiveDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder>( - getSalePriceEffectiveDate(), getParentForChildren(), isClean()); - salePriceEffectiveDate_ = null; + public Builder mergeProductLength( + com.google.shopping.merchant.products.v1.ProductDimension value) { + if (productLengthBuilder_ == null) { + if (((bitField1_ & 0x00000010) != 0) + && productLength_ != null + && productLength_ + != com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance()) { + getProductLengthBuilder().mergeFrom(value); + } else { + productLength_ = value; + } + } else { + productLengthBuilder_.mergeFrom(value); } - return salePriceEffectiveDateBuilder_; + if (productLength_ != null) { + bitField1_ |= 0x00000010; + onChanged(); + } + return this; } - private long sellOnGoogleQuantity_; - /** * * *
    -     * The quantity of the product that is available for selling on Google.
    -     * Supported only for online products.
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * optional int64 sell_on_google_quantity = 38; - * - * @return Whether the sellOnGoogleQuantity field is set. + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - @java.lang.Override - public boolean hasSellOnGoogleQuantity() { - return ((bitField1_ & 0x00000004) != 0); + public Builder clearProductLength() { + bitField1_ = (bitField1_ & ~0x00000010); + productLength_ = null; + if (productLengthBuilder_ != null) { + productLengthBuilder_.dispose(); + productLengthBuilder_ = null; + } + onChanged(); + return this; } /** * * *
    -     * The quantity of the product that is available for selling on Google.
    -     * Supported only for online products.
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * optional int64 sell_on_google_quantity = 38; - * - * @return The sellOnGoogleQuantity. + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - @java.lang.Override - public long getSellOnGoogleQuantity() { - return sellOnGoogleQuantity_; + public com.google.shopping.merchant.products.v1.ProductDimension.Builder + getProductLengthBuilder() { + bitField1_ |= 0x00000010; + onChanged(); + return getProductLengthFieldBuilder().getBuilder(); } /** * * *
    -     * The quantity of the product that is available for selling on Google.
    -     * Supported only for online products.
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * optional int64 sell_on_google_quantity = 38; - * - * @param value The sellOnGoogleQuantity to set. - * @return This builder for chaining. + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - public Builder setSellOnGoogleQuantity(long value) { - - sellOnGoogleQuantity_ = value; - bitField1_ |= 0x00000004; - onChanged(); - return this; + public com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder + getProductLengthOrBuilder() { + if (productLengthBuilder_ != null) { + return productLengthBuilder_.getMessageOrBuilder(); + } else { + return productLength_ == null + ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() + : productLength_; + } } /** * * *
    -     * The quantity of the product that is available for selling on Google.
    -     * Supported only for online products.
    +     * The length of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 3000 (inclusive).
          * 
    * - * optional int64 sell_on_google_quantity = 38; - * - * @return This builder for chaining. + * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; */ - public Builder clearSellOnGoogleQuantity() { - bitField1_ = (bitField1_ & ~0x00000004); - sellOnGoogleQuantity_ = 0L; - onChanged(); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> + getProductLengthFieldBuilder() { + if (productLengthBuilder_ == null) { + productLengthBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductDimension, + com.google.shopping.merchant.products.v1.ProductDimension.Builder, + com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder>( + getProductLength(), getParentForChildren(), isClean()); + productLength_ = null; + } + return productLengthBuilder_; } - private com.google.shopping.merchant.products.v1.ProductDimension productHeight_; + private com.google.shopping.merchant.products.v1.ProductDimension productWidth_; private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.products.v1.ProductDimension, com.google.shopping.merchant.products.v1.ProductDimension.Builder, com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - productHeightBuilder_; + productWidthBuilder_; /** * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; * - * @return Whether the productHeight field is set. + * @return Whether the productWidth field is set. */ - public boolean hasProductHeight() { - return ((bitField1_ & 0x00000008) != 0); + public boolean hasProductWidth() { + return ((bitField1_ & 0x00000020) != 0); } /** * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; * - * @return The productHeight. + * @return The productWidth. */ - public com.google.shopping.merchant.products.v1.ProductDimension getProductHeight() { - if (productHeightBuilder_ == null) { - return productHeight_ == null + public com.google.shopping.merchant.products.v1.ProductDimension getProductWidth() { + if (productWidthBuilder_ == null) { + return productWidth_ == null ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productHeight_; + : productWidth_; } else { - return productHeightBuilder_.getMessage(); + return productWidthBuilder_.getMessage(); } } @@ -15617,24 +22007,23 @@ public com.google.shopping.merchant.products.v1.ProductDimension getProductHeigh * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ - public Builder setProductHeight( + public Builder setProductWidth( com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productHeightBuilder_ == null) { + if (productWidthBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - productHeight_ = value; + productWidth_ = value; } else { - productHeightBuilder_.setMessage(value); + productWidthBuilder_.setMessage(value); } - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -15643,21 +22032,20 @@ public Builder setProductHeight( * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ - public Builder setProductHeight( + public Builder setProductWidth( com.google.shopping.merchant.products.v1.ProductDimension.Builder builderForValue) { - if (productHeightBuilder_ == null) { - productHeight_ = builderForValue.build(); + if (productWidthBuilder_ == null) { + productWidth_ = builderForValue.build(); } else { - productHeightBuilder_.setMessage(builderForValue.build()); + productWidthBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -15666,29 +22054,28 @@ public Builder setProductHeight( * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ - public Builder mergeProductHeight( + public Builder mergeProductWidth( com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productHeightBuilder_ == null) { - if (((bitField1_ & 0x00000008) != 0) - && productHeight_ != null - && productHeight_ + if (productWidthBuilder_ == null) { + if (((bitField1_ & 0x00000020) != 0) + && productWidth_ != null + && productWidth_ != com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance()) { - getProductHeightBuilder().mergeFrom(value); + getProductWidthBuilder().mergeFrom(value); } else { - productHeight_ = value; + productWidth_ = value; } } else { - productHeightBuilder_.mergeFrom(value); + productWidthBuilder_.mergeFrom(value); } - if (productHeight_ != null) { - bitField1_ |= 0x00000008; + if (productWidth_ != null) { + bitField1_ |= 0x00000020; onChanged(); } return this; @@ -15698,19 +22085,18 @@ public Builder mergeProductHeight( * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ - public Builder clearProductHeight() { - bitField1_ = (bitField1_ & ~0x00000008); - productHeight_ = null; - if (productHeightBuilder_ != null) { - productHeightBuilder_.dispose(); - productHeightBuilder_ = null; + public Builder clearProductWidth() { + bitField1_ = (bitField1_ & ~0x00000020); + productWidth_ = null; + if (productWidthBuilder_ != null) { + productWidthBuilder_.dispose(); + productWidthBuilder_ = null; } onChanged(); return this; @@ -15720,39 +22106,37 @@ public Builder clearProductHeight() { * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ public com.google.shopping.merchant.products.v1.ProductDimension.Builder - getProductHeightBuilder() { - bitField1_ |= 0x00000008; + getProductWidthBuilder() { + bitField1_ |= 0x00000020; onChanged(); - return getProductHeightFieldBuilder().getBuilder(); + return getProductWidthFieldBuilder().getBuilder(); } /** * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ public com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder - getProductHeightOrBuilder() { - if (productHeightBuilder_ != null) { - return productHeightBuilder_.getMessageOrBuilder(); + getProductWidthOrBuilder() { + if (productWidthBuilder_ != null) { + return productWidthBuilder_.getMessageOrBuilder(); } else { - return productHeight_ == null + return productWidth_ == null ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productHeight_; + : productWidth_; } } @@ -15760,72 +22144,71 @@ public Builder clearProductHeight() { * * *
    -     * The height of the product in the units provided. The value must be
    -     * between
    +     * The width of the product in the units provided. The value must be between
          * 0 (exclusive) and 3000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_height = 119; + * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.products.v1.ProductDimension, com.google.shopping.merchant.products.v1.ProductDimension.Builder, com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - getProductHeightFieldBuilder() { - if (productHeightBuilder_ == null) { - productHeightBuilder_ = + getProductWidthFieldBuilder() { + if (productWidthBuilder_ == null) { + productWidthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.products.v1.ProductDimension, com.google.shopping.merchant.products.v1.ProductDimension.Builder, com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder>( - getProductHeight(), getParentForChildren(), isClean()); - productHeight_ = null; + getProductWidth(), getParentForChildren(), isClean()); + productWidth_ = null; } - return productHeightBuilder_; + return productWidthBuilder_; } - private com.google.shopping.merchant.products.v1.ProductDimension productLength_; + private com.google.shopping.merchant.products.v1.ProductWeight productWeight_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - productLengthBuilder_; + com.google.shopping.merchant.products.v1.ProductWeight, + com.google.shopping.merchant.products.v1.ProductWeight.Builder, + com.google.shopping.merchant.products.v1.ProductWeightOrBuilder> + productWeightBuilder_; /** * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; * - * @return Whether the productLength field is set. + * @return Whether the productWeight field is set. */ - public boolean hasProductLength() { - return ((bitField1_ & 0x00000010) != 0); + public boolean hasProductWeight() { + return ((bitField1_ & 0x00000040) != 0); } /** * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; * - * @return The productLength. + * @return The productWeight. */ - public com.google.shopping.merchant.products.v1.ProductDimension getProductLength() { - if (productLengthBuilder_ == null) { - return productLength_ == null - ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productLength_; + public com.google.shopping.merchant.products.v1.ProductWeight getProductWeight() { + if (productWeightBuilder_ == null) { + return productWeight_ == null + ? com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance() + : productWeight_; } else { - return productLengthBuilder_.getMessage(); + return productWeightBuilder_.getMessage(); } } @@ -15833,23 +22216,22 @@ public com.google.shopping.merchant.products.v1.ProductDimension getProductLengt * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; */ - public Builder setProductLength( - com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productLengthBuilder_ == null) { + public Builder setProductWeight(com.google.shopping.merchant.products.v1.ProductWeight value) { + if (productWeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - productLength_ = value; + productWeight_ = value; } else { - productLengthBuilder_.setMessage(value); + productWeightBuilder_.setMessage(value); } - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -15858,20 +22240,20 @@ public Builder setProductLength( * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; */ - public Builder setProductLength( - com.google.shopping.merchant.products.v1.ProductDimension.Builder builderForValue) { - if (productLengthBuilder_ == null) { - productLength_ = builderForValue.build(); + public Builder setProductWeight( + com.google.shopping.merchant.products.v1.ProductWeight.Builder builderForValue) { + if (productWeightBuilder_ == null) { + productWeight_ = builderForValue.build(); } else { - productLengthBuilder_.setMessage(builderForValue.build()); + productWeightBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -15880,28 +22262,28 @@ public Builder setProductLength( * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; */ - public Builder mergeProductLength( - com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productLengthBuilder_ == null) { - if (((bitField1_ & 0x00000010) != 0) - && productLength_ != null - && productLength_ - != com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance()) { - getProductLengthBuilder().mergeFrom(value); + public Builder mergeProductWeight( + com.google.shopping.merchant.products.v1.ProductWeight value) { + if (productWeightBuilder_ == null) { + if (((bitField1_ & 0x00000040) != 0) + && productWeight_ != null + && productWeight_ + != com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance()) { + getProductWeightBuilder().mergeFrom(value); } else { - productLength_ = value; + productWeight_ = value; } } else { - productLengthBuilder_.mergeFrom(value); + productWeightBuilder_.mergeFrom(value); } - if (productLength_ != null) { - bitField1_ |= 0x00000010; + if (productWeight_ != null) { + bitField1_ |= 0x00000040; onChanged(); } return this; @@ -15911,18 +22293,18 @@ public Builder mergeProductLength( * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; */ - public Builder clearProductLength() { - bitField1_ = (bitField1_ & ~0x00000010); - productLength_ = null; - if (productLengthBuilder_ != null) { - productLengthBuilder_.dispose(); - productLengthBuilder_ = null; + public Builder clearProductWeight() { + bitField1_ = (bitField1_ & ~0x00000040); + productWeight_ = null; + if (productWeightBuilder_ != null) { + productWeightBuilder_.dispose(); + productWeightBuilder_ = null; } onChanged(); return this; @@ -15932,37 +22314,98 @@ public Builder clearProductLength() { * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; */ - public com.google.shopping.merchant.products.v1.ProductDimension.Builder - getProductLengthBuilder() { - bitField1_ |= 0x00000010; + public com.google.shopping.merchant.products.v1.ProductWeight.Builder + getProductWeightBuilder() { + bitField1_ |= 0x00000040; onChanged(); - return getProductLengthFieldBuilder().getBuilder(); + return getProductWeightFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
    +     * 
    + * + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + */ + public com.google.shopping.merchant.products.v1.ProductWeightOrBuilder + getProductWeightOrBuilder() { + if (productWeightBuilder_ != null) { + return productWeightBuilder_.getMessageOrBuilder(); + } else { + return productWeight_ == null + ? com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance() + : productWeight_; + } + } + + /** + * + * + *
    +     * The weight of the product in the units provided. The value must be
    +     * between 0 (exclusive) and 2000 (inclusive).
    +     * 
    + * + * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductWeight, + com.google.shopping.merchant.products.v1.ProductWeight.Builder, + com.google.shopping.merchant.products.v1.ProductWeightOrBuilder> + getProductWeightFieldBuilder() { + if (productWeightBuilder_ == null) { + productWeightBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.merchant.products.v1.ProductWeight, + com.google.shopping.merchant.products.v1.ProductWeight.Builder, + com.google.shopping.merchant.products.v1.ProductWeightOrBuilder>( + getProductWeight(), getParentForChildren(), isClean()); + productWeight_ = null; + } + return productWeightBuilder_; + } + + private java.util.List shipping_ = + java.util.Collections.emptyList(); + + private void ensureShippingIsMutable() { + if (!((bitField1_ & 0x00000080) != 0)) { + shipping_ = + new java.util.ArrayList(shipping_); + bitField1_ |= 0x00000080; + } } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.products.v1.Shipping, + com.google.shopping.merchant.products.v1.Shipping.Builder, + com.google.shopping.merchant.products.v1.ShippingOrBuilder> + shippingBuilder_; + /** * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder - getProductLengthOrBuilder() { - if (productLengthBuilder_ != null) { - return productLengthBuilder_.getMessageOrBuilder(); + public java.util.List getShippingList() { + if (shippingBuilder_ == null) { + return java.util.Collections.unmodifiableList(shipping_); } else { - return productLength_ == null - ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productLength_; + return shippingBuilder_.getMessageList(); } } @@ -15970,71 +22413,33 @@ public Builder clearProductLength() { * * *
    -     * The length of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_length = 120; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - getProductLengthFieldBuilder() { - if (productLengthBuilder_ == null) { - productLengthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder>( - getProductLength(), getParentForChildren(), isClean()); - productLength_ = null; + public int getShippingCount() { + if (shippingBuilder_ == null) { + return shipping_.size(); + } else { + return shippingBuilder_.getCount(); } - return productLengthBuilder_; - } - - private com.google.shopping.merchant.products.v1.ProductDimension productWidth_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - productWidthBuilder_; - - /** - * - * - *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    -     * 
    - * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; - * - * @return Whether the productWidth field is set. - */ - public boolean hasProductWidth() { - return ((bitField1_ & 0x00000020) != 0); } /** * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; - * - * @return The productWidth. + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductDimension getProductWidth() { - if (productWidthBuilder_ == null) { - return productWidth_ == null - ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productWidth_; + public com.google.shopping.merchant.products.v1.Shipping getShipping(int index) { + if (shippingBuilder_ == null) { + return shipping_.get(index); } else { - return productWidthBuilder_.getMessage(); + return shippingBuilder_.getMessage(index); } } @@ -16042,24 +22447,22 @@ public com.google.shopping.merchant.products.v1.ProductDimension getProductWidth * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder setProductWidth( - com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productWidthBuilder_ == null) { + public Builder setShipping(int index, com.google.shopping.merchant.products.v1.Shipping value) { + if (shippingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - productWidth_ = value; + ensureShippingIsMutable(); + shipping_.set(index, value); + onChanged(); } else { - productWidthBuilder_.setMessage(value); + shippingBuilder_.setMessage(index, value); } - bitField1_ |= 0x00000020; - onChanged(); return this; } @@ -16067,21 +22470,20 @@ public Builder setProductWidth( * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder setProductWidth( - com.google.shopping.merchant.products.v1.ProductDimension.Builder builderForValue) { - if (productWidthBuilder_ == null) { - productWidth_ = builderForValue.build(); + public Builder setShipping( + int index, com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { + if (shippingBuilder_ == null) { + ensureShippingIsMutable(); + shipping_.set(index, builderForValue.build()); + onChanged(); } else { - productWidthBuilder_.setMessage(builderForValue.build()); + shippingBuilder_.setMessage(index, builderForValue.build()); } - bitField1_ |= 0x00000020; - onChanged(); return this; } @@ -16089,29 +22491,21 @@ public Builder setProductWidth( * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder mergeProductWidth( - com.google.shopping.merchant.products.v1.ProductDimension value) { - if (productWidthBuilder_ == null) { - if (((bitField1_ & 0x00000020) != 0) - && productWidth_ != null - && productWidth_ - != com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance()) { - getProductWidthBuilder().mergeFrom(value); - } else { - productWidth_ = value; + public Builder addShipping(com.google.shopping.merchant.products.v1.Shipping value) { + if (shippingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - } else { - productWidthBuilder_.mergeFrom(value); - } - if (productWidth_ != null) { - bitField1_ |= 0x00000020; + ensureShippingIsMutable(); + shipping_.add(value); onChanged(); + } else { + shippingBuilder_.addMessage(value); } return this; } @@ -16120,20 +22514,22 @@ public Builder mergeProductWidth( * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder clearProductWidth() { - bitField1_ = (bitField1_ & ~0x00000020); - productWidth_ = null; - if (productWidthBuilder_ != null) { - productWidthBuilder_.dispose(); - productWidthBuilder_ = null; + public Builder addShipping(int index, com.google.shopping.merchant.products.v1.Shipping value) { + if (shippingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureShippingIsMutable(); + shipping_.add(index, value); + onChanged(); + } else { + shippingBuilder_.addMessage(index, value); } - onChanged(); return this; } @@ -16141,133 +22537,102 @@ public Builder clearProductWidth() { * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    -     * 
    - * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; - */ - public com.google.shopping.merchant.products.v1.ProductDimension.Builder - getProductWidthBuilder() { - bitField1_ |= 0x00000020; - onChanged(); - return getProductWidthFieldBuilder().getBuilder(); - } - - /** - * - * - *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder - getProductWidthOrBuilder() { - if (productWidthBuilder_ != null) { - return productWidthBuilder_.getMessageOrBuilder(); + public Builder addShipping( + com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { + if (shippingBuilder_ == null) { + ensureShippingIsMutable(); + shipping_.add(builderForValue.build()); + onChanged(); } else { - return productWidth_ == null - ? com.google.shopping.merchant.products.v1.ProductDimension.getDefaultInstance() - : productWidth_; + shippingBuilder_.addMessage(builderForValue.build()); } + return this; } /** * * *
    -     * The width of the product in the units provided. The value must be between
    -     * 0 (exclusive) and 3000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductDimension product_width = 121; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder> - getProductWidthFieldBuilder() { - if (productWidthBuilder_ == null) { - productWidthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductDimension, - com.google.shopping.merchant.products.v1.ProductDimension.Builder, - com.google.shopping.merchant.products.v1.ProductDimensionOrBuilder>( - getProductWidth(), getParentForChildren(), isClean()); - productWidth_ = null; + public Builder addShipping( + int index, com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { + if (shippingBuilder_ == null) { + ensureShippingIsMutable(); + shipping_.add(index, builderForValue.build()); + onChanged(); + } else { + shippingBuilder_.addMessage(index, builderForValue.build()); } - return productWidthBuilder_; + return this; } - private com.google.shopping.merchant.products.v1.ProductWeight productWeight_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductWeight, - com.google.shopping.merchant.products.v1.ProductWeight.Builder, - com.google.shopping.merchant.products.v1.ProductWeightOrBuilder> - productWeightBuilder_; - /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; - * - * @return Whether the productWeight field is set. + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public boolean hasProductWeight() { - return ((bitField1_ & 0x00000040) != 0); + public Builder addAllShipping( + java.lang.Iterable values) { + if (shippingBuilder_ == null) { + ensureShippingIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shipping_); + onChanged(); + } else { + shippingBuilder_.addAllMessages(values); + } + return this; } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; - * - * @return The productWeight. + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductWeight getProductWeight() { - if (productWeightBuilder_ == null) { - return productWeight_ == null - ? com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance() - : productWeight_; + public Builder clearShipping() { + if (shippingBuilder_ == null) { + shipping_ = java.util.Collections.emptyList(); + bitField1_ = (bitField1_ & ~0x00000080); + onChanged(); } else { - return productWeightBuilder_.getMessage(); + shippingBuilder_.clear(); } + return this; } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder setProductWeight(com.google.shopping.merchant.products.v1.ProductWeight value) { - if (productWeightBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - productWeight_ = value; + public Builder removeShipping(int index) { + if (shippingBuilder_ == null) { + ensureShippingIsMutable(); + shipping_.remove(index); + onChanged(); } else { - productWeightBuilder_.setMessage(value); + shippingBuilder_.remove(index); } - bitField1_ |= 0x00000040; - onChanged(); return this; } @@ -16275,172 +22640,149 @@ public Builder setProductWeight(com.google.shopping.merchant.products.v1.Product * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder setProductWeight( - com.google.shopping.merchant.products.v1.ProductWeight.Builder builderForValue) { - if (productWeightBuilder_ == null) { - productWeight_ = builderForValue.build(); - } else { - productWeightBuilder_.setMessage(builderForValue.build()); - } - bitField1_ |= 0x00000040; - onChanged(); - return this; + public com.google.shopping.merchant.products.v1.Shipping.Builder getShippingBuilder(int index) { + return getShippingFieldBuilder().getBuilder(index); } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder mergeProductWeight( - com.google.shopping.merchant.products.v1.ProductWeight value) { - if (productWeightBuilder_ == null) { - if (((bitField1_ & 0x00000040) != 0) - && productWeight_ != null - && productWeight_ - != com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance()) { - getProductWeightBuilder().mergeFrom(value); - } else { - productWeight_ = value; - } + public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrBuilder( + int index) { + if (shippingBuilder_ == null) { + return shipping_.get(index); } else { - productWeightBuilder_.mergeFrom(value); - } - if (productWeight_ != null) { - bitField1_ |= 0x00000040; - onChanged(); + return shippingBuilder_.getMessageOrBuilder(index); } - return this; } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public Builder clearProductWeight() { - bitField1_ = (bitField1_ & ~0x00000040); - productWeight_ = null; - if (productWeightBuilder_ != null) { - productWeightBuilder_.dispose(); - productWeightBuilder_ = null; + public java.util.List + getShippingOrBuilderList() { + if (shippingBuilder_ != null) { + return shippingBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(shipping_); } - onChanged(); - return this; } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductWeight.Builder - getProductWeightBuilder() { - bitField1_ |= 0x00000040; - onChanged(); - return getProductWeightFieldBuilder().getBuilder(); + public com.google.shopping.merchant.products.v1.Shipping.Builder addShippingBuilder() { + return getShippingFieldBuilder() + .addBuilder(com.google.shopping.merchant.products.v1.Shipping.getDefaultInstance()); } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - public com.google.shopping.merchant.products.v1.ProductWeightOrBuilder - getProductWeightOrBuilder() { - if (productWeightBuilder_ != null) { - return productWeightBuilder_.getMessageOrBuilder(); - } else { - return productWeight_ == null - ? com.google.shopping.merchant.products.v1.ProductWeight.getDefaultInstance() - : productWeight_; - } + public com.google.shopping.merchant.products.v1.Shipping.Builder addShippingBuilder(int index) { + return getShippingFieldBuilder() + .addBuilder( + index, com.google.shopping.merchant.products.v1.Shipping.getDefaultInstance()); } /** * * *
    -     * The weight of the product in the units provided. The value must be
    -     * between 0 (exclusive) and 2000 (inclusive).
    +     * Shipping rules.
          * 
    * - * .google.shopping.merchant.products.v1.ProductWeight product_weight = 122; + * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductWeight, - com.google.shopping.merchant.products.v1.ProductWeight.Builder, - com.google.shopping.merchant.products.v1.ProductWeightOrBuilder> - getProductWeightFieldBuilder() { - if (productWeightBuilder_ == null) { - productWeightBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.merchant.products.v1.ProductWeight, - com.google.shopping.merchant.products.v1.ProductWeight.Builder, - com.google.shopping.merchant.products.v1.ProductWeightOrBuilder>( - getProductWeight(), getParentForChildren(), isClean()); - productWeight_ = null; + public java.util.List + getShippingBuilderList() { + return getShippingFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.products.v1.Shipping, + com.google.shopping.merchant.products.v1.Shipping.Builder, + com.google.shopping.merchant.products.v1.ShippingOrBuilder> + getShippingFieldBuilder() { + if (shippingBuilder_ == null) { + shippingBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.shopping.merchant.products.v1.Shipping, + com.google.shopping.merchant.products.v1.Shipping.Builder, + com.google.shopping.merchant.products.v1.ShippingOrBuilder>( + shipping_, ((bitField1_ & 0x00000080) != 0), getParentForChildren(), isClean()); + shipping_ = null; } - return productWeightBuilder_; + return shippingBuilder_; } - private java.util.List shipping_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping> + carrierShipping_ = java.util.Collections.emptyList(); - private void ensureShippingIsMutable() { - if (!((bitField1_ & 0x00000080) != 0)) { - shipping_ = - new java.util.ArrayList(shipping_); - bitField1_ |= 0x00000080; + private void ensureCarrierShippingIsMutable() { + if (!((bitField1_ & 0x00000100) != 0)) { + carrierShipping_ = + new java.util.ArrayList< + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping>( + carrierShipping_); + bitField1_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.products.v1.Shipping, - com.google.shopping.merchant.products.v1.Shipping.Builder, - com.google.shopping.merchant.products.v1.ShippingOrBuilder> - shippingBuilder_; + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder> + carrierShippingBuilder_; /** * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public java.util.List getShippingList() { - if (shippingBuilder_ == null) { - return java.util.Collections.unmodifiableList(shipping_); + public java.util.List< + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping> + getCarrierShippingList() { + if (carrierShippingBuilder_ == null) { + return java.util.Collections.unmodifiableList(carrierShipping_); } else { - return shippingBuilder_.getMessageList(); + return carrierShippingBuilder_.getMessageList(); } } @@ -16448,16 +22790,18 @@ public java.util.List getShip * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public int getShippingCount() { - if (shippingBuilder_ == null) { - return shipping_.size(); + public int getCarrierShippingCount() { + if (carrierShippingBuilder_ == null) { + return carrierShipping_.size(); } else { - return shippingBuilder_.getCount(); + return carrierShippingBuilder_.getCount(); } } @@ -16465,16 +22809,19 @@ public int getShippingCount() { * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public com.google.shopping.merchant.products.v1.Shipping getShipping(int index) { - if (shippingBuilder_ == null) { - return shipping_.get(index); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + getCarrierShipping(int index) { + if (carrierShippingBuilder_ == null) { + return carrierShipping_.get(index); } else { - return shippingBuilder_.getMessage(index); + return carrierShippingBuilder_.getMessage(index); } } @@ -16482,21 +22829,25 @@ public com.google.shopping.merchant.products.v1.Shipping getShipping(int index) * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder setShipping(int index, com.google.shopping.merchant.products.v1.Shipping value) { - if (shippingBuilder_ == null) { + public Builder setCarrierShipping( + int index, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping value) { + if (carrierShippingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShippingIsMutable(); - shipping_.set(index, value); + ensureCarrierShippingIsMutable(); + carrierShipping_.set(index, value); onChanged(); } else { - shippingBuilder_.setMessage(index, value); + carrierShippingBuilder_.setMessage(index, value); } return this; } @@ -16505,19 +22856,23 @@ public Builder setShipping(int index, com.google.shopping.merchant.products.v1.S * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder setShipping( - int index, com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { - if (shippingBuilder_ == null) { - ensureShippingIsMutable(); - shipping_.set(index, builderForValue.build()); + public Builder setCarrierShipping( + int index, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + builderForValue) { + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + carrierShipping_.set(index, builderForValue.build()); onChanged(); } else { - shippingBuilder_.setMessage(index, builderForValue.build()); + carrierShippingBuilder_.setMessage(index, builderForValue.build()); } return this; } @@ -16526,21 +22881,24 @@ public Builder setShipping( * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder addShipping(com.google.shopping.merchant.products.v1.Shipping value) { - if (shippingBuilder_ == null) { + public Builder addCarrierShipping( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping value) { + if (carrierShippingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShippingIsMutable(); - shipping_.add(value); + ensureCarrierShippingIsMutable(); + carrierShipping_.add(value); onChanged(); } else { - shippingBuilder_.addMessage(value); + carrierShippingBuilder_.addMessage(value); } return this; } @@ -16549,21 +22907,25 @@ public Builder addShipping(com.google.shopping.merchant.products.v1.Shipping val * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder addShipping(int index, com.google.shopping.merchant.products.v1.Shipping value) { - if (shippingBuilder_ == null) { + public Builder addCarrierShipping( + int index, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping value) { + if (carrierShippingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureShippingIsMutable(); - shipping_.add(index, value); + ensureCarrierShippingIsMutable(); + carrierShipping_.add(index, value); onChanged(); } else { - shippingBuilder_.addMessage(index, value); + carrierShippingBuilder_.addMessage(index, value); } return this; } @@ -16572,19 +22934,22 @@ public Builder addShipping(int index, com.google.shopping.merchant.products.v1.S * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder addShipping( - com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { - if (shippingBuilder_ == null) { - ensureShippingIsMutable(); - shipping_.add(builderForValue.build()); + public Builder addCarrierShipping( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + builderForValue) { + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + carrierShipping_.add(builderForValue.build()); onChanged(); } else { - shippingBuilder_.addMessage(builderForValue.build()); + carrierShippingBuilder_.addMessage(builderForValue.build()); } return this; } @@ -16593,19 +22958,23 @@ public Builder addShipping( * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder addShipping( - int index, com.google.shopping.merchant.products.v1.Shipping.Builder builderForValue) { - if (shippingBuilder_ == null) { - ensureShippingIsMutable(); - shipping_.add(index, builderForValue.build()); + public Builder addCarrierShipping( + int index, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + builderForValue) { + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + carrierShipping_.add(index, builderForValue.build()); onChanged(); } else { - shippingBuilder_.addMessage(index, builderForValue.build()); + carrierShippingBuilder_.addMessage(index, builderForValue.build()); } return this; } @@ -16614,19 +22983,24 @@ public Builder addShipping( * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder addAllShipping( - java.lang.Iterable values) { - if (shippingBuilder_ == null) { - ensureShippingIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shipping_); + public Builder addAllCarrierShipping( + java.lang.Iterable< + ? extends + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping> + values) { + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, carrierShipping_); onChanged(); } else { - shippingBuilder_.addAllMessages(values); + carrierShippingBuilder_.addAllMessages(values); } return this; } @@ -16635,18 +23009,20 @@ public Builder addAllShipping( * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder clearShipping() { - if (shippingBuilder_ == null) { - shipping_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00000080); + public Builder clearCarrierShipping() { + if (carrierShippingBuilder_ == null) { + carrierShipping_ = java.util.Collections.emptyList(); + bitField1_ = (bitField1_ & ~0x00000100); onChanged(); } else { - shippingBuilder_.clear(); + carrierShippingBuilder_.clear(); } return this; } @@ -16655,18 +23031,20 @@ public Builder clearShipping() { * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public Builder removeShipping(int index) { - if (shippingBuilder_ == null) { - ensureShippingIsMutable(); - shipping_.remove(index); + public Builder removeCarrierShipping(int index) { + if (carrierShippingBuilder_ == null) { + ensureCarrierShippingIsMutable(); + carrierShipping_.remove(index); onChanged(); } else { - shippingBuilder_.remove(index); + carrierShippingBuilder_.remove(index); } return this; } @@ -16675,30 +23053,35 @@ public Builder removeShipping(int index) { * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public com.google.shopping.merchant.products.v1.Shipping.Builder getShippingBuilder(int index) { - return getShippingFieldBuilder().getBuilder(index); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + getCarrierShippingBuilder(int index) { + return getCarrierShippingFieldBuilder().getBuilder(index); } /** * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrBuilder( - int index) { - if (shippingBuilder_ == null) { - return shipping_.get(index); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder + getCarrierShippingOrBuilder(int index) { + if (carrierShippingBuilder_ == null) { + return carrierShipping_.get(index); } else { - return shippingBuilder_.getMessageOrBuilder(index); + return carrierShippingBuilder_.getMessageOrBuilder(index); } } @@ -16706,17 +23089,21 @@ public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrB * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public java.util.List - getShippingOrBuilderList() { - if (shippingBuilder_ != null) { - return shippingBuilder_.getMessageOrBuilderList(); + public java.util.List< + ? extends + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder> + getCarrierShippingOrBuilderList() { + if (carrierShippingBuilder_ != null) { + return carrierShippingBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(shipping_); + return java.util.Collections.unmodifiableList(carrierShipping_); } } @@ -16724,71 +23111,88 @@ public com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrB * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public com.google.shopping.merchant.products.v1.Shipping.Builder addShippingBuilder() { - return getShippingFieldBuilder() - .addBuilder(com.google.shopping.merchant.products.v1.Shipping.getDefaultInstance()); + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + addCarrierShippingBuilder() { + return getCarrierShippingFieldBuilder() + .addBuilder( + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + .getDefaultInstance()); } /** * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public com.google.shopping.merchant.products.v1.Shipping.Builder addShippingBuilder(int index) { - return getShippingFieldBuilder() + public com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder + addCarrierShippingBuilder(int index) { + return getCarrierShippingFieldBuilder() .addBuilder( - index, com.google.shopping.merchant.products.v1.Shipping.getDefaultInstance()); + index, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping + .getDefaultInstance()); } /** * * *
    -     * Shipping rules.
    +     * Rules for carrier-based shipping.
          * 
    * - * repeated .google.shopping.merchant.products.v1.Shipping shipping = 39; + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * */ - public java.util.List - getShippingBuilderList() { - return getShippingFieldBuilder().getBuilderList(); + public java.util.List< + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder> + getCarrierShippingBuilderList() { + return getCarrierShippingFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.products.v1.Shipping, - com.google.shopping.merchant.products.v1.Shipping.Builder, - com.google.shopping.merchant.products.v1.ShippingOrBuilder> - getShippingFieldBuilder() { - if (shippingBuilder_ == null) { - shippingBuilder_ = + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder> + getCarrierShippingFieldBuilder() { + if (carrierShippingBuilder_ == null) { + carrierShippingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.shopping.merchant.products.v1.Shipping, - com.google.shopping.merchant.products.v1.Shipping.Builder, - com.google.shopping.merchant.products.v1.ShippingOrBuilder>( - shipping_, ((bitField1_ & 0x00000080) != 0), getParentForChildren(), isClean()); - shipping_ = null; + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping, + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.Builder, + com.google.shopping.merchant.products.v1.ProductAttributes + .CarrierShippingOrBuilder>( + carrierShipping_, + ((bitField1_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); + carrierShipping_ = null; } - return shippingBuilder_; + return carrierShippingBuilder_; } private java.util.List freeShippingThreshold_ = java.util.Collections.emptyList(); private void ensureFreeShippingThresholdIsMutable() { - if (!((bitField1_ & 0x00000100) != 0)) { + if (!((bitField1_ & 0x00000200) != 0)) { freeShippingThreshold_ = new java.util.ArrayList( freeShippingThreshold_); - bitField1_ |= 0x00000100; + bitField1_ |= 0x00000200; } } @@ -17044,7 +23448,7 @@ public Builder addAllFreeShippingThreshold( public Builder clearFreeShippingThreshold() { if (freeShippingThresholdBuilder_ == null) { freeShippingThreshold_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00000100); + bitField1_ = (bitField1_ & ~0x00000200); onChanged(); } else { freeShippingThresholdBuilder_.clear(); @@ -17196,7 +23600,7 @@ public Builder removeFreeShippingThreshold(int index) { com.google.shopping.merchant.products.v1.FreeShippingThreshold.Builder, com.google.shopping.merchant.products.v1.FreeShippingThresholdOrBuilder>( freeShippingThreshold_, - ((bitField1_ & 0x00000100) != 0), + ((bitField1_ & 0x00000200) != 0), getParentForChildren(), isClean()); freeShippingThreshold_ = null; @@ -17223,7 +23627,7 @@ public Builder removeFreeShippingThreshold(int index) { * @return Whether the shippingWeight field is set. */ public boolean hasShippingWeight() { - return ((bitField1_ & 0x00000200) != 0); + return ((bitField1_ & 0x00000400) != 0); } /** @@ -17266,7 +23670,7 @@ public Builder setShippingWeight( } else { shippingWeightBuilder_.setMessage(value); } - bitField1_ |= 0x00000200; + bitField1_ |= 0x00000400; onChanged(); return this; } @@ -17287,7 +23691,7 @@ public Builder setShippingWeight( } else { shippingWeightBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000200; + bitField1_ |= 0x00000400; onChanged(); return this; } @@ -17304,7 +23708,7 @@ public Builder setShippingWeight( public Builder mergeShippingWeight( com.google.shopping.merchant.products.v1.ShippingWeight value) { if (shippingWeightBuilder_ == null) { - if (((bitField1_ & 0x00000200) != 0) + if (((bitField1_ & 0x00000400) != 0) && shippingWeight_ != null && shippingWeight_ != com.google.shopping.merchant.products.v1.ShippingWeight.getDefaultInstance()) { @@ -17316,7 +23720,7 @@ public Builder mergeShippingWeight( shippingWeightBuilder_.mergeFrom(value); } if (shippingWeight_ != null) { - bitField1_ |= 0x00000200; + bitField1_ |= 0x00000400; onChanged(); } return this; @@ -17332,7 +23736,7 @@ public Builder mergeShippingWeight( * .google.shopping.merchant.products.v1.ShippingWeight shipping_weight = 40; */ public Builder clearShippingWeight() { - bitField1_ = (bitField1_ & ~0x00000200); + bitField1_ = (bitField1_ & ~0x00000400); shippingWeight_ = null; if (shippingWeightBuilder_ != null) { shippingWeightBuilder_.dispose(); @@ -17353,7 +23757,7 @@ public Builder clearShippingWeight() { */ public com.google.shopping.merchant.products.v1.ShippingWeight.Builder getShippingWeightBuilder() { - bitField1_ |= 0x00000200; + bitField1_ |= 0x00000400; onChanged(); return getShippingWeightFieldBuilder().getBuilder(); } @@ -17423,7 +23827,7 @@ public Builder clearShippingWeight() { * @return Whether the shippingLength field is set. */ public boolean hasShippingLength() { - return ((bitField1_ & 0x00000400) != 0); + return ((bitField1_ & 0x00000800) != 0); } /** @@ -17466,7 +23870,7 @@ public Builder setShippingLength( } else { shippingLengthBuilder_.setMessage(value); } - bitField1_ |= 0x00000400; + bitField1_ |= 0x00000800; onChanged(); return this; } @@ -17487,7 +23891,7 @@ public Builder setShippingLength( } else { shippingLengthBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000400; + bitField1_ |= 0x00000800; onChanged(); return this; } @@ -17504,7 +23908,7 @@ public Builder setShippingLength( public Builder mergeShippingLength( com.google.shopping.merchant.products.v1.ShippingDimension value) { if (shippingLengthBuilder_ == null) { - if (((bitField1_ & 0x00000400) != 0) + if (((bitField1_ & 0x00000800) != 0) && shippingLength_ != null && shippingLength_ != com.google.shopping.merchant.products.v1.ShippingDimension @@ -17517,7 +23921,7 @@ public Builder mergeShippingLength( shippingLengthBuilder_.mergeFrom(value); } if (shippingLength_ != null) { - bitField1_ |= 0x00000400; + bitField1_ |= 0x00000800; onChanged(); } return this; @@ -17533,7 +23937,7 @@ public Builder mergeShippingLength( * .google.shopping.merchant.products.v1.ShippingDimension shipping_length = 41; */ public Builder clearShippingLength() { - bitField1_ = (bitField1_ & ~0x00000400); + bitField1_ = (bitField1_ & ~0x00000800); shippingLength_ = null; if (shippingLengthBuilder_ != null) { shippingLengthBuilder_.dispose(); @@ -17554,7 +23958,7 @@ public Builder clearShippingLength() { */ public com.google.shopping.merchant.products.v1.ShippingDimension.Builder getShippingLengthBuilder() { - bitField1_ |= 0x00000400; + bitField1_ |= 0x00000800; onChanged(); return getShippingLengthFieldBuilder().getBuilder(); } @@ -17624,7 +24028,7 @@ public Builder clearShippingLength() { * @return Whether the shippingWidth field is set. */ public boolean hasShippingWidth() { - return ((bitField1_ & 0x00000800) != 0); + return ((bitField1_ & 0x00001000) != 0); } /** @@ -17667,7 +24071,7 @@ public Builder setShippingWidth( } else { shippingWidthBuilder_.setMessage(value); } - bitField1_ |= 0x00000800; + bitField1_ |= 0x00001000; onChanged(); return this; } @@ -17688,7 +24092,7 @@ public Builder setShippingWidth( } else { shippingWidthBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000800; + bitField1_ |= 0x00001000; onChanged(); return this; } @@ -17705,7 +24109,7 @@ public Builder setShippingWidth( public Builder mergeShippingWidth( com.google.shopping.merchant.products.v1.ShippingDimension value) { if (shippingWidthBuilder_ == null) { - if (((bitField1_ & 0x00000800) != 0) + if (((bitField1_ & 0x00001000) != 0) && shippingWidth_ != null && shippingWidth_ != com.google.shopping.merchant.products.v1.ShippingDimension @@ -17718,7 +24122,7 @@ public Builder mergeShippingWidth( shippingWidthBuilder_.mergeFrom(value); } if (shippingWidth_ != null) { - bitField1_ |= 0x00000800; + bitField1_ |= 0x00001000; onChanged(); } return this; @@ -17734,7 +24138,7 @@ public Builder mergeShippingWidth( * .google.shopping.merchant.products.v1.ShippingDimension shipping_width = 42; */ public Builder clearShippingWidth() { - bitField1_ = (bitField1_ & ~0x00000800); + bitField1_ = (bitField1_ & ~0x00001000); shippingWidth_ = null; if (shippingWidthBuilder_ != null) { shippingWidthBuilder_.dispose(); @@ -17755,7 +24159,7 @@ public Builder clearShippingWidth() { */ public com.google.shopping.merchant.products.v1.ShippingDimension.Builder getShippingWidthBuilder() { - bitField1_ |= 0x00000800; + bitField1_ |= 0x00001000; onChanged(); return getShippingWidthFieldBuilder().getBuilder(); } @@ -17825,7 +24229,7 @@ public Builder clearShippingWidth() { * @return Whether the shippingHeight field is set. */ public boolean hasShippingHeight() { - return ((bitField1_ & 0x00001000) != 0); + return ((bitField1_ & 0x00002000) != 0); } /** @@ -17868,7 +24272,7 @@ public Builder setShippingHeight( } else { shippingHeightBuilder_.setMessage(value); } - bitField1_ |= 0x00001000; + bitField1_ |= 0x00002000; onChanged(); return this; } @@ -17889,7 +24293,7 @@ public Builder setShippingHeight( } else { shippingHeightBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00001000; + bitField1_ |= 0x00002000; onChanged(); return this; } @@ -17906,7 +24310,7 @@ public Builder setShippingHeight( public Builder mergeShippingHeight( com.google.shopping.merchant.products.v1.ShippingDimension value) { if (shippingHeightBuilder_ == null) { - if (((bitField1_ & 0x00001000) != 0) + if (((bitField1_ & 0x00002000) != 0) && shippingHeight_ != null && shippingHeight_ != com.google.shopping.merchant.products.v1.ShippingDimension @@ -17919,7 +24323,7 @@ public Builder mergeShippingHeight( shippingHeightBuilder_.mergeFrom(value); } if (shippingHeight_ != null) { - bitField1_ |= 0x00001000; + bitField1_ |= 0x00002000; onChanged(); } return this; @@ -17935,7 +24339,7 @@ public Builder mergeShippingHeight( * .google.shopping.merchant.products.v1.ShippingDimension shipping_height = 43; */ public Builder clearShippingHeight() { - bitField1_ = (bitField1_ & ~0x00001000); + bitField1_ = (bitField1_ & ~0x00002000); shippingHeight_ = null; if (shippingHeightBuilder_ != null) { shippingHeightBuilder_.dispose(); @@ -17956,7 +24360,7 @@ public Builder clearShippingHeight() { */ public com.google.shopping.merchant.products.v1.ShippingDimension.Builder getShippingHeightBuilder() { - bitField1_ |= 0x00001000; + bitField1_ |= 0x00002000; onChanged(); return getShippingHeightFieldBuilder().getBuilder(); } @@ -18022,7 +24426,7 @@ public Builder clearShippingHeight() { */ @java.lang.Override public boolean hasMaxHandlingTime() { - return ((bitField1_ & 0x00002000) != 0); + return ((bitField1_ & 0x00004000) != 0); } /** @@ -18056,7 +24460,7 @@ public long getMaxHandlingTime() { public Builder setMaxHandlingTime(long value) { maxHandlingTime_ = value; - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; onChanged(); return this; } @@ -18073,7 +24477,7 @@ public Builder setMaxHandlingTime(long value) { * @return This builder for chaining. */ public Builder clearMaxHandlingTime() { - bitField1_ = (bitField1_ & ~0x00002000); + bitField1_ = (bitField1_ & ~0x00004000); maxHandlingTime_ = 0L; onChanged(); return this; @@ -18094,7 +24498,7 @@ public Builder clearMaxHandlingTime() { */ @java.lang.Override public boolean hasMinHandlingTime() { - return ((bitField1_ & 0x00004000) != 0); + return ((bitField1_ & 0x00008000) != 0); } /** @@ -18128,7 +24532,7 @@ public long getMinHandlingTime() { public Builder setMinHandlingTime(long value) { minHandlingTime_ = value; - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; onChanged(); return this; } @@ -18145,7 +24549,7 @@ public Builder setMinHandlingTime(long value) { * @return This builder for chaining. */ public Builder clearMinHandlingTime() { - bitField1_ = (bitField1_ & ~0x00004000); + bitField1_ = (bitField1_ & ~0x00008000); minHandlingTime_ = 0L; onChanged(); return this; @@ -18166,7 +24570,7 @@ public Builder clearMinHandlingTime() { * @return Whether the shippingLabel field is set. */ public boolean hasShippingLabel() { - return ((bitField1_ & 0x00008000) != 0); + return ((bitField1_ & 0x00010000) != 0); } /** @@ -18235,7 +24639,7 @@ public Builder setShippingLabel(java.lang.String value) { throw new NullPointerException(); } shippingLabel_ = value; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); return this; } @@ -18254,7 +24658,7 @@ public Builder setShippingLabel(java.lang.String value) { */ public Builder clearShippingLabel() { shippingLabel_ = getDefaultInstance().getShippingLabel(); - bitField1_ = (bitField1_ & ~0x00008000); + bitField1_ = (bitField1_ & ~0x00010000); onChanged(); return this; } @@ -18278,7 +24682,7 @@ public Builder setShippingLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); shippingLabel_ = value; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); return this; } @@ -18298,7 +24702,7 @@ public Builder setShippingLabelBytes(com.google.protobuf.ByteString value) { * @return Whether the transitTimeLabel field is set. */ public boolean hasTransitTimeLabel() { - return ((bitField1_ & 0x00010000) != 0); + return ((bitField1_ & 0x00020000) != 0); } /** @@ -18367,7 +24771,7 @@ public Builder setTransitTimeLabel(java.lang.String value) { throw new NullPointerException(); } transitTimeLabel_ = value; - bitField1_ |= 0x00010000; + bitField1_ |= 0x00020000; onChanged(); return this; } @@ -18386,7 +24790,7 @@ public Builder setTransitTimeLabel(java.lang.String value) { */ public Builder clearTransitTimeLabel() { transitTimeLabel_ = getDefaultInstance().getTransitTimeLabel(); - bitField1_ = (bitField1_ & ~0x00010000); + bitField1_ = (bitField1_ & ~0x00020000); onChanged(); return this; } @@ -18410,7 +24814,7 @@ public Builder setTransitTimeLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); transitTimeLabel_ = value; - bitField1_ |= 0x00010000; + bitField1_ |= 0x00020000; onChanged(); return this; } @@ -18432,7 +24836,7 @@ public Builder setTransitTimeLabelBytes(com.google.protobuf.ByteString value) { * @return Whether the size field is set. */ public boolean hasSize() { - return ((bitField1_ & 0x00020000) != 0); + return ((bitField1_ & 0x00040000) != 0); } /** @@ -18507,7 +24911,7 @@ public Builder setSize(java.lang.String value) { throw new NullPointerException(); } size_ = value; - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); return this; } @@ -18528,7 +24932,7 @@ public Builder setSize(java.lang.String value) { */ public Builder clearSize() { size_ = getDefaultInstance().getSize(); - bitField1_ = (bitField1_ & ~0x00020000); + bitField1_ = (bitField1_ & ~0x00040000); onChanged(); return this; } @@ -18554,7 +24958,7 @@ public Builder setSizeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); size_ = value; - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); return this; } @@ -18576,7 +24980,7 @@ public Builder setSizeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasSizeSystem() { - return ((bitField1_ & 0x00040000) != 0); + return ((bitField1_ & 0x00080000) != 0); } /** @@ -18613,7 +25017,7 @@ public int getSizeSystemValue() { */ public Builder setSizeSystemValue(int value) { sizeSystem_ = value; - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; onChanged(); return this; } @@ -18658,7 +25062,7 @@ public Builder setSizeSystem(com.google.shopping.merchant.products.v1.SizeSystem if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; sizeSystem_ = value.getNumber(); onChanged(); return this; @@ -18678,7 +25082,7 @@ public Builder setSizeSystem(com.google.shopping.merchant.products.v1.SizeSystem * @return This builder for chaining. */ public Builder clearSizeSystem() { - bitField1_ = (bitField1_ & ~0x00040000); + bitField1_ = (bitField1_ & ~0x00080000); sizeSystem_ = 0; onChanged(); return this; @@ -18687,9 +25091,9 @@ public Builder clearSizeSystem() { private java.util.List sizeTypes_ = java.util.Collections.emptyList(); private void ensureSizeTypesIsMutable() { - if (!((bitField1_ & 0x00080000) != 0)) { + if (!((bitField1_ & 0x00100000) != 0)) { sizeTypes_ = new java.util.ArrayList(sizeTypes_); - bitField1_ |= 0x00080000; + bitField1_ |= 0x00100000; } } @@ -18836,7 +25240,7 @@ public Builder addAllSizeTypes( */ public Builder clearSizeTypes() { sizeTypes_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00080000); + bitField1_ = (bitField1_ & ~0x00100000); onChanged(); return this; } @@ -18961,7 +25365,7 @@ public Builder addAllSizeTypesValue(java.lang.Iterable values */ @java.lang.Override public boolean hasEnergyEfficiencyClass() { - return ((bitField1_ & 0x00100000) != 0); + return ((bitField1_ & 0x00200000) != 0); } /** @@ -19002,7 +25406,7 @@ public int getEnergyEfficiencyClassValue() { */ public Builder setEnergyEfficiencyClassValue(int value) { energyEfficiencyClass_ = value; - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; onChanged(); return this; } @@ -19054,7 +25458,7 @@ public Builder setEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; energyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -19076,7 +25480,7 @@ public Builder setEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x00100000); + bitField1_ = (bitField1_ & ~0x00200000); energyEfficiencyClass_ = 0; onChanged(); return this; @@ -19101,7 +25505,7 @@ public Builder clearEnergyEfficiencyClass() { */ @java.lang.Override public boolean hasMinEnergyEfficiencyClass() { - return ((bitField1_ & 0x00200000) != 0); + return ((bitField1_ & 0x00400000) != 0); } /** @@ -19142,7 +25546,7 @@ public int getMinEnergyEfficiencyClassValue() { */ public Builder setMinEnergyEfficiencyClassValue(int value) { minEnergyEfficiencyClass_ = value; - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; onChanged(); return this; } @@ -19194,7 +25598,7 @@ public Builder setMinEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; minEnergyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -19216,7 +25620,7 @@ public Builder setMinEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearMinEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x00200000); + bitField1_ = (bitField1_ & ~0x00400000); minEnergyEfficiencyClass_ = 0; onChanged(); return this; @@ -19241,7 +25645,7 @@ public Builder clearMinEnergyEfficiencyClass() { */ @java.lang.Override public boolean hasMaxEnergyEfficiencyClass() { - return ((bitField1_ & 0x00400000) != 0); + return ((bitField1_ & 0x00800000) != 0); } /** @@ -19282,7 +25686,7 @@ public int getMaxEnergyEfficiencyClassValue() { */ public Builder setMaxEnergyEfficiencyClassValue(int value) { maxEnergyEfficiencyClass_ = value; - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; onChanged(); return this; } @@ -19334,7 +25738,7 @@ public Builder setMaxEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; maxEnergyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -19356,7 +25760,7 @@ public Builder setMaxEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearMaxEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x00400000); + bitField1_ = (bitField1_ & ~0x00800000); maxEnergyEfficiencyClass_ = 0; onChanged(); return this; @@ -19382,7 +25786,7 @@ public Builder clearMaxEnergyEfficiencyClass() { * @return Whether the unitPricingMeasure field is set. */ public boolean hasUnitPricingMeasure() { - return ((bitField1_ & 0x00800000) != 0); + return ((bitField1_ & 0x01000000) != 0); } /** @@ -19427,7 +25831,7 @@ public Builder setUnitPricingMeasure( } else { unitPricingMeasureBuilder_.setMessage(value); } - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; onChanged(); return this; } @@ -19449,7 +25853,7 @@ public Builder setUnitPricingMeasure( } else { unitPricingMeasureBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; onChanged(); return this; } @@ -19467,7 +25871,7 @@ public Builder setUnitPricingMeasure( public Builder mergeUnitPricingMeasure( com.google.shopping.merchant.products.v1.UnitPricingMeasure value) { if (unitPricingMeasureBuilder_ == null) { - if (((bitField1_ & 0x00800000) != 0) + if (((bitField1_ & 0x01000000) != 0) && unitPricingMeasure_ != null && unitPricingMeasure_ != com.google.shopping.merchant.products.v1.UnitPricingMeasure @@ -19480,7 +25884,7 @@ public Builder mergeUnitPricingMeasure( unitPricingMeasureBuilder_.mergeFrom(value); } if (unitPricingMeasure_ != null) { - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; onChanged(); } return this; @@ -19497,7 +25901,7 @@ public Builder mergeUnitPricingMeasure( * */ public Builder clearUnitPricingMeasure() { - bitField1_ = (bitField1_ & ~0x00800000); + bitField1_ = (bitField1_ & ~0x01000000); unitPricingMeasure_ = null; if (unitPricingMeasureBuilder_ != null) { unitPricingMeasureBuilder_.dispose(); @@ -19519,7 +25923,7 @@ public Builder clearUnitPricingMeasure() { */ public com.google.shopping.merchant.products.v1.UnitPricingMeasure.Builder getUnitPricingMeasureBuilder() { - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; onChanged(); return getUnitPricingMeasureFieldBuilder().getBuilder(); } @@ -19593,7 +25997,7 @@ public Builder clearUnitPricingMeasure() { * @return Whether the unitPricingBaseMeasure field is set. */ public boolean hasUnitPricingBaseMeasure() { - return ((bitField1_ & 0x01000000) != 0); + return ((bitField1_ & 0x02000000) != 0); } /** @@ -19641,7 +26045,7 @@ public Builder setUnitPricingBaseMeasure( } else { unitPricingBaseMeasureBuilder_.setMessage(value); } - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; onChanged(); return this; } @@ -19664,7 +26068,7 @@ public Builder setUnitPricingBaseMeasure( } else { unitPricingBaseMeasureBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; onChanged(); return this; } @@ -19683,7 +26087,7 @@ public Builder setUnitPricingBaseMeasure( public Builder mergeUnitPricingBaseMeasure( com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure value) { if (unitPricingBaseMeasureBuilder_ == null) { - if (((bitField1_ & 0x01000000) != 0) + if (((bitField1_ & 0x02000000) != 0) && unitPricingBaseMeasure_ != null && unitPricingBaseMeasure_ != com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure @@ -19696,7 +26100,7 @@ public Builder mergeUnitPricingBaseMeasure( unitPricingBaseMeasureBuilder_.mergeFrom(value); } if (unitPricingBaseMeasure_ != null) { - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; onChanged(); } return this; @@ -19714,7 +26118,7 @@ public Builder mergeUnitPricingBaseMeasure( * */ public Builder clearUnitPricingBaseMeasure() { - bitField1_ = (bitField1_ & ~0x01000000); + bitField1_ = (bitField1_ & ~0x02000000); unitPricingBaseMeasure_ = null; if (unitPricingBaseMeasureBuilder_ != null) { unitPricingBaseMeasureBuilder_.dispose(); @@ -19737,7 +26141,7 @@ public Builder clearUnitPricingBaseMeasure() { */ public com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure.Builder getUnitPricingBaseMeasureBuilder() { - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; onChanged(); return getUnitPricingBaseMeasureFieldBuilder().getBuilder(); } @@ -19807,7 +26211,7 @@ public Builder clearUnitPricingBaseMeasure() { */ @java.lang.Override public boolean hasMultipack() { - return ((bitField1_ & 0x02000000) != 0); + return ((bitField1_ & 0x04000000) != 0); } /** @@ -19841,7 +26245,7 @@ public long getMultipack() { public Builder setMultipack(long value) { multipack_ = value; - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); return this; } @@ -19858,7 +26262,7 @@ public Builder setMultipack(long value) { * @return This builder for chaining. */ public Builder clearMultipack() { - bitField1_ = (bitField1_ & ~0x02000000); + bitField1_ = (bitField1_ & ~0x04000000); multipack_ = 0L; onChanged(); return this; @@ -19881,7 +26285,7 @@ public Builder clearMultipack() { * @return Whether the adsGrouping field is set. */ public boolean hasAdsGrouping() { - return ((bitField1_ & 0x04000000) != 0); + return ((bitField1_ & 0x08000000) != 0); } /** @@ -19956,7 +26360,7 @@ public Builder setAdsGrouping(java.lang.String value) { throw new NullPointerException(); } adsGrouping_ = value; - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; onChanged(); return this; } @@ -19977,7 +26381,7 @@ public Builder setAdsGrouping(java.lang.String value) { */ public Builder clearAdsGrouping() { adsGrouping_ = getDefaultInstance().getAdsGrouping(); - bitField1_ = (bitField1_ & ~0x04000000); + bitField1_ = (bitField1_ & ~0x08000000); onChanged(); return this; } @@ -20003,7 +26407,7 @@ public Builder setAdsGroupingBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); adsGrouping_ = value; - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; onChanged(); return this; } @@ -20015,7 +26419,7 @@ private void ensureAdsLabelsIsMutable() { if (!adsLabels_.isModifiable()) { adsLabels_ = new com.google.protobuf.LazyStringArrayList(adsLabels_); } - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; } /** @@ -20100,7 +26504,7 @@ public Builder setAdsLabels(int index, java.lang.String value) { } ensureAdsLabelsIsMutable(); adsLabels_.set(index, value); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -20123,7 +26527,7 @@ public Builder addAdsLabels(java.lang.String value) { } ensureAdsLabelsIsMutable(); adsLabels_.add(value); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -20143,7 +26547,7 @@ public Builder addAdsLabels(java.lang.String value) { public Builder addAllAdsLabels(java.lang.Iterable values) { ensureAdsLabelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adsLabels_); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -20161,7 +26565,7 @@ public Builder addAllAdsLabels(java.lang.Iterable values) { */ public Builder clearAdsLabels() { adsLabels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField1_ = (bitField1_ & ~0x08000000); + bitField1_ = (bitField1_ & ~0x10000000); ; onChanged(); return this; @@ -20186,7 +26590,7 @@ public Builder addAdsLabelsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAdsLabelsIsMutable(); adsLabels_.add(value); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -20206,7 +26610,7 @@ public Builder addAdsLabelsBytes(com.google.protobuf.ByteString value) { * @return Whether the adsRedirect field is set. */ public boolean hasAdsRedirect() { - return ((bitField1_ & 0x10000000) != 0); + return ((bitField1_ & 0x20000000) != 0); } /** @@ -20275,7 +26679,7 @@ public Builder setAdsRedirect(java.lang.String value) { throw new NullPointerException(); } adsRedirect_ = value; - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -20294,7 +26698,7 @@ public Builder setAdsRedirect(java.lang.String value) { */ public Builder clearAdsRedirect() { adsRedirect_ = getDefaultInstance().getAdsRedirect(); - bitField1_ = (bitField1_ & ~0x10000000); + bitField1_ = (bitField1_ & ~0x20000000); onChanged(); return this; } @@ -20318,7 +26722,7 @@ public Builder setAdsRedirectBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); adsRedirect_ = value; - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -20342,7 +26746,7 @@ public Builder setAdsRedirectBytes(com.google.protobuf.ByteString value) { * @return Whether the costOfGoodsSold field is set. */ public boolean hasCostOfGoodsSold() { - return ((bitField1_ & 0x20000000) != 0); + return ((bitField1_ & 0x40000000) != 0); } /** @@ -20384,7 +26788,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price value) { } else { costOfGoodsSoldBuilder_.setMessage(value); } - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; onChanged(); return this; } @@ -20404,7 +26808,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price.Builder builder } else { costOfGoodsSoldBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; onChanged(); return this; } @@ -20420,7 +26824,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price.Builder builder */ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { if (costOfGoodsSoldBuilder_ == null) { - if (((bitField1_ & 0x20000000) != 0) + if (((bitField1_ & 0x40000000) != 0) && costOfGoodsSold_ != null && costOfGoodsSold_ != com.google.shopping.type.Price.getDefaultInstance()) { getCostOfGoodsSoldBuilder().mergeFrom(value); @@ -20431,7 +26835,7 @@ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { costOfGoodsSoldBuilder_.mergeFrom(value); } if (costOfGoodsSold_ != null) { - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; onChanged(); } return this; @@ -20447,7 +26851,7 @@ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { * .google.shopping.type.Price cost_of_goods_sold = 62; */ public Builder clearCostOfGoodsSold() { - bitField1_ = (bitField1_ & ~0x20000000); + bitField1_ = (bitField1_ & ~0x40000000); costOfGoodsSold_ = null; if (costOfGoodsSoldBuilder_ != null) { costOfGoodsSoldBuilder_.dispose(); @@ -20467,7 +26871,7 @@ public Builder clearCostOfGoodsSold() { * .google.shopping.type.Price cost_of_goods_sold = 62; */ public com.google.shopping.type.Price.Builder getCostOfGoodsSoldBuilder() { - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; onChanged(); return getCostOfGoodsSoldFieldBuilder().getBuilder(); } @@ -20521,11 +26925,11 @@ public com.google.shopping.type.PriceOrBuilder getCostOfGoodsSoldOrBuilder() { java.util.Collections.emptyList(); private void ensureProductDetailsIsMutable() { - if (!((bitField1_ & 0x40000000) != 0)) { + if (!((bitField1_ & 0x80000000) != 0)) { productDetails_ = new java.util.ArrayList( productDetails_); - bitField1_ |= 0x40000000; + bitField1_ |= 0x80000000; } } @@ -20766,7 +27170,7 @@ public Builder addAllProductDetails( public Builder clearProductDetails() { if (productDetailsBuilder_ == null) { productDetails_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); onChanged(); } else { productDetailsBuilder_.clear(); @@ -20908,7 +27312,7 @@ public com.google.shopping.merchant.products.v1.ProductDetail.Builder addProduct com.google.shopping.merchant.products.v1.ProductDetail.Builder, com.google.shopping.merchant.products.v1.ProductDetailOrBuilder>( productDetails_, - ((bitField1_ & 0x40000000) != 0), + ((bitField1_ & 0x80000000) != 0), getParentForChildren(), isClean()); productDetails_ = null; @@ -20923,7 +27327,7 @@ private void ensureProductHighlightsIsMutable() { if (!productHighlights_.isModifiable()) { productHighlights_ = new com.google.protobuf.LazyStringArrayList(productHighlights_); } - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; } /** @@ -21013,7 +27417,7 @@ public Builder setProductHighlights(int index, java.lang.String value) { } ensureProductHighlightsIsMutable(); productHighlights_.set(index, value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -21037,7 +27441,7 @@ public Builder addProductHighlights(java.lang.String value) { } ensureProductHighlightsIsMutable(); productHighlights_.add(value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -21058,7 +27462,7 @@ public Builder addProductHighlights(java.lang.String value) { public Builder addAllProductHighlights(java.lang.Iterable values) { ensureProductHighlightsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, productHighlights_); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -21077,7 +27481,7 @@ public Builder addAllProductHighlights(java.lang.Iterable valu */ public Builder clearProductHighlights() { productHighlights_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField1_ = (bitField1_ & ~0x80000000); + bitField2_ = (bitField2_ & ~0x00000001); ; onChanged(); return this; @@ -21103,7 +27507,7 @@ public Builder addProductHighlightsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureProductHighlightsIsMutable(); productHighlights_.add(value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -21122,7 +27526,7 @@ public Builder addProductHighlightsBytes(com.google.protobuf.ByteString value) { * @return Whether the displayAdsId field is set. */ public boolean hasDisplayAdsId() { - return ((bitField2_ & 0x00000001) != 0); + return ((bitField2_ & 0x00000002) != 0); } /** @@ -21188,7 +27592,7 @@ public Builder setDisplayAdsId(java.lang.String value) { throw new NullPointerException(); } displayAdsId_ = value; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); return this; } @@ -21206,7 +27610,7 @@ public Builder setDisplayAdsId(java.lang.String value) { */ public Builder clearDisplayAdsId() { displayAdsId_ = getDefaultInstance().getDisplayAdsId(); - bitField2_ = (bitField2_ & ~0x00000001); + bitField2_ = (bitField2_ & ~0x00000002); onChanged(); return this; } @@ -21229,7 +27633,7 @@ public Builder setDisplayAdsIdBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsId_ = value; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); return this; } @@ -21241,7 +27645,7 @@ private void ensureDisplayAdsSimilarIdsIsMutable() { if (!displayAdsSimilarIds_.isModifiable()) { displayAdsSimilarIds_ = new com.google.protobuf.LazyStringArrayList(displayAdsSimilarIds_); } - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; } /** @@ -21336,7 +27740,7 @@ public Builder setDisplayAdsSimilarIds(int index, java.lang.String value) { } ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.set(index, value); - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -21361,7 +27765,7 @@ public Builder addDisplayAdsSimilarIds(java.lang.String value) { } ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.add(value); - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -21383,7 +27787,7 @@ public Builder addDisplayAdsSimilarIds(java.lang.String value) { public Builder addAllDisplayAdsSimilarIds(java.lang.Iterable values) { ensureDisplayAdsSimilarIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, displayAdsSimilarIds_); - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -21403,7 +27807,7 @@ public Builder addAllDisplayAdsSimilarIds(java.lang.Iterable v */ public Builder clearDisplayAdsSimilarIds() { displayAdsSimilarIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00000002); + bitField2_ = (bitField2_ & ~0x00000004); ; onChanged(); return this; @@ -21430,7 +27834,7 @@ public Builder addDisplayAdsSimilarIdsBytes(com.google.protobuf.ByteString value checkByteStringIsUtf8(value); ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.add(value); - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -21449,7 +27853,7 @@ public Builder addDisplayAdsSimilarIdsBytes(com.google.protobuf.ByteString value * @return Whether the displayAdsTitle field is set. */ public boolean hasDisplayAdsTitle() { - return ((bitField2_ & 0x00000004) != 0); + return ((bitField2_ & 0x00000008) != 0); } /** @@ -21515,7 +27919,7 @@ public Builder setDisplayAdsTitle(java.lang.String value) { throw new NullPointerException(); } displayAdsTitle_ = value; - bitField2_ |= 0x00000004; + bitField2_ |= 0x00000008; onChanged(); return this; } @@ -21533,7 +27937,7 @@ public Builder setDisplayAdsTitle(java.lang.String value) { */ public Builder clearDisplayAdsTitle() { displayAdsTitle_ = getDefaultInstance().getDisplayAdsTitle(); - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); onChanged(); return this; } @@ -21556,7 +27960,7 @@ public Builder setDisplayAdsTitleBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsTitle_ = value; - bitField2_ |= 0x00000004; + bitField2_ |= 0x00000008; onChanged(); return this; } @@ -21576,7 +27980,7 @@ public Builder setDisplayAdsTitleBytes(com.google.protobuf.ByteString value) { * @return Whether the displayAdsLink field is set. */ public boolean hasDisplayAdsLink() { - return ((bitField2_ & 0x00000008) != 0); + return ((bitField2_ & 0x00000010) != 0); } /** @@ -21645,7 +28049,7 @@ public Builder setDisplayAdsLink(java.lang.String value) { throw new NullPointerException(); } displayAdsLink_ = value; - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -21664,7 +28068,7 @@ public Builder setDisplayAdsLink(java.lang.String value) { */ public Builder clearDisplayAdsLink() { displayAdsLink_ = getDefaultInstance().getDisplayAdsLink(); - bitField2_ = (bitField2_ & ~0x00000008); + bitField2_ = (bitField2_ & ~0x00000010); onChanged(); return this; } @@ -21688,7 +28092,7 @@ public Builder setDisplayAdsLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsLink_ = value; - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -21710,7 +28114,7 @@ public Builder setDisplayAdsLinkBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasDisplayAdsValue() { - return ((bitField2_ & 0x00000010) != 0); + return ((bitField2_ & 0x00000020) != 0); } /** @@ -21748,7 +28152,7 @@ public double getDisplayAdsValue() { public Builder setDisplayAdsValue(double value) { displayAdsValue_ = value; - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; onChanged(); return this; } @@ -21767,7 +28171,7 @@ public Builder setDisplayAdsValue(double value) { * @return This builder for chaining. */ public Builder clearDisplayAdsValue() { - bitField2_ = (bitField2_ & ~0x00000010); + bitField2_ = (bitField2_ & ~0x00000020); displayAdsValue_ = 0D; onChanged(); return this; @@ -21780,7 +28184,7 @@ private void ensurePromotionIdsIsMutable() { if (!promotionIds_.isModifiable()) { promotionIds_ = new com.google.protobuf.LazyStringArrayList(promotionIds_); } - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; } /** @@ -21865,7 +28269,7 @@ public Builder setPromotionIds(int index, java.lang.String value) { } ensurePromotionIdsIsMutable(); promotionIds_.set(index, value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -21888,7 +28292,7 @@ public Builder addPromotionIds(java.lang.String value) { } ensurePromotionIdsIsMutable(); promotionIds_.add(value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -21908,7 +28312,7 @@ public Builder addPromotionIds(java.lang.String value) { public Builder addAllPromotionIds(java.lang.Iterable values) { ensurePromotionIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, promotionIds_); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -21926,7 +28330,7 @@ public Builder addAllPromotionIds(java.lang.Iterable values) { */ public Builder clearPromotionIds() { promotionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00000020); + bitField2_ = (bitField2_ & ~0x00000040); ; onChanged(); return this; @@ -21951,7 +28355,7 @@ public Builder addPromotionIdsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePromotionIdsIsMutable(); promotionIds_.add(value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -21972,7 +28376,7 @@ public Builder addPromotionIdsBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasPickupMethod() { - return ((bitField2_ & 0x00000040) != 0); + return ((bitField2_ & 0x00000080) != 0); } /** @@ -22007,7 +28411,7 @@ public int getPickupMethodValue() { */ public Builder setPickupMethodValue(int value) { pickupMethod_ = value; - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; onChanged(); return this; } @@ -22050,7 +28454,7 @@ public Builder setPickupMethod(com.google.shopping.merchant.products.v1.PickupMe if (value == null) { throw new NullPointerException(); } - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; pickupMethod_ = value.getNumber(); onChanged(); return this; @@ -22069,7 +28473,7 @@ public Builder setPickupMethod(com.google.shopping.merchant.products.v1.PickupMe * @return This builder for chaining. */ public Builder clearPickupMethod() { - bitField2_ = (bitField2_ & ~0x00000040); + bitField2_ = (bitField2_ & ~0x00000080); pickupMethod_ = 0; onChanged(); return this; @@ -22091,7 +28495,7 @@ public Builder clearPickupMethod() { */ @java.lang.Override public boolean hasPickupSla() { - return ((bitField2_ & 0x00000080) != 0); + return ((bitField2_ & 0x00000100) != 0); } /** @@ -22126,7 +28530,7 @@ public int getPickupSlaValue() { */ public Builder setPickupSlaValue(int value) { pickupSla_ = value; - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; onChanged(); return this; } @@ -22169,7 +28573,7 @@ public Builder setPickupSla(com.google.shopping.merchant.products.v1.PickupSla v if (value == null) { throw new NullPointerException(); } - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; pickupSla_ = value.getNumber(); onChanged(); return this; @@ -22188,7 +28592,7 @@ public Builder setPickupSla(com.google.shopping.merchant.products.v1.PickupSla v * @return This builder for chaining. */ public Builder clearPickupSla() { - bitField2_ = (bitField2_ & ~0x00000080); + bitField2_ = (bitField2_ & ~0x00000100); pickupSla_ = 0; onChanged(); return this; @@ -22209,7 +28613,7 @@ public Builder clearPickupSla() { * @return Whether the linkTemplate field is set. */ public boolean hasLinkTemplate() { - return ((bitField2_ & 0x00000100) != 0); + return ((bitField2_ & 0x00000200) != 0); } /** @@ -22278,7 +28682,7 @@ public Builder setLinkTemplate(java.lang.String value) { throw new NullPointerException(); } linkTemplate_ = value; - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; onChanged(); return this; } @@ -22297,7 +28701,7 @@ public Builder setLinkTemplate(java.lang.String value) { */ public Builder clearLinkTemplate() { linkTemplate_ = getDefaultInstance().getLinkTemplate(); - bitField2_ = (bitField2_ & ~0x00000100); + bitField2_ = (bitField2_ & ~0x00000200); onChanged(); return this; } @@ -22321,7 +28725,7 @@ public Builder setLinkTemplateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); linkTemplate_ = value; - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; onChanged(); return this; } @@ -22342,7 +28746,7 @@ public Builder setLinkTemplateBytes(com.google.protobuf.ByteString value) { * @return Whether the mobileLinkTemplate field is set. */ public boolean hasMobileLinkTemplate() { - return ((bitField2_ & 0x00000200) != 0); + return ((bitField2_ & 0x00000400) != 0); } /** @@ -22414,7 +28818,7 @@ public Builder setMobileLinkTemplate(java.lang.String value) { throw new NullPointerException(); } mobileLinkTemplate_ = value; - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -22434,7 +28838,7 @@ public Builder setMobileLinkTemplate(java.lang.String value) { */ public Builder clearMobileLinkTemplate() { mobileLinkTemplate_ = getDefaultInstance().getMobileLinkTemplate(); - bitField2_ = (bitField2_ & ~0x00000200); + bitField2_ = (bitField2_ & ~0x00000400); onChanged(); return this; } @@ -22459,7 +28863,7 @@ public Builder setMobileLinkTemplateBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); mobileLinkTemplate_ = value; - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -22479,7 +28883,7 @@ public Builder setMobileLinkTemplateBytes(com.google.protobuf.ByteString value) * @return Whether the customLabel0 field is set. */ public boolean hasCustomLabel0() { - return ((bitField2_ & 0x00000400) != 0); + return ((bitField2_ & 0x00000800) != 0); } /** @@ -22548,7 +28952,7 @@ public Builder setCustomLabel0(java.lang.String value) { throw new NullPointerException(); } customLabel0_ = value; - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; onChanged(); return this; } @@ -22567,7 +28971,7 @@ public Builder setCustomLabel0(java.lang.String value) { */ public Builder clearCustomLabel0() { customLabel0_ = getDefaultInstance().getCustomLabel0(); - bitField2_ = (bitField2_ & ~0x00000400); + bitField2_ = (bitField2_ & ~0x00000800); onChanged(); return this; } @@ -22591,7 +28995,7 @@ public Builder setCustomLabel0Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel0_ = value; - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; onChanged(); return this; } @@ -22611,7 +29015,7 @@ public Builder setCustomLabel0Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel1 field is set. */ public boolean hasCustomLabel1() { - return ((bitField2_ & 0x00000800) != 0); + return ((bitField2_ & 0x00001000) != 0); } /** @@ -22680,7 +29084,7 @@ public Builder setCustomLabel1(java.lang.String value) { throw new NullPointerException(); } customLabel1_ = value; - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; onChanged(); return this; } @@ -22699,7 +29103,7 @@ public Builder setCustomLabel1(java.lang.String value) { */ public Builder clearCustomLabel1() { customLabel1_ = getDefaultInstance().getCustomLabel1(); - bitField2_ = (bitField2_ & ~0x00000800); + bitField2_ = (bitField2_ & ~0x00001000); onChanged(); return this; } @@ -22723,7 +29127,7 @@ public Builder setCustomLabel1Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel1_ = value; - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; onChanged(); return this; } @@ -22743,7 +29147,7 @@ public Builder setCustomLabel1Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel2 field is set. */ public boolean hasCustomLabel2() { - return ((bitField2_ & 0x00001000) != 0); + return ((bitField2_ & 0x00002000) != 0); } /** @@ -22812,7 +29216,7 @@ public Builder setCustomLabel2(java.lang.String value) { throw new NullPointerException(); } customLabel2_ = value; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); return this; } @@ -22831,7 +29235,7 @@ public Builder setCustomLabel2(java.lang.String value) { */ public Builder clearCustomLabel2() { customLabel2_ = getDefaultInstance().getCustomLabel2(); - bitField2_ = (bitField2_ & ~0x00001000); + bitField2_ = (bitField2_ & ~0x00002000); onChanged(); return this; } @@ -22855,7 +29259,7 @@ public Builder setCustomLabel2Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel2_ = value; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); return this; } @@ -22875,7 +29279,7 @@ public Builder setCustomLabel2Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel3 field is set. */ public boolean hasCustomLabel3() { - return ((bitField2_ & 0x00002000) != 0); + return ((bitField2_ & 0x00004000) != 0); } /** @@ -22944,7 +29348,7 @@ public Builder setCustomLabel3(java.lang.String value) { throw new NullPointerException(); } customLabel3_ = value; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); return this; } @@ -22963,7 +29367,7 @@ public Builder setCustomLabel3(java.lang.String value) { */ public Builder clearCustomLabel3() { customLabel3_ = getDefaultInstance().getCustomLabel3(); - bitField2_ = (bitField2_ & ~0x00002000); + bitField2_ = (bitField2_ & ~0x00004000); onChanged(); return this; } @@ -22987,7 +29391,7 @@ public Builder setCustomLabel3Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel3_ = value; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); return this; } @@ -23007,7 +29411,7 @@ public Builder setCustomLabel3Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel4 field is set. */ public boolean hasCustomLabel4() { - return ((bitField2_ & 0x00004000) != 0); + return ((bitField2_ & 0x00008000) != 0); } /** @@ -23076,7 +29480,7 @@ public Builder setCustomLabel4(java.lang.String value) { throw new NullPointerException(); } customLabel4_ = value; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); return this; } @@ -23095,7 +29499,7 @@ public Builder setCustomLabel4(java.lang.String value) { */ public Builder clearCustomLabel4() { customLabel4_ = getDefaultInstance().getCustomLabel4(); - bitField2_ = (bitField2_ & ~0x00004000); + bitField2_ = (bitField2_ & ~0x00008000); onChanged(); return this; } @@ -23119,7 +29523,7 @@ public Builder setCustomLabel4Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel4_ = value; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); return this; } @@ -23128,9 +29532,9 @@ public Builder setCustomLabel4Bytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureIncludedDestinationsIsMutable() { - if (!((bitField2_ & 0x00008000) != 0)) { + if (!((bitField2_ & 0x00010000) != 0)) { includedDestinations_ = new java.util.ArrayList(includedDestinations_); - bitField2_ |= 0x00008000; + bitField2_ |= 0x00010000; } } @@ -23335,7 +29739,7 @@ public Builder addAllIncludedDestinations( */ public Builder clearIncludedDestinations() { includedDestinations_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00008000); + bitField2_ = (bitField2_ & ~0x00010000); onChanged(); return this; } @@ -23485,9 +29889,9 @@ public Builder addAllIncludedDestinationsValue(java.lang.Iterable(excludedDestinations_); - bitField2_ |= 0x00010000; + bitField2_ |= 0x00020000; } } @@ -23685,7 +30089,7 @@ public Builder addAllExcludedDestinations( */ public Builder clearExcludedDestinations() { excludedDestinations_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00010000); + bitField2_ = (bitField2_ & ~0x00020000); onChanged(); return this; } @@ -23834,7 +30238,7 @@ private void ensureShoppingAdsExcludedCountriesIsMutable() { shoppingAdsExcludedCountries_ = new com.google.protobuf.LazyStringArrayList(shoppingAdsExcludedCountries_); } - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; } /** @@ -23934,7 +30338,7 @@ public Builder setShoppingAdsExcludedCountries(int index, java.lang.String value } ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.set(index, value); - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); return this; } @@ -23960,7 +30364,7 @@ public Builder addShoppingAdsExcludedCountries(java.lang.String value) { } ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.add(value); - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); return this; } @@ -23983,7 +30387,7 @@ public Builder addShoppingAdsExcludedCountries(java.lang.String value) { public Builder addAllShoppingAdsExcludedCountries(java.lang.Iterable values) { ensureShoppingAdsExcludedCountriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shoppingAdsExcludedCountries_); - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); return this; } @@ -24004,7 +30408,7 @@ public Builder addAllShoppingAdsExcludedCountries(java.lang.Iterable values) { ensureLifestyleImageLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lifestyleImageLinks_); - bitField2_ |= 0x00100000; + bitField2_ |= 0x00200000; onChanged(); return this; } @@ -24469,7 +30873,7 @@ public Builder addAllLifestyleImageLinks(java.lang.Iterable va */ public Builder clearLifestyleImageLinks() { lifestyleImageLinks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00100000); + bitField2_ = (bitField2_ & ~0x00200000); ; onChanged(); return this; @@ -24497,7 +30901,7 @@ public Builder addLifestyleImageLinksBytes(com.google.protobuf.ByteString value) checkByteStringIsUtf8(value); ensureLifestyleImageLinksIsMutable(); lifestyleImageLinks_.add(value); - bitField2_ |= 0x00100000; + bitField2_ |= 0x00200000; onChanged(); return this; } @@ -24506,12 +30910,12 @@ public Builder addLifestyleImageLinksBytes(com.google.protobuf.ByteString value) cloudExportAdditionalProperties_ = java.util.Collections.emptyList(); private void ensureCloudExportAdditionalPropertiesIsMutable() { - if (!((bitField2_ & 0x00200000) != 0)) { + if (!((bitField2_ & 0x00400000) != 0)) { cloudExportAdditionalProperties_ = new java.util.ArrayList< com.google.shopping.merchant.products.v1.CloudExportAdditionalProperties>( cloudExportAdditionalProperties_); - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; } } @@ -24772,7 +31176,7 @@ public Builder addAllCloudExportAdditionalProperties( public Builder clearCloudExportAdditionalProperties() { if (cloudExportAdditionalPropertiesBuilder_ == null) { cloudExportAdditionalProperties_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00200000); + bitField2_ = (bitField2_ & ~0x00400000); onChanged(); } else { cloudExportAdditionalPropertiesBuilder_.clear(); @@ -24928,7 +31332,7 @@ public Builder removeCloudExportAdditionalProperties(int index) { com.google.shopping.merchant.products.v1.CloudExportAdditionalProperties.Builder, com.google.shopping.merchant.products.v1.CloudExportAdditionalPropertiesOrBuilder>( cloudExportAdditionalProperties_, - ((bitField2_ & 0x00200000) != 0), + ((bitField2_ & 0x00400000) != 0), getParentForChildren(), isClean()); cloudExportAdditionalProperties_ = null; @@ -24952,7 +31356,7 @@ public Builder removeCloudExportAdditionalProperties(int index) { * @return Whether the virtualModelLink field is set. */ public boolean hasVirtualModelLink() { - return ((bitField2_ & 0x00400000) != 0); + return ((bitField2_ & 0x00800000) != 0); } /** @@ -25024,7 +31428,7 @@ public Builder setVirtualModelLink(java.lang.String value) { throw new NullPointerException(); } virtualModelLink_ = value; - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; onChanged(); return this; } @@ -25044,7 +31448,7 @@ public Builder setVirtualModelLink(java.lang.String value) { */ public Builder clearVirtualModelLink() { virtualModelLink_ = getDefaultInstance().getVirtualModelLink(); - bitField2_ = (bitField2_ & ~0x00400000); + bitField2_ = (bitField2_ & ~0x00800000); onChanged(); return this; } @@ -25069,7 +31473,7 @@ public Builder setVirtualModelLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); virtualModelLink_ = value; - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; onChanged(); return this; } @@ -25078,11 +31482,11 @@ public Builder setVirtualModelLinkBytes(com.google.protobuf.ByteString value) { certifications_ = java.util.Collections.emptyList(); private void ensureCertificationsIsMutable() { - if (!((bitField2_ & 0x00800000) != 0)) { + if (!((bitField2_ & 0x01000000) != 0)) { certifications_ = new java.util.ArrayList( certifications_); - bitField2_ |= 0x00800000; + bitField2_ |= 0x01000000; } } @@ -25382,7 +31786,7 @@ public Builder addAllCertifications( public Builder clearCertifications() { if (certificationsBuilder_ == null) { certifications_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00800000); + bitField2_ = (bitField2_ & ~0x01000000); onChanged(); } else { certificationsBuilder_.clear(); @@ -25562,7 +31966,7 @@ public Builder removeCertifications(int index) { com.google.shopping.merchant.products.v1.ProductCertification.Builder, com.google.shopping.merchant.products.v1.ProductCertificationOrBuilder>( certifications_, - ((bitField2_ & 0x00800000) != 0), + ((bitField2_ & 0x01000000) != 0), getParentForChildren(), isClean()); certifications_ = null; @@ -25590,7 +31994,7 @@ public Builder removeCertifications(int index) { * @return Whether the structuredTitle field is set. */ public boolean hasStructuredTitle() { - return ((bitField2_ & 0x01000000) != 0); + return ((bitField2_ & 0x02000000) != 0); } /** @@ -25635,7 +32039,7 @@ public Builder setStructuredTitle( } else { structuredTitleBuilder_.setMessage(value); } - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); return this; } @@ -25657,7 +32061,7 @@ public Builder setStructuredTitle( } else { structuredTitleBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); return this; } @@ -25675,7 +32079,7 @@ public Builder setStructuredTitle( public Builder mergeStructuredTitle( com.google.shopping.merchant.products.v1.StructuredTitle value) { if (structuredTitleBuilder_ == null) { - if (((bitField2_ & 0x01000000) != 0) + if (((bitField2_ & 0x02000000) != 0) && structuredTitle_ != null && structuredTitle_ != com.google.shopping.merchant.products.v1.StructuredTitle.getDefaultInstance()) { @@ -25687,7 +32091,7 @@ public Builder mergeStructuredTitle( structuredTitleBuilder_.mergeFrom(value); } if (structuredTitle_ != null) { - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); } return this; @@ -25704,7 +32108,7 @@ public Builder mergeStructuredTitle( * */ public Builder clearStructuredTitle() { - bitField2_ = (bitField2_ & ~0x01000000); + bitField2_ = (bitField2_ & ~0x02000000); structuredTitle_ = null; if (structuredTitleBuilder_ != null) { structuredTitleBuilder_.dispose(); @@ -25726,7 +32130,7 @@ public Builder clearStructuredTitle() { */ public com.google.shopping.merchant.products.v1.StructuredTitle.Builder getStructuredTitleBuilder() { - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); return getStructuredTitleFieldBuilder().getBuilder(); } @@ -25800,7 +32204,7 @@ public Builder clearStructuredTitle() { * @return Whether the structuredDescription field is set. */ public boolean hasStructuredDescription() { - return ((bitField2_ & 0x02000000) != 0); + return ((bitField2_ & 0x04000000) != 0); } /** @@ -25848,7 +32252,7 @@ public Builder setStructuredDescription( } else { structuredDescriptionBuilder_.setMessage(value); } - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; onChanged(); return this; } @@ -25871,7 +32275,7 @@ public Builder setStructuredDescription( } else { structuredDescriptionBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; onChanged(); return this; } @@ -25890,7 +32294,7 @@ public Builder setStructuredDescription( public Builder mergeStructuredDescription( com.google.shopping.merchant.products.v1.StructuredDescription value) { if (structuredDescriptionBuilder_ == null) { - if (((bitField2_ & 0x02000000) != 0) + if (((bitField2_ & 0x04000000) != 0) && structuredDescription_ != null && structuredDescription_ != com.google.shopping.merchant.products.v1.StructuredDescription @@ -25903,7 +32307,7 @@ public Builder mergeStructuredDescription( structuredDescriptionBuilder_.mergeFrom(value); } if (structuredDescription_ != null) { - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; onChanged(); } return this; @@ -25921,7 +32325,7 @@ public Builder mergeStructuredDescription( * */ public Builder clearStructuredDescription() { - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); structuredDescription_ = null; if (structuredDescriptionBuilder_ != null) { structuredDescriptionBuilder_.dispose(); @@ -25944,7 +32348,7 @@ public Builder clearStructuredDescription() { */ public com.google.shopping.merchant.products.v1.StructuredDescription.Builder getStructuredDescriptionBuilder() { - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; onChanged(); return getStructuredDescriptionFieldBuilder().getBuilder(); } @@ -26023,7 +32427,7 @@ public Builder clearStructuredDescription() { * @return Whether the autoPricingMinPrice field is set. */ public boolean hasAutoPricingMinPrice() { - return ((bitField2_ & 0x04000000) != 0); + return ((bitField2_ & 0x08000000) != 0); } /** @@ -26075,7 +32479,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price value) { } else { autoPricingMinPriceBuilder_.setMessage(value); } - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); return this; } @@ -26100,7 +32504,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price.Builder bui } else { autoPricingMinPriceBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); return this; } @@ -26121,7 +32525,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price.Builder bui */ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { if (autoPricingMinPriceBuilder_ == null) { - if (((bitField2_ & 0x04000000) != 0) + if (((bitField2_ & 0x08000000) != 0) && autoPricingMinPrice_ != null && autoPricingMinPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { getAutoPricingMinPriceBuilder().mergeFrom(value); @@ -26132,7 +32536,7 @@ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { autoPricingMinPriceBuilder_.mergeFrom(value); } if (autoPricingMinPrice_ != null) { - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); } return this; @@ -26153,7 +32557,7 @@ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { * .google.shopping.type.Price auto_pricing_min_price = 124; */ public Builder clearAutoPricingMinPrice() { - bitField2_ = (bitField2_ & ~0x04000000); + bitField2_ = (bitField2_ & ~0x08000000); autoPricingMinPrice_ = null; if (autoPricingMinPriceBuilder_ != null) { autoPricingMinPriceBuilder_.dispose(); @@ -26178,7 +32582,7 @@ public Builder clearAutoPricingMinPrice() { * .google.shopping.type.Price auto_pricing_min_price = 124; */ public com.google.shopping.type.Price.Builder getAutoPricingMinPriceBuilder() { - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); return getAutoPricingMinPriceFieldBuilder().getBuilder(); } @@ -26242,12 +32646,12 @@ public com.google.shopping.type.PriceOrBuilder getAutoPricingMinPriceOrBuilder() sustainabilityIncentives_ = java.util.Collections.emptyList(); private void ensureSustainabilityIncentivesIsMutable() { - if (!((bitField2_ & 0x08000000) != 0)) { + if (!((bitField2_ & 0x10000000) != 0)) { sustainabilityIncentives_ = new java.util.ArrayList< com.google.shopping.merchant.products.v1.ProductSustainabilityIncentive>( sustainabilityIncentives_); - bitField2_ |= 0x08000000; + bitField2_ |= 0x10000000; } } @@ -26507,7 +32911,7 @@ public Builder addAllSustainabilityIncentives( public Builder clearSustainabilityIncentives() { if (sustainabilityIncentivesBuilder_ == null) { sustainabilityIncentives_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); onChanged(); } else { sustainabilityIncentivesBuilder_.clear(); @@ -26663,7 +33067,7 @@ public Builder removeSustainabilityIncentives(int index) { com.google.shopping.merchant.products.v1.ProductSustainabilityIncentive.Builder, com.google.shopping.merchant.products.v1.ProductSustainabilityIncentiveOrBuilder>( sustainabilityIncentives_, - ((bitField2_ & 0x08000000) != 0), + ((bitField2_ & 0x10000000) != 0), getParentForChildren(), isClean()); sustainabilityIncentives_ = null; diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java index ad14282a3d1e..623f622fea32 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java @@ -1718,6 +1718,77 @@ com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder getLoyaltyProgr */ com.google.shopping.merchant.products.v1.ShippingOrBuilder getShippingOrBuilder(int index); + /** + * + * + *
    +   * Rules for carrier-based shipping.
    +   * 
    + * + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * + */ + java.util.List + getCarrierShippingList(); + + /** + * + * + *
    +   * Rules for carrier-based shipping.
    +   * 
    + * + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * + */ + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping getCarrierShipping( + int index); + + /** + * + * + *
    +   * Rules for carrier-based shipping.
    +   * 
    + * + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * + */ + int getCarrierShippingCount(); + + /** + * + * + *
    +   * Rules for carrier-based shipping.
    +   * 
    + * + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * + */ + java.util.List< + ? extends + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder> + getCarrierShippingOrBuilderList(); + + /** + * + * + *
    +   * Rules for carrier-based shipping.
    +   * 
    + * + * + * repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142; + * + */ + com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder + getCarrierShippingOrBuilder(int index); + /** * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java index 0c6ab52ca19d..6ec76fd9a1a5 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java @@ -32,6 +32,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_shopping_merchant_products_v1_ProductAttributes_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_shopping_merchant_products_v1_ProductAttributes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_merchant_products_v1_ShippingWeight_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -133,7 +137,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ":google/shopping/merchant/products/v1/products_common.proto\022$google.shopping.me" + "rchant.products.v1\032\037google/api/field_beh" + "avior.proto\032\037google/protobuf/timestamp.proto\032" - + " google/shopping/type/types.proto\032\032google/type/interval.proto\"\340,\n" + + " google/shopping/type/types.proto\032\032google/type/interval.proto\"\363@\n" + "\021ProductAttributes\022\036\n" + "\021identifier_exists\030\004 \001(\010H\000\210\001\001\022\026\n" + "\tis_bundle\030\005 \001(\010H\001\210\001\001\022\022\n" @@ -188,42 +192,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.shopping.merchant.products.v1.ProductDimension\022K\n" + "\016product_weight\030z \001(\01323.goog" + "le.shopping.merchant.products.v1.ProductWeight\022@\n" - + "\010shipping\030\' \003(\0132..google.shopping.merchant.products.v1.Shipping\022]\n" - + "\027free_shipping_threshold\030\207\001 \003(\0132;.google.shop" - + "ping.merchant.products.v1.FreeShippingThreshold\022M\n" - + "\017shipping_weight\030( \001(\01324.googl" - + "e.shopping.merchant.products.v1.ShippingWeight\022P\n" - + "\017shipping_length\030) \001(\01327.google" - + ".shopping.merchant.products.v1.ShippingDimension\022O\n" - + "\016shipping_width\030* \001(\01327.googl" - + "e.shopping.merchant.products.v1.ShippingDimension\022P\n" - + "\017shipping_height\030+ \001(\01327.goo" - + "gle.shopping.merchant.products.v1.ShippingDimension\022\036\n" + + "\010shipping\030\' \003(\0132..google.shopping.merchant.products.v1.Shipping\022b\n" + + "\020carrier_shipping\030\216\001 \003(\0132G.google.shopping.me" + + "rchant.products.v1.ProductAttributes.CarrierShipping\022]\n" + + "\027free_shipping_threshold\030\207\001" + + " \003(\0132;.google.shopping.merchant.products.v1.FreeShippingThreshold\022M\n" + + "\017shipping_weight\030(" + + " \001(\01324.google.shopping.merchant.products.v1.ShippingWeight\022P\n" + + "\017shipping_length\030)" + + " \001(\01327.google.shopping.merchant.products.v1.ShippingDimension\022O\n" + + "\016shipping_width\030*" + + " \001(\01327.google.shopping.merchant.products.v1.ShippingDimension\022P\n" + + "\017shipping_height\030+" + + " \001(\01327.google.shopping.merchant.products.v1.ShippingDimension\022\036\n" + "\021max_handling_time\030, \001(\003H\025\210\001\001\022\036\n" + "\021min_handling_time\030- \001(\003H\026\210\001\001\022\033\n" + "\016shipping_label\030. \001(\tH\027\210\001\001\022\037\n" + "\022transit_time_label\030/ \001(\tH\030\210\001\001\022\021\n" + "\004size\0300 \001(\tH\031\210\001\001\022J\n" - + "\013size_system\0301" - + " \001(\01620.google.shopping.merchant.products.v1.SizeSystemH\032\210\001\001\022B\n\n" + + "\013size_system\0301 \001(\01620." + + "google.shopping.merchant.products.v1.SizeSystemH\032\210\001\001\022B\n\n" + "size_types\0302 \003(\0162..google.shopping.merchant.products.v1.SizeType\022a\n" - + "\027energy_efficiency_class\0305 \001(\0162;.google.shopping.merchant" - + ".products.v1.EnergyEfficiencyClassH\033\210\001\001\022e\n" - + "\033min_energy_efficiency_class\0306 \001(\0162;.g" - + "oogle.shopping.merchant.products.v1.EnergyEfficiencyClassH\034\210\001\001\022e\n" - + "\033max_energy_efficiency_class\0307 \001(\0162;.google.shopping.me" - + "rchant.products.v1.EnergyEfficiencyClassH\035\210\001\001\022V\n" - + "\024unit_pricing_measure\0308 \001(\01328.go" - + "ogle.shopping.merchant.products.v1.UnitPricingMeasure\022_\n" - + "\031unit_pricing_base_measure\0309" - + " \001(\0132<.google.shopping.merchant.products.v1.UnitPricingBaseMeasure\022\026\n" + + "\027energy_efficiency_class\0305 \001(\0162;.goog" + + "le.shopping.merchant.products.v1.EnergyEfficiencyClassH\033\210\001\001\022e\n" + + "\033min_energy_efficiency_class\0306 \001(\0162;.google.shopping.merch" + + "ant.products.v1.EnergyEfficiencyClassH\034\210\001\001\022e\n" + + "\033max_energy_efficiency_class\0307 \001(\0162" + + ";.google.shopping.merchant.products.v1.EnergyEfficiencyClassH\035\210\001\001\022V\n" + + "\024unit_pricing_measure\0308" + + " \001(\01328.google.shopping.merchant.products.v1.UnitPricingMeasure\022_\n" + + "\031unit_pricing_base_measure\0309 \001(\0132<.google.sh" + + "opping.merchant.products.v1.UnitPricingBaseMeasure\022\026\n" + "\tmultipack\030: \001(\003H\036\210\001\001\022\031\n" + "\014ads_grouping\030; \001(\tH\037\210\001\001\022\022\n\n" + "ads_labels\030< \003(\t\022\031\n" + "\014ads_redirect\030= \001(\tH \210\001\001\0227\n" + "\022cost_of_goods_sold\030> \001(\0132\033.google.shopping.type.Price\022L\n" - + "\017product_details\030?" - + " \003(\01323.google.shopping.merchant.products.v1.ProductDetail\022\032\n" + + "\017product_details\030? \003(\01323.google." + + "shopping.merchant.products.v1.ProductDetail\022\032\n" + "\022product_highlights\030@ \003(\t\022\033\n" + "\016display_ads_id\030A \001(\tH!\210\001\001\022\037\n" + "\027display_ads_similar_ids\030B \003(\t\022\036\n" @@ -231,10 +237,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020display_ads_link\030D \001(\tH#\210\001\001\022\036\n" + "\021display_ads_value\030E \001(\001H$\210\001\001\022\025\n\r" + "promotion_ids\030F \003(\t\022N\n\r" - + "pickup_method\030P" - + " \001(\01622.google.shopping.merchant.products.v1.PickupMethodH%\210\001\001\022H\n\n" - + "pickup_sla\030Q" - + " \001(\0162/.google.shopping.merchant.products.v1.PickupSlaH&\210\001\001\022\032\n\r" + + "pickup_method\030P \001(\01622.goo" + + "gle.shopping.merchant.products.v1.PickupMethodH%\210\001\001\022H\n\n" + + "pickup_sla\030Q \001(\0162/.google" + + ".shopping.merchant.products.v1.PickupSlaH&\210\001\001\022\032\n\r" + "link_template\030R \001(\tH\'\210\001\001\022!\n" + "\024mobile_link_template\030S \001(\tH(\210\001\001\022\033\n" + "\016custom_label_0\030G \001(\tH)\210\001\001\022\033\n" @@ -251,28 +257,128 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005pause\030\r" + " \001(\0162+.google.shopping.merchant.products.v1.PauseH/\210\001\001\022\035\n" + "\025lifestyle_image_links\030\016 \003(\t\022q\n" - + "\"cloud_export_additional_properties\030T \003(\0132E.google.shopping.merchant.p" - + "roducts.v1.CloudExportAdditionalProperties\022 \n" + + "\"cloud_export_additional_properties\030T \003(\0132E.google" + + ".shopping.merchant.products.v1.CloudExportAdditionalProperties\022 \n" + "\022virtual_model_link\030\202\001 \001(\tH0\210\001\001\022R\n" - + "\016certifications\030{ \003(\0132:.google.shopping.m" - + "erchant.products.v1.ProductCertification\022U\n" - + "\020structured_title\030\204\001 \001(\01325.google.sho" - + "pping.merchant.products.v1.StructuredTitleH1\210\001\001\022a\n" - + "\026structured_description\030\205\001 \001(\013" - + "2;.google.shopping.merchant.products.v1.StructuredDescriptionH2\210\001\001\022;\n" + + "\016certifications\030{ \003(\013" + + "2:.google.shopping.merchant.products.v1.ProductCertification\022U\n" + + "\020structured_title\030\204\001" + + " \001(\01325.google.shopping.merchant.products.v1.StructuredTitleH1\210\001\001\022a\n" + + "\026structured_description\030\205\001 \001(\0132;.google.shopping.m" + + "erchant.products.v1.StructuredDescriptionH2\210\001\001\022;\n" + "\026auto_pricing_min_price\030| \001(\0132\033.google.shopping.type.Price\022h\n" - + "\031sustainability_incentives\030\212\001 " - + "\003(\0132D.google.shopping.merchant.products.v1.ProductSustainabilityIncentiveB\024\n" + + "\031sustainability_incentives\030\212\001 \003(\0132D.google.shoppin" + + "g.merchant.products.v1.ProductSustainabilityIncentive\032\241\007\n" + + "\017CarrierShipping\022\024\n" + + "\007country\030\001 \001(\tH\000\210\001\001\022\023\n" + + "\006region\030\002 \001(\tH\001\210\001\001\022\030\n" + + "\013postal_code\030\003 \001(\tH\002\210\001\001\022\037\n" + + "\022origin_postal_code\030\004 \001(\tH\003\210\001\001\0224\n\n" + + "flat_price\030\005 \001(\0132\033.google.shopping.type.PriceH\004\210\001\001\022f\n\r" + + "carrier_price\030\006 \001(\0162J.google.shopping.merchant." + + "products.v1.ProductAttributes.CarrierPriceOptionH\005\210\001\001\022G\n" + + "\035carrier_price_flat_adjustment\030\007" + + " \001(\0132\033.google.shopping.type.PriceH\006\210\001\001\0220\n" + + "#carrier_price_percentage_adjustment\030\010 \001(\001H\007\210\001\001\022\036\n" + + "\021min_handling_time\030\t \001(\003H\010\210\001\001\022\036\n" + + "\021max_handling_time\030\n" + + " \001(\003H\t\210\001\001\022#\n" + + "\026fixed_min_transit_time\030\013 \001(\003H\n" + + "\210\001\001\022#\n" + + "\026fixed_max_transit_time\030\014 \001(\003H\013\210\001\001\022a\n" + + "\024carrier_transit_time\030\r" + + " \001(\0162>.google.shoppi" + + "ng.merchant.products.v1.CarrierTransitTimeOptionH\014\210\001\001B\n\n" + + "\010_countryB\t\n" + + "\007_regionB\016\n" + + "\014_postal_codeB\025\n" + + "\023_origin_postal_codeB\r\n" + + "\013_flat_priceB\020\n" + + "\016_carrier_priceB \n" + + "\036_carrier_price_flat_adjustmentB&\n" + + "$_carrier_price_percentage_adjustmentB\024\n" + + "\022_min_handling_timeB\024\n" + + "\022_max_handling_timeB\031\n" + + "\027_fixed_min_transit_timeB\031\n" + + "\027_fixed_max_transit_timeB\027\n" + + "\025_carrier_transit_time\"\210\014\n" + + "\022CarrierPriceOption\022$\n" + + " CARRIER_PRICE_OPTION_UNSPECIFIED\020\000\022\032\n" + + "\026AUSTRALIA_POST_REGULAR\020\001\022\032\n" + + "\026AUSTRALIA_POST_EXPRESS\020\002\022\034\n" + + "\030AUSTRALIA_POST_REGULAR_S\020\003\022\034\n" + + "\030AUSTRALIA_POST_REGULAR_M\020\004\022\034\n" + + "\030AUSTRALIA_POST_REGULAR_L\020\005\022\035\n" + + "\031AUSTRALIA_POST_REGULAR_XL\020\006\022\034\n" + + "\030AUSTRALIA_POST_EXPRESS_S\020\007\022\034\n" + + "\030AUSTRALIA_POST_EXPRESS_M\020\010\022\034\n" + + "\030AUSTRALIA_POST_EXPRESS_L\020\t\022\035\n" + + "\031AUSTRALIA_POST_EXPRESS_XL\020\n" + + "\022\024\n" + + "\020TNT_ROAD_EXPRESS\020\013\022\031\n" + + "\025TNT_OVERNIGHT_EXPRESS\020\014\022\026\n" + + "\022TOLL_ROAD_DELIVERY\020\r" + + "\022\033\n" + + "\027TOLL_OVERNIGHT_PRIORITY\020\016\022\r\n" + + "\tDHL_PAKET\020\017\022\020\n" + + "\014DHL_PACKCHEN\020\020\022\022\n" + + "\016DPD_EXPRESS_12\020\021\022\017\n" + + "\013DPD_EXPRESS\020\022\022\026\n" + + "\022DPD_CLASSIC_PARCEL\020\023\022\023\n" + + "\017HERMES_PACKCHEN\020\024\022\030\n" + + "\024HERMES_PAKETKLASSE_S\020\025\022\030\n" + + "\024HERMES_PAKETKLASSE_M\020\026\022\030\n" + + "\024HERMES_PAKETKLASSE_L\020\027\022\017\n" + + "\013UPS_EXPRESS\020\030\022\025\n" + + "\021UPS_EXPRESS_SAVER\020\031\022\030\n" + + "\024UPS_EXPRESS_STANDARD\020\032\022\017\n" + + "\013DHL_EXPRESS\020\033\022\022\n" + + "\016DHL_EXPRESS_12\020\034\022\020\n" + + "\014DPD_NEXT_DAY\020\035\022\031\n" + + "\025DPD_STANDARD_NEXT_DAY\020\036\022\030\n" + + "\024DPD_STANDARD_TWO_DAY\020\037\022\027\n" + + "\023RMG_1ST_CLASS_SMALL\020 \022\030\n" + + "\024RMG_1ST_CLASS_MEDIUM\020!\022\027\n" + + "\023RMG_2ND_CLASS_SMALL\020\"\022\030\n" + + "\024RMG_2ND_CLASS_MEDIUM\020#\022\017\n" + + "\013TNT_EXPRESS\020$\022\022\n" + + "\016TNT_EXPRESS_10\020%\022\022\n" + + "\016TNT_EXPRESS_12\020&\022\022\n" + + "\016YODEL_B2C_48HR\020\'\022\022\n" + + "\016YODEL_B2C_72HR\020(\022\024\n" + + "\020YODEL_B2C_PACKET\020)\022\020\n" + + "\014FEDEX_GROUND\020*\022\027\n" + + "\023FEDEX_HOME_DELIVERY\020+\022\027\n" + + "\023FEDEX_EXPRESS_SAVER\020,\022\031\n" + + "\025FEDEX_FIRST_OVERNIGHT\020-\022\034\n" + + "\030FEDEX_PRIORITY_OVERNIGHT\020.\022\034\n" + + "\030FEDEX_STANDARD_OVERNIGHT\020/\022\016\n\n" + + "FEDEX_2DAY\0200\022\020\n" + + "\014UPS_STANDARD\0201\022\023\n" + + "\017UPS_2ND_DAY_AIR\0202\022\022\n" + + "\016UPS_2ND_DAY_AM\0203\022\024\n" + + "\020UPS_3_DAY_SELECT\0204\022\016\n\n" + + "UPS_GROUND\0205\022\024\n" + + "\020UPS_NEXT_DAY_AIR\0206\022\035\n" + + "\031UPS_NEXT_DAY_AIR_EARLY_AM\0207\022\032\n" + + "\026UPS_NEXT_DAY_AIR_SAVER\0208\022\036\n" + + "\032USPS_PRIORITY_MAIL_EXPRESS\0209\022\023\n" + + "\017USPS_MEDIA_MAIL\020:\022 \n" + + "\034USPS_GROUND_ADVANTAGE_RETAIL\020;\022\026\n" + + "\022USPS_PRIORITY_MAIL\020<\022$\n" + + " USPS_GROUND_ADVANTAGE_COMMERCIAL\020=B\024\n" + "\022_identifier_existsB\014\n\n" + "_is_bundleB\010\n" + "\006_titleB\016\n" + "\014_descriptionB\007\n" + "\005_linkB\016\n" + "\014_mobile_linkB\021\n" - + "\017_canonical_linkB\r\n" + + "\017_canonical_linkB\r" + + "\n" + "\013_image_linkB\010\n" + "\006_adultB\014\n\n" - + "_age_groupB\017\n\r" + + "_age_groupB\017\n" + + "\r" + "_availabilityB\010\n" + "\006_brandB\010\n" + "\006_colorB\014\n\n" @@ -327,8 +433,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005value\030\001 \001(\001\022\014\n" + "\004unit\030\002 \001(\t\"\240\001\n" + "\020SubscriptionCost\022H\n" - + "\006period\030\001 \001(\01628." - + "google.shopping.merchant.products.v1.SubscriptionPeriod\022\025\n\r" + + "\006period\030\001" + + " \001(\01628.google.shopping.merchant.products.v1.SubscriptionPeriod\022\025\n\r" + "period_length\030\002 \001(\003\022+\n" + "\006amount\030\003 \001(\0132\033.google.shopping.type.Price\"\364\001\n" + "\022ProductInstallment\022\016\n" @@ -336,8 +442,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006amount\030\002 \001(\0132\033.google.shopping.type.Price\0225\n" + "\013downpayment\030\003" + " \001(\0132\033.google.shopping.type.PriceH\000\210\001\001\022J\n" - + "\013credit_type\030\004 " - + "\001(\01620.google.shopping.merchant.products.v1.CreditTypeH\001\210\001\001B\016\n" + + "\013credit_type\030\004" + + " \001(\01620.google.shopping.merchant.products.v1.CreditTypeH\001\210\001\001B\016\n" + "\014_downpaymentB\016\n" + "\014_credit_type\"B\n\r" + "LoyaltyPoints\022\014\n" @@ -389,10 +495,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016attribute_name\030\002 \001(\t\022\027\n" + "\017attribute_value\030\003 \001(\t\"\371\002\n" + "\024ProductCertification\022b\n" - + "\027certification_authority\030\001" - + " \001(\0162<.google.shopping.merchant.products.v1.CertificationAuthorityH\000\210\001\001\022X\n" - + "\022certification_name\030\002 \001(\01627.google.shopping.m" - + "erchant.products.v1.CertificationNameH\001\210\001\001\022\037\n" + + "\027certification_authority\030\001 \001(\0162<.google.shoppi" + + "ng.merchant.products.v1.CertificationAuthorityH\000\210\001\001\022X\n" + + "\022certification_name\030\002 \001(\0162" + + "7.google.shopping.merchant.products.v1.CertificationNameH\001\210\001\001\022\037\n" + "\022certification_code\030\003 \001(\tH\002\210\001\001\022 \n" + "\023certification_value\030\004 \001(\tH\003\210\001\001B\032\n" + "\030_certification_authorityB\025\n" @@ -400,16 +506,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_certification_codeB\026\n" + "\024_certification_value\"\246\001\n" + "\017StructuredTitle\022Y\n" - + "\023digital_source_type\030\001 \001(\01627.google.shopping.merch" - + "ant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + + "\023digital_source_type\030\001 \001(\01627.go" + + "ogle.shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + "\007content\030\002 \001(\tH\001\210\001\001B\026\n" + "\024_digital_source_typeB\n\n" + "\010_content\"\254\001\n" + "\025StructuredDescription\022Y\n" - + "\023digital_source_type\030\001 \001(\01627.google" - + ".shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + + "\023digital_source_type\030\001" + + " \001(\01627.google.shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + "\007content\030\002 \001(\tH\001\210\001\001B\026\n" - + "\024_digital_source_typeB\n\n" + + "\024_digital_source_typeB\n" + + "\n" + "\010_content\"9\n" + "\020ProductDimension\022\022\n" + "\005value\030\001 \001(\001B\003\340A\002\022\021\n" @@ -418,28 +525,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005value\030\001 \001(\001B\003\340A\002\022\021\n" + "\004unit\030\002 \001(\tB\003\340A\002\"\353\007\n\r" + "ProductStatus\022c\n" - + "\024destination_statuses\030\003 \003(\0132E.goo" - + "gle.shopping.merchant.products.v1.ProductStatus.DestinationStatus\022]\n" - + "\021item_level_issues\030\004 \003(\0132B.google.shopping.merchant." - + "products.v1.ProductStatus.ItemLevelIssue\0221\n\r" + + "\024destination_statuses\030\003 \003(\0132E.google.shopping.merchant" + + ".products.v1.ProductStatus.DestinationStatus\022]\n" + + "\021item_level_issues\030\004 \003(\0132B.google" + + ".shopping.merchant.products.v1.ProductStatus.ItemLevelIssue\0221\n\r" + "creation_date\030\005 \001(\0132\032.google.protobuf.Timestamp\0224\n" + "\020last_update_date\030\006 \001(\0132\032.google.protobuf.Timestamp\022:\n" + "\026google_expiration_date\030\007" + " \001(\0132\032.google.protobuf.Timestamp\032\301\001\n" + "\021DestinationStatus\022V\n" - + "\021reporting_context\030\001" - + " \001(\0162;.google.shopping.type.ReportingContext.ReportingContextEnum\022\032\n" + + "\021reporting_context\030\001 \001(\0162;.goog" + + "le.shopping.type.ReportingContext.ReportingContextEnum\022\032\n" + "\022approved_countries\030\002 \003(\t\022\031\n" + "\021pending_countries\030\003 \003(\t\022\035\n" + "\025disapproved_countries\030\004 \003(\t\032\254\003\n" + "\016ItemLevelIssue\022\014\n" + "\004code\030\001 \001(\t\022]\n" - + "\010severity\030\002 \001(\0162K.google.shopping.merchant." - + "products.v1.ProductStatus.ItemLevelIssue.Severity\022\022\n\n" + + "\010severity\030\002 \001(\0162K.google" + + ".shopping.merchant.products.v1.ProductStatus.ItemLevelIssue.Severity\022\022\n\n" + "resolution\030\003 \001(\t\022\021\n" + "\tattribute\030\004 \001(\t\022V\n" - + "\021reporting_context\030\005 \001(\0162;.go" - + "ogle.shopping.type.ReportingContext.ReportingContextEnum\022\023\n" + + "\021reporting_context\030\005" + + " \001(\0162;.google.shopping.type.ReportingContext.ReportingContextEnum\022\023\n" + "\013description\030\006 \001(\t\022\016\n" + "\006detail\030\007 \001(\t\022\025\n\r" + "documentation\030\010 \001(\t\022\034\n" @@ -466,8 +573,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036ProductSustainabilityIncentive\022-\n" + "\006amount\030\002 \001(\0132\033.google.shopping.type.PriceH\000\022\024\n\n" + "percentage\030\003 \001(\001H\000\022\\\n" - + "\004type\030\001 \001(\0162I.google.shopping.merchant.produc" - + "ts.v1.ProductSustainabilityIncentive.TypeH\001\210\001\001\"F\n" + + "\004type\030\001 \001(\0162I.google.shopp" + + "ing.merchant.products.v1.ProductSustainabilityIncentive.TypeH\001\210\001\001\"F\n" + "\004Type\022\024\n" + "\020TYPE_UNSPECIFIED\020\000\022\021\n\r" + "EV_TAX_CREDIT\020\001\022\025\n" @@ -582,11 +689,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021DigitalSourceType\022#\n" + "\037DIGITAL_SOURCE_TYPE_UNSPECIFIED\020\000\022\035\n" + "\031TRAINED_ALGORITHMIC_MEDIA\020\001\022\013\n" - + "\007DEFAULT\020\002B\206\002\n" - + "(com.google.shopping.merchant.products.v1B\023ProductsCommonProtoP\001ZJcloud.goo" - + "gle.com/go/shopping/merchant/products/apiv1/productspb;productspb\252\002$Google.Shopp" - + "ing.Merchant.Products.V1\312\002$Google\\Shoppi" - + "ng\\Merchant\\Products\\V1\352\002(Google::Shopping::Merchant::Products::V1b\006proto3" + + "\007DEFAULT\020\002*\310\007\n" + + "\030CarrierTransitTimeOption\022+\n" + + "\'CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED\020\000\022\r\n" + + "\tDHL_PAKET\020\001\022\020\n" + + "\014DHL_PACKCHEN\020\002\022\023\n" + + "\017DHL_EXPRESSEASY\020\003\022\017\n" + + "\013DPD_EXPRESS\020\004\022\026\n" + + "\022DPD_CLASSIC_PARCEL\020\005\022\022\n" + + "\016HERMES_HAUSTUR\020\006\022\024\n" + + "\020HERMES_PAKETSHOP\020\007\022\020\n" + + "\014GLS_BUSINESS\020\010\022\017\n" + + "\013GLS_EXPRESS\020\t\022\017\n" + + "\013GLS_PRIVATE\020\n" + + "\022\026\n" + + "\022COLISSIMO_DOMICILE\020\013\022\024\n" + + "\020DHL_EXPRESS_12AM\020\014\022\023\n" + + "\017DHL_EXPRESS_9AM\020\r" + + "\022\022\n" + + "\016GEODIS_EXPRESS\020\016\022\022\n" + + "\016GEODIS_PACK_30\020\017\022\023\n" + + "\017GEODIS_SAME_DAY\020\020\022\021\n\r" + + "GEODIS_TOP_24\020\021\022\025\n" + + "\021TNT_ESSENTIEL_24H\020\022\022\035\n" + + "\031TNT_ESSENTIEL_FLEXIBILITE\020\023\022\020\n" + + "\014FEDEX_GROUND\020\024\022\027\n" + + "\023FEDEX_HOME_DELIVERY\020\025\022\027\n" + + "\023FEDEX_EXPRESS_SAVER\020\026\022\031\n" + + "\025FEDEX_FIRST_OVERNIGHT\020\027\022\034\n" + + "\030FEDEX_PRIORITY_OVERNIGHT\020\030\022\034\n" + + "\030FEDEX_STANDARD_OVERNIGHT\020\031\022\016\n\n" + + "FEDEX_2DAY\020\032\022\023\n" + + "\017UPS_2ND_DAY_AIR\020\033\022\022\n" + + "\016UPS_2ND_DAY_AM\020\034\022\024\n" + + "\020UPS_3_DAY_SELECT\020\035\022\016\n\n" + + "UPS_GROUND\020\036\022\024\n" + + "\020UPS_NEXT_DAY_AIR\020\037\022\035\n" + + "\031UPS_NEXT_DAY_AIR_EARLY_AM\020 \022\032\n" + + "\026UPS_NEXT_DAY_AIR_SAVER\020!\022\036\n" + + "\032USPS_PRIORITY_MAIL_EXPRESS\020\"\022\023\n" + + "\017USPS_MEDIA_MAIL\020#\022 \n" + + "\034USPS_GROUND_ADVANTAGE_RETAIL\020$\022\026\n" + + "\022USPS_PRIORITY_MAIL\020%\022$\n" + + " USPS_GROUND_ADVANTAGE_COMMERCIAL\020&\022\031\n" + + "\025USPS_FIRST_CLASS_MAIL\020\'B\206\002\n" + + "(com.google.shopping.merchant.products.v1B\023Pr" + + "oductsCommonProtoP\001ZJcloud.google.com/go/shopping/merchant/products/apiv1/produc" + + "tspb;productspb\252\002$Google.Shopping.Mercha" + + "nt.Products.V1\312\002$Google\\Shopping\\Merchan" + + "t\\Products\\V1\352\002(Google::Shopping::Merchant::Products::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -643,6 +794,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProductWidth", "ProductWeight", "Shipping", + "CarrierShipping", "FreeShippingThreshold", "ShippingWeight", "ShippingLength", @@ -696,6 +848,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AutoPricingMinPrice", "SustainabilityIncentives", }); + internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor = + internal_static_google_shopping_merchant_products_v1_ProductAttributes_descriptor + .getNestedTypes() + .get(0); + internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_shopping_merchant_products_v1_ProductAttributes_CarrierShipping_descriptor, + new java.lang.String[] { + "Country", + "Region", + "PostalCode", + "OriginPostalCode", + "FlatPrice", + "CarrierPrice", + "CarrierPriceFlatAdjustment", + "CarrierPricePercentageAdjustment", + "MinHandlingTime", + "MaxHandlingTime", + "FixedMinTransitTime", + "FixedMaxTransitTime", + "CarrierTransitTime", + }); internal_static_google_shopping_merchant_products_v1_ShippingWeight_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_shopping_merchant_products_v1_ShippingWeight_fieldAccessorTable = diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto index bd43c368f483..914cd7f2ec37 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto @@ -1,4 +1,3 @@ -// LINT: LEGACY_NAMES // Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -369,8 +368,435 @@ enum DigitalSourceType { DEFAULT = 2; } +// Possible carrier where transit time is coming from. +enum CarrierTransitTimeOption { + // Carrier transit time option is unspecified. + CARRIER_TRANSIT_TIME_OPTION_UNSPECIFIED = 0; + + // DHL Paket shipping service. + DHL_PAKET = 1; + + // DHL Packchen shipping service. + DHL_PACKCHEN = 2; + + // DHL Express Easy shipping service. + DHL_EXPRESSEASY = 3; + + // DPD Express shipping service. + DPD_EXPRESS = 4; + + // DPD Classic Parcel shipping service. + DPD_CLASSIC_PARCEL = 5; + + // Hermes Haustur shipping service. + HERMES_HAUSTUR = 6; + + // Hermes Paketshop shipping service. + HERMES_PAKETSHOP = 7; + + // GLS Business shipping service. + GLS_BUSINESS = 8; + + // GLS Express shipping service. + GLS_EXPRESS = 9; + + // GLS Private shipping service. + GLS_PRIVATE = 10; + + // Colissimo Domicile shipping service. + COLISSIMO_DOMICILE = 11; + + // DHL Express 12 AM shipping service. + DHL_EXPRESS_12AM = 12; + + // DHL Express 9 AM shipping service. + DHL_EXPRESS_9AM = 13; + + // GEODIS Express shipping service. + GEODIS_EXPRESS = 14; + + // GEODIS Pack 30 shipping service. + GEODIS_PACK_30 = 15; + + // GEODIS Same Day shipping service. + GEODIS_SAME_DAY = 16; + + // GEODIS Top 24 shipping service. + GEODIS_TOP_24 = 17; + + // TNT Essentiel 24H shipping service. + TNT_ESSENTIEL_24H = 18; + + // TNT Essentiel Flexibilite shipping service. + TNT_ESSENTIEL_FLEXIBILITE = 19; + + // FedEx Ground shipping service. + FEDEX_GROUND = 20; + + // FedEx Home Delivery shipping service. + FEDEX_HOME_DELIVERY = 21; + + // FedEx Express Saver shipping service. + FEDEX_EXPRESS_SAVER = 22; + + // FedEx First Overnight shipping service. + FEDEX_FIRST_OVERNIGHT = 23; + + // FedEx Priority Overnight shipping service. + FEDEX_PRIORITY_OVERNIGHT = 24; + + // FedEx Standard Overnight shipping service. + FEDEX_STANDARD_OVERNIGHT = 25; + + // FedEx 2Day shipping service. + FEDEX_2DAY = 26; + + // UPS 2nd Day Air shipping service. + UPS_2ND_DAY_AIR = 27; + + // UPS 2nd Day AM shipping service. + UPS_2ND_DAY_AM = 28; + + // UPS 3 Day Select shipping service. + UPS_3_DAY_SELECT = 29; + + // UPS Ground shipping service. + UPS_GROUND = 30; + + // UPS Next Day Air shipping service. + UPS_NEXT_DAY_AIR = 31; + + // UPS Next Day Air Early AM shipping service. + UPS_NEXT_DAY_AIR_EARLY_AM = 32; + + // UPS Next Day Air Saver shipping service. + UPS_NEXT_DAY_AIR_SAVER = 33; + + // USPS Priority Mail Express shipping service. + USPS_PRIORITY_MAIL_EXPRESS = 34; + + // USPS Media Mail shipping service. + USPS_MEDIA_MAIL = 35; + + // USPS Ground Advantage Retail shipping service. + USPS_GROUND_ADVANTAGE_RETAIL = 36; + + // USPS Priority Mail shipping service. + USPS_PRIORITY_MAIL = 37; + + // USPS Ground Advantage Commercial shipping service. + USPS_GROUND_ADVANTAGE_COMMERCIAL = 38; + + // USPS First Class Mail shipping service. + USPS_FIRST_CLASS_MAIL = 39; +} + // Product attributes. message ProductAttributes { + // Carrier-based shipping configuration. Allows for setting shipping speed or + // shipping cost based on a carrier's provided info. + message CarrierShipping { + // The [CLDR territory + // code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) + // of the country to which an item will ship. + optional string country = 1; + + // The geographic region to which a shipping rate applies. + // See [region](https://support.google.com/merchants/answer/6324484) for + // more information. + optional string region = 2; + + // The postal code range that the shipping rate applies to, represented by + // a postal code (eg. `94043`), a postal code prefix followed by a * + // wildcard (eg. `94*`), a range between two postal codes (eg. + // `94043-98033`) or two postal code prefixes of equal length (eg. + // `94*-98*`). + optional string postal_code = 3; + + // The source location postal code from which this offer ships. Represented + // only by a full-length postal code. + optional string origin_postal_code = 4; + + // Fixed shipping price, represented as a number with currency. Cannot be + // set together with + // [carrierPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price] + // or its adjustments + // ([carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment], + // [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]). + optional google.shopping.type.Price flat_price = 5; + + // Selected carrier to calculate the shipping price from. Select a carrier + // from the [available carriers + // list](https://support.google.com/merchants/answer/15449142#Supported), + // for example `AUSTRALIA_POST_REGULAR`. Price will be calculated by this + // selected carrier, the location expressed in + // [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code], + // along with the user location to determine the accurate shipping price. + // Carrier is represented by a carrier service name or a carrier service ID. + // Cannot be set together with + // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price]. + optional CarrierPriceOption carrier_price = 6; + + // A flat adjustment on the carrier price. Can be either positive or + // negative. Cannot be zero. Requires `carrier_price` to be present. Cannot + // be set together with + // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price] + // and + // [carrierPricePercentageAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_percentage_adjustment]. + optional google.shopping.type.Price carrier_price_flat_adjustment = 7; + + // A percentual adjustment on the carrier price. Can be either positive or + // negative. Cannot be zero. Requires `carrier_price` to be present. Cannot + // be set together with + // [flatPrice][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.flat_price] + // and + // [carrierPriceFlatAdjustment][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_price_flat_adjustment]. + optional double carrier_price_percentage_adjustment = 8; + + // Minimum handling time (inclusive) between when the order is received and + // shipped in business days. 0 means that the order is shipped on the same + // day as it is received if it happens before the cut-off time. + // [minHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.min_handling_time] + // can only be set if + // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time] + // is also set. + optional int64 min_handling_time = 9; + + // Maximum handling time (inclusive) between when the order is received and + // shipped in business days. 0 means that the order is shipped on the same + // day as it is received if it happens before the cut-off time. Both + // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time] + // and + // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] + // or + // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] + // are required if providing shipping speeds. + optional int64 max_handling_time = 10; + + // Minimum transit time (inclusive) between when the order has shipped and + // when it is delivered in business days. 0 means that the order is + // delivered on the same day as it ships. + // [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time] + // can only be set if + // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] + // is set. Cannot be set if + // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] + // is present. + optional int64 fixed_min_transit_time = 11; + + // Maximum transit time (inclusive) between when the order has shipped and + // when it is delivered in business days. 0 means that the order is + // delivered on the same day as it ships. Needs to be provided together with + // [maxHandlingTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.max_handling_time]. + // Cannot be set if + // [carrierTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.carrier_transit_time] + // is present. + optional int64 fixed_max_transit_time = 12; + + // Selected carrier to calculate the shipping speed from. Select a carrier + // from the [available carriers + // list](https://support.google.com/merchants/answer/15449142#Supported), + // for example `AUSTRALIA_POST_REGULAR`. Speed will be calculated by this + // selected carrier, the location expressed in + // [originPostalCode][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.origin_postal_code], + // along with the user location to determine the accurate delivery speed. + // Carrier is represented by a carrier service name or a carrier service ID. + // Cannot be set together with + // [fixedMaxTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_max_transit_time] + // or + // [fixedMinTransitTime][google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping.fixed_min_transit_time]. + optional CarrierTransitTimeOption carrier_transit_time = 13; + } + + // Possible carrier where price is coming from. + enum CarrierPriceOption { + // Carrier price option is unspecified. + CARRIER_PRICE_OPTION_UNSPECIFIED = 0; + + // Australia Post Regular shipping service. + AUSTRALIA_POST_REGULAR = 1; + + // Australia Post Express shipping service. + AUSTRALIA_POST_EXPRESS = 2; + + // Australia Post Regular Small shipping service. + AUSTRALIA_POST_REGULAR_S = 3; + + // Australia Post Regular Medium shipping service. + AUSTRALIA_POST_REGULAR_M = 4; + + // Australia Post Regular Large shipping service. + AUSTRALIA_POST_REGULAR_L = 5; + + // Australia Post Regular XL shipping service. + AUSTRALIA_POST_REGULAR_XL = 6; + + // Australia Post Express Small shipping service. + AUSTRALIA_POST_EXPRESS_S = 7; + + // Australia Post Express Medium shipping service. + AUSTRALIA_POST_EXPRESS_M = 8; + + // Australia Post Express Large shipping service. + AUSTRALIA_POST_EXPRESS_L = 9; + + // Australia Post Express XL shipping service. + AUSTRALIA_POST_EXPRESS_XL = 10; + + // TNT Road Express shipping service. + TNT_ROAD_EXPRESS = 11; + + // TNT Overnight Express shipping service. + TNT_OVERNIGHT_EXPRESS = 12; + + // Toll Road Delivery shipping service. + TOLL_ROAD_DELIVERY = 13; + + // Toll Overnight Priority shipping service. + TOLL_OVERNIGHT_PRIORITY = 14; + + // DHL Paket shipping service. + DHL_PAKET = 15; + + // DHL Packchen shipping service. + DHL_PACKCHEN = 16; + + // DPD Express 12 shipping service. + DPD_EXPRESS_12 = 17; + + // DPD Express shipping service. + DPD_EXPRESS = 18; + + // DPD Classic Parcel shipping service. + DPD_CLASSIC_PARCEL = 19; + + // Hermes Packchen shipping service. + HERMES_PACKCHEN = 20; + + // Hermes Paketklasse S shipping service. + HERMES_PAKETKLASSE_S = 21; + + // Hermes Paketklasse M shipping service. + HERMES_PAKETKLASSE_M = 22; + + // Hermes Paketklasse L shipping service. + HERMES_PAKETKLASSE_L = 23; + + // UPS Express shipping service. + UPS_EXPRESS = 24; + + // UPS Express Saver shipping service. + UPS_EXPRESS_SAVER = 25; + + // UPS Express Standard shipping service. + UPS_EXPRESS_STANDARD = 26; + + // DHL Express shipping service. + DHL_EXPRESS = 27; + + // DHL Express 12 shipping service. + DHL_EXPRESS_12 = 28; + + // DPD Next Day shipping service. + DPD_NEXT_DAY = 29; + + // DPD Standard Next Day shipping service. + DPD_STANDARD_NEXT_DAY = 30; + + // DPD Standard Two Day shipping service. + DPD_STANDARD_TWO_DAY = 31; + + // RMG 1st Class Small shipping service. + RMG_1ST_CLASS_SMALL = 32; + + // RMG 1st Class Medium shipping service. + RMG_1ST_CLASS_MEDIUM = 33; + + // RMG 2nd Class Small shipping service. + RMG_2ND_CLASS_SMALL = 34; + + // RMG 2nd Class Medium shipping service. + RMG_2ND_CLASS_MEDIUM = 35; + + // TNT Express shipping service. + TNT_EXPRESS = 36; + + // TNT Express 10 shipping service. + TNT_EXPRESS_10 = 37; + + // TNT Express 12 shipping service. + TNT_EXPRESS_12 = 38; + + // Yodel B2C 48HR shipping service. + YODEL_B2C_48HR = 39; + + // Yodel B2C 72HR shipping service. + YODEL_B2C_72HR = 40; + + // Yodel B2C Packet shipping service. + YODEL_B2C_PACKET = 41; + + // FedEx Ground shipping service. + FEDEX_GROUND = 42; + + // FedEx Home Delivery shipping service. + FEDEX_HOME_DELIVERY = 43; + + // FedEx Express Saver shipping service. + FEDEX_EXPRESS_SAVER = 44; + + // FedEx First Overnight shipping service. + FEDEX_FIRST_OVERNIGHT = 45; + + // FedEx Priority Overnight shipping service. + FEDEX_PRIORITY_OVERNIGHT = 46; + + // FedEx Standard Overnight shipping service. + FEDEX_STANDARD_OVERNIGHT = 47; + + // FedEx 2Day shipping service. + FEDEX_2DAY = 48; + + // UPS Standard shipping service. + UPS_STANDARD = 49; + + // UPS 2nd Day Air shipping service. + UPS_2ND_DAY_AIR = 50; + + // UPS 2nd Day AM shipping service. + UPS_2ND_DAY_AM = 51; + + // UPS 3 Day Select shipping service. + UPS_3_DAY_SELECT = 52; + + // UPS Ground shipping service. + UPS_GROUND = 53; + + // UPS Next Day Air shipping service. + UPS_NEXT_DAY_AIR = 54; + + // UPS Next Day Air Early AM shipping service. + UPS_NEXT_DAY_AIR_EARLY_AM = 55; + + // UPS Next Day Air Saver shipping service. + UPS_NEXT_DAY_AIR_SAVER = 56; + + // USPS Priority Mail Express shipping service. + USPS_PRIORITY_MAIL_EXPRESS = 57; + + // USPS Media Mail shipping service. + USPS_MEDIA_MAIL = 58; + + // USPS Ground Advantage Retail shipping service. + USPS_GROUND_ADVANTAGE_RETAIL = 59; + + // USPS Priority Mail shipping service. + USPS_PRIORITY_MAIL = 60; + + // USPS Ground Advantage Commercial shipping service. + USPS_GROUND_ADVANTAGE_COMMERCIAL = 61; + } + // Set this value to false when the item does not have unique product // identifiers appropriate to its category, such as GTIN, MPN, and brand. // Defaults to true, if not provided. @@ -533,6 +959,9 @@ message ProductAttributes { // Shipping rules. repeated Shipping shipping = 39; + // Rules for carrier-based shipping. + repeated CarrierShipping carrier_shipping = 142; + // Conditions to be met for a product to have free shipping. repeated FreeShippingThreshold free_shipping_threshold = 135; diff --git a/java-shopping-merchant-promotions/README.md b/java-shopping-merchant-promotions/README.md index 0a3f7b7162a6..53597a1b41bf 100644 --- a/java-shopping-merchant-promotions/README.md +++ b/java-shopping-merchant-promotions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-promotions:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-promotions:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.3.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 263b7a4c3d4e..f6690fa893a7 100644 --- a/java-shopping-merchant-quota/README.md +++ b/java-shopping-merchant-quota/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-quota:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-quota:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.3.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 a0a6471edfc8..dce14dc7f0a2 100644 --- a/java-shopping-merchant-reports/README.md +++ b/java-shopping-merchant-reports/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.2.0 + 1.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reports:1.2.0' +implementation 'com.google.shopping:google-shopping-merchant-reports:1.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.2.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.3.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.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.3.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 b51aeb5c7880..9460264dfccb 100644 --- a/java-shopping-merchant-reviews/README.md +++ b/java-shopping-merchant-reviews/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.20.0 + 0.21.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reviews:0.20.0' +implementation 'com.google.shopping:google-shopping-merchant-reviews:0.21.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.20.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "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.shopping/google-shopping-merchant-reviews.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/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-spanneradapter/README.md b/java-spanneradapter/README.md index 8fe9c26cca83..b534f6de5725 100644 --- a/java-spanneradapter/README.md +++ b/java-spanneradapter/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-spanneradapter - 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-spanneradapter:0.10.0' +implementation 'com.google.cloud:google-cloud-spanneradapter:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "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-spanneradapter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.10.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/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-speech/README.md b/java-speech/README.md index 5022e74816cd..5aa2dc37d998 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-speech - 4.69.0 + 4.70.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.69.0' +implementation 'com.google.cloud:google-cloud-speech:4.70.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.69.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.70.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.69.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.70.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 39630ff4ad5f..5d737c502abb 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 1.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage-transfer:1.74.0' +implementation 'com.google.cloud:google-cloud-storage-transfer:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "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-storage-transfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/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-storagebatchoperations/README.md b/java-storagebatchoperations/README.md index baaec81cbe73..40749086ab9c 100644 --- a/java-storagebatchoperations/README.md +++ b/java-storagebatchoperations/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storagebatchoperations - 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-storagebatchoperations:0.14.0' +implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "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-storagebatchoperations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/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-storageinsights/README.md b/java-storageinsights/README.md index 068dddb56392..5f25f1d51dcc 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storageinsights - 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-storageinsights:0.59.0' +implementation 'com.google.cloud:google-cloud-storageinsights:0.60.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "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-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.59.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/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-talent/README.md b/java-talent/README.md index c1a23f3f66a3..152f8413dd02 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-talent - 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-talent:2.75.0' +implementation 'com.google.cloud:google-cloud-talent:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "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-talent.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/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-tasks/README.md b/java-tasks/README.md index ddced9634785..aad74f916eb0 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tasks - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.74.0' +implementation 'com.google.cloud:google-cloud-tasks:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.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-tasks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.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-telcoautomation/README.md b/java-telcoautomation/README.md index 61d10f77fa11..8dc2ac0d3958 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-telcoautomation - 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-telcoautomation:0.44.0' +implementation 'com.google.cloud:google-cloud-telcoautomation:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "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-telcoautomation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/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-texttospeech/README.md b/java-texttospeech/README.md index 8a7adb273f38..b2fca54c38aa 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-texttospeech - 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-texttospeech:2.75.0' +implementation 'com.google.cloud:google-cloud-texttospeech:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "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-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/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-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json index 1c1eb40fc4be..7cc388e945ec 100644 --- a/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json +++ b/java-texttospeech/google-cloud-texttospeech/src/main/resources/META-INF/native-image/com.google.cloud.texttospeech.v1beta1/reflect-config.json @@ -602,6 +602,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.texttospeech.v1beta1.SsmlVoiceGender", "queryAllDeclaredConstructors": true, diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParams.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParams.java index f17ec626bd2d..a72d20efa056 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParams.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParams.java @@ -305,7 +305,7 @@ public com.google.protobuf.ByteString getModelBytes() { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The enum numeric value on the wire for reportedUsage. */ @java.lang.Override @@ -326,7 +326,7 @@ public int getReportedUsageValue() { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The reportedUsage. */ @java.lang.Override @@ -847,7 +847,7 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The enum numeric value on the wire for reportedUsage. */ @java.lang.Override @@ -868,7 +868,7 @@ public int getReportedUsageValue() { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @param value The enum numeric value on the wire for reportedUsage to set. * @return This builder for chaining. */ @@ -892,7 +892,7 @@ public Builder setReportedUsageValue(int value) { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The reportedUsage. */ @java.lang.Override @@ -919,7 +919,7 @@ public Builder setReportedUsageValue(int value) { * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @param value The reportedUsage to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setReportedUsage( * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParamsOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParamsOrBuilder.java index bca0a5addc71..1f9105316b1b 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParamsOrBuilder.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/CustomVoiceParamsOrBuilder.java @@ -66,7 +66,7 @@ public interface CustomVoiceParamsOrBuilder * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The enum numeric value on the wire for reportedUsage. */ @java.lang.Deprecated @@ -84,7 +84,7 @@ public interface CustomVoiceParamsOrBuilder * * * @deprecated google.cloud.texttospeech.v1beta1.CustomVoiceParams.reported_usage is deprecated. - * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=441 + * See google/cloud/texttospeech/v1beta1/cloud_tts.proto;l=469 * @return The reportedUsage. */ @java.lang.Deprecated diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfig.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfig.java new file mode 100644 index 000000000000..be865eab8f7e --- /dev/null +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfig.java @@ -0,0 +1,1067 @@ +/* + * 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/texttospeech/v1beta1/cloud_tts.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.texttospeech.v1beta1; + +/** + * + * + *
    + * Configuration for a multi-speaker text-to-speech setup. Enables the use of up
    + * to two distinct voices in a single synthesis request.
    + * 
    + * + * Protobuf type {@code google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig} + */ +public final class MultiSpeakerVoiceConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) + MultiSpeakerVoiceConfigOrBuilder { + private static final long serialVersionUID = 0L; + + // Use MultiSpeakerVoiceConfig.newBuilder() to construct. + private MultiSpeakerVoiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultiSpeakerVoiceConfig() { + speakerVoiceConfigs_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultiSpeakerVoiceConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.class, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder.class); + } + + public static final int SPEAKER_VOICE_CONFIGS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List + speakerVoiceConfigs_; + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List + getSpeakerVoiceConfigsList() { + return speakerVoiceConfigs_; + } + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder> + getSpeakerVoiceConfigsOrBuilderList() { + return speakerVoiceConfigs_; + } + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public int getSpeakerVoiceConfigsCount() { + return speakerVoiceConfigs_.size(); + } + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice getSpeakerVoiceConfigs( + int index) { + return speakerVoiceConfigs_.get(index); + } + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder + getSpeakerVoiceConfigsOrBuilder(int index) { + return speakerVoiceConfigs_.get(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 < speakerVoiceConfigs_.size(); i++) { + output.writeMessage(2, speakerVoiceConfigs_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < speakerVoiceConfigs_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, speakerVoiceConfigs_.get(i)); + } + 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig)) { + return super.equals(obj); + } + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig other = + (com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) obj; + + if (!getSpeakerVoiceConfigsList().equals(other.getSpeakerVoiceConfigsList())) 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 (getSpeakerVoiceConfigsCount() > 0) { + hash = (37 * hash) + SPEAKER_VOICE_CONFIGS_FIELD_NUMBER; + hash = (53 * hash) + getSpeakerVoiceConfigsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig 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 a multi-speaker text-to-speech setup. Enables the use of up
    +   * to two distinct voices in a single synthesis request.
    +   * 
    + * + * Protobuf type {@code google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.class, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder.class); + } + + // Construct using com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (speakerVoiceConfigsBuilder_ == null) { + speakerVoiceConfigs_ = java.util.Collections.emptyList(); + } else { + speakerVoiceConfigs_ = null; + speakerVoiceConfigsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig + getDefaultInstanceForType() { + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig build() { + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig buildPartial() { + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig result = + new com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig result) { + if (speakerVoiceConfigsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + speakerVoiceConfigs_ = java.util.Collections.unmodifiableList(speakerVoiceConfigs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.speakerVoiceConfigs_ = speakerVoiceConfigs_; + } else { + result.speakerVoiceConfigs_ = speakerVoiceConfigsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig result) { + int from_bitField0_ = 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig) { + return mergeFrom((com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig other) { + if (other + == com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance()) + return this; + if (speakerVoiceConfigsBuilder_ == null) { + if (!other.speakerVoiceConfigs_.isEmpty()) { + if (speakerVoiceConfigs_.isEmpty()) { + speakerVoiceConfigs_ = other.speakerVoiceConfigs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.addAll(other.speakerVoiceConfigs_); + } + onChanged(); + } + } else { + if (!other.speakerVoiceConfigs_.isEmpty()) { + if (speakerVoiceConfigsBuilder_.isEmpty()) { + speakerVoiceConfigsBuilder_.dispose(); + speakerVoiceConfigsBuilder_ = null; + speakerVoiceConfigs_ = other.speakerVoiceConfigs_; + bitField0_ = (bitField0_ & ~0x00000001); + speakerVoiceConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeakerVoiceConfigsFieldBuilder() + : null; + } else { + speakerVoiceConfigsBuilder_.addAllMessages(other.speakerVoiceConfigs_); + } + } + } + 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: + { + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice m = + input.readMessage( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.parser(), + extensionRegistry); + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.add(m); + } else { + speakerVoiceConfigsBuilder_.addMessage(m); + } + 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.util.List + speakerVoiceConfigs_ = java.util.Collections.emptyList(); + + private void ensureSpeakerVoiceConfigsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + speakerVoiceConfigs_ = + new java.util.ArrayList< + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice>( + speakerVoiceConfigs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder> + speakerVoiceConfigsBuilder_; + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getSpeakerVoiceConfigsList() { + if (speakerVoiceConfigsBuilder_ == null) { + return java.util.Collections.unmodifiableList(speakerVoiceConfigs_); + } else { + return speakerVoiceConfigsBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public int getSpeakerVoiceConfigsCount() { + if (speakerVoiceConfigsBuilder_ == null) { + return speakerVoiceConfigs_.size(); + } else { + return speakerVoiceConfigsBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice getSpeakerVoiceConfigs( + int index) { + if (speakerVoiceConfigsBuilder_ == null) { + return speakerVoiceConfigs_.get(index); + } else { + return speakerVoiceConfigsBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSpeakerVoiceConfigs( + int index, com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice value) { + if (speakerVoiceConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.set(index, value); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSpeakerVoiceConfigs( + int index, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder builderForValue) { + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.set(index, builderForValue.build()); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addSpeakerVoiceConfigs( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice value) { + if (speakerVoiceConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.add(value); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addSpeakerVoiceConfigs( + int index, com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice value) { + if (speakerVoiceConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.add(index, value); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addSpeakerVoiceConfigs( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder builderForValue) { + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.add(builderForValue.build()); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addSpeakerVoiceConfigs( + int index, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder builderForValue) { + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.add(index, builderForValue.build()); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addAllSpeakerVoiceConfigs( + java.lang.Iterable< + ? extends com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice> + values) { + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speakerVoiceConfigs_); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSpeakerVoiceConfigs() { + if (speakerVoiceConfigsBuilder_ == null) { + speakerVoiceConfigs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder removeSpeakerVoiceConfigs(int index) { + if (speakerVoiceConfigsBuilder_ == null) { + ensureSpeakerVoiceConfigsIsMutable(); + speakerVoiceConfigs_.remove(index); + onChanged(); + } else { + speakerVoiceConfigsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder + getSpeakerVoiceConfigsBuilder(int index) { + return getSpeakerVoiceConfigsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder + getSpeakerVoiceConfigsOrBuilder(int index) { + if (speakerVoiceConfigsBuilder_ == null) { + return speakerVoiceConfigs_.get(index); + } else { + return speakerVoiceConfigsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List< + ? extends com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder> + getSpeakerVoiceConfigsOrBuilderList() { + if (speakerVoiceConfigsBuilder_ != null) { + return speakerVoiceConfigsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(speakerVoiceConfigs_); + } + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder + addSpeakerVoiceConfigsBuilder() { + return getSpeakerVoiceConfigsFieldBuilder() + .addBuilder( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.getDefaultInstance()); + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder + addSpeakerVoiceConfigsBuilder(int index) { + return getSpeakerVoiceConfigsFieldBuilder() + .addBuilder( + index, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.getDefaultInstance()); + } + + /** + * + * + *
    +     * Required. A list of configurations for the voices of the speakers. Exactly
    +     * two speaker voice configurations must be provided.
    +     * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getSpeakerVoiceConfigsBuilderList() { + return getSpeakerVoiceConfigsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder> + getSpeakerVoiceConfigsFieldBuilder() { + if (speakerVoiceConfigsBuilder_ == null) { + speakerVoiceConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder>( + speakerVoiceConfigs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + speakerVoiceConfigs_ = null; + } + return speakerVoiceConfigsBuilder_; + } + + @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.texttospeech.v1beta1.MultiSpeakerVoiceConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) + private static final com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig(); + } + + public static com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiSpeakerVoiceConfig 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.texttospeech.v1beta1.MultiSpeakerVoiceConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfigOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfigOrBuilder.java new file mode 100644 index 000000000000..925ebd278a49 --- /dev/null +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerVoiceConfigOrBuilder.java @@ -0,0 +1,99 @@ +/* + * 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/texttospeech/v1beta1/cloud_tts.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.texttospeech.v1beta1; + +public interface MultiSpeakerVoiceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getSpeakerVoiceConfigsList(); + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice getSpeakerVoiceConfigs(int index); + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getSpeakerVoiceConfigsCount(); + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getSpeakerVoiceConfigsOrBuilderList(); + + /** + * + * + *
    +   * Required. A list of configurations for the voices of the speakers. Exactly
    +   * two speaker voice configurations must be provided.
    +   * 
    + * + * + * repeated .google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice speaker_voice_configs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder + getSpeakerVoiceConfigsOrBuilder(int index); +} diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoice.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoice.java new file mode 100644 index 000000000000..032c59a2f5e2 --- /dev/null +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoice.java @@ -0,0 +1,854 @@ +/* + * 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/texttospeech/v1beta1/cloud_tts.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.texttospeech.v1beta1; + +/** + * + * + *
    + * Configuration for a single speaker in a Gemini TTS multi-speaker setup.
    + * Enables dialogue between two speakers.
    + * 
    + * + * Protobuf type {@code google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice} + */ +public final class MultispeakerPrebuiltVoice extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) + MultispeakerPrebuiltVoiceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use MultispeakerPrebuiltVoice.newBuilder() to construct. + private MultispeakerPrebuiltVoice(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultispeakerPrebuiltVoice() { + speakerAlias_ = ""; + speakerId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultispeakerPrebuiltVoice(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.class, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder.class); + } + + public static final int SPEAKER_ALIAS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object speakerAlias_ = ""; + + /** + * + * + *
    +   * Required. The speaker alias of the voice. This is the user-chosen speaker
    +   * name that is used in the multispeaker text input, such as "Speaker1".
    +   * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerAlias. + */ + @java.lang.Override + public java.lang.String getSpeakerAlias() { + java.lang.Object ref = speakerAlias_; + 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(); + speakerAlias_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The speaker alias of the voice. This is the user-chosen speaker
    +   * name that is used in the multispeaker text input, such as "Speaker1".
    +   * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerAlias. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSpeakerAliasBytes() { + java.lang.Object ref = speakerAlias_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + speakerAlias_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SPEAKER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object speakerId_ = ""; + + /** + * + * + *
    +   * Required. The speaker ID of the voice. See
    +   * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +   * for available values.
    +   * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerId. + */ + @java.lang.Override + public java.lang.String getSpeakerId() { + java.lang.Object ref = speakerId_; + 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(); + speakerId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The speaker ID of the voice. See
    +   * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +   * for available values.
    +   * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSpeakerIdBytes() { + java.lang.Object ref = speakerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + speakerId_ = 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(speakerAlias_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, speakerAlias_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(speakerId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, speakerId_); + } + 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(speakerAlias_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, speakerAlias_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(speakerId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, speakerId_); + } + 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice)) { + return super.equals(obj); + } + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice other = + (com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) obj; + + if (!getSpeakerAlias().equals(other.getSpeakerAlias())) return false; + if (!getSpeakerId().equals(other.getSpeakerId())) 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) + SPEAKER_ALIAS_FIELD_NUMBER; + hash = (53 * hash) + getSpeakerAlias().hashCode(); + hash = (37 * hash) + SPEAKER_ID_FIELD_NUMBER; + hash = (53 * hash) + getSpeakerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice 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 a single speaker in a Gemini TTS multi-speaker setup.
    +   * Enables dialogue between two speakers.
    +   * 
    + * + * Protobuf type {@code google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.class, + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.Builder.class); + } + + // Construct using com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + speakerAlias_ = ""; + speakerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.texttospeech.v1beta1.TextToSpeechProto + .internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor; + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice + getDefaultInstanceForType() { + return com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice build() { + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice buildPartial() { + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice result = + new com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.speakerAlias_ = speakerAlias_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.speakerId_ = speakerId_; + } + } + + @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.texttospeech.v1beta1.MultispeakerPrebuiltVoice) { + return mergeFrom((com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice other) { + if (other + == com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice.getDefaultInstance()) + return this; + if (!other.getSpeakerAlias().isEmpty()) { + speakerAlias_ = other.speakerAlias_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSpeakerId().isEmpty()) { + speakerId_ = other.speakerId_; + bitField0_ |= 0x00000002; + 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: + { + speakerAlias_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + speakerId_ = input.readStringRequireUtf8(); + 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 java.lang.Object speakerAlias_ = ""; + + /** + * + * + *
    +     * Required. The speaker alias of the voice. This is the user-chosen speaker
    +     * name that is used in the multispeaker text input, such as "Speaker1".
    +     * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerAlias. + */ + public java.lang.String getSpeakerAlias() { + java.lang.Object ref = speakerAlias_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + speakerAlias_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The speaker alias of the voice. This is the user-chosen speaker
    +     * name that is used in the multispeaker text input, such as "Speaker1".
    +     * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerAlias. + */ + public com.google.protobuf.ByteString getSpeakerAliasBytes() { + java.lang.Object ref = speakerAlias_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + speakerAlias_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The speaker alias of the voice. This is the user-chosen speaker
    +     * name that is used in the multispeaker text input, such as "Speaker1".
    +     * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The speakerAlias to set. + * @return This builder for chaining. + */ + public Builder setSpeakerAlias(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + speakerAlias_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The speaker alias of the voice. This is the user-chosen speaker
    +     * name that is used in the multispeaker text input, such as "Speaker1".
    +     * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSpeakerAlias() { + speakerAlias_ = getDefaultInstance().getSpeakerAlias(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The speaker alias of the voice. This is the user-chosen speaker
    +     * name that is used in the multispeaker text input, such as "Speaker1".
    +     * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for speakerAlias to set. + * @return This builder for chaining. + */ + public Builder setSpeakerAliasBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + speakerAlias_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object speakerId_ = ""; + + /** + * + * + *
    +     * Required. The speaker ID of the voice. See
    +     * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +     * for available values.
    +     * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerId. + */ + public java.lang.String getSpeakerId() { + java.lang.Object ref = speakerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + speakerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The speaker ID of the voice. See
    +     * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +     * for available values.
    +     * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerId. + */ + public com.google.protobuf.ByteString getSpeakerIdBytes() { + java.lang.Object ref = speakerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + speakerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The speaker ID of the voice. See
    +     * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +     * for available values.
    +     * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The speakerId to set. + * @return This builder for chaining. + */ + public Builder setSpeakerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + speakerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The speaker ID of the voice. See
    +     * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +     * for available values.
    +     * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSpeakerId() { + speakerId_ = getDefaultInstance().getSpeakerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The speaker ID of the voice. See
    +     * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +     * for available values.
    +     * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for speakerId to set. + * @return This builder for chaining. + */ + public Builder setSpeakerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + speakerId_ = value; + bitField0_ |= 0x00000002; + 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice) + } + + // @@protoc_insertion_point(class_scope:google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) + private static final com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice(); + } + + public static com.google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultispeakerPrebuiltVoice 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.texttospeech.v1beta1.MultispeakerPrebuiltVoice + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoiceOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoiceOrBuilder.java new file mode 100644 index 000000000000..4f538c56de2a --- /dev/null +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultispeakerPrebuiltVoiceOrBuilder.java @@ -0,0 +1,84 @@ +/* + * 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/texttospeech/v1beta1/cloud_tts.proto + +// Protobuf Java Version: 3.25.8 +package com.google.cloud.texttospeech.v1beta1; + +public interface MultispeakerPrebuiltVoiceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoice) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The speaker alias of the voice. This is the user-chosen speaker
    +   * name that is used in the multispeaker text input, such as "Speaker1".
    +   * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerAlias. + */ + java.lang.String getSpeakerAlias(); + + /** + * + * + *
    +   * Required. The speaker alias of the voice. This is the user-chosen speaker
    +   * name that is used in the multispeaker text input, such as "Speaker1".
    +   * 
    + * + * string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerAlias. + */ + com.google.protobuf.ByteString getSpeakerAliasBytes(); + + /** + * + * + *
    +   * Required. The speaker ID of the voice. See
    +   * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +   * for available values.
    +   * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The speakerId. + */ + java.lang.String getSpeakerId(); + + /** + * + * + *
    +   * Required. The speaker ID of the voice. See
    +   * https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
    +   * for available values.
    +   * 
    + * + * string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for speakerId. + */ + com.google.protobuf.ByteString getSpeakerIdBytes(); +} diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInput.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInput.java index 1de63ec338c2..db71ee59b1a0 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInput.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInput.java @@ -76,6 +76,7 @@ public enum InputSourceCase com.google.protobuf.AbstractMessage.InternalOneOfEnum { TEXT(1), MARKUP(5), + MULTI_SPEAKER_MARKUP(7), INPUTSOURCE_NOT_SET(0); private final int value; @@ -99,6 +100,8 @@ public static InputSourceCase forNumber(int value) { return TEXT; case 5: return MARKUP; + case 7: + return MULTI_SPEAKER_MARKUP; case 0: return INPUTSOURCE_NOT_SET; default: @@ -270,6 +273,64 @@ public com.google.protobuf.ByteString getMarkupBytes() { } } + public static final int MULTI_SPEAKER_MARKUP_FIELD_NUMBER = 7; + + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return Whether the multiSpeakerMarkup field is set. + */ + @java.lang.Override + public boolean hasMultiSpeakerMarkup() { + return inputSourceCase_ == 7; + } + + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return The multiSpeakerMarkup. + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup getMultiSpeakerMarkup() { + if (inputSourceCase_ == 7) { + return (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_; + } + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } + + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder + getMultiSpeakerMarkupOrBuilder() { + if (inputSourceCase_ == 7) { + return (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_; + } + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } + public static final int PROMPT_FIELD_NUMBER = 6; @SuppressWarnings("serial") @@ -362,6 +423,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, prompt_); } + if (inputSourceCase_ == 7) { + output.writeMessage( + 7, (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_); + } getUnknownFields().writeTo(output); } @@ -380,6 +445,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, prompt_); } + if (inputSourceCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -408,6 +478,9 @@ public boolean equals(final java.lang.Object obj) { case 5: if (!getMarkup().equals(other.getMarkup())) return false; break; + case 7: + if (!getMultiSpeakerMarkup().equals(other.getMultiSpeakerMarkup())) return false; + break; case 0: default: } @@ -435,6 +508,10 @@ public int hashCode() { hash = (37 * hash) + MARKUP_FIELD_NUMBER; hash = (53 * hash) + getMarkup().hashCode(); break; + case 7: + hash = (37 * hash) + MULTI_SPEAKER_MARKUP_FIELD_NUMBER; + hash = (53 * hash) + getMultiSpeakerMarkup().hashCode(); + break; case 0: default: } @@ -579,6 +656,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + if (multiSpeakerMarkupBuilder_ != null) { + multiSpeakerMarkupBuilder_.clear(); + } prompt_ = ""; inputSourceCase_ = 0; inputSource_ = null; @@ -622,7 +702,7 @@ private void buildPartial0( com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.prompt_ = prompt_; to_bitField0_ |= 0x00000001; } @@ -633,6 +713,9 @@ private void buildPartialOneofs( com.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput result) { result.inputSourceCase_ = inputSourceCase_; result.inputSource_ = this.inputSource_; + if (inputSourceCase_ == 7 && multiSpeakerMarkupBuilder_ != null) { + result.inputSource_ = multiSpeakerMarkupBuilder_.build(); + } } @java.lang.Override @@ -684,7 +767,7 @@ public Builder mergeFrom(com.google.cloud.texttospeech.v1beta1.StreamingSynthesi return this; if (other.hasPrompt()) { prompt_ = other.prompt_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } switch (other.getInputSourceCase()) { @@ -702,6 +785,11 @@ public Builder mergeFrom(com.google.cloud.texttospeech.v1beta1.StreamingSynthesi onChanged(); break; } + case MULTI_SPEAKER_MARKUP: + { + mergeMultiSpeakerMarkup(other.getMultiSpeakerMarkup()); + break; + } case INPUTSOURCE_NOT_SET: { break; @@ -750,9 +838,16 @@ public Builder mergeFrom( case 50: { prompt_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 50 + case 58: + { + input.readMessage( + getMultiSpeakerMarkupFieldBuilder().getBuilder(), extensionRegistry); + inputSourceCase_ = 7; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1082,6 +1177,239 @@ public Builder setMarkupBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder> + multiSpeakerMarkupBuilder_; + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return Whether the multiSpeakerMarkup field is set. + */ + @java.lang.Override + public boolean hasMultiSpeakerMarkup() { + return inputSourceCase_ == 7; + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return The multiSpeakerMarkup. + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup getMultiSpeakerMarkup() { + if (multiSpeakerMarkupBuilder_ == null) { + if (inputSourceCase_ == 7) { + return (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_; + } + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } else { + if (inputSourceCase_ == 7) { + return multiSpeakerMarkupBuilder_.getMessage(); + } + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + public Builder setMultiSpeakerMarkup( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup value) { + if (multiSpeakerMarkupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputSource_ = value; + onChanged(); + } else { + multiSpeakerMarkupBuilder_.setMessage(value); + } + inputSourceCase_ = 7; + return this; + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + public Builder setMultiSpeakerMarkup( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder builderForValue) { + if (multiSpeakerMarkupBuilder_ == null) { + inputSource_ = builderForValue.build(); + onChanged(); + } else { + multiSpeakerMarkupBuilder_.setMessage(builderForValue.build()); + } + inputSourceCase_ = 7; + return this; + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + public Builder mergeMultiSpeakerMarkup( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup value) { + if (multiSpeakerMarkupBuilder_ == null) { + if (inputSourceCase_ == 7 + && inputSource_ + != com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance()) { + inputSource_ = + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.newBuilder( + (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_) + .mergeFrom(value) + .buildPartial(); + } else { + inputSource_ = value; + } + onChanged(); + } else { + if (inputSourceCase_ == 7) { + multiSpeakerMarkupBuilder_.mergeFrom(value); + } else { + multiSpeakerMarkupBuilder_.setMessage(value); + } + } + inputSourceCase_ = 7; + return this; + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + public Builder clearMultiSpeakerMarkup() { + if (multiSpeakerMarkupBuilder_ == null) { + if (inputSourceCase_ == 7) { + inputSourceCase_ = 0; + inputSource_ = null; + onChanged(); + } + } else { + if (inputSourceCase_ == 7) { + inputSourceCase_ = 0; + inputSource_ = null; + } + multiSpeakerMarkupBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder + getMultiSpeakerMarkupBuilder() { + return getMultiSpeakerMarkupFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder + getMultiSpeakerMarkupOrBuilder() { + if ((inputSourceCase_ == 7) && (multiSpeakerMarkupBuilder_ != null)) { + return multiSpeakerMarkupBuilder_.getMessageOrBuilder(); + } else { + if (inputSourceCase_ == 7) { + return (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_; + } + return com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } + } + + /** + * + * + *
    +     * Multi-speaker markup for Gemini TTS. This field may not
    +     * be used with any other voices.
    +     * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder> + getMultiSpeakerMarkupFieldBuilder() { + if (multiSpeakerMarkupBuilder_ == null) { + if (!(inputSourceCase_ == 7)) { + inputSource_ = + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.getDefaultInstance(); + } + multiSpeakerMarkupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder>( + (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup) inputSource_, + getParentForChildren(), + isClean()); + inputSource_ = null; + } + inputSourceCase_ = 7; + onChanged(); + return multiSpeakerMarkupBuilder_; + } + private java.lang.Object prompt_ = ""; /** @@ -1096,7 +1424,7 @@ public Builder setMarkupBytes(com.google.protobuf.ByteString value) { * @return Whether the prompt field is set. */ public boolean hasPrompt() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -1162,7 +1490,7 @@ public Builder setPrompt(java.lang.String value) { throw new NullPointerException(); } prompt_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1180,7 +1508,7 @@ public Builder setPrompt(java.lang.String value) { */ public Builder clearPrompt() { prompt_ = getDefaultInstance().getPrompt(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1203,7 +1531,7 @@ public Builder setPromptBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); prompt_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInputOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInputOrBuilder.java index 793efa2ed3b8..d5e169b23f1d 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInputOrBuilder.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingSynthesisInputOrBuilder.java @@ -111,6 +111,47 @@ public interface StreamingSynthesisInputOrBuilder */ com.google.protobuf.ByteString getMarkupBytes(); + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return Whether the multiSpeakerMarkup field is set. + */ + boolean hasMultiSpeakerMarkup(); + + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + * + * @return The multiSpeakerMarkup. + */ + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup getMultiSpeakerMarkup(); + + /** + * + * + *
    +   * Multi-speaker markup for Gemini TTS. This field may not
    +   * be used with any other voices.
    +   * 
    + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup multi_speaker_markup = 7; + */ + com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupOrBuilder + getMultiSpeakerMarkupOrBuilder(); + /** * * diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java index 6d27d21eecbe..0ed6276b1e21 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java @@ -64,6 +64,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerMarkup_Turn_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerMarkup_Turn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_texttospeech_v1beta1_SynthesisInput_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -177,31 +185,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "xttospeech.v1beta1.MultiSpeakerMarkup.TurnB\003\340A\002\032/\n" + "\004Turn\022\024\n" + "\007speaker\030\001 \001(\tB\003\340A\002\022\021\n" - + "\004text\030\002 \001(\tB\003\340A\002\"\246\002\n" + + "\004text\030\002 \001(\tB\003\340A\002\"P\n" + + "\031MultispeakerPrebuiltVoice\022\032\n\r" + + "speaker_alias\030\001 \001(\tB\003\340A\002\022\027\n\n" + + "speaker_id\030\002 \001(\tB\003\340A\002\"{\n" + + "\027MultiSpeakerVoiceConfig\022`\n" + + "\025speaker_voice_configs\030\002 \003(\0132<.g" + + "oogle.cloud.texttospeech.v1beta1.MultispeakerPrebuiltVoiceB\003\340A\002\"\246\002\n" + "\016SynthesisInput\022\016\n" + "\004text\030\001 \001(\tH\000\022\020\n" + "\006markup\030\005 \001(\tH\000\022\016\n" + "\004ssml\030\002 \001(\tH\000\022U\n" - + "\024multi_speaker_markup\030\004 \001(\01325.go" - + "ogle.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\000\022\023\n" + + "\024multi_speaker_markup\030\004 \001" + + "(\01325.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\000\022\023\n" + "\006prompt\030\006 \001(\tH\001\210\001\001\022[\n" - + "\025custom_pronunciations\030\003 \001(\01327.google.cloud." - + "texttospeech.v1beta1.CustomPronunciationsB\003\340A\001B\016\n" + + "\025custom_pronunciations\030\003 \001(\01327.google" + + ".cloud.texttospeech.v1beta1.CustomPronunciationsB\003\340A\001B\016\n" + "\014input_sourceB\t\n" - + "\007_prompt\"\275\002\n" + + "\007_prompt\"\242\003\n" + "\024VoiceSelectionParams\022\032\n\r" + "language_code\030\001 \001(\tB\003\340A\002\022\014\n" + "\004name\030\002 \001(\t\022G\n" - + "\013ssml_gender\030\003 \001(" - + "\01622.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\022J\n" - + "\014custom_voice\030\004 \001(\01324.go" - + "ogle.cloud.texttospeech.v1beta1.CustomVoiceParams\022M\n" - + "\013voice_clone\030\005 \001(\01323.google." - + "cloud.texttospeech.v1beta1.VoiceCloneParamsB\003\340A\001\022\027\n\n" - + "model_name\030\006 \001(\tB\003\340A\001\"\366\001\n" + + "\013ssml_gender\030\003" + + " \001(\01622.google.cloud.texttospeech.v1beta1.SsmlVoiceGender\022J\n" + + "\014custom_voice\030\004 \001" + + "(\01324.google.cloud.texttospeech.v1beta1.CustomVoiceParams\022M\n" + + "\013voice_clone\030\005 \001(\01323." + + "google.cloud.texttospeech.v1beta1.VoiceCloneParamsB\003\340A\001\022\027\n\n" + + "model_name\030\006 \001(\tB\003\340A\001\022c\n" + + "\032multi_speaker_voice_config\030\007 \001(\0132:.g" + + "oogle.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigB\003\340A\001\"\366\001\n" + "\013AudioConfig\022M\n" - + "\016audio_encoding\030\001 \001(\01620.goog" - + "le.cloud.texttospeech.v1beta1.AudioEncodingB\003\340A\002\022\035\n\r" + + "\016audio_encoding\030\001" + + " \001(\01620.google.cloud.texttospeech.v1beta1.AudioEncodingB\003\340A\002\022\035\n\r" + "speaking_rate\030\002 \001(\001B\006\340A\004\340A\001\022\025\n" + "\005pitch\030\003 \001(\001B\006\340A\004\340A\001\022\036\n" + "\016volume_gain_db\030\004 \001(\001B\006\340A\004\340A\001\022\036\n" @@ -210,8 +226,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021CustomVoiceParams\0222\n" + "\005model\030\001 \001(\tB#\340A\002\372A\035\n" + "\033automl.googleapis.com/Model\022a\n" - + "\016reported_usage\030\003 \001(\0162B.google.cloud.text" - + "tospeech.v1beta1.CustomVoiceParams.ReportedUsageB\005\030\001\340A\001\"J\n\r" + + "\016reported_usage\030\003 \001(\0162B.google.cloud.texttospeech.v1b" + + "eta1.CustomVoiceParams.ReportedUsageB\005\030\001\340A\001\"J\n\r" + "ReportedUsage\022\036\n" + "\032REPORTED_USAGE_UNSPECIFIED\020\000\022\014\n" + "\010REALTIME\020\001\022\013\n" @@ -221,26 +237,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030SynthesizeSpeechResponse\022\025\n\r" + "audio_content\030\001 \001(\014\022@\n\n" + "timepoints\030\002 \003(\0132,.google.cloud.texttospeech.v1beta1.Timepoint\022D\n" - + "\014audio_config\030\004 " - + "\001(\0132..google.cloud.texttospeech.v1beta1.AudioConfig\"4\n" + + "\014audio_config\030\004 \001(\0132..google" + + ".cloud.texttospeech.v1beta1.AudioConfig\"4\n" + "\tTimepoint\022\021\n" + "\tmark_name\030\004 \001(\t\022\024\n" + "\014time_seconds\030\003 \001(\001\"\244\001\n" + "\024StreamingAudioConfig\022M\n" - + "\016audio_encoding\030\001 \001(\01620.goo" - + "gle.cloud.texttospeech.v1beta1.AudioEncodingB\003\340A\002\022\036\n" + + "\016audio_encoding\030\001" + + " \001(\01620.google.cloud.texttospeech.v1beta1.AudioEncodingB\003\340A\002\022\036\n" + "\021sample_rate_hertz\030\002 \001(\005B\003\340A\001\022\035\n\r" + "speaking_rate\030\003 \001(\001B\006\340A\004\340A\001\"\243\002\n" + "\031StreamingSynthesizeConfig\022K\n" - + "\005voice\030\001 \001(\01327." - + "google.cloud.texttospeech.v1beta1.VoiceSelectionParamsB\003\340A\002\022\\\n" - + "\026streaming_audio_config\030\004" - + " \001(\01327.google.cloud.texttospeech.v1beta1.StreamingAudioConfigB\003\340A\001\022[\n" - + "\025custom_pronunciations\030\005 \001(\01327.google.cloud." - + "texttospeech.v1beta1.CustomPronunciationsB\003\340A\001\"k\n" + + "\005voice\030\001 \001(\01327.google.cloud" + + ".texttospeech.v1beta1.VoiceSelectionParamsB\003\340A\002\022\\\n" + + "\026streaming_audio_config\030\004 \001(\0132" + + "7.google.cloud.texttospeech.v1beta1.StreamingAudioConfigB\003\340A\001\022[\n" + + "\025custom_pronunciations\030\005" + + " \001(\01327.google.cloud.texttospeech.v1beta1.CustomPronunciationsB\003\340A\001\"\302\001\n" + "\027StreamingSynthesisInput\022\016\n" + "\004text\030\001 \001(\tH\000\022\020\n" - + "\006markup\030\005 \001(\tH\000\022\023\n" + + "\006markup\030\005 \001(\tH\000\022U\n" + + "\024multi_speaker_markup\030\007" + + " \001(\01325.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkupH\000\022\023\n" + "\006prompt\030\006 \001(\tH\001\210\001\001B\016\n" + "\014input_sourceB\t\n" + "\007_prompt\"\330\001\n" @@ -268,24 +286,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003PCM\020\007\022\007\n" + "\003M4A\020\0102\357\004\n" + "\014TextToSpeech\022\242\001\n\n" - + "ListVoices\0224.google.cloud.texttospeech.v1beta1.ListVoicesRequest\0325.google.clou" - + "d.texttospeech.v1beta1.ListVoicesResponse\"\'\332A\r" + + "ListVoices\0224.google.cloud.texttospeech.v1b" + + "eta1.ListVoicesRequest\0325.google.cloud.te" + + "xttospeech.v1beta1.ListVoicesResponse\"\'\332A\r" + "language_code\202\323\344\223\002\021\022\017/v1beta1/voices\022\313\001\n" - + "\020SynthesizeSpeech\022:.google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequ" - + "est\032;.google.cloud.texttospeech.v1beta1." - + "SynthesizeSpeechResponse\">\332A\030input,voice" - + ",audio_config\202\323\344\223\002\035\"\030/v1beta1/text:synthesize:\001*\022\232\001\n" - + "\023StreamingSynthesize\022=.google.cloud.texttospeech.v1beta1.StreamingSy" - + "nthesizeRequest\032>.google.cloud.texttospeech.v1beta1.StreamingSynthesizeResponse\"" - + "\000(\0010\001\032O\312A\033texttospeech.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-platformB\325\002\n" - + "%com.google.cloud.texttospeech.v1beta1B\021TextToSpeechProtoP\001ZIcloud.goo" - + "gle.com/go/texttospeech/apiv1beta1/textt" - + "ospeechpb;texttospeechpb\242\002\004CTTS\252\002!Google" - + ".Cloud.TextToSpeech.V1Beta1\312\002!Google\\Clo" - + "ud\\TextToSpeech\\V1beta1\352\002$Google::Cloud::TextToSpeech::V1beta1\352AU\n" - + "\033automl.googleapis.com/Model\0226projects/{project}/locat" - + "ions/{location}/models/{model}b\006proto3" + + "\020SynthesizeSpeech\022:.google.cloud.textt" + + "ospeech.v1beta1.SynthesizeSpeechRequest\032;.google.cloud.texttospeech.v1beta1.Synt" + + "hesizeSpeechResponse\">\332A\030input,voice,aud" + + "io_config\202\323\344\223\002\035\"\030/v1beta1/text:synthesize:\001*\022\232\001\n" + + "\023StreamingSynthesize\022=.google.cloud.texttospeech.v1beta1.StreamingSynthe" + + "sizeRequest\032>.google.cloud.texttospeech." + + "v1beta1.StreamingSynthesizeResponse\"\000(\0010" + + "\001\032O\312A\033texttospeech.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platformB\325\002\n" + + "%com.google.cloud.texttospeech.v1beta1B\021TextToSpeechProtoP\001ZIcloud.google." + + "com/go/texttospeech/apiv1beta1/texttospe" + + "echpb;texttospeechpb\242\002\004CTTS\252\002!Google.Clo" + + "ud.TextToSpeech.V1Beta1\312\002!Google\\Cloud\\T" + + "extToSpeech\\V1beta1\352\002$Google::Cloud::TextToSpeech::V1beta1\352AU\n" + + "\033automl.googleapis.com/Model\0226projects/{project}/locations" + + "/{location}/models/{model}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -370,8 +390,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Speaker", "Text", }); - internal_static_google_cloud_texttospeech_v1beta1_SynthesisInput_descriptor = + internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_texttospeech_v1beta1_MultispeakerPrebuiltVoice_descriptor, + new java.lang.String[] { + "SpeakerAlias", "SpeakerId", + }); + internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_texttospeech_v1beta1_MultiSpeakerVoiceConfig_descriptor, + new java.lang.String[] { + "SpeakerVoiceConfigs", + }); + internal_static_google_cloud_texttospeech_v1beta1_SynthesisInput_descriptor = + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_texttospeech_v1beta1_SynthesisInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_SynthesisInput_descriptor, @@ -385,15 +421,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InputSource", }); internal_static_google_cloud_texttospeech_v1beta1_VoiceSelectionParams_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(11); internal_static_google_cloud_texttospeech_v1beta1_VoiceSelectionParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_VoiceSelectionParams_descriptor, new java.lang.String[] { - "LanguageCode", "Name", "SsmlGender", "CustomVoice", "VoiceClone", "ModelName", + "LanguageCode", + "Name", + "SsmlGender", + "CustomVoice", + "VoiceClone", + "ModelName", + "MultiSpeakerVoiceConfig", }); internal_static_google_cloud_texttospeech_v1beta1_AudioConfig_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_texttospeech_v1beta1_AudioConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_AudioConfig_descriptor, @@ -406,7 +448,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EffectsProfileId", }); internal_static_google_cloud_texttospeech_v1beta1_CustomVoiceParams_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_texttospeech_v1beta1_CustomVoiceParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_CustomVoiceParams_descriptor, @@ -414,7 +456,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Model", "ReportedUsage", }); internal_static_google_cloud_texttospeech_v1beta1_VoiceCloneParams_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_texttospeech_v1beta1_VoiceCloneParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_VoiceCloneParams_descriptor, @@ -422,7 +464,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VoiceCloningKey", }); internal_static_google_cloud_texttospeech_v1beta1_SynthesizeSpeechResponse_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_texttospeech_v1beta1_SynthesizeSpeechResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_SynthesizeSpeechResponse_descriptor, @@ -430,7 +472,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AudioContent", "Timepoints", "AudioConfig", }); internal_static_google_cloud_texttospeech_v1beta1_Timepoint_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_texttospeech_v1beta1_Timepoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_Timepoint_descriptor, @@ -438,7 +480,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MarkName", "TimeSeconds", }); internal_static_google_cloud_texttospeech_v1beta1_StreamingAudioConfig_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_texttospeech_v1beta1_StreamingAudioConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_StreamingAudioConfig_descriptor, @@ -446,7 +488,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AudioEncoding", "SampleRateHertz", "SpeakingRate", }); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeConfig_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeConfig_descriptor, @@ -454,15 +496,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Voice", "StreamingAudioConfig", "CustomPronunciations", }); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesisInput_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesisInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesisInput_descriptor, new java.lang.String[] { - "Text", "Markup", "Prompt", "InputSource", + "Text", "Markup", "MultiSpeakerMarkup", "Prompt", "InputSource", }); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeRequest_descriptor, @@ -470,7 +512,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StreamingConfig", "Input", "StreamingRequest", }); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeResponse_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_texttospeech_v1beta1_StreamingSynthesizeResponse_descriptor, diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java index 076cc65b234a..38c84ce70b97 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParams.java @@ -425,6 +425,73 @@ public com.google.protobuf.ByteString getModelNameBytes() { } } + public static final int MULTI_SPEAKER_VOICE_CONFIG_FIELD_NUMBER = 7; + private com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multiSpeakerVoiceConfig_; + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the multiSpeakerVoiceConfig field is set. + */ + @java.lang.Override + public boolean hasMultiSpeakerVoiceConfig() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The multiSpeakerVoiceConfig. + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig + getMultiSpeakerVoiceConfig() { + return multiSpeakerVoiceConfig_ == null + ? com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance() + : multiSpeakerVoiceConfig_; + } + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder + getMultiSpeakerVoiceConfigOrBuilder() { + return multiSpeakerVoiceConfig_ == null + ? com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance() + : multiSpeakerVoiceConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -459,6 +526,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, modelName_); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(7, getMultiSpeakerVoiceConfig()); + } getUnknownFields().writeTo(output); } @@ -488,6 +558,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, modelName_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMultiSpeakerVoiceConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -516,6 +590,10 @@ public boolean equals(final java.lang.Object obj) { if (!getVoiceClone().equals(other.getVoiceClone())) return false; } if (!getModelName().equals(other.getModelName())) return false; + if (hasMultiSpeakerVoiceConfig() != other.hasMultiSpeakerVoiceConfig()) return false; + if (hasMultiSpeakerVoiceConfig()) { + if (!getMultiSpeakerVoiceConfig().equals(other.getMultiSpeakerVoiceConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -543,6 +621,10 @@ public int hashCode() { } hash = (37 * hash) + MODEL_NAME_FIELD_NUMBER; hash = (53 * hash) + getModelName().hashCode(); + if (hasMultiSpeakerVoiceConfig()) { + hash = (37 * hash) + MULTI_SPEAKER_VOICE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getMultiSpeakerVoiceConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -687,6 +769,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCustomVoiceFieldBuilder(); getVoiceCloneFieldBuilder(); + getMultiSpeakerVoiceConfigFieldBuilder(); } } @@ -708,6 +791,11 @@ public Builder clear() { voiceCloneBuilder_ = null; } modelName_ = ""; + multiSpeakerVoiceConfig_ = null; + if (multiSpeakerVoiceConfigBuilder_ != null) { + multiSpeakerVoiceConfigBuilder_.dispose(); + multiSpeakerVoiceConfigBuilder_ = null; + } return this; } @@ -766,6 +854,13 @@ private void buildPartial0(com.google.cloud.texttospeech.v1beta1.VoiceSelectionP if (((from_bitField0_ & 0x00000020) != 0)) { result.modelName_ = modelName_; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.multiSpeakerVoiceConfig_ = + multiSpeakerVoiceConfigBuilder_ == null + ? multiSpeakerVoiceConfig_ + : multiSpeakerVoiceConfigBuilder_.build(); + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -839,6 +934,9 @@ public Builder mergeFrom(com.google.cloud.texttospeech.v1beta1.VoiceSelectionPar bitField0_ |= 0x00000020; onChanged(); } + if (other.hasMultiSpeakerVoiceConfig()) { + mergeMultiSpeakerVoiceConfig(other.getMultiSpeakerVoiceConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -901,6 +999,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 50 + case 58: + { + input.readMessage( + getMultiSpeakerVoiceConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1883,6 +1988,244 @@ public Builder setModelNameBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multiSpeakerVoiceConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder> + multiSpeakerVoiceConfigBuilder_; + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the multiSpeakerVoiceConfig field is set. + */ + public boolean hasMultiSpeakerVoiceConfig() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The multiSpeakerVoiceConfig. + */ + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig + getMultiSpeakerVoiceConfig() { + if (multiSpeakerVoiceConfigBuilder_ == null) { + return multiSpeakerVoiceConfig_ == null + ? com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance() + : multiSpeakerVoiceConfig_; + } else { + return multiSpeakerVoiceConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMultiSpeakerVoiceConfig( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig value) { + if (multiSpeakerVoiceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + multiSpeakerVoiceConfig_ = value; + } else { + multiSpeakerVoiceConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMultiSpeakerVoiceConfig( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder builderForValue) { + if (multiSpeakerVoiceConfigBuilder_ == null) { + multiSpeakerVoiceConfig_ = builderForValue.build(); + } else { + multiSpeakerVoiceConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMultiSpeakerVoiceConfig( + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig value) { + if (multiSpeakerVoiceConfigBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && multiSpeakerVoiceConfig_ != null + && multiSpeakerVoiceConfig_ + != com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig + .getDefaultInstance()) { + getMultiSpeakerVoiceConfigBuilder().mergeFrom(value); + } else { + multiSpeakerVoiceConfig_ = value; + } + } else { + multiSpeakerVoiceConfigBuilder_.mergeFrom(value); + } + if (multiSpeakerVoiceConfig_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMultiSpeakerVoiceConfig() { + bitField0_ = (bitField0_ & ~0x00000040); + multiSpeakerVoiceConfig_ = null; + if (multiSpeakerVoiceConfigBuilder_ != null) { + multiSpeakerVoiceConfigBuilder_.dispose(); + multiSpeakerVoiceConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder + getMultiSpeakerVoiceConfigBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getMultiSpeakerVoiceConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder + getMultiSpeakerVoiceConfigOrBuilder() { + if (multiSpeakerVoiceConfigBuilder_ != null) { + return multiSpeakerVoiceConfigBuilder_.getMessageOrBuilder(); + } else { + return multiSpeakerVoiceConfig_ == null + ? com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.getDefaultInstance() + : multiSpeakerVoiceConfig_; + } + } + + /** + * + * + *
    +     * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +     * setup. Enables the use of two distinct voices in a single synthesis
    +     * request.
    +     * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder> + getMultiSpeakerVoiceConfigFieldBuilder() { + if (multiSpeakerVoiceConfigBuilder_ == null) { + multiSpeakerVoiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig.Builder, + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder>( + getMultiSpeakerVoiceConfig(), getParentForChildren(), isClean()); + multiSpeakerVoiceConfig_ = null; + } + return multiSpeakerVoiceConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParamsOrBuilder.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParamsOrBuilder.java index 52b22d249088..e2215b2c639d 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParamsOrBuilder.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/VoiceSelectionParamsOrBuilder.java @@ -253,4 +253,54 @@ public interface VoiceSelectionParamsOrBuilder * @return The bytes for modelName. */ com.google.protobuf.ByteString getModelNameBytes(); + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the multiSpeakerVoiceConfig field is set. + */ + boolean hasMultiSpeakerVoiceConfig(); + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The multiSpeakerVoiceConfig. + */ + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig getMultiSpeakerVoiceConfig(); + + /** + * + * + *
    +   * Optional. The configuration for a Gemini multi-speaker text-to-speech
    +   * setup. Enables the use of two distinct voices in a single synthesis
    +   * request.
    +   * 
    + * + * + * .google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.texttospeech.v1beta1.MultiSpeakerVoiceConfigOrBuilder + getMultiSpeakerVoiceConfigOrBuilder(); } diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto index d7be79fa4993..5fac6b22f1f0 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto @@ -270,6 +270,28 @@ message MultiSpeakerMarkup { repeated Turn turns = 1 [(google.api.field_behavior) = REQUIRED]; } +// Configuration for a single speaker in a Gemini TTS multi-speaker setup. +// Enables dialogue between two speakers. +message MultispeakerPrebuiltVoice { + // Required. The speaker alias of the voice. This is the user-chosen speaker + // name that is used in the multispeaker text input, such as "Speaker1". + string speaker_alias = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The speaker ID of the voice. See + // https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options + // for available values. + string speaker_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Configuration for a multi-speaker text-to-speech setup. Enables the use of up +// to two distinct voices in a single synthesis request. +message MultiSpeakerVoiceConfig { + // Required. A list of configurations for the voices of the speakers. Exactly + // two speaker voice configurations must be provided. + repeated MultispeakerPrebuiltVoice speaker_voice_configs = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Contains text input to be synthesized. Either `text` or `ssml` must be // supplied. Supplying both or neither returns // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The @@ -356,6 +378,12 @@ message VoiceSelectionParams { // Optional. The name of the model. If set, the service will choose the model // matching the specified configuration. string model_name = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration for a Gemini multi-speaker text-to-speech + // setup. Enables the use of two distinct voices in a single synthesis + // request. + MultiSpeakerVoiceConfig multi_speaker_voice_config = 7 + [(google.api.field_behavior) = OPTIONAL]; } // Description of audio data to be synthesized. @@ -530,6 +558,10 @@ message StreamingSynthesisInput { // Markup for HD voices specifically. This field may not be used with any // other voices. string markup = 5; + + // Multi-speaker markup for Gemini TTS. This field may not + // be used with any other voices. + MultiSpeakerMarkup multi_speaker_markup = 7; } // This is system instruction supported only for controllable voice models. diff --git a/java-tpu/README.md b/java-tpu/README.md index c8e98b7abd5b..6d431d2bddb1 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tpu - 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-tpu:2.75.0' +implementation 'com.google.cloud:google-cloud-tpu:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "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-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/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-trace/README.md b/java-trace/README.md index 1884d669700c..9298ce40b260 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-trace - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-trace:2.74.0' +implementation 'com.google.cloud:google-cloud-trace:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.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-trace.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.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-translate/README.md b/java-translate/README.md index 0bc23859431d..5f6b94c5ea09 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-translate - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-translate:2.74.0' +implementation 'com.google.cloud:google-cloud-translate:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.75.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.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.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-valkey/README.md b/java-valkey/README.md index 1409e8fd76fa..fee7979b623f 100644 --- a/java-valkey/README.md +++ b/java-valkey/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-valkey - 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-valkey:0.20.0' +implementation 'com.google.cloud:google-cloud-valkey:0.21.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.20.0" +libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.21.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.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/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-video-intelligence/README.md b/java-video-intelligence/README.md index f55cda473c27..1a9db81043a1 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 2.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-intelligence:2.73.0' +implementation 'com.google.cloud:google-cloud-video-intelligence:2.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.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-video-intelligence.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.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-video-live-stream/README.md b/java-video-live-stream/README.md index 53031a92473e..1c9da4d168a4 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-live-stream:0.76.0' +implementation 'com.google.cloud:google-cloud-live-stream:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "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-live-stream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/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-stitcher/README.md b/java-video-stitcher/README.md index 4f2a184e1c34..d75cf8a27ba2 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-stitcher:0.74.0' +implementation 'com.google.cloud:google-cloud-video-stitcher:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "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-video-stitcher.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/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-video-transcoder/README.md b/java-video-transcoder/README.md index c892640a4c66..b0014e49d96c 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.73.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "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-video-transcoder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/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-vision/README.md b/java-vision/README.md index 8299c747d3c7..e3b0a7e82247 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vision - 3.72.0 + 3.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vision:3.72.0' +implementation 'com.google.cloud:google-cloud-vision:3.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.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-vision.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.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-visionai/README.md b/java-visionai/README.md index 6e8fd5632cb4..282433279a87 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-visionai - 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-visionai:0.31.0' +implementation 'com.google.cloud:google-cloud-visionai:0.32.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.31.0" +libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "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-visionai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.31.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/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-vmmigration/README.md b/java-vmmigration/README.md index 66f15060465d..ab615ad5d48c 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmmigration - 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-vmmigration:1.74.0' +implementation 'com.google.cloud:google-cloud-vmmigration:1.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "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-vmmigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/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-vmwareengine/README.md b/java-vmwareengine/README.md index 11aad06d9290..d70fb6f925a4 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmwareengine - 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-vmwareengine:0.68.0' +implementation 'com.google.cloud:google-cloud-vmwareengine:0.69.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.68.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.69.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.68.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/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-vpcaccess/README.md b/java-vpcaccess/README.md index 5595da6a81ee..dd05f029a95e 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vpcaccess - 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-vpcaccess:2.75.0' +implementation 'com.google.cloud:google-cloud-vpcaccess:2.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "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-vpcaccess.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/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-webrisk/README.md b/java-webrisk/README.md index d06051a0a9cf..ede48b277dd0 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-webrisk - 2.73.0 + 2.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-webrisk:2.73.0' +implementation 'com.google.cloud:google-cloud-webrisk:2.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.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-webrisk.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.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-websecurityscanner/README.md b/java-websecurityscanner/README.md index f39f68d889b6..98703edfee62 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-websecurityscanner - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-websecurityscanner:2.74.0' +implementation 'com.google.cloud:google-cloud-websecurityscanner:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.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-websecurityscanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.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-workflow-executions/README.md b/java-workflow-executions/README.md index 6842c15f386e..857f84e76c99 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -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.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.74.0' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.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-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.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-workflows/README.md b/java-workflows/README.md index 7b4886bd18e0..8b5044802513 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflows - 2.74.0 + 2.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflows:2.74.0' +implementation 'com.google.cloud:google-cloud-workflows:2.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.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-workflows.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.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-workspaceevents/README.md b/java-workspaceevents/README.md index cf156145d759..d2ff136ac372 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workspaceevents - 0.38.0 + 0.39.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workspaceevents:0.38.0' +implementation 'com.google.cloud:google-cloud-workspaceevents:0.39.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.39.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.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.39.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 9f4fa3ee24f3..cd1ef0655651 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workstations - 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-workstations:0.62.0' +implementation 'com.google.cloud:google-cloud-workstations:0.63.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.62.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.63.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.62.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/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