public interface ResourcePolicyGroupPlacementPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAcceleratorTopologyMode()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The acceleratorTopologyMode. |
getAcceleratorTopologyModeBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for acceleratorTopologyMode. |
getAvailabilityDomainCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The availabilityDomainCount. |
getCollocation()
public abstract String getCollocation()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
| Returns | |
|---|---|
| Type | Description |
String |
The collocation. |
getCollocationBytes()
public abstract ByteString getCollocationBytes()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collocation. |
getGpuTopology()
public abstract String getGpuTopology()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;
| Returns | |
|---|---|
| Type | Description |
String |
The gpuTopology. |
getGpuTopologyBytes()
public abstract ByteString getGpuTopologyBytes()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gpuTopology. |
getVmCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The vmCount. |
hasAcceleratorTopologyMode()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the acceleratorTopologyMode field is set. |
hasAvailabilityDomainCount()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the availabilityDomainCount field is set. |
hasCollocation()
public abstract boolean hasCollocation()Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the collocation field is set. |
hasGpuTopology()
public abstract boolean hasGpuTopology()Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
optional string gpu_topology = 247948450;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gpuTopology field is set. |
hasVmCount()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the vmCount field is set. |