Interface ZoneDistributionConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ZoneDistributionConfig, ZoneDistributionConfig.Builder

@Generated public interface ZoneDistributionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    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

    • getModeValue

      int getModeValue()
       Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not
       specified.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

       Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not
       specified.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mode.
    • getZone

      String getZone()
       Optional. When SINGLE ZONE distribution is selected, zone field would be
       used to allocate all resources in that zone. This is not applicable to
       MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
       
      string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       Optional. When SINGLE ZONE distribution is selected, zone field would be
       used to allocate all resources in that zone. This is not applicable to
       MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
       
      string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for zone.