Package com.google.cloud.compute.v1
Interface FutureResourcesSpecAggregateResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FutureResourcesSpecAggregateResources,FutureResourcesSpecAggregateResources.Builder
@Generated
public interface FutureResourcesSpecAggregateResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongSize of the request, in accelerator (chip) count.The VM family that all instances scheduled against this reservation must belong to.com.google.protobuf.ByteStringThe VM family that all instances scheduled against this reservation must belong to.Workload type.com.google.protobuf.ByteStringWorkload type.booleanSize of the request, in accelerator (chip) count.booleanThe VM family that all instances scheduled against this reservation must belong to.booleanWorkload type.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
-
hasAcceleratorCount
boolean hasAcceleratorCount()Size of the request, in accelerator (chip) count.
optional int64 accelerator_count = 504879675;- Returns:
- Whether the acceleratorCount field is set.
-
getAcceleratorCount
long getAcceleratorCount()Size of the request, in accelerator (chip) count.
optional int64 accelerator_count = 504879675;- Returns:
- The acceleratorCount.
-
hasVmFamily
boolean hasVmFamily()The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.
optional string vm_family = 125017580;- Returns:
- Whether the vmFamily field is set.
-
getVmFamily
String getVmFamily()The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.
optional string vm_family = 125017580;- Returns:
- The vmFamily.
-
getVmFamilyBytes
com.google.protobuf.ByteString getVmFamilyBytes()The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.
optional string vm_family = 125017580;- Returns:
- The bytes for vmFamily.
-
hasWorkloadType
boolean hasWorkloadType()Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.
optional string workload_type = 273432322;- Returns:
- Whether the workloadType field is set.
-
getWorkloadType
String getWorkloadType()Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.
optional string workload_type = 273432322;- Returns:
- The workloadType.
-
getWorkloadTypeBytes
com.google.protobuf.ByteString getWorkloadTypeBytes()Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.
optional string workload_type = 273432322;- Returns:
- The bytes for workloadType.
-