public interface ReplicaInfoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
ByteString |
getLocationBytes()
The location of the serving resources, e.g.
|
ReplicaInfo.ReplicaType |
getType()
The type of replica.
|
int |
getTypeValue()
The type of replica.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getLocation()
The location of the serving resources, e.g. "us-central1".
string location = 1;
ByteString getLocationBytes()
The location of the serving resources, e.g. "us-central1".
string location = 1;
int getTypeValue()
The type of replica.
.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
ReplicaInfo.ReplicaType getType()
The type of replica.
.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
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;
Copyright © 2022 Google LLC. All rights reserved.