Package com.google.cloud.batch.v1
Interface JobStatus.InstanceStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobStatus.InstanceStatus
,JobStatus.InstanceStatus.Builder
- Enclosing class:
- JobStatus
public static interface JobStatus.InstanceStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AllocationPolicy.Disk
getBootDisk()
The VM boot disk.AllocationPolicy.DiskOrBuilder
getBootDiskOrBuilder()
The VM boot disk.String
getMachineType()
The Compute Engine machine type.com.google.protobuf.ByteString
getMachineTypeBytes()
The Compute Engine machine type.AllocationPolicy.ProvisioningModel
getProvisioningModel()
The VM instance provisioning model.int
getProvisioningModelValue()
The VM instance provisioning model.long
getTaskPack()
The max number of tasks can be assigned to this instance type.boolean
hasBootDisk()
The VM boot disk.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMachineType
String getMachineType()
The Compute Engine machine type.
string machine_type = 1;
- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()
The Compute Engine machine type.
string machine_type = 1;
- Returns:
- The bytes for machineType.
-
getProvisioningModelValue
int getProvisioningModelValue()
The VM instance provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
- Returns:
- The enum numeric value on the wire for provisioningModel.
-
getProvisioningModel
AllocationPolicy.ProvisioningModel getProvisioningModel()
The VM instance provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 2;
- Returns:
- The provisioningModel.
-
getTaskPack
long getTaskPack()
The max number of tasks can be assigned to this instance type.
int64 task_pack = 3;
- Returns:
- The taskPack.
-
hasBootDisk
boolean hasBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
AllocationPolicy.Disk getBootDisk()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
The VM boot disk.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 4;
-
-