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 Type
    Method
    Description
    The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).
    com.google.protobuf.ByteString
    The 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.
    int
    Zones 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.
    Zones where the regional managed instance group will create and manage its instances.
    boolean
    The 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

    isInitialized

    Methods 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

       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

      DistributionPolicyZoneConfigurationOrBuilder getZonesOrBuilder(int index)
       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;