Skip to content

Commit

Permalink
chore: Update generation configuration at Tue Jun 25 23:10:13 UTC 2024 (
Browse files Browse the repository at this point in the history
#10988)

* chore: Update generation configuration at Tue Jun 25 23:10:13 UTC 2024

* chore: generate libraries at Tue Jun 25 23:13:25 UTC 2024
  • Loading branch information
cloud-java-bot authored Jun 26, 2024
1 parent d910135 commit 564c369
Show file tree
Hide file tree
Showing 43 changed files with 4,076 additions and 1,061 deletions.
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.41.0
gapic_generator_version: 2.42.0
protoc_version: '25.3'
googleapis_commitish: e4e39feea63b5f0d646fc193acbf536b5d292b64
googleapis_commitish: 46eb6505cc4b8340d304510d7226de96bafe9314
libraries_bom_version: 26.42.0
template_excludes:
- .github/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,9 @@ public interface DiskOrBuilder
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -1386,7 +1388,9 @@ public interface DiskOrBuilder
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand Down Expand Up @@ -1757,7 +1761,9 @@ public com.google.protobuf.ByteString getSnapshotBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -1783,7 +1789,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand Down Expand Up @@ -2756,7 +2764,9 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -2781,7 +2791,9 @@ public java.lang.String getType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -2806,7 +2818,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -2830,7 +2844,9 @@ public Builder setType(java.lang.String value) {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand All @@ -2850,7 +2866,9 @@ public Builder clearType() {
* Disk type as shown in `gcloud compute disk-types list`.
* For example, local SSD uses type "local-ssd".
* Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd"
* or "pd-standard".
* or "pd-standard". If not specified, "pd-standard" will be used as the
* default type for non-boot disks, "pd-balanced" will be used as the
* default type for boot disks.
* </pre>
*
* <code>string type = 1;</code>
Expand Down Expand Up @@ -4469,7 +4487,7 @@ public interface AcceleratorOrBuilder
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=360
* deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -4640,7 +4658,7 @@ public long getCount() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=360
* deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Override
Expand Down Expand Up @@ -5302,7 +5320,7 @@ public Builder clearCount() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=360
* deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return The installGpuDrivers.
*/
@java.lang.Override
Expand All @@ -5320,7 +5338,7 @@ public boolean getInstallGpuDrivers() {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=360
* deprecated. See google/cloud/batch/v1/job.proto;l=370
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
Expand All @@ -5342,7 +5360,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
* deprecated. See google/cloud/batch/v1/job.proto;l=360
* deprecated. See google/cloud/batch/v1/job.proto;l=370
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -8525,6 +8543,20 @@ public interface InstancePolicyOrTemplateOrBuilder
*/
boolean getInstallGpuDrivers();

/**
*
*
* <pre>
* Optional. Set this field true if you want Batch to install Ops Agent on
* your behalf. Default is false.
* </pre>
*
* <code>bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The installOpsAgent.
*/
boolean getInstallOpsAgent();

com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate.PolicyTemplateCase
getPolicyTemplateCase();
}
Expand Down Expand Up @@ -8776,6 +8808,25 @@ public boolean getInstallGpuDrivers() {
return installGpuDrivers_;
}

public static final int INSTALL_OPS_AGENT_FIELD_NUMBER = 4;
private boolean installOpsAgent_ = false;
/**
*
*
* <pre>
* Optional. Set this field true if you want Batch to install Ops Agent on
* your behalf. Default is false.
* </pre>
*
* <code>bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The installOpsAgent.
*/
@java.lang.Override
public boolean getInstallOpsAgent() {
return installOpsAgent_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand All @@ -8800,6 +8851,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (installGpuDrivers_ != false) {
output.writeBool(3, installGpuDrivers_);
}
if (installOpsAgent_ != false) {
output.writeBool(4, installOpsAgent_);
}
getUnknownFields().writeTo(output);
}

Expand All @@ -8820,6 +8874,9 @@ public int getSerializedSize() {
if (installGpuDrivers_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, installGpuDrivers_);
}
if (installOpsAgent_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, installOpsAgent_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand All @@ -8837,6 +8894,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.batch.v1.AllocationPolicy.InstancePolicyOrTemplate) obj;

if (getInstallGpuDrivers() != other.getInstallGpuDrivers()) return false;
if (getInstallOpsAgent() != other.getInstallOpsAgent()) return false;
if (!getPolicyTemplateCase().equals(other.getPolicyTemplateCase())) return false;
switch (policyTemplateCase_) {
case 1:
Expand All @@ -8861,6 +8919,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + INSTALL_GPU_DRIVERS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInstallGpuDrivers());
hash = (37 * hash) + INSTALL_OPS_AGENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInstallOpsAgent());
switch (policyTemplateCase_) {
case 1:
hash = (37 * hash) + POLICY_FIELD_NUMBER;
Expand Down Expand Up @@ -9024,6 +9084,7 @@ public Builder clear() {
policyBuilder_.clear();
}
installGpuDrivers_ = false;
installOpsAgent_ = false;
policyTemplateCase_ = 0;
policyTemplate_ = null;
return this;
Expand Down Expand Up @@ -9069,6 +9130,9 @@ private void buildPartial0(
if (((from_bitField0_ & 0x00000004) != 0)) {
result.installGpuDrivers_ = installGpuDrivers_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.installOpsAgent_ = installOpsAgent_;
}
}

private void buildPartialOneofs(
Expand Down Expand Up @@ -9134,6 +9198,9 @@ public Builder mergeFrom(
if (other.getInstallGpuDrivers() != false) {
setInstallGpuDrivers(other.getInstallGpuDrivers());
}
if (other.getInstallOpsAgent() != false) {
setInstallOpsAgent(other.getInstallOpsAgent());
}
switch (other.getPolicyTemplateCase()) {
case POLICY:
{
Expand Down Expand Up @@ -9197,6 +9264,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 24
case 32:
{
installOpsAgent_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -9669,6 +9742,62 @@ public Builder clearInstallGpuDrivers() {
return this;
}

private boolean installOpsAgent_;
/**
*
*
* <pre>
* Optional. Set this field true if you want Batch to install Ops Agent on
* your behalf. Default is false.
* </pre>
*
* <code>bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The installOpsAgent.
*/
@java.lang.Override
public boolean getInstallOpsAgent() {
return installOpsAgent_;
}
/**
*
*
* <pre>
* Optional. Set this field true if you want Batch to install Ops Agent on
* your behalf. Default is false.
* </pre>
*
* <code>bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The installOpsAgent to set.
* @return This builder for chaining.
*/
public Builder setInstallOpsAgent(boolean value) {

installOpsAgent_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
*
* <pre>
* Optional. Set this field true if you want Batch to install Ops Agent on
* your behalf. Default is false.
* </pre>
*
* <code>bool install_ops_agent = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return This builder for chaining.
*/
public Builder clearInstallOpsAgent() {
bitField0_ = (bitField0_ & ~0x00000008);
installOpsAgent_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
Expand Down
Loading

0 comments on commit 564c369

Please sign in to comment.