Package com.google.cloud.compute.v1
Interface ResourcePolicyGroupPlacementPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyGroupPlacementPolicy,ResourcePolicyGroupPlacementPolicy.Builder
@Generated
public interface ResourcePolicyGroupPlacementPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the connection mode for the accelerator topology.com.google.protobuf.ByteStringSpecifies the connection mode for the accelerator topology.intThe number of availability domains to spread instances across.Specifies network collocation Check the Collocation enum for the list of possible values.com.google.protobuf.ByteStringSpecifies network collocation Check the Collocation enum for the list of possible values.Specifies the shape of the GPU slice, in slice based GPU families eg.com.google.protobuf.ByteStringSpecifies the shape of the GPU slice, in slice based GPU families eg.intNumber of VMs in this placement group.booleanSpecifies the connection mode for the accelerator topology.booleanThe number of availability domains to spread instances across.booleanSpecifies network collocation Check the Collocation enum for the list of possible values.booleanSpecifies the shape of the GPU slice, in slice based GPU families eg.booleanNumber of VMs in this placement group.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
-
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.
-
hasAvailabilityDomainCount
boolean hasAvailabilityDomainCount()The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
optional int32 availability_domain_count = 12453432;- Returns:
- Whether the availabilityDomainCount field is set.
-
getAvailabilityDomainCount
int getAvailabilityDomainCount()The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
optional int32 availability_domain_count = 12453432;- Returns:
- The availabilityDomainCount.
-
hasCollocation
boolean hasCollocation()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;- Returns:
- Whether the collocation field is set.
-
getCollocation
String getCollocation()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;- Returns:
- The collocation.
-
getCollocationBytes
com.google.protobuf.ByteString getCollocationBytes()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;- Returns:
- The bytes for collocation.
-
hasGpuTopology
boolean hasGpuTopology()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;- Returns:
- Whether the gpuTopology field is set.
-
getGpuTopology
String getGpuTopology()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;- Returns:
- The gpuTopology.
-
getGpuTopologyBytes
com.google.protobuf.ByteString getGpuTopologyBytes()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;- Returns:
- The bytes for gpuTopology.
-
hasVmCount
boolean hasVmCount()Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
optional int32 vm_count = 261463431;- Returns:
- Whether the vmCount field is set.
-
getVmCount
int getVmCount()Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
optional int32 vm_count = 261463431;- Returns:
- The vmCount.
-