Interface DistributionPolicyOrBuilder (1.21.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the targetShape field is set.