public final class ReplicaInfo extends GeneratedMessageV3 implements ReplicaInfoOrBuilder
Protobuf type google.spanner.admin.instance.v1.ReplicaInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReplicaInfoImplements
ReplicaInfoOrBuilderStatic Fields
DEFAULT_LEADER_LOCATION_FIELD_NUMBER
public static final int DEFAULT_LEADER_LOCATION_FIELD_NUMBER
Type | Description |
int |
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReplicaInfo getDefaultInstance()
Type | Description |
ReplicaInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ReplicaInfo.Builder newBuilder()
Type | Description |
ReplicaInfo.Builder |
newBuilder(ReplicaInfo prototype)
public static ReplicaInfo.Builder newBuilder(ReplicaInfo prototype)
Name | Description |
prototype | ReplicaInfo |
Type | Description |
ReplicaInfo.Builder |
parseDelimitedFrom(InputStream input)
public static ReplicaInfo parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReplicaInfo parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReplicaInfo parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReplicaInfo parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReplicaInfo parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReplicaInfo parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplicaInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReplicaInfo |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReplicaInfo> parser()
Type | Description |
Parser<ReplicaInfo> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ReplicaInfo getDefaultInstanceForType()
Type | Description |
ReplicaInfo |
getDefaultLeaderLocation()
public boolean getDefaultLeaderLocation()
If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.
bool default_leader_location = 3;
Type | Description |
boolean | The defaultLeaderLocation. |
getLocation()
public String getLocation()
The location of the serving resources, e.g. "us-central1".
string location = 1;
Type | Description |
String | The location. |
getLocationBytes()
public ByteString getLocationBytes()
The location of the serving resources, e.g. "us-central1".
string location = 1;
Type | Description |
ByteString | The bytes for location. |
getParserForType()
public Parser<ReplicaInfo> getParserForType()
Type | Description |
Parser<ReplicaInfo> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getType()
public ReplicaInfo.ReplicaType getType()
The type of replica.
.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
Type | Description |
ReplicaInfo.ReplicaType | The type. |
getTypeValue()
public int getTypeValue()
The type of replica.
.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2;
Type | Description |
int | The enum numeric value on the wire for type. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ReplicaInfo.Builder newBuilderForType()
Type | Description |
ReplicaInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplicaInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ReplicaInfo.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ReplicaInfo.Builder toBuilder()
Type | Description |
ReplicaInfo.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |