- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobStatus.InstanceStatus.BuilderImplements
JobStatus.InstanceStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
JobStatus.InstanceStatus.Builder |
build()
public JobStatus.InstanceStatus build()
Type | Description |
JobStatus.InstanceStatus |
buildPartial()
public JobStatus.InstanceStatus buildPartial()
Type | Description |
JobStatus.InstanceStatus |
clear()
public JobStatus.InstanceStatus.Builder clear()
Type | Description |
JobStatus.InstanceStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobStatus.InstanceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
JobStatus.InstanceStatus.Builder |
clearMachineType()
public JobStatus.InstanceStatus.Builder clearMachineType()
The Compute Engine machine type.
string machine_type = 1;
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobStatus.InstanceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
JobStatus.InstanceStatus.Builder |
clearProvisioningModel()
public JobStatus.InstanceStatus.Builder clearProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
clearTaskPack()
public JobStatus.InstanceStatus.Builder clearTaskPack()
The max number of tasks can be assigned to this instance type.
int64 task_pack = 3;
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
clone()
public JobStatus.InstanceStatus.Builder clone()
Type | Description |
JobStatus.InstanceStatus.Builder |
getDefaultInstanceForType()
public JobStatus.InstanceStatus getDefaultInstanceForType()
Type | Description |
JobStatus.InstanceStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMachineType()
public String getMachineType()
The Compute Engine machine type.
string machine_type = 1;
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The Compute Engine machine type.
string machine_type = 1;
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;
Type | Description |
AllocationPolicy.ProvisioningModel | The provisioningModel. |
getProvisioningModelValue()
public int getProvisioningModelValue()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
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;
Type | Description |
long | The taskPack. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(JobStatus.InstanceStatus other)
public JobStatus.InstanceStatus.Builder mergeFrom(JobStatus.InstanceStatus other)
Name | Description |
other | JobStatus.InstanceStatus |
Type | Description |
JobStatus.InstanceStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobStatus.InstanceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobStatus.InstanceStatus.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public JobStatus.InstanceStatus.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
JobStatus.InstanceStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
JobStatus.InstanceStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
JobStatus.InstanceStatus.Builder |
setMachineType(String value)
public JobStatus.InstanceStatus.Builder setMachineType(String value)
The Compute Engine machine type.
string machine_type = 1;
Name | Description |
value | String The machineType to set. |
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public JobStatus.InstanceStatus.Builder setMachineTypeBytes(ByteString value)
The Compute Engine machine type.
string machine_type = 1;
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
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;
Name | Description |
value | AllocationPolicy.ProvisioningModel The provisioningModel to set. |
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
setProvisioningModelValue(int value)
public JobStatus.InstanceStatus.Builder setProvisioningModelValue(int value)
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Name | Description |
value | int The enum numeric value on the wire for provisioningModel to set. |
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobStatus.InstanceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
JobStatus.InstanceStatus.Builder |
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;
Name | Description |
value | long The taskPack to set. |
Type | Description |
JobStatus.InstanceStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
JobStatus.InstanceStatus.Builder |