Package com.google.cloud.batch.v1alpha
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.DiskgetBootDisk()The VM boot disk.AllocationPolicy.DiskOrBuildergetBootDiskOrBuilder()The VM boot disk.StringgetMachineType()The Compute Engine machine type.com.google.protobuf.ByteStringgetMachineTypeBytes()The Compute Engine machine type.AllocationPolicy.ProvisioningModelgetProvisioningModel()The VM instance provisioning model.intgetProvisioningModelValue()The VM instance provisioning model.longgetTaskPack()The max number of tasks can be assigned to this instance type.booleanhasBootDisk()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.v1alpha.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.v1alpha.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.v1alpha.AllocationPolicy.Disk boot_disk = 4;- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
AllocationPolicy.Disk getBootDisk()
The VM boot disk.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
The VM boot disk.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;
-
-