public interface InstanceConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDisplayName()
public abstract String getDisplayName()
The name of this instance configuration as it appears in UIs.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
The name of this instance configuration as it appears in UIs.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getLeaderOptions(int index)
public abstract String getLeaderOptions(int index)
Allowed values of the \u201cdefault_leader\u201d schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The leaderOptions at the given index. |
getLeaderOptionsBytes(int index)
public abstract ByteString getLeaderOptionsBytes(int index)
Allowed values of the \u201cdefault_leader\u201d schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the leaderOptions at the given index. |
getLeaderOptionsCount()
public abstract int getLeaderOptionsCount()
Allowed values of the \u201cdefault_leader\u201d schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;
Returns | |
---|---|
Type | Description |
int | The count of leaderOptions. |
getLeaderOptionsList()
public abstract List<String> getLeaderOptionsList()
Allowed values of the \u201cdefault_leader\u201d schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the leaderOptions. |
getName()
public abstract String getName()
A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/a-z*
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/a-z*
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getReplicas(int index)
public abstract ReplicaInfo getReplicas(int index)
The geographic placement of nodes in this instance configuration and their replication properties.
repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ReplicaInfo |
getReplicasCount()
public abstract int getReplicasCount()
The geographic placement of nodes in this instance configuration and their replication properties.
repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
Returns | |
---|---|
Type | Description |
int |
getReplicasList()
public abstract List<ReplicaInfo> getReplicasList()
The geographic placement of nodes in this instance configuration and their replication properties.
repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
Returns | |
---|---|
Type | Description |
List<ReplicaInfo> |
getReplicasOrBuilder(int index)
public abstract ReplicaInfoOrBuilder getReplicasOrBuilder(int index)
The geographic placement of nodes in this instance configuration and their replication properties.
repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ReplicaInfoOrBuilder |
getReplicasOrBuilderList()
public abstract List<? extends ReplicaInfoOrBuilder> getReplicasOrBuilderList()
The geographic placement of nodes in this instance configuration and their replication properties.
repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> |