Package com.google.cloud.compute.v1
Interface DistributionPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DistributionPolicy,DistributionPolicy.Builder
@Generated
public interface DistributionPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).com.google.protobuf.ByteStringThe distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).getZones(int index) Zones where the regional managed instance group will create and manage its instances.intZones where the regional managed instance group will create and manage its instances.Zones where the regional managed instance group will create and manage its instances.getZonesOrBuilder(int index) Zones where the regional managed instance group will create and manage its instances.List<? extends DistributionPolicyZoneConfigurationOrBuilder>Zones where the regional managed instance group will create and manage its instances.booleanThe distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTargetShape
boolean hasTargetShape()The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;- Returns:
- Whether the targetShape field is set.
-
getTargetShape
String getTargetShape()The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;- Returns:
- The targetShape.
-
getTargetShapeBytes
com.google.protobuf.ByteString getTargetShapeBytes()The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
optional string target_shape = 338621299;- Returns:
- The bytes for targetShape.
-
getZonesList
List<DistributionPolicyZoneConfiguration> getZonesList()Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; -
getZones
Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; -
getZonesCount
int getZonesCount()Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; -
getZonesOrBuilderList
List<? extends DistributionPolicyZoneConfigurationOrBuilder> getZonesOrBuilderList()Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; -
getZonesOrBuilder
Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319;
-