Interface ResourcePolicyWorkloadPolicyOrBuilder (1.82.0)

public interface ResourcePolicyWorkloadPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorTopology()

public abstract String getAcceleratorTopology()

Specifies the topology required to create a partition for VMs that have interconnected GPUs.

optional string accelerator_topology = 389323203;

Returns
Type Description
String

The acceleratorTopology.

getAcceleratorTopologyBytes()

public abstract ByteString getAcceleratorTopologyBytes()

Specifies the topology required to create a partition for VMs that have interconnected GPUs.

optional string accelerator_topology = 389323203;

Returns
Type Description
ByteString

The bytes for acceleratorTopology.

getMaxTopologyDistance()

public abstract 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
Type Description
String

The maxTopologyDistance.

getMaxTopologyDistanceBytes()

public abstract 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
Type Description
ByteString

The bytes for maxTopologyDistance.

getType()

public abstract 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
Type Description
String

The type.

getTypeBytes()

public abstract 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
Type Description
ByteString

The bytes for type.

hasAcceleratorTopology()

public abstract boolean hasAcceleratorTopology()

Specifies the topology required to create a partition for VMs that have interconnected GPUs.

optional string accelerator_topology = 389323203;

Returns
Type Description
boolean

Whether the acceleratorTopology field is set.

hasMaxTopologyDistance()

public abstract 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
Type Description
boolean

Whether the maxTopologyDistance field is set.

hasType()

public abstract 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
Type Description
boolean

Whether the type field is set.