Interface ReplicaInfoOrBuilder

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

public interface ReplicaInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If true, this location is designated as the default leader location where leader replicas are placed.
    The location of the serving resources, e.g., "us-central1".
    com.google.protobuf.ByteString
    The location of the serving resources, e.g., "us-central1".
    The type of replica.
    int
    The type of replica.

    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

    • getLocation

      String getLocation()
       The location of the serving resources, e.g., "us-central1".
       
      string location = 1;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       The location of the serving resources, e.g., "us-central1".
       
      string location = 1;
      Returns:
      The bytes for location.
    • getTypeValue

      int getTypeValue()
       The type of replica.
       
      .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       The type of replica.
       
      .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
      Returns:
      The type.
    • getDefaultLeaderLocation

      boolean getDefaultLeaderLocation()
       If true, this location is designated as the default leader location where
       leader replicas are placed. See the [region types
       documentation](https://cloud.google.com/spanner/docs/instances#region_types)
       for more details.
       
      bool default_leader_location = 3;
      Returns:
      The defaultLeaderLocation.