diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java index 7d5cfc7ff78a..619227604004 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java @@ -4256,17 +4256,10 @@ public interface AcceleratorOrBuilder long getCount(); /** - * - * - *
-     * When true, Batch will install the GPU drivers.
-     * This field will be ignored if specified.
-     * 
- * * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=291 + * deprecated. See google/cloud/batch/v1/job.proto;l=289 * @return The installGpuDrivers. */ @java.lang.Deprecated @@ -4449,17 +4442,10 @@ public long getCount() { public static final int INSTALL_GPU_DRIVERS_FIELD_NUMBER = 3; private boolean installGpuDrivers_; /** - * - * - *
-     * When true, Batch will install the GPU drivers.
-     * This field will be ignored if specified.
-     * 
- * * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=291 + * deprecated. See google/cloud/batch/v1/job.proto;l=289 * @return The installGpuDrivers. */ @java.lang.Override @@ -4986,17 +4972,10 @@ public Builder clearCount() { private boolean installGpuDrivers_; /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=291 + * deprecated. See google/cloud/batch/v1/job.proto;l=289 * @return The installGpuDrivers. */ @java.lang.Override @@ -5005,17 +4984,10 @@ public boolean getInstallGpuDrivers() { return installGpuDrivers_; } /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=291 + * deprecated. See google/cloud/batch/v1/job.proto;l=289 * @param value The installGpuDrivers to set. * @return This builder for chaining. */ @@ -5027,17 +4999,10 @@ public Builder setInstallGpuDrivers(boolean value) { return this; } /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=291 + * deprecated. See google/cloud/batch/v1/job.proto;l=289 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index 2b622544c834..9c746ebea342 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -287,8 +287,6 @@ message AllocationPolicy { // The number of accelerators of this type. int64 count = 2; - // When true, Batch will install the GPU drivers. - // This field will be ignored if specified. bool install_gpu_drivers = 3 [deprecated = true]; } diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java index ed5408f37674..8c0bced9beea 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java @@ -4705,17 +4705,10 @@ public interface AcceleratorOrBuilder long getCount(); /** - * - * - *
-     * When true, Batch will install the GPU drivers.
-     * This field will be ignored if specified.
-     * 
- * * 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=346 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=344 * @return The installGpuDrivers. */ @java.lang.Deprecated @@ -4898,17 +4891,10 @@ public long getCount() { public static final int INSTALL_GPU_DRIVERS_FIELD_NUMBER = 3; private boolean installGpuDrivers_; /** - * - * - *
-     * When true, Batch will install the GPU drivers.
-     * This field will be ignored if specified.
-     * 
- * * 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=346 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=344 * @return The installGpuDrivers. */ @java.lang.Override @@ -5438,17 +5424,10 @@ public Builder clearCount() { private boolean installGpuDrivers_; /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * 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=346 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=344 * @return The installGpuDrivers. */ @java.lang.Override @@ -5457,17 +5436,10 @@ public boolean getInstallGpuDrivers() { return installGpuDrivers_; } /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * 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=346 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=344 * @param value The installGpuDrivers to set. * @return This builder for chaining. */ @@ -5479,17 +5451,10 @@ public Builder setInstallGpuDrivers(boolean value) { return this; } /** - * - * - *
-       * When true, Batch will install the GPU drivers.
-       * This field will be ignored if specified.
-       * 
- * * 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=346 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=344 * @return This builder for chaining. */ @java.lang.Deprecated @@ -5562,7 +5527,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return A list containing the allowedMachineTypes. */ @java.lang.Deprecated @@ -5571,7 +5536,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return The count of allowedMachineTypes. */ @java.lang.Deprecated @@ -5580,7 +5545,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the element to return. * @return The allowedMachineTypes at the given index. */ @@ -5590,7 +5555,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the value to return. * @return The bytes of the allowedMachineTypes at the given index. */ @@ -5971,7 +5936,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return A list containing the allowedMachineTypes. */ @java.lang.Deprecated @@ -5982,7 +5947,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return The count of allowedMachineTypes. */ @java.lang.Deprecated @@ -5993,7 +5958,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the element to return. * @return The allowedMachineTypes at the given index. */ @@ -6005,7 +5970,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=352 + * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the value to return. * @return The bytes of the allowedMachineTypes at the given index. */ @@ -6845,7 +6810,7 @@ private void ensureAllowedMachineTypesIsMutable() { * * @deprecated * google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is - * deprecated. See google/cloud/batch/v1alpha/job.proto;l=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return A list containing the allowedMachineTypes. */ @java.lang.Deprecated @@ -6857,7 +6822,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=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return The count of allowedMachineTypes. */ @java.lang.Deprecated @@ -6869,7 +6834,7 @@ public int getAllowedMachineTypesCount() { * * @deprecated * google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is - * deprecated. See google/cloud/batch/v1alpha/job.proto;l=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the element to return. * @return The allowedMachineTypes at the given index. */ @@ -6882,7 +6847,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=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index of the value to return. * @return The bytes of the allowedMachineTypes at the given index. */ @@ -6895,7 +6860,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=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param index The index to set the value at. * @param value The allowedMachineTypes to set. * @return This builder for chaining. @@ -6915,7 +6880,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=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param value The allowedMachineTypes to add. * @return This builder for chaining. */ @@ -6934,7 +6899,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=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param values The allowedMachineTypes to add. * @return This builder for chaining. */ @@ -6950,7 +6915,7 @@ public Builder addAllAllowedMachineTypes(java.lang.Iterable va * * @deprecated * google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is - * deprecated. See google/cloud/batch/v1alpha/job.proto;l=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6965,7 +6930,7 @@ public Builder clearAllowedMachineTypes() { * * @deprecated * google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is - * deprecated. See google/cloud/batch/v1alpha/job.proto;l=352 + * deprecated. See google/cloud/batch/v1alpha/job.proto;l=350 * @param value The bytes of the allowedMachineTypes to add. * @return This builder for chaining. */ @@ -11612,7 +11577,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy getLocatio * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @return Whether the instance field is set. */ @java.lang.Override @@ -11632,7 +11597,7 @@ public boolean hasInstance() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @return The instance. */ @java.lang.Override @@ -11763,7 +11728,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate * 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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return A list containing the instanceTemplates. */ @java.lang.Deprecated @@ -11781,7 +11746,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return The count of instanceTemplates. */ @java.lang.Deprecated @@ -11799,7 +11764,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the element to return. * @return The instanceTemplates at the given index. */ @@ -11818,7 +11783,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the value to return. * @return The bytes of the instanceTemplates at the given index. */ @@ -11860,7 +11825,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=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the provisioningModels. */ @java.lang.Override @@ -11886,7 +11851,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=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return The count of provisioningModels. */ @java.lang.Override @@ -11909,7 +11874,7 @@ public int getProvisioningModelsCount() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the element to return. * @return The provisioningModels at the given index. */ @@ -11934,7 +11899,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=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the enum numeric values on the wire for provisioningModels. */ @java.lang.Override @@ -11957,7 +11922,7 @@ public java.util.List getProvisioningModelsValueList() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the value to return. * @return The enum numeric value on the wire of provisioningModels at the given index. */ @@ -11978,11 +11943,14 @@ public int getProvisioningModelsValue(int index) { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return The serviceAccountEmail. */ @java.lang.Override + @java.lang.Deprecated public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { @@ -12001,11 +11969,14 @@ public java.lang.String getServiceAccountEmail() { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return The bytes for serviceAccountEmail. */ @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { @@ -13053,7 +13024,7 @@ public Builder clearLocation() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @return Whether the instance field is set. */ @java.lang.Deprecated @@ -13072,7 +13043,7 @@ public boolean hasInstance() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @return The instance. */ @java.lang.Deprecated @@ -13706,7 +13677,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return A list containing the instanceTemplates. */ @java.lang.Deprecated @@ -13724,7 +13695,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return The count of instanceTemplates. */ @java.lang.Deprecated @@ -13742,7 +13713,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the element to return. * @return The instanceTemplates at the given index. */ @@ -13761,7 +13732,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the value to return. * @return The bytes of the instanceTemplates at the given index. */ @@ -13780,7 +13751,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index to set the value at. * @param value The instanceTemplates to set. * @return This builder for chaining. @@ -13806,7 +13777,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param value The instanceTemplates to add. * @return This builder for chaining. */ @@ -13831,7 +13802,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param values The instanceTemplates to add. * @return This builder for chaining. */ @@ -13853,7 +13824,7 @@ public Builder addAllInstanceTemplates(java.lang.Iterable valu * 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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13874,7 +13845,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param value The bytes of the instanceTemplates to add. * @return This builder for chaining. */ @@ -13914,7 +13885,7 @@ private void ensureProvisioningModelsIsMutable() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the provisioningModels. */ @java.lang.Deprecated @@ -13939,7 +13910,7 @@ private void ensureProvisioningModelsIsMutable() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @return The count of provisioningModels. */ @java.lang.Deprecated @@ -13961,7 +13932,7 @@ public int getProvisioningModelsCount() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the element to return. * @return The provisioningModels at the given index. */ @@ -13985,7 +13956,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=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index to set the value at. * @param value The provisioningModels to set. * @return This builder for chaining. @@ -14016,7 +13987,7 @@ public Builder setProvisioningModels( * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param value The provisioningModels to add. * @return This builder for chaining. */ @@ -14046,7 +14017,7 @@ public Builder addProvisioningModels( * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param values The provisioningModels to add. * @return This builder for chaining. */ @@ -14077,7 +14048,7 @@ public Builder addAllProvisioningModels( * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14102,7 +14073,7 @@ public Builder clearProvisioningModels() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the enum numeric values on the wire for provisioningModels. */ @java.lang.Deprecated @@ -14124,7 +14095,7 @@ public java.util.List getProvisioningModelsValueList() { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the value to return. * @return The enum numeric value on the wire of provisioningModels at the given index. */ @@ -14147,7 +14118,7 @@ public int getProvisioningModelsValue(int index) { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index to set the value at. * @param value The enum numeric value on the wire for provisioningModels to set. * @return This builder for chaining. @@ -14174,7 +14145,7 @@ public Builder setProvisioningModelsValue(int index, int value) { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param value The enum numeric value on the wire for provisioningModels to add. * @return This builder for chaining. */ @@ -14200,7 +14171,7 @@ public Builder addProvisioningModelsValue(int value) { * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. - * See google/cloud/batch/v1alpha/job.proto;l=453 + * See google/cloud/batch/v1alpha/job.proto;l=451 * @param values The enum numeric values on the wire for provisioningModels to add. * @return This builder for chaining. */ @@ -14222,10 +14193,13 @@ public Builder addAllProvisioningModelsValue(java.lang.Iterable * - * string service_account_email = 5; + * 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=454 * @return The serviceAccountEmail. */ + @java.lang.Deprecated public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { @@ -14244,10 +14218,13 @@ public java.lang.String getServiceAccountEmail() { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return The bytes for serviceAccountEmail. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { @@ -14266,11 +14243,14 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -14287,10 +14267,13 @@ public Builder setServiceAccountEmail(java.lang.String value) { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearServiceAccountEmail() { serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); @@ -14304,11 +14287,14 @@ public Builder clearServiceAccountEmail() { * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); 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 4efcc73a2044..4efda314eb86 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=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @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=438 + * google/cloud/batch/v1alpha/job.proto;l=436 * @return The instance. */ @java.lang.Deprecated @@ -188,7 +188,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return A list containing the instanceTemplates. */ @java.lang.Deprecated @@ -204,7 +204,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @return The count of instanceTemplates. */ @java.lang.Deprecated @@ -220,7 +220,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the element to return. * @return The instanceTemplates at the given index. */ @@ -237,7 +237,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=446 + * google/cloud/batch/v1alpha/job.proto;l=444 * @param index The index of the value to return. * @return The bytes of the instanceTemplates at the given index. */ @@ -259,7 +259,7 @@ public interface AllocationPolicyOrBuilder * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the provisioningModels. */ @java.lang.Deprecated @@ -280,7 +280,7 @@ public interface AllocationPolicyOrBuilder * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return The count of provisioningModels. */ @java.lang.Deprecated @@ -300,7 +300,7 @@ public interface AllocationPolicyOrBuilder * * * @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See - * google/cloud/batch/v1alpha/job.proto;l=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the element to return. * @return The provisioningModels at the given index. */ @@ -322,7 +322,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=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @return A list containing the enum numeric values on the wire for provisioningModels. */ @java.lang.Deprecated @@ -342,7 +342,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=453 + * google/cloud/batch/v1alpha/job.proto;l=451 * @param index The index of the value to return. * @return The enum numeric value on the wire of provisioningModels at the given index. */ @@ -356,10 +356,13 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return The serviceAccountEmail. */ + @java.lang.Deprecated java.lang.String getServiceAccountEmail(); /** * @@ -368,10 +371,13 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin * Email of the service account that VMs will run as. * * - * string service_account_email = 5; + * 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=454 * @return The bytes for serviceAccountEmail. */ + @java.lang.Deprecated com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** 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 42ac264dd12e..c3fd28b9356d 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 @@ -208,7 +208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tus.State\022D\n\016new_task_state\030\003 \001(\0162,.goog" + "le.cloud.batch.v1alpha.TaskStatus.State\"" + "K\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\025\n\021JOB_STA" - + "TE_CHANGED\020\001\022\026\n\022TASK_STATE_CHANGED\020\002\"\216\017\n" + + "TE_CHANGED\020\001\022\026\n\022TASK_STATE_CHANGED\020\002\"\222\017\n" + "\020AllocationPolicy\022M\n\010location\030\001 \001(\0132;.go" + "ogle.cloud.batch.v1alpha.AllocationPolic" + "y.LocationPolicy\022Q\n\010instance\030\002 \001(\0132;.goo" @@ -218,71 +218,71 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "licy.InstancePolicyOrTemplate\022\036\n\022instanc" + "e_templates\030\003 \003(\tB\002\030\001\022_\n\023provisioning_mo" + "dels\030\004 \003(\0162>.google.cloud.batch.v1alpha." - + "AllocationPolicy.ProvisioningModelB\002\030\001\022\035" - + "\n\025service_account_email\030\005 \001(\t\022C\n\017service" - + "_account\030\t \001(\0132*.google.cloud.batch.v1al" - + "pha.ServiceAccount\022H\n\006labels\030\006 \003(\01328.goo" - + "gle.cloud.batch.v1alpha.AllocationPolicy" - + ".LabelsEntry\022K\n\007network\030\007 \001(\0132:.google.c" - + "loud.batch.v1alpha.AllocationPolicy.Netw" - + "orkPolicy\032E\n\016LocationPolicy\022\031\n\021allowed_l" - + "ocations\030\001 \003(\t\022\030\n\020denied_locations\030\002 \003(\t" - + "\032q\n\004Disk\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\016" - + "disk_interface\030\006 \001(\tB\r\n\013data_source\032\217\001\n\014" - + "AttachedDisk\022E\n\010new_disk\030\001 \001(\01321.google." - + "cloud.batch.v1alpha.AllocationPolicy.Dis" - + "kH\000\022\027\n\rexisting_disk\030\002 \001(\tH\000\022\023\n\013device_n" - + "ame\030\003 \001(\tB\n\n\010attached\032K\n\013Accelerator\022\014\n\004" - + "type\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\037\n\023install_gpu" - + "_drivers\030\003 \001(\010B\002\030\001\032\331\002\n\016InstancePolicy\022!\n" - + "\025allowed_machine_types\030\001 \003(\tB\002\030\001\022\024\n\014mach" - + "ine_type\030\002 \001(\t\022\030\n\020min_cpu_platform\030\003 \001(\t" - + "\022Z\n\022provisioning_model\030\004 \001(\0162>.google.cl" - + "oud.batch.v1alpha.AllocationPolicy.Provi" - + "sioningModel\022N\n\014accelerators\030\005 \003(\01328.goo" + + "AllocationPolicy.ProvisioningModelB\002\030\001\022!" + + "\n\025service_account_email\030\005 \001(\tB\002\030\001\022C\n\017ser" + + "vice_account\030\t \001(\0132*.google.cloud.batch." + + "v1alpha.ServiceAccount\022H\n\006labels\030\006 \003(\01328" + + ".google.cloud.batch.v1alpha.AllocationPo" + + "licy.LabelsEntry\022K\n\007network\030\007 \001(\0132:.goog" + + "le.cloud.batch.v1alpha.AllocationPolicy." + + "NetworkPolicy\032E\n\016LocationPolicy\022\031\n\021allow" + + "ed_locations\030\001 \003(\t\022\030\n\020denied_locations\030\002" + + " \003(\t\032q\n\004Disk\022\017\n\005image\030\004 \001(\tH\000\022\022\n\010snapsho" + + "t\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.goo" + "gle.cloud.batch.v1alpha.AllocationPolicy" - + ".Accelerator\022H\n\005disks\030\006 \003(\01329.google.clo" - + "ud.batch.v1alpha.AllocationPolicy.Attach" - + "edDisk\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\013LabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\021P" - + "rovisioningModel\022\"\n\036PROVISIONING_MODEL_U" - + "NSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT\020\002\022\017\n\013" - + "PREEMPTIBLE\020\003\"\351\005\n\tTaskGroup\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\003\022<\n\ttask_spec\030\003 \001(\0132$.google.cloud" - + ".batch.v1alpha.TaskSpecB\003\340A\002\022\022\n\ntask_cou" - + "nt\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022Q\n\021schedul" - + "ing_policy\030\006 \001(\01626.google.cloud.batch.v1" - + "alpha.TaskGroup.SchedulingPolicy\022G\n\021allo" - + "cation_policy\030\007 \001(\0132,.google.cloud.batch" - + ".v1alpha.AllocationPolicy\022A\n\006labels\030\010 \003(" - + "\01321.google.cloud.batch.v1alpha.TaskGroup" - + ".LabelsEntry\022B\n\021task_environments\030\t \003(\0132" - + "\'.google.cloud.batch.v1alpha.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\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\n\020SchedulingPolicy\022!\n\035SCHEDULI" - + "NG_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_PO" - + "SSIBLE\020\001:o\352Al\n\036batch.googleapis.com/Task" - + "Group\022Jprojects/{project}/locations/{loc" - + "ation}/jobs/{job}/taskGroups/{task_group" - + "}\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006sc" - + "opes\030\002 \003(\tB\315\001\n\036com.google.cloud.batch.v1" - + "alphaB\010JobProtoP\001Z?google.golang.org/gen" - + "proto/googleapis/cloud/batch/v1alpha;bat" - + "ch\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alpha\312\002\032" - + "Google\\Cloud\\Batch\\V1alpha\352\002\035Google::Clo" - + "ud::Batch::V1alphab\006proto3" + + ".DiskH\000\022\027\n\rexisting_disk\030\002 \001(\tH\000\022\023\n\013devi" + + "ce_name\030\003 \001(\tB\n\n\010attached\032K\n\013Accelerator" + + "\022\014\n\004type\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\037\n\023install" + + "_gpu_drivers\030\003 \001(\010B\002\030\001\032\331\002\n\016InstancePolic" + + "y\022!\n\025allowed_machine_types\030\001 \003(\tB\002\030\001\022\024\n\014" + + "machine_type\030\002 \001(\t\022\030\n\020min_cpu_platform\030\003" + + " \001(\t\022Z\n\022provisioning_model\030\004 \001(\0162>.googl" + + "e.cloud.batch.v1alpha.AllocationPolicy.P" + + "rovisioningModel\022N\n\014accelerators\030\005 \003(\01328" + + ".google.cloud.batch.v1alpha.AllocationPo" + + "licy.Accelerator\022H\n\005disks\030\006 \003(\01329.google" + + ".cloud.batch.v1alpha.AllocationPolicy.At" + + "tachedDisk\032\266\001\n\030InstancePolicyOrTemplate\022" + + "M\n\006policy\030\001 \001(\0132;.google.cloud.batch.v1a" + + "lpha.AllocationPolicy.InstancePolicyH\000\022\033" + + "\n\021instance_template\030\002 \001(\tH\000\022\033\n\023install_g" + + "pu_drivers\030\003 \001(\010B\021\n\017policy_template\032W\n\020N" + + "etworkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubn" + + "etwork\030\002 \001(\t\022\036\n\026no_external_ip_address\030\003" + + " \001(\010\032j\n\rNetworkPolicy\022Y\n\022network_interfa" + + "ces\030\001 \003(\0132=.google.cloud.batch.v1alpha.A" + + "llocationPolicy.NetworkInterface\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "`\n\021ProvisioningModel\022\"\n\036PROVISIONING_MOD" + + "EL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT\020\002" + + "\022\017\n\013PREEMPTIBLE\020\003\"\351\005\n\tTaskGroup\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022<\n\ttask_spec\030\003 \001(\0132$.google.c" + + "loud.batch.v1alpha.TaskSpecB\003\340A\002\022\022\n\ntask" + + "_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022Q\n\021sch" + + "eduling_policy\030\006 \001(\01626.google.cloud.batc" + + "h.v1alpha.TaskGroup.SchedulingPolicy\022G\n\021" + + "allocation_policy\030\007 \001(\0132,.google.cloud.b" + + "atch.v1alpha.AllocationPolicy\022A\n\006labels\030" + + "\010 \003(\01321.google.cloud.batch.v1alpha.TaskG" + + "roup.LabelsEntry\022B\n\021task_environments\030\t " + + "\003(\0132\'.google.cloud.batch.v1alpha.Environ" + + "ment\022\033\n\023task_count_per_node\030\n \001(\003\022\032\n\022req" + + "uire_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\005val" + + "ue\030\002 \001(\t:\0028\001\"N\n\020SchedulingPolicy\022!\n\035SCHE" + + "DULING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_A" + + "S_POSSIBLE\020\001:o\352Al\n\036batch.googleapis.com/" + + "TaskGroup\022Jprojects/{project}/locations/" + + "{location}/jobs/{job}/taskGroups/{task_g" + + "roup}\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022\016" + + "\n\006scopes\030\002 \003(\tB\315\001\n\036com.google.cloud.batc" + + "h.v1alphaB\010JobProtoP\001Z?google.golang.org" + + "/genproto/googleapis/cloud/batch/v1alpha" + + ";batch\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alph" + + "a\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Google:" + + ":Cloud::Batch::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 1b5a1b2af69e..b313d2910c0b 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 @@ -342,8 +342,6 @@ message AllocationPolicy { // The number of accelerators of this type. int64 count = 2; - // When true, Batch will install the GPU drivers. - // This field will be ignored if specified. bool install_gpu_drivers = 3 [deprecated = true]; } @@ -454,7 +452,7 @@ message AllocationPolicy { repeated ProvisioningModel provisioning_models = 4 [deprecated = true]; // Email of the service account that VMs will run as. - string service_account_email = 5; + string service_account_email = 5 [deprecated = true]; // Service account that VMs will run as. // Not yet implemented.