- 0.51.0 (latest)
- 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.v1.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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
build()
public JobStatus.InstanceStatus build()
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus |
buildPartial()
public JobStatus.InstanceStatus buildPartial()
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus |
clear()
public JobStatus.InstanceStatus.Builder clear()
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
clearBootDisk()
public JobStatus.InstanceStatus.Builder clearBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobStatus.InstanceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
clearMachineType()
public JobStatus.InstanceStatus.Builder clearMachineType()
The Compute Engine machine type.
string machine_type = 1;
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobStatus.InstanceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
clearProvisioningModel()
public JobStatus.InstanceStatus.Builder clearProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
This builder for chaining. |
clone()
public JobStatus.InstanceStatus.Builder clone()
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
getBootDisk()
public AllocationPolicy.Disk getBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns | |
---|---|
Type | Description |
AllocationPolicy.Disk |
The bootDisk. |
getBootDiskBuilder()
public AllocationPolicy.Disk.Builder getBootDiskBuilder()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns | |
---|---|
Type | Description |
AllocationPolicy.Disk.Builder |
getBootDiskOrBuilder()
public AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns | |
---|---|
Type | Description |
AllocationPolicy.DiskOrBuilder |
getDefaultInstanceForType()
public JobStatus.InstanceStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns | |
---|---|
Type | Description |
AllocationPolicy.ProvisioningModel |
The provisioningModel. |
getProvisioningModelValue()
public int getProvisioningModelValue()
The VM instance provisioning model.
.google.cloud.batch.v1.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. |
hasBootDisk()
public boolean hasBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the bootDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBootDisk(AllocationPolicy.Disk value)
public JobStatus.InstanceStatus.Builder mergeBootDisk(AllocationPolicy.Disk value)
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Parameter | |
---|---|
Name | Description |
value |
AllocationPolicy.Disk |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
mergeFrom(JobStatus.InstanceStatus other)
public JobStatus.InstanceStatus.Builder mergeFrom(JobStatus.InstanceStatus other)
Parameter | |
---|---|
Name | Description |
other |
JobStatus.InstanceStatus |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobStatus.InstanceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public JobStatus.InstanceStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
setBootDisk(AllocationPolicy.Disk value)
public JobStatus.InstanceStatus.Builder setBootDisk(AllocationPolicy.Disk value)
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Parameter | |
---|---|
Name | Description |
value |
AllocationPolicy.Disk |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
setBootDisk(AllocationPolicy.Disk.Builder builderForValue)
public JobStatus.InstanceStatus.Builder setBootDisk(AllocationPolicy.Disk.Builder builderForValue)
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
AllocationPolicy.Disk.Builder |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.InstanceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
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 | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for machineType to set. |
Returns | |
---|---|
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.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Parameter | |
---|---|
Name | Description |
value |
AllocationPolicy.ProvisioningModel The provisioningModel to set. |
Returns | |
---|---|
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.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for provisioningModel to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
long The taskPack to set. |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.InstanceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus.Builder |