public static final class JobStatus.InstanceStatus.Builder extends GeneratedMessageV3.Builder<JobStatus.InstanceStatus.Builder> implements JobStatus.InstanceStatusOrBuilder
VM instance status.
Protobuf type google.cloud.batch.v1alpha.JobStatus.InstanceStatus
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobStatus.InstanceStatus build()
Returns
buildPartial()
public JobStatus.InstanceStatus buildPartial()
Returns
clear()
public JobStatus.InstanceStatus.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobStatus.InstanceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMachineType()
public JobStatus.InstanceStatus.Builder clearMachineType()
The Compute Engine machine type.
string machine_type = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public JobStatus.InstanceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProvisioningModel()
public JobStatus.InstanceStatus.Builder clearProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns
clearTaskPack()
public JobStatus.InstanceStatus.Builder clearTaskPack()
The max number of tasks can be assigned to this instance type.
int64 task_pack = 3;
Returns
clone()
public JobStatus.InstanceStatus.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public JobStatus.InstanceStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMachineType()
public String getMachineType()
The Compute Engine machine type.
string machine_type = 1;
Returns
Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The Compute Engine machine type.
string machine_type = 1;
Returns
Type |
Description |
ByteString |
The bytes for machineType.
|
getProvisioningModel()
public AllocationPolicy.ProvisioningModel getProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns
getProvisioningModelValue()
public int getProvisioningModelValue()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns
Type |
Description |
int |
The enum numeric value on the wire for provisioningModel.
|
getTaskPack()
public long getTaskPack()
The max number of tasks can be assigned to this instance type.
int64 task_pack = 3;
Returns
Type |
Description |
long |
The taskPack.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(JobStatus.InstanceStatus other)
public JobStatus.InstanceStatus.Builder mergeFrom(JobStatus.InstanceStatus other)
Parameter
Returns
public JobStatus.InstanceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobStatus.InstanceStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMachineType(String value)
public JobStatus.InstanceStatus.Builder setMachineType(String value)
The Compute Engine machine type.
string machine_type = 1;
Parameter
Name |
Description |
value |
String
The machineType to set.
|
Returns
setMachineTypeBytes(ByteString value)
public JobStatus.InstanceStatus.Builder setMachineTypeBytes(ByteString value)
The Compute Engine machine type.
string machine_type = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for machineType to set.
|
Returns
setProvisioningModel(AllocationPolicy.ProvisioningModel value)
public JobStatus.InstanceStatus.Builder setProvisioningModel(AllocationPolicy.ProvisioningModel value)
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Parameter
Returns
setProvisioningModelValue(int value)
public JobStatus.InstanceStatus.Builder setProvisioningModelValue(int value)
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Parameter
Name |
Description |
value |
int
The enum numeric value on the wire for provisioningModel to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobStatus.InstanceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTaskPack(long value)
public JobStatus.InstanceStatus.Builder setTaskPack(long value)
The max number of tasks can be assigned to this instance type.
int64 task_pack = 3;
Parameter
Name |
Description |
value |
long
The taskPack to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides