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
Modifier and TypeMethodDescriptionThe VM boot disk.The VM boot disk.The Compute Engine machine type.com.google.protobuf.ByteStringThe Compute Engine machine type.The VM instance provisioning model.intThe VM instance provisioning model.longThe max number of tasks can be assigned to this instance type.booleanThe VM boot disk.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-