Interface CapacityAdviceRequestDistributionPolicyOrBuilder (1.109.0)

public interface CapacityAdviceRequestDistributionPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetShape()

public abstract String getTargetShape()

Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.

optional string target_shape = 338621299;

Returns
Type Description
String

The targetShape.

getTargetShapeBytes()

public abstract ByteString getTargetShapeBytes()

Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.

optional string target_shape = 338621299;

Returns
Type Description
ByteString

The bytes for targetShape.

getZones(int index)

public abstract CapacityAdviceRequestDistributionPolicyZoneConfiguration getZones(int index)

Zones where Capacity Advisor looks for capacity.

repeated .google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration zones = 116085319;

Parameter
Name Description
index int
Returns
Type Description
CapacityAdviceRequestDistributionPolicyZoneConfiguration

getZonesCount()

public abstract int getZonesCount()

Zones where Capacity Advisor looks for capacity.

repeated .google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration zones = 116085319;

Returns
Type Description
int

getZonesList()

public abstract List<CapacityAdviceRequestDistributionPolicyZoneConfiguration> getZonesList()

Zones where Capacity Advisor looks for capacity.

repeated .google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration zones = 116085319;

Returns
Type Description
List<CapacityAdviceRequestDistributionPolicyZoneConfiguration>

getZonesOrBuilder(int index)

public abstract CapacityAdviceRequestDistributionPolicyZoneConfigurationOrBuilder getZonesOrBuilder(int index)

Zones where Capacity Advisor looks for capacity.

repeated .google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration zones = 116085319;

Parameter
Name Description
index int
Returns
Type Description
CapacityAdviceRequestDistributionPolicyZoneConfigurationOrBuilder

getZonesOrBuilderList()

public abstract List<? extends CapacityAdviceRequestDistributionPolicyZoneConfigurationOrBuilder> getZonesOrBuilderList()

Zones where Capacity Advisor looks for capacity.

repeated .google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfiguration zones = 116085319;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicyZoneConfigurationOrBuilder>

hasTargetShape()

public abstract boolean hasTargetShape()

Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED. Check the TargetShape enum for the list of possible values.

optional string target_shape = 338621299;

Returns
Type Description
boolean

Whether the targetShape field is set.