Interface StretchedClusterConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getPreferredLocation

      String getPreferredLocation()
       Required. Zone that will remain operational when connection between the two
       zones is lost. Specify the resource name of a zone that belongs to the
       region of the private cloud. For example:
       `projects/{project}/locations/europe-west3-a` where `{project}` can either
       be a project number or a project ID.
       
      string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The preferredLocation.
    • getPreferredLocationBytes

      com.google.protobuf.ByteString getPreferredLocationBytes()
       Required. Zone that will remain operational when connection between the two
       zones is lost. Specify the resource name of a zone that belongs to the
       region of the private cloud. For example:
       `projects/{project}/locations/europe-west3-a` where `{project}` can either
       be a project number or a project ID.
       
      string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for preferredLocation.
    • getSecondaryLocation

      String getSecondaryLocation()
       Required. Additional zone for a higher level of availability and load
       balancing. Specify the resource name of a zone that belongs to the region
       of the private cloud. For example:
       `projects/{project}/locations/europe-west3-b` where `{project}` can either
       be a project number or a project ID.
       
      string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The secondaryLocation.
    • getSecondaryLocationBytes

      com.google.protobuf.ByteString getSecondaryLocationBytes()
       Required. Additional zone for a higher level of availability and load
       balancing. Specify the resource name of a zone that belongs to the region
       of the private cloud. For example:
       `projects/{project}/locations/europe-west3-b` where `{project}` can either
       be a project number or a project ID.
       
      string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for secondaryLocation.