Package com.google.cloud.compute.v1
Interface ResourcePolicyWorkloadPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyWorkloadPolicy,ResourcePolicyWorkloadPolicy.Builder
@Generated
public interface ResourcePolicyWorkloadPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the topology required to create a partition for VMs that have interconnected GPUs.com.google.protobuf.ByteStringSpecifies the topology required to create a partition for VMs that have interconnected GPUs.Specifies the connection mode for the accelerator topology.com.google.protobuf.ByteStringSpecifies the connection mode for the accelerator topology.Specifies the maximum distance between instances.com.google.protobuf.ByteStringSpecifies the maximum distance between instances.getType()Specifies the intent of the instance placement in the MIG.com.google.protobuf.ByteStringSpecifies the intent of the instance placement in the MIG.booleanSpecifies the topology required to create a partition for VMs that have interconnected GPUs.booleanSpecifies the connection mode for the accelerator topology.booleanSpecifies the maximum distance between instances.booleanhasType()Specifies the intent of the instance placement in the MIG.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
-
hasAcceleratorTopology
boolean hasAcceleratorTopology()Specifies the topology required to create a partition for VMs that have interconnected GPUs.
optional string accelerator_topology = 389323203;- Returns:
- Whether the acceleratorTopology field is set.
-
getAcceleratorTopology
String getAcceleratorTopology()Specifies the topology required to create a partition for VMs that have interconnected GPUs.
optional string accelerator_topology = 389323203;- Returns:
- The acceleratorTopology.
-
getAcceleratorTopologyBytes
com.google.protobuf.ByteString getAcceleratorTopologyBytes()Specifies the topology required to create a partition for VMs that have interconnected GPUs.
optional string accelerator_topology = 389323203;- Returns:
- The bytes for acceleratorTopology.
-
hasAcceleratorTopologyMode
boolean hasAcceleratorTopologyMode()Specifies the connection mode for the accelerator topology. If not specified, the default is AUTO_CONNECT. Check the AcceleratorTopologyMode enum for the list of possible values.
optional string accelerator_topology_mode = 284293791;- Returns:
- Whether the acceleratorTopologyMode field is set.
-
getAcceleratorTopologyMode
String getAcceleratorTopologyMode()Specifies the connection mode for the accelerator topology. If not specified, the default is AUTO_CONNECT. Check the AcceleratorTopologyMode enum for the list of possible values.
optional string accelerator_topology_mode = 284293791;- Returns:
- The acceleratorTopologyMode.
-
getAcceleratorTopologyModeBytes
com.google.protobuf.ByteString getAcceleratorTopologyModeBytes()Specifies the connection mode for the accelerator topology. If not specified, the default is AUTO_CONNECT. Check the AcceleratorTopologyMode enum for the list of possible values.
optional string accelerator_topology_mode = 284293791;- Returns:
- The bytes for acceleratorTopologyMode.
-
hasMaxTopologyDistance
boolean hasMaxTopologyDistance()Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
optional string max_topology_distance = 7521706;- Returns:
- Whether the maxTopologyDistance field is set.
-
getMaxTopologyDistance
String getMaxTopologyDistance()Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
optional string max_topology_distance = 7521706;- Returns:
- The maxTopologyDistance.
-
getMaxTopologyDistanceBytes
com.google.protobuf.ByteString getMaxTopologyDistanceBytes()Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
optional string max_topology_distance = 7521706;- Returns:
- The bytes for maxTopologyDistance.
-
hasType
boolean hasType()Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-