bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=418
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -5016,7 +5016,7 @@ public long getCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=418
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5681,7 +5681,7 @@ public Builder clearCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=418
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5699,7 +5699,7 @@ public boolean getInstallGpuDrivers() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=418
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5721,7 +5721,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=418
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5948,7 +5948,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5963,7 +5963,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5978,7 +5978,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -5994,7 +5994,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -6348,7 +6348,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6365,7 +6365,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6382,7 +6382,7 @@ public int getAllowedMachineTypesCount() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -6400,7 +6400,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7498,7 +7498,7 @@ private void ensureAllowedMachineTypesIsMutable() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7517,7 +7517,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7535,7 +7535,7 @@ public int getAllowedMachineTypesCount() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -7554,7 +7554,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7573,7 +7573,7 @@ public com.google.protobuf.ByteString getAllowedMachineTypesBytes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param index The index to set the value at.
* @param value The allowedMachineTypes to set.
* @return This builder for chaining.
@@ -7600,7 +7600,7 @@ public Builder setAllowedMachineTypes(int index, java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param value The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7626,7 +7626,7 @@ public Builder addAllowedMachineTypes(java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=434
* @param values The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7649,7 +7649,7 @@ public Builder addAllAllowedMachineTypes(java.lang.Iterablerepeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -13811,7 +13811,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -13828,7 +13828,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -13846,7 +13846,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -13887,7 +13887,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the provisioningModels.
*/
@java.lang.Override
@@ -13910,7 +13910,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return The count of provisioningModels.
*/
@java.lang.Override
@@ -13930,7 +13930,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -13952,7 +13952,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Override
@@ -13972,7 +13972,7 @@ public java.util.Liststring service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return The serviceAccountEmail.
*/
@java.lang.Override
@@ -14024,7 +14024,7 @@ public java.lang.String getServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Override
@@ -15256,7 +15256,7 @@ public Builder clearLocation() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=560
+ * google/cloud/batch/v1alpha/job.proto;l=574
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -15275,7 +15275,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=560
+ * google/cloud/batch/v1alpha/job.proto;l=574
* @return The instance.
*/
@java.lang.Deprecated
@@ -15908,7 +15908,7 @@ private void ensureInstanceTemplatesIsMutable() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -15926,7 +15926,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -15943,7 +15943,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -15961,7 +15961,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -15979,7 +15979,7 @@ public com.google.protobuf.ByteString getInstanceTemplatesBytes(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index to set the value at.
* @param value The instanceTemplates to set.
* @return This builder for chaining.
@@ -16005,7 +16005,7 @@ public Builder setInstanceTemplates(int index, java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param value The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16030,7 +16030,7 @@ public Builder addInstanceTemplates(java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param values The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16052,7 +16052,7 @@ public Builder addAllInstanceTemplates(java.lang.Iterablerepeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16073,7 +16073,7 @@ public Builder clearInstanceTemplates() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param value The bytes of the instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16111,7 +16111,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -16133,7 +16133,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -16152,7 +16152,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -16173,7 +16173,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index to set the value at.
* @param value The provisioningModels to set.
* @return This builder for chaining.
@@ -16201,7 +16201,7 @@ public Builder setProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @param value The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16228,7 +16228,7 @@ public Builder addProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @param values The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16256,7 +16256,7 @@ public Builder addAllProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16278,7 +16278,7 @@ public Builder clearProvisioningModels() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=570
+ * See google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -16297,7 +16297,7 @@ public java.util.Liststring service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -16439,7 +16439,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @param value The serviceAccountEmail to set.
* @return This builder for chaining.
*/
@@ -16463,7 +16463,7 @@ public Builder setServiceAccountEmail(java.lang.String value) {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16483,7 +16483,7 @@ public Builder clearServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @param value The bytes for serviceAccountEmail to set.
* @return This builder for chaining.
*/
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
index be43db721a7c..2e2650f3f2c9 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
@@ -70,7 +70,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=560
+ * google/cloud/batch/v1alpha/job.proto;l=574
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -87,7 +87,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=560
+ * google/cloud/batch/v1alpha/job.proto;l=574
* @return The instance.
*/
@java.lang.Deprecated
@@ -187,7 +187,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -202,7 +202,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -217,7 +217,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -233,7 +233,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=567
+ * google/cloud/batch/v1alpha/job.proto;l=581
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -252,7 +252,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -270,7 +270,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -287,7 +287,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -306,7 +306,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -323,7 +323,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=570
+ * google/cloud/batch/v1alpha/job.proto;l=584
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
@@ -340,7 +340,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return The serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -355,7 +355,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=573
+ * See google/cloud/batch/v1alpha/job.proto;l=587
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
index 2a0d24711feb..09c1d0772ce4 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
@@ -39,6 +39,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_batch_v1alpha_LogsPolicy_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_batch_v1alpha_LogsPolicy_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_batch_v1alpha_JobDependency_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -174,135 +178,139 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "CHEDULING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOO"
+ "N_AS_POSSIBLE\020\001:Q\352AN\n\030batch.googleapis.c"
+ "om/Job\0222projects/{project}/locations/{lo"
- + "cation}/jobs/{job}\"\261\001\n\nLogsPolicy\022G\n\013des"
+ + "cation}/jobs/{job}\"\331\002\n\nLogsPolicy\022G\n\013des"
+ "tination\030\001 \001(\01622.google.cloud.batch.v1al"
+ "pha.LogsPolicy.Destination\022\021\n\tlogs_path\030"
- + "\002 \001(\t\"G\n\013Destination\022\033\n\027DESTINATION_UNSP"
- + "ECIFIED\020\000\022\021\n\rCLOUD_LOGGING\020\001\022\010\n\004PATH\020\002\"\371"
- + "\001\n\rJobDependency\022C\n\005items\030\001 \003(\01324.google"
- + ".cloud.batch.v1alpha.JobDependency.Items"
- + "Entry\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005valu"
- + "e\030\002 \001(\0162..google.cloud.batch.v1alpha.Job"
- + "Dependency.Type:\0028\001\"E\n\004Type\022\024\n\020TYPE_UNSP"
- + "ECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\014\n\010"
- + "FINISHED\020\003\"\353\007\n\tJobStatus\022:\n\005state\030\001 \001(\0162"
- + "+.google.cloud.batch.v1alpha.JobStatus.S"
- + "tate\022>\n\rstatus_events\030\002 \003(\0132\'.google.clo"
- + "ud.batch.v1alpha.StatusEvent\022J\n\013task_gro"
- + "ups\030\004 \003(\01325.google.cloud.batch.v1alpha.J"
- + "obStatus.TaskGroupsEntry\022/\n\014run_duration"
- + "\030\005 \001(\0132\031.google.protobuf.Duration\022A\n\016res"
- + "ource_usage\030\006 \001(\0132).google.cloud.batch.v"
- + "1alpha.ResourceUsage\032\333\001\n\016InstanceStatus\022"
- + "\024\n\014machine_type\030\001 \001(\t\022Z\n\022provisioning_mo"
- + "del\030\002 \001(\0162>.google.cloud.batch.v1alpha.A"
- + "llocationPolicy.ProvisioningModel\022\021\n\ttas"
- + "k_pack\030\003 \001(\003\022D\n\tboot_disk\030\004 \001(\01321.google"
- + ".cloud.batch.v1alpha.AllocationPolicy.Di"
- + "sk\032\334\001\n\017TaskGroupStatus\022Q\n\006counts\030\001 \003(\0132A"
- + ".google.cloud.batch.v1alpha.JobStatus.Ta"
- + "skGroupStatus.CountsEntry\022G\n\tinstances\030\002"
- + " \003(\01324.google.cloud.batch.v1alpha.JobSta"
- + "tus.InstanceStatus\032-\n\013CountsEntry\022\013\n\003key"
- + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\032h\n\017TaskGroupsE"
- + "ntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\01325.googl"
- + "e.cloud.batch.v1alpha.JobStatus.TaskGrou"
- + "pStatus:\0028\001\"{\n\005State\022\025\n\021STATE_UNSPECIFIE"
- + "D\020\000\022\n\n\006QUEUED\020\001\022\r\n\tSCHEDULED\020\002\022\013\n\007RUNNIN"
- + "G\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\030\n\024DELETI"
- + "ON_IN_PROGRESS\020\006\"#\n\rResourceUsage\022\022\n\ncor"
- + "e_hours\030\001 \001(\001\"\220\003\n\017JobNotification\022\024\n\014pub"
- + "sub_topic\030\001 \001(\t\022D\n\007message\030\002 \001(\01323.googl"
- + "e.cloud.batch.v1alpha.JobNotification.Me"
- + "ssage\032\323\001\n\007Message\022>\n\004type\030\001 \001(\01620.google"
- + ".cloud.batch.v1alpha.JobNotification.Typ"
- + "e\022B\n\rnew_job_state\030\002 \001(\0162+.google.cloud."
- + "batch.v1alpha.JobStatus.State\022D\n\016new_tas"
- + "k_state\030\003 \001(\0162,.google.cloud.batch.v1alp"
- + "ha.TaskStatus.State\"K\n\004Type\022\024\n\020TYPE_UNSP"
- + "ECIFIED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TASK"
- + "_STATE_CHANGED\020\002\"\240\021\n\020AllocationPolicy\022M\n"
- + "\010location\030\001 \001(\0132;.google.cloud.batch.v1a"
- + "lpha.AllocationPolicy.LocationPolicy\022Q\n\010"
- + "instance\030\002 \001(\0132;.google.cloud.batch.v1al"
- + "pha.AllocationPolicy.InstancePolicyB\002\030\001\022"
- + "X\n\tinstances\030\010 \003(\0132E.google.cloud.batch."
- + "v1alpha.AllocationPolicy.InstancePolicyO"
- + "rTemplate\022\036\n\022instance_templates\030\003 \003(\tB\002\030"
- + "\001\022_\n\023provisioning_models\030\004 \003(\0162>.google."
- + "cloud.batch.v1alpha.AllocationPolicy.Pro"
- + "visioningModelB\002\030\001\022!\n\025service_account_em"
- + "ail\030\005 \001(\tB\002\030\001\022C\n\017service_account\030\t \001(\0132*"
- + ".google.cloud.batch.v1alpha.ServiceAccou"
- + "nt\022H\n\006labels\030\006 \003(\01328.google.cloud.batch."
- + "v1alpha.AllocationPolicy.LabelsEntry\022K\n\007"
- + "network\030\007 \001(\0132:.google.cloud.batch.v1alp"
- + "ha.AllocationPolicy.NetworkPolicy\022O\n\tpla"
- + "cement\030\n \001(\0132<.google.cloud.batch.v1alph"
- + "a.AllocationPolicy.PlacementPolicy\032E\n\016Lo"
- + "cationPolicy\022\031\n\021allowed_locations\030\001 \003(\t\022"
- + "\030\n\020denied_locations\030\002 \003(\t\032q\n\004Disk\022\017\n\005ima"
- + "ge\030\004 \001(\tH\000\022\022\n\010snapshot\030\005 \001(\tH\000\022\014\n\004type\030\001"
- + " \001(\t\022\017\n\007size_gb\030\002 \001(\003\022\026\n\016disk_interface\030"
- + "\006 \001(\tB\r\n\013data_source\032\217\001\n\014AttachedDisk\022E\n"
- + "\010new_disk\030\001 \001(\01321.google.cloud.batch.v1a"
- + "lpha.AllocationPolicy.DiskH\000\022\027\n\rexisting"
- + "_disk\030\002 \001(\tH\000\022\023\n\013device_name\030\003 \001(\tB\n\n\010at"
- + "tached\032i\n\013Accelerator\022\014\n\004type\030\001 \001(\t\022\r\n\005c"
- + "ount\030\002 \001(\003\022\037\n\023install_gpu_drivers\030\003 \001(\010B"
- + "\002\030\001\022\034\n\016driver_version\030\004 \001(\tB\004\342A\001\001\032\272\003\n\016In"
- + "stancePolicy\022!\n\025allowed_machine_types\030\001 "
- + "\003(\tB\002\030\001\022\024\n\014machine_type\030\002 \001(\t\022\030\n\020min_cpu"
- + "_platform\030\003 \001(\t\022Z\n\022provisioning_model\030\004 "
- + "\001(\0162>.google.cloud.batch.v1alpha.Allocat"
- + "ionPolicy.ProvisioningModel\022N\n\014accelerat"
- + "ors\030\005 \003(\01328.google.cloud.batch.v1alpha.A"
- + "llocationPolicy.Accelerator\022D\n\tboot_disk"
- + "\030\010 \001(\01321.google.cloud.batch.v1alpha.Allo"
- + "cationPolicy.Disk\022H\n\005disks\030\006 \003(\01329.googl"
- + "e.cloud.batch.v1alpha.AllocationPolicy.A"
- + "ttachedDisk\022\031\n\013reservation\030\007 \001(\tB\004\342A\001\001\032\266"
- + "\001\n\030InstancePolicyOrTemplate\022M\n\006policy\030\001 "
- + "\001(\0132;.google.cloud.batch.v1alpha.Allocat"
- + "ionPolicy.InstancePolicyH\000\022\033\n\021instance_t"
- + "emplate\030\002 \001(\tH\000\022\033\n\023install_gpu_drivers\030\003"
- + " \001(\010B\021\n\017policy_template\032W\n\020NetworkInterf"
- + "ace\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t"
- + "\022\036\n\026no_external_ip_address\030\003 \001(\010\032j\n\rNetw"
- + "orkPolicy\022Y\n\022network_interfaces\030\001 \003(\0132=."
- + "google.cloud.batch.v1alpha.AllocationPol"
- + "icy.NetworkInterface\032<\n\017PlacementPolicy\022"
- + "\023\n\013collocation\030\001 \001(\t\022\024\n\014max_distance\030\002 \001"
- + "(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\"`\n\021ProvisioningModel\022\"\n\036PROVIS"
- + "IONING_MODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001"
- + "\022\010\n\004SPOT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\371\005\n\tTaskGrou"
- + "p\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022=\n\ttask_spec\030\003 \001(\013"
- + "2$.google.cloud.batch.v1alpha.TaskSpecB\004"
- + "\342A\001\002\022\022\n\ntask_count\030\004 \001(\003\022\023\n\013parallelism\030"
- + "\005 \001(\003\022Q\n\021scheduling_policy\030\006 \001(\01626.googl"
- + "e.cloud.batch.v1alpha.TaskGroup.Scheduli"
- + "ngPolicy\022G\n\021allocation_policy\030\007 \001(\0132,.go"
- + "ogle.cloud.batch.v1alpha.AllocationPolic"
- + "y\022A\n\006labels\030\010 \003(\01321.google.cloud.batch.v"
- + "1alpha.TaskGroup.LabelsEntry\022B\n\021task_env"
- + "ironments\030\t \003(\0132\'.google.cloud.batch.v1a"
- + "lpha.Environment\022\033\n\023task_count_per_node\030"
- + "\n \001(\003\022\032\n\022require_hosts_file\030\013 \001(\010\022\026\n\016per"
- + "missive_ssh\030\014 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030"
- + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\\\n\020SchedulingPo"
- + "licy\022!\n\035SCHEDULING_POLICY_UNSPECIFIED\020\000\022"
- + "\027\n\023AS_SOON_AS_POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o"
- + "\352Al\n\036batch.googleapis.com/TaskGroup\022Jpro"
- + "jects/{project}/locations/{location}/job"
- + "s/{job}/taskGroups/{task_group}\"/\n\016Servi"
- + "ceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\t"
- + "B\302\001\n\036com.google.cloud.batch.v1alphaB\010Job"
- + "ProtoP\001Z4cloud.google.com/go/batch/apiv1"
- + "alpha/batchpb;batchpb\242\002\003GCB\252\002\032Google.Clo"
- + "ud.Batch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1"
- + "alpha\352\002\035Google::Cloud::Batch::V1alphab\006p"
- + "roto3"
+ + "\002 \001(\t\022]\n\024cloud_logging_option\030\003 \001(\01329.go"
+ + "ogle.cloud.batch.v1alpha.LogsPolicy.Clou"
+ + "dLoggingOptionB\004\342A\001\001\032G\n\022CloudLoggingOpti"
+ + "on\0221\n#use_generic_task_monitored_resourc"
+ + "e\030\001 \001(\010B\004\342A\001\001\"G\n\013Destination\022\033\n\027DESTINAT"
+ + "ION_UNSPECIFIED\020\000\022\021\n\rCLOUD_LOGGING\020\001\022\010\n\004"
+ + "PATH\020\002\"\371\001\n\rJobDependency\022C\n\005items\030\001 \003(\0132"
+ + "4.google.cloud.batch.v1alpha.JobDependen"
+ + "cy.ItemsEntry\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t"
+ + "\022=\n\005value\030\002 \001(\0162..google.cloud.batch.v1a"
+ + "lpha.JobDependency.Type:\0028\001\"E\n\004Type\022\024\n\020T"
+ + "YPE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAIL"
+ + "ED\020\002\022\014\n\010FINISHED\020\003\"\353\007\n\tJobStatus\022:\n\005stat"
+ + "e\030\001 \001(\0162+.google.cloud.batch.v1alpha.Job"
+ + "Status.State\022>\n\rstatus_events\030\002 \003(\0132\'.go"
+ + "ogle.cloud.batch.v1alpha.StatusEvent\022J\n\013"
+ + "task_groups\030\004 \003(\01325.google.cloud.batch.v"
+ + "1alpha.JobStatus.TaskGroupsEntry\022/\n\014run_"
+ + "duration\030\005 \001(\0132\031.google.protobuf.Duratio"
+ + "n\022A\n\016resource_usage\030\006 \001(\0132).google.cloud"
+ + ".batch.v1alpha.ResourceUsage\032\333\001\n\016Instanc"
+ + "eStatus\022\024\n\014machine_type\030\001 \001(\t\022Z\n\022provisi"
+ + "oning_model\030\002 \001(\0162>.google.cloud.batch.v"
+ + "1alpha.AllocationPolicy.ProvisioningMode"
+ + "l\022\021\n\ttask_pack\030\003 \001(\003\022D\n\tboot_disk\030\004 \001(\0132"
+ + "1.google.cloud.batch.v1alpha.AllocationP"
+ + "olicy.Disk\032\334\001\n\017TaskGroupStatus\022Q\n\006counts"
+ + "\030\001 \003(\0132A.google.cloud.batch.v1alpha.JobS"
+ + "tatus.TaskGroupStatus.CountsEntry\022G\n\tins"
+ + "tances\030\002 \003(\01324.google.cloud.batch.v1alph"
+ + "a.JobStatus.InstanceStatus\032-\n\013CountsEntr"
+ + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\032h\n\017Tas"
+ + "kGroupsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\013"
+ + "25.google.cloud.batch.v1alpha.JobStatus."
+ + "TaskGroupStatus:\0028\001\"{\n\005State\022\025\n\021STATE_UN"
+ + "SPECIFIED\020\000\022\n\n\006QUEUED\020\001\022\r\n\tSCHEDULED\020\002\022\013"
+ + "\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILED\020\005\022\030"
+ + "\n\024DELETION_IN_PROGRESS\020\006\"#\n\rResourceUsag"
+ + "e\022\022\n\ncore_hours\030\001 \001(\001\"\220\003\n\017JobNotificatio"
+ + "n\022\024\n\014pubsub_topic\030\001 \001(\t\022D\n\007message\030\002 \001(\013"
+ + "23.google.cloud.batch.v1alpha.JobNotific"
+ + "ation.Message\032\323\001\n\007Message\022>\n\004type\030\001 \001(\0162"
+ + "0.google.cloud.batch.v1alpha.JobNotifica"
+ + "tion.Type\022B\n\rnew_job_state\030\002 \001(\0162+.googl"
+ + "e.cloud.batch.v1alpha.JobStatus.State\022D\n"
+ + "\016new_task_state\030\003 \001(\0162,.google.cloud.bat"
+ + "ch.v1alpha.TaskStatus.State\"K\n\004Type\022\024\n\020T"
+ + "YPE_UNSPECIFIED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001"
+ + "\022\026\n\022TASK_STATE_CHANGED\020\002\"\240\021\n\020AllocationP"
+ + "olicy\022M\n\010location\030\001 \001(\0132;.google.cloud.b"
+ + "atch.v1alpha.AllocationPolicy.LocationPo"
+ + "licy\022Q\n\010instance\030\002 \001(\0132;.google.cloud.ba"
+ + "tch.v1alpha.AllocationPolicy.InstancePol"
+ + "icyB\002\030\001\022X\n\tinstances\030\010 \003(\0132E.google.clou"
+ + "d.batch.v1alpha.AllocationPolicy.Instanc"
+ + "ePolicyOrTemplate\022\036\n\022instance_templates\030"
+ + "\003 \003(\tB\002\030\001\022_\n\023provisioning_models\030\004 \003(\0162>"
+ + ".google.cloud.batch.v1alpha.AllocationPo"
+ + "licy.ProvisioningModelB\002\030\001\022!\n\025service_ac"
+ + "count_email\030\005 \001(\tB\002\030\001\022C\n\017service_account"
+ + "\030\t \001(\0132*.google.cloud.batch.v1alpha.Serv"
+ + "iceAccount\022H\n\006labels\030\006 \003(\01328.google.clou"
+ + "d.batch.v1alpha.AllocationPolicy.LabelsE"
+ + "ntry\022K\n\007network\030\007 \001(\0132:.google.cloud.bat"
+ + "ch.v1alpha.AllocationPolicy.NetworkPolic"
+ + "y\022O\n\tplacement\030\n \001(\0132<.google.cloud.batc"
+ + "h.v1alpha.AllocationPolicy.PlacementPoli"
+ + "cy\032E\n\016LocationPolicy\022\031\n\021allowed_location"
+ + "s\030\001 \003(\t\022\030\n\020denied_locations\030\002 \003(\t\032q\n\004Dis"
+ + "k\022\017\n\005image\030\004 \001(\tH\000\022\022\n\010snapshot\030\005 \001(\tH\000\022\014"
+ + "\n\004type\030\001 \001(\t\022\017\n\007size_gb\030\002 \001(\003\022\026\n\016disk_in"
+ + "terface\030\006 \001(\tB\r\n\013data_source\032\217\001\n\014Attache"
+ + "dDisk\022E\n\010new_disk\030\001 \001(\01321.google.cloud.b"
+ + "atch.v1alpha.AllocationPolicy.DiskH\000\022\027\n\r"
+ + "existing_disk\030\002 \001(\tH\000\022\023\n\013device_name\030\003 \001"
+ + "(\tB\n\n\010attached\032i\n\013Accelerator\022\014\n\004type\030\001 "
+ + "\001(\t\022\r\n\005count\030\002 \001(\003\022\037\n\023install_gpu_driver"
+ + "s\030\003 \001(\010B\002\030\001\022\034\n\016driver_version\030\004 \001(\tB\004\342A\001"
+ + "\001\032\272\003\n\016InstancePolicy\022!\n\025allowed_machine_"
+ + "types\030\001 \003(\tB\002\030\001\022\024\n\014machine_type\030\002 \001(\t\022\030\n"
+ + "\020min_cpu_platform\030\003 \001(\t\022Z\n\022provisioning_"
+ + "model\030\004 \001(\0162>.google.cloud.batch.v1alpha"
+ + ".AllocationPolicy.ProvisioningModel\022N\n\014a"
+ + "ccelerators\030\005 \003(\01328.google.cloud.batch.v"
+ + "1alpha.AllocationPolicy.Accelerator\022D\n\tb"
+ + "oot_disk\030\010 \001(\01321.google.cloud.batch.v1al"
+ + "pha.AllocationPolicy.Disk\022H\n\005disks\030\006 \003(\013"
+ + "29.google.cloud.batch.v1alpha.Allocation"
+ + "Policy.AttachedDisk\022\031\n\013reservation\030\007 \001(\t"
+ + "B\004\342A\001\001\032\266\001\n\030InstancePolicyOrTemplate\022M\n\006p"
+ + "olicy\030\001 \001(\0132;.google.cloud.batch.v1alpha"
+ + ".AllocationPolicy.InstancePolicyH\000\022\033\n\021in"
+ + "stance_template\030\002 \001(\tH\000\022\033\n\023install_gpu_d"
+ + "rivers\030\003 \001(\010B\021\n\017policy_template\032W\n\020Netwo"
+ + "rkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwo"
+ + "rk\030\002 \001(\t\022\036\n\026no_external_ip_address\030\003 \001(\010"
+ + "\032j\n\rNetworkPolicy\022Y\n\022network_interfaces\030"
+ + "\001 \003(\0132=.google.cloud.batch.v1alpha.Alloc"
+ + "ationPolicy.NetworkInterface\032<\n\017Placemen"
+ + "tPolicy\022\023\n\013collocation\030\001 \001(\t\022\024\n\014max_dist"
+ + "ance\030\002 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r"
+ + "\n\005value\030\002 \001(\t:\0028\001\"`\n\021ProvisioningModel\022\""
+ + "\n\036PROVISIONING_MODEL_UNSPECIFIED\020\000\022\014\n\010ST"
+ + "ANDARD\020\001\022\010\n\004SPOT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\371\005\n\t"
+ + "TaskGroup\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022=\n\ttask_sp"
+ + "ec\030\003 \001(\0132$.google.cloud.batch.v1alpha.Ta"
+ + "skSpecB\004\342A\001\002\022\022\n\ntask_count\030\004 \001(\003\022\023\n\013para"
+ + "llelism\030\005 \001(\003\022Q\n\021scheduling_policy\030\006 \001(\016"
+ + "26.google.cloud.batch.v1alpha.TaskGroup."
+ + "SchedulingPolicy\022G\n\021allocation_policy\030\007 "
+ + "\001(\0132,.google.cloud.batch.v1alpha.Allocat"
+ + "ionPolicy\022A\n\006labels\030\010 \003(\01321.google.cloud"
+ + ".batch.v1alpha.TaskGroup.LabelsEntry\022B\n\021"
+ + "task_environments\030\t \003(\0132\'.google.cloud.b"
+ + "atch.v1alpha.Environment\022\033\n\023task_count_p"
+ + "er_node\030\n \001(\003\022\032\n\022require_hosts_file\030\013 \001("
+ + "\010\022\026\n\016permissive_ssh\030\014 \001(\010\032-\n\013LabelsEntry"
+ + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\\\n\020Sche"
+ + "dulingPolicy\022!\n\035SCHEDULING_POLICY_UNSPEC"
+ + "IFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBLE\020\001\022\014\n\010IN_O"
+ + "RDER\020\002:o\352Al\n\036batch.googleapis.com/TaskGr"
+ + "oup\022Jprojects/{project}/locations/{locat"
+ + "ion}/jobs/{job}/taskGroups/{task_group}\""
+ + "/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006scop"
+ + "es\030\002 \003(\tB\302\001\n\036com.google.cloud.batch.v1al"
+ + "phaB\010JobProtoP\001Z4cloud.google.com/go/bat"
+ + "ch/apiv1alpha/batchpb;batchpb\242\002\003GCB\252\002\032Go"
+ + "ogle.Cloud.Batch.V1Alpha\312\002\032Google\\Cloud\\"
+ + "Batch\\V1alpha\352\002\035Google::Cloud::Batch::V1"
+ + "alphab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -349,7 +357,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_batch_v1alpha_LogsPolicy_descriptor,
new java.lang.String[] {
- "Destination", "LogsPath",
+ "Destination", "LogsPath", "CloudLoggingOption",
+ });
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_descriptor =
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_descriptor.getNestedTypes().get(0);
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_descriptor,
+ new java.lang.String[] {
+ "UseGenericTaskMonitoredResource",
});
internal_static_google_cloud_batch_v1alpha_JobDependency_descriptor =
getDescriptor().getMessageTypes().get(2);
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicy.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicy.java
index fe0f133b962e..a69b9f3aa4d9 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicy.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicy.java
@@ -221,6 +221,572 @@ private Destination(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.batch.v1alpha.LogsPolicy.Destination)
}
+ public interface CloudLoggingOptionOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * Optional. Set this flag to true to use generic_task as monitored resource + * for Batch job generated cloud logging. + *+ * + *
bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The useGenericTaskMonitoredResource.
+ */
+ boolean getUseGenericTaskMonitoredResource();
+ }
+ /**
+ *
+ *
+ * + * CloudLoggingOption contains additional settings for cloud logging generated + * by Batch job. + *+ * + * Protobuf type {@code google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption} + */ + public static final class CloudLoggingOption extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption) + CloudLoggingOptionOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudLoggingOption.newBuilder() to construct. + private CloudLoggingOption(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private CloudLoggingOption() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloudLoggingOption(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1alpha.JobProto + .internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1alpha.JobProto + .internal_static_google_cloud_batch_v1alpha_LogsPolicy_CloudLoggingOption_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.class, + com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder.class); + } + + public static final int USE_GENERIC_TASK_MONITORED_RESOURCE_FIELD_NUMBER = 1; + private boolean useGenericTaskMonitoredResource_ = false; + /** + * + * + *
+ * Optional. Set this flag to true to use generic_task as monitored resource + * for Batch job generated cloud logging. + *+ * + *
bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The useGenericTaskMonitoredResource.
+ */
+ @java.lang.Override
+ public boolean getUseGenericTaskMonitoredResource() {
+ return useGenericTaskMonitoredResource_;
+ }
+
+ 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 (useGenericTaskMonitoredResource_ != false) {
+ output.writeBool(1, useGenericTaskMonitoredResource_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (useGenericTaskMonitoredResource_ != false) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBoolSize(
+ 1, useGenericTaskMonitoredResource_);
+ }
+ 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.batch.v1alpha.LogsPolicy.CloudLoggingOption)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption other =
+ (com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption) obj;
+
+ if (getUseGenericTaskMonitoredResource() != other.getUseGenericTaskMonitoredResource())
+ 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) + USE_GENERIC_TASK_MONITORED_RESOURCE_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashBoolean(getUseGenericTaskMonitoredResource());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption 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.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption 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.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption 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.batch.v1alpha.LogsPolicy.CloudLoggingOption parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption 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.batch.v1alpha.LogsPolicy.CloudLoggingOption parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption 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.batch.v1alpha.LogsPolicy.CloudLoggingOption 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;
+ }
+ /**
+ *
+ *
+ * + * CloudLoggingOption contains additional settings for cloud logging generated + * by Batch job. + *+ * + * Protobuf type {@code google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. Set this flag to true to use generic_task as monitored resource + * for Batch job generated cloud logging. + *+ * + *
+ * bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The useGenericTaskMonitoredResource.
+ */
+ @java.lang.Override
+ public boolean getUseGenericTaskMonitoredResource() {
+ return useGenericTaskMonitoredResource_;
+ }
+ /**
+ *
+ *
+ * + * Optional. Set this flag to true to use generic_task as monitored resource + * for Batch job generated cloud logging. + *+ * + *
+ * bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The useGenericTaskMonitoredResource to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUseGenericTaskMonitoredResource(boolean value) {
+
+ useGenericTaskMonitoredResource_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Set this flag to true to use generic_task as monitored resource + * for Batch job generated cloud logging. + *+ * + *
+ * bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUseGenericTaskMonitoredResource() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ useGenericTaskMonitoredResource_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption)
+ private static final com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption();
+ }
+
+ public static com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the cloudLoggingOption field is set.
+ */
+ @java.lang.Override
+ public boolean hasCloudLoggingOption() {
+ return cloudLoggingOption_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The cloudLoggingOption.
+ */
+ @java.lang.Override
+ public com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption getCloudLoggingOption() {
+ return cloudLoggingOption_ == null
+ ? com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.getDefaultInstance()
+ : cloudLoggingOption_;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder
+ getCloudLoggingOptionOrBuilder() {
+ return cloudLoggingOption_ == null
+ ? com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.getDefaultInstance()
+ : cloudLoggingOption_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -335,6 +961,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logsPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, logsPath_);
}
+ if (cloudLoggingOption_ != null) {
+ output.writeMessage(3, getCloudLoggingOption());
+ }
getUnknownFields().writeTo(output);
}
@@ -352,6 +981,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logsPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logsPath_);
}
+ if (cloudLoggingOption_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCloudLoggingOption());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -370,6 +1002,10 @@ public boolean equals(final java.lang.Object obj) {
if (destination_ != other.destination_) return false;
if (!getLogsPath().equals(other.getLogsPath())) return false;
+ if (hasCloudLoggingOption() != other.hasCloudLoggingOption()) return false;
+ if (hasCloudLoggingOption()) {
+ if (!getCloudLoggingOption().equals(other.getCloudLoggingOption())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -385,6 +1021,10 @@ public int hashCode() {
hash = (53 * hash) + destination_;
hash = (37 * hash) + LOGS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getLogsPath().hashCode();
+ if (hasCloudLoggingOption()) {
+ hash = (37 * hash) + CLOUD_LOGGING_OPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getCloudLoggingOption().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -527,6 +1167,11 @@ public Builder clear() {
bitField0_ = 0;
destination_ = 0;
logsPath_ = "";
+ cloudLoggingOption_ = null;
+ if (cloudLoggingOptionBuilder_ != null) {
+ cloudLoggingOptionBuilder_.dispose();
+ cloudLoggingOptionBuilder_ = null;
+ }
return this;
}
@@ -569,6 +1214,12 @@ private void buildPartial0(com.google.cloud.batch.v1alpha.LogsPolicy result) {
if (((from_bitField0_ & 0x00000002) != 0)) {
result.logsPath_ = logsPath_;
}
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.cloudLoggingOption_ =
+ cloudLoggingOptionBuilder_ == null
+ ? cloudLoggingOption_
+ : cloudLoggingOptionBuilder_.build();
+ }
}
@java.lang.Override
@@ -624,6 +1275,9 @@ public Builder mergeFrom(com.google.cloud.batch.v1alpha.LogsPolicy other) {
bitField0_ |= 0x00000002;
onChanged();
}
+ if (other.hasCloudLoggingOption()) {
+ mergeCloudLoggingOption(other.getCloudLoggingOption());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -662,6 +1316,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 18
+ case 26:
+ {
+ input.readMessage(
+ getCloudLoggingOptionFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -889,6 +1550,223 @@ public Builder setLogsPathBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloudLoggingOption_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder>
+ cloudLoggingOptionBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the cloudLoggingOption field is set.
+ */
+ public boolean hasCloudLoggingOption() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The cloudLoggingOption.
+ */
+ public com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption getCloudLoggingOption() {
+ if (cloudLoggingOptionBuilder_ == null) {
+ return cloudLoggingOption_ == null
+ ? com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.getDefaultInstance()
+ : cloudLoggingOption_;
+ } else {
+ return cloudLoggingOptionBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setCloudLoggingOption(
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption value) {
+ if (cloudLoggingOptionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ cloudLoggingOption_ = value;
+ } else {
+ cloudLoggingOptionBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setCloudLoggingOption(
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder builderForValue) {
+ if (cloudLoggingOptionBuilder_ == null) {
+ cloudLoggingOption_ = builderForValue.build();
+ } else {
+ cloudLoggingOptionBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeCloudLoggingOption(
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption value) {
+ if (cloudLoggingOptionBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && cloudLoggingOption_ != null
+ && cloudLoggingOption_
+ != com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption
+ .getDefaultInstance()) {
+ getCloudLoggingOptionBuilder().mergeFrom(value);
+ } else {
+ cloudLoggingOption_ = value;
+ }
+ } else {
+ cloudLoggingOptionBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearCloudLoggingOption() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ cloudLoggingOption_ = null;
+ if (cloudLoggingOptionBuilder_ != null) {
+ cloudLoggingOptionBuilder_.dispose();
+ cloudLoggingOptionBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder
+ getCloudLoggingOptionBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getCloudLoggingOptionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder
+ getCloudLoggingOptionOrBuilder() {
+ if (cloudLoggingOptionBuilder_ != null) {
+ return cloudLoggingOptionBuilder_.getMessageOrBuilder();
+ } else {
+ return cloudLoggingOption_ == null
+ ? com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.getDefaultInstance()
+ : cloudLoggingOption_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder>
+ getCloudLoggingOptionFieldBuilder() {
+ if (cloudLoggingOptionBuilder_ == null) {
+ cloudLoggingOptionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder,
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder>(
+ getCloudLoggingOption(), getParentForChildren(), isClean());
+ cloudLoggingOption_ = null;
+ }
+ return cloudLoggingOptionBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicyOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicyOrBuilder.java
index abb7377af327..b9184212bd9d 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicyOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/LogsPolicyOrBuilder.java
@@ -76,4 +76,49 @@ public interface LogsPolicyOrBuilder
* @return The bytes for logsPath.
*/
com.google.protobuf.ByteString getLogsPathBytes();
+
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the cloudLoggingOption field is set.
+ */
+ boolean hasCloudLoggingOption();
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The cloudLoggingOption.
+ */
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption getCloudLoggingOption();
+ /**
+ *
+ *
+ * + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + *+ * + *
+ * .google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder
+ getCloudLoggingOptionOrBuilder();
}
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
index b16094126e18..76ffdecaefc3 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
@@ -114,6 +114,15 @@ message Job {
// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be
// preserved.
message LogsPolicy {
+ // CloudLoggingOption contains additional settings for cloud logging generated
+ // by Batch job.
+ message CloudLoggingOption {
+ // Optional. Set this flag to true to use generic_task as monitored resource
+ // for Batch job generated cloud logging.
+ bool use_generic_task_monitored_resource = 1
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
// The destination (if any) for logs.
enum Destination {
// Logs are not preserved.
@@ -133,6 +142,11 @@ message LogsPolicy {
// local file path on the VM, or under the mount point of a Persistent Disk or
// Filestore, or a Cloud Storage path.
string logs_path = 2;
+
+ // Optional. Additional settings for Cloud Logging. It will only take effect
+ // when the destination of LogsPolicy is set to CLOUD_LOGGING.
+ CloudLoggingOption cloud_logging_option = 3
+ [(google.api.field_behavior) = OPTIONAL];
}
// JobDependency describes the state of other Jobs that the start of this Job