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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getDefaultLeaderLocation()
If true, this location is designated as the default leader location where leader replicas are placed.String
getLocation()
The location of the serving resources, e.g.com.google.protobuf.ByteString
getLocationBytes()
The location of the serving resources, e.g.ReplicaInfo.ReplicaType
getType()
The type of replica.int
getTypeValue()
The type of replica.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
ReplicaInfo.ReplicaType 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.
-
-