Interface DistributionPolicyOrBuilder (1.61.0)

public interface DistributionPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetShape()

public abstract String getTargetShape()

The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 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()

The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 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 DistributionPolicyZoneConfiguration getZones(int index)

Zones where the regional managed instance group will create and manage its instances.

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

Parameter
Name Description
index int
Returns
Type Description
DistributionPolicyZoneConfiguration

getZonesCount()

public abstract int getZonesCount()

Zones where the regional managed instance group will create and manage its instances.

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

Returns
Type Description
int

getZonesList()

public abstract List<DistributionPolicyZoneConfiguration> getZonesList()

Zones where the regional managed instance group will create and manage its instances.

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

Returns
Type Description
List<DistributionPolicyZoneConfiguration>

getZonesOrBuilder(int index)

public abstract DistributionPolicyZoneConfigurationOrBuilder getZonesOrBuilder(int index)

Zones where the regional managed instance group will create and manage its instances.

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

Parameter
Name Description
index int
Returns
Type Description
DistributionPolicyZoneConfigurationOrBuilder

getZonesOrBuilderList()

public abstract List<? extends DistributionPolicyZoneConfigurationOrBuilder> getZonesOrBuilderList()

Zones where the regional managed instance group will create and manage its instances.

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

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

hasTargetShape()

public abstract boolean hasTargetShape()

The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 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.