public static final class JobStatus.InstanceStatus extends GeneratedMessageV3 implements JobStatus.InstanceStatusOrBuilder
VM instance status.
Protobuf type google.cloud.batch.v1alpha.JobStatus.InstanceStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOOT_DISK_FIELD_NUMBER
public static final int BOOT_DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROVISIONING_MODEL_FIELD_NUMBER
public static final int PROVISIONING_MODEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TASK_PACK_FIELD_NUMBER
public static final int TASK_PACK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static JobStatus.InstanceStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static JobStatus.InstanceStatus.Builder newBuilder()
newBuilder(JobStatus.InstanceStatus prototype)
public static JobStatus.InstanceStatus.Builder newBuilder(JobStatus.InstanceStatus prototype)
public static JobStatus.InstanceStatus parseDelimitedFrom(InputStream input)
public static JobStatus.InstanceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static JobStatus.InstanceStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static JobStatus.InstanceStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(CodedInputStream input)
public static JobStatus.InstanceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(InputStream input)
public static JobStatus.InstanceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static JobStatus.InstanceStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobStatus.InstanceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<JobStatus.InstanceStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBootDisk()
public AllocationPolicy.Disk getBootDisk()
The VM boot disk.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;
getBootDiskOrBuilder()
public AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
The VM boot disk.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;
getDefaultInstanceForType()
public JobStatus.InstanceStatus getDefaultInstanceForType()
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()
Overrides
getProvisioningModel()
public AllocationPolicy.ProvisioningModel getProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hasBootDisk()
public boolean hasBootDisk()
The VM boot disk.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;
Returns |
Type |
Description |
boolean |
Whether the bootDisk field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public JobStatus.InstanceStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobStatus.InstanceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public JobStatus.InstanceStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides