# Interface InstanceConfigOrBuilder (6.118.0)

6.118.0 (latest) 6.116.0 6.111.1 6.108.0 6.107.0 6.103.0 6.102.1 6.101.1 6.100.0 6.99.0 6.98.1 6.97.1 6.96.1 6.95.1 6.94.0 6.93.0 6.89.0 6.88.0 6.87.0 6.86.0 6.85.0 6.83.0 6.82.0 6.80.1 6.79.0 6.77.0 6.74.1 6.72.0 6.71.0 6.69.0 6.68.0 6.66.0 6.65.1 6.62.0 6.60.0 6.58.0 6.57.0 6.56.0 6.55.0 6.54.0 6.53.0 6.52.1 6.51.0 6.50.1 6.49.0 6.25.1 6.24.0 6.23.4 6.22.0 6.21.2 6.20.0 6.19.1 6.18.0 6.17.4 6.14.1

    public interface InstanceConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsLabels(String key)

    public abstract boolean containsLabels(String key)

Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies. Cloud Labels can be used to filter collections of
resources. They can be used to control how resource metrics are aggregated.
And they can be used as arguments to policy management rules (e.g. route,
firewall, load balancing, etc.).

- Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`.
- Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`.
- No more than 64 labels can be associated with a given resource.

  See <https://goo.gl/xmQnxf> for more information on and examples of labels.

  If you plan to use labels in your own code, please note that additional
  characters may be allowed in the future. Therefore, you are advised to use
  an internal label representation, such as JSON, which doesn't rely upon
  specific characters being disallowed. For example, representing labels
  as the string: name + "*" + value would prove problematic if we were to
  allow "*" in a future release.

`map<string, string> labels = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBaseConfig()

    public abstract String getBaseConfig()

Base configuration name, e.g. projects/\<project_name\>/instanceConfigs/nam3,
based on which this configuration is created. Only set for user-managed
configurations. `base_config` must refer to a configuration of type
`GOOGLE_MANAGED` in the same project as this configuration.

`string base_config = 7 [(.google.api.resource_reference) = { ... }`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The baseConfig. |

### getBaseConfigBytes()

    public abstract ByteString getBaseConfigBytes()

Base configuration name, e.g. projects/\<project_name\>/instanceConfigs/nam3,
based on which this configuration is created. Only set for user-managed
configurations. `base_config` must refer to a configuration of type
`GOOGLE_MANAGED` in the same project as this configuration.

`string base_config = 7 [(.google.api.resource_reference) = { ... }`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for baseConfig. |

### getConfigType()

    public abstract InstanceConfig.Type getConfigType()

Output only. Whether this instance configuration is a Google-managed or
user-managed configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.InstanceConfig.Type` | The configType. |

### getConfigTypeValue()

    public abstract int getConfigTypeValue()

Output only. Whether this instance configuration is a Google-managed or
user-managed configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for configType. |

### getDisplayName()

    public abstract String getDisplayName()

The name of this instance configuration as it appears in UIs.

`string display_name = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for displayName. |

### getEtag()

    public abstract String getEtag()

etag is used for optimistic concurrency control as a way
to help prevent simultaneous updates of a instance configuration from
overwriting each other. It is strongly suggested that systems make use of
the etag in the read-modify-write cycle to perform instance configuration
updates in order to avoid race conditions: An etag is returned in the
response which contains instance configurations, and systems are expected
to put that etag in the request to update instance configuration to ensure
that their change is applied to the same version of the instance
configuration. If no etag is provided in the call to update the instance
configuration, then the existing instance configuration is overwritten
blindly.

`string etag = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The etag. |

### getEtagBytes()

    public abstract ByteString getEtagBytes()

etag is used for optimistic concurrency control as a way
to help prevent simultaneous updates of a instance configuration from
overwriting each other. It is strongly suggested that systems make use of
the etag in the read-modify-write cycle to perform instance configuration
updates in order to avoid race conditions: An etag is returned in the
response which contains instance configurations, and systems are expected
to put that etag in the request to update instance configuration to ensure
that their change is applied to the same version of the instance
configuration. If no etag is provided in the call to update the instance
configuration, then the existing instance configuration is overwritten
blindly.

`string etag = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for etag. |

### getFreeInstanceAvailability()

    public abstract InstanceConfig.FreeInstanceAvailability getFreeInstanceAvailability()

Output only. Describes whether free instances are available to be created
in this instance configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.FreeInstanceAvailability free_instance_availability = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.InstanceConfig.FreeInstanceAvailability` | The freeInstanceAvailability. |

### getFreeInstanceAvailabilityValue()

    public abstract int getFreeInstanceAvailabilityValue()

Output only. Describes whether free instances are available to be created
in this instance configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.FreeInstanceAvailability free_instance_availability = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for freeInstanceAvailability. |

### getLabels() (deprecated)

    public abstract Map<String,String> getLabels()

Use [#getLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder#com_google_spanner_admin_instance_v1_InstanceConfigOrBuilder_getLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsCount()

    public abstract int getLabelsCount()

Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies. Cloud Labels can be used to filter collections of
resources. They can be used to control how resource metrics are aggregated.
And they can be used as arguments to policy management rules (e.g. route,
firewall, load balancing, etc.).

- Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`.
- Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`.
- No more than 64 labels can be associated with a given resource.

  See <https://goo.gl/xmQnxf> for more information on and examples of labels.

  If you plan to use labels in your own code, please note that additional
  characters may be allowed in the future. Therefore, you are advised to use
  an internal label representation, such as JSON, which doesn't rely upon
  specific characters being disallowed. For example, representing labels
  as the string: name + "*" + value would prove problematic if we were to
  allow "*" in a future release.

`map<string, string> labels = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsMap()

    public abstract Map<String,String> getLabelsMap()

Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies. Cloud Labels can be used to filter collections of
resources. They can be used to control how resource metrics are aggregated.
And they can be used as arguments to policy management rules (e.g. route,
firewall, load balancing, etc.).

- Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`.
- Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`.
- No more than 64 labels can be associated with a given resource.

  See <https://goo.gl/xmQnxf> for more information on and examples of labels.

  If you plan to use labels in your own code, please note that additional
  characters may be allowed in the future. Therefore, you are advised to use
  an internal label representation, such as JSON, which doesn't rely upon
  specific characters being disallowed. For example, representing labels
  as the string: name + "*" + value would prove problematic if we were to
  allow "*" in a future release.

`map<string, string> labels = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsOrDefault(String key, String defaultValue)

    public abstract String getLabelsOrDefault(String key, String defaultValue)

Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies. Cloud Labels can be used to filter collections of
resources. They can be used to control how resource metrics are aggregated.
And they can be used as arguments to policy management rules (e.g. route,
firewall, load balancing, etc.).

- Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`.
- Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`.
- No more than 64 labels can be associated with a given resource.

  See <https://goo.gl/xmQnxf> for more information on and examples of labels.

  If you plan to use labels in your own code, please note that additional
  characters may be allowed in the future. Therefore, you are advised to use
  an internal label representation, such as JSON, which doesn't rely upon
  specific characters being disallowed. For example, representing labels
  as the string: name + "*" + value would prove problematic if we were to
  allow "*" in a future release.

`map<string, string> labels = 8;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLabelsOrThrow(String key)

    public abstract String getLabelsOrThrow(String key)

Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies. Cloud Labels can be used to filter collections of
resources. They can be used to control how resource metrics are aggregated.
And they can be used as arguments to policy management rules (e.g. route,
firewall, load balancing, etc.).

- Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`.
- Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`.
- No more than 64 labels can be associated with a given resource.

  See <https://goo.gl/xmQnxf> for more information on and examples of labels.

  If you plan to use labels in your own code, please note that additional
  characters may be allowed in the future. Therefore, you are advised to use
  an internal label representation, such as JSON, which doesn't rely upon
  specific characters being disallowed. For example, representing labels
  as the string: name + "*" + value would prove problematic if we were to
  allow "*" in a future release.

`map<string, string> labels = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLeaderOptions(int index)

    public abstract String getLeaderOptions(int index)

Allowed values of the "default_leader" schema option for databases in
instances that use this instance configuration.

`repeated string leader_options = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The leaderOptions at the given index. |

### getLeaderOptionsBytes(int index)

    public abstract ByteString getLeaderOptionsBytes(int index)

Allowed values of the "default_leader" schema option for databases in
instances that use this instance configuration.

`repeated string leader_options = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the leaderOptions at the given index. |

### getLeaderOptionsCount()

    public abstract int getLeaderOptionsCount()

Allowed values of the "default_leader" schema option for databases in
instances that use this instance configuration.

`repeated string leader_options = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of leaderOptions. |

### getLeaderOptionsList()

    public abstract List<String> getLeaderOptionsList()

Allowed values of the "default_leader" schema option for databases in
instances that use this instance configuration.

`repeated string leader_options = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | 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*`.

User instance configuration must start with `custom-`.

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

A unique identifier for the instance configuration. Values
are of the form
`projects/<project>/instanceConfigs/a-z*`.

User instance configuration must start with `custom-`.

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getOptionalReplicas(int index)

    public abstract ReplicaInfo getOptionalReplicas(int index)

Output only. The available optional replicas to choose from for
user-managed configurations. Populated for Google-managed configurations.

`
repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfo` |   |

### getOptionalReplicasCount()

    public abstract int getOptionalReplicasCount()

Output only. The available optional replicas to choose from for
user-managed configurations. Populated for Google-managed configurations.

`
repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getOptionalReplicasList()

    public abstract List<ReplicaInfo> getOptionalReplicasList()

Output only. The available optional replicas to choose from for
user-managed configurations. Populated for Google-managed configurations.

`
repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfo>` |   |

### getOptionalReplicasOrBuilder(int index)

    public abstract ReplicaInfoOrBuilder getOptionalReplicasOrBuilder(int index)

Output only. The available optional replicas to choose from for
user-managed configurations. Populated for Google-managed configurations.

`
repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder` |   |

### getOptionalReplicasOrBuilderList()

    public abstract List<? extends ReplicaInfoOrBuilder> getOptionalReplicasOrBuilderList()

Output only. The available optional replicas to choose from for
user-managed configurations. Populated for Google-managed configurations.

`
repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>` |   |

### getQuorumType()

    public abstract InstanceConfig.QuorumType getQuorumType()

Output only. The `QuorumType` of the instance configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.QuorumType quorum_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.InstanceConfig.QuorumType` | The quorumType. |

### getQuorumTypeValue()

    public abstract int getQuorumTypeValue()

Output only. The `QuorumType` of the instance configuration.

`
.google.spanner.admin.instance.v1.InstanceConfig.QuorumType quorum_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for quorumType. |

### getReconciling()

    public abstract boolean getReconciling()

Output only. If true, the instance configuration is being created or
updated. If false, there are no ongoing operations for the instance
configuration.

`bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The reconciling. |

### getReplicas(int index)

    public abstract ReplicaInfo getReplicas(int index)

The geographic placement of nodes in this instance configuration and their
replication properties.

To create user-managed configurations, input
`replicas` must include all replicas in `replicas` of the `base_config`
and include one or more replicas in the `optional_replicas` of the
`base_config`.

`repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfo` |   |

### getReplicasCount()

    public abstract int getReplicasCount()

The geographic placement of nodes in this instance configuration and their
replication properties.

To create user-managed configurations, input
`replicas` must include all replicas in `replicas` of the `base_config`
and include one or more replicas in the `optional_replicas` of the
`base_config`.

`repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getReplicasList()

    public abstract List<ReplicaInfo> getReplicasList()

The geographic placement of nodes in this instance configuration and their
replication properties.

To create user-managed configurations, input
`replicas` must include all replicas in `replicas` of the `base_config`
and include one or more replicas in the `optional_replicas` of the
`base_config`.

`repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfo>` |   |

### getReplicasOrBuilder(int index)

    public abstract ReplicaInfoOrBuilder getReplicasOrBuilder(int index)

The geographic placement of nodes in this instance configuration and their
replication properties.

To create user-managed configurations, input
`replicas` must include all replicas in `replicas` of the `base_config`
and include one or more replicas in the `optional_replicas` of the
`base_config`.

`repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder` |   |

### getReplicasOrBuilderList()

    public abstract List<? extends ReplicaInfoOrBuilder> getReplicasOrBuilderList()

The geographic placement of nodes in this instance configuration and their
replication properties.

To create user-managed configurations, input
`replicas` must include all replicas in `replicas` of the `base_config`
and include one or more replicas in the `optional_replicas` of the
`base_config`.

`repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>` |   |

### getState()

    public abstract InstanceConfig.State getState()

Output only. The current instance configuration state. Applicable only for
`USER_MANAGED` configurations.

`
.google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-spanner/latest/com.google.spanner.admin.instance.v1.InstanceConfig.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The current instance configuration state. Applicable only for
`USER_MANAGED` configurations.

`
.google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getStorageLimitPerProcessingUnit()

    public abstract long getStorageLimitPerProcessingUnit()

Output only. The storage limit in bytes per processing unit.

`
int64 storage_limit_per_processing_unit = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The storageLimitPerProcessingUnit. |