public static final class JobStatus.InstanceStatus extends GeneratedMessageV3 implements JobStatus.InstanceStatusOrBuilder
VM instance status.
Protobuf type google.cloud.batch.v1.JobStatus.InstanceStatus
Static Fields
BOOT_DISK_FIELD_NUMBER
public static final int BOOT_DISK_FIELD_NUMBER
Field Value
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
PROVISIONING_MODEL_FIELD_NUMBER
public static final int PROVISIONING_MODEL_FIELD_NUMBER
Field Value
TASK_PACK_FIELD_NUMBER
public static final int TASK_PACK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobStatus.InstanceStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobStatus.InstanceStatus.Builder newBuilder()
Returns
newBuilder(JobStatus.InstanceStatus prototype)
public static JobStatus.InstanceStatus.Builder newBuilder(JobStatus.InstanceStatus prototype)
Parameter
Returns
public static JobStatus.InstanceStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobStatus.InstanceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobStatus.InstanceStatus parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobStatus.InstanceStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobStatus.InstanceStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobStatus.InstanceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobStatus.InstanceStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobStatus.InstanceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobStatus.InstanceStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobStatus.InstanceStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBootDisk()
public AllocationPolicy.Disk getBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns
getBootDiskOrBuilder()
public AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
Returns
getDefaultInstanceForType()
public JobStatus.InstanceStatus getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<JobStatus.InstanceStatus> getParserForType()
Returns
Overrides
getProvisioningModel()
public AllocationPolicy.ProvisioningModel getProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
Returns
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobStatus.InstanceStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobStatus.InstanceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobStatus.InstanceStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions