public static final class DirectedReadOptions.IncludeReplicas extends GeneratedMessageV3 implements DirectedReadOptions.IncludeReplicasOrBuilder
An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
Protobuf type google.spanner.v1.DirectedReadOptions.IncludeReplicas
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DirectedReadOptions.IncludeReplicasImplements
DirectedReadOptions.IncludeReplicasOrBuilderStatic Fields
AUTO_FAILOVER_DISABLED_FIELD_NUMBER
public static final int AUTO_FAILOVER_DISABLED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REPLICA_SELECTIONS_FIELD_NUMBER
public static final int REPLICA_SELECTIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DirectedReadOptions.IncludeReplicas getDefaultInstance()
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DirectedReadOptions.IncludeReplicas.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas.Builder |
newBuilder(DirectedReadOptions.IncludeReplicas prototype)
public static DirectedReadOptions.IncludeReplicas.Builder newBuilder(DirectedReadOptions.IncludeReplicas prototype)
Parameter | |
---|---|
Name | Description |
prototype |
DirectedReadOptions.IncludeReplicas |
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas.Builder |
parseDelimitedFrom(InputStream input)
public static DirectedReadOptions.IncludeReplicas parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DirectedReadOptions.IncludeReplicas parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DirectedReadOptions.IncludeReplicas parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
DirectedReadOptions.IncludeReplicas |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DirectedReadOptions.IncludeReplicas parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DirectedReadOptions.Include |