Class InstanceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
com.google.spanner.admin.instance.v1.InstanceConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstanceConfigOrBuilder,Cloneable
- Enclosing class:
- InstanceConfig
public static final class InstanceConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
implements InstanceConfigOrBuilder
A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.Protobuf type
google.spanner.admin.instance.v1.InstanceConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllLeaderOptions(Iterable<String> values) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.addAllOptionalReplicas(Iterable<? extends ReplicaInfo> values) Output only.addAllReplicas(Iterable<? extends ReplicaInfo> values) The geographic placement of nodes in this instance configuration and their replication properties.addLeaderOptions(String value) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.addLeaderOptionsBytes(com.google.protobuf.ByteString value) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.addOptionalReplicas(int index, ReplicaInfo value) Output only.addOptionalReplicas(int index, ReplicaInfo.Builder builderForValue) Output only.addOptionalReplicas(ReplicaInfo value) Output only.addOptionalReplicas(ReplicaInfo.Builder builderForValue) Output only.Output only.addOptionalReplicasBuilder(int index) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addReplicas(int index, ReplicaInfo value) The geographic placement of nodes in this instance configuration and their replication properties.addReplicas(int index, ReplicaInfo.Builder builderForValue) The geographic placement of nodes in this instance configuration and their replication properties.addReplicas(ReplicaInfo value) The geographic placement of nodes in this instance configuration and their replication properties.addReplicas(ReplicaInfo.Builder builderForValue) The geographic placement of nodes in this instance configuration and their replication properties.The geographic placement of nodes in this instance configuration and their replication properties.addReplicasBuilder(int index) The geographic placement of nodes in this instance configuration and their replication properties.build()clear()Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created.Output only.The name of this instance configuration as it appears in UIs.etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.A unique identifier for the instance configuration.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.The geographic placement of nodes in this instance configuration and their replication properties.Output only.Output only.clone()booleancontainsLabels(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.Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created.com.google.protobuf.ByteStringBase configuration name, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of this instance configuration as it appears in UIs.com.google.protobuf.ByteStringThe name of this instance configuration as it appears in UIs.getEtag()etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other.com.google.protobuf.ByteStringetag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other.Output only.intOutput only.Deprecated.intCloud 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 are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies.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.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.getLeaderOptions(int index) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.com.google.protobuf.ByteStringgetLeaderOptionsBytes(int index) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.intAllowed values of the "default_leader" schema option for databases in instances that use this instance configuration.com.google.protobuf.ProtocolStringListAllowed values of the "default_leader" schema option for databases in instances that use this instance configuration.Deprecated.getName()A unique identifier for the instance configuration.com.google.protobuf.ByteStringA unique identifier for the instance configuration.getOptionalReplicas(int index) Output only.getOptionalReplicasBuilder(int index) Output only.Output only.intOutput only.Output only.getOptionalReplicasOrBuilder(int index) Output only.List<? extends ReplicaInfoOrBuilder>Output only.Output only.intOutput only.booleanOutput only.getReplicas(int index) The geographic placement of nodes in this instance configuration and their replication properties.getReplicasBuilder(int index) The geographic placement of nodes in this instance configuration and their replication properties.The geographic placement of nodes in this instance configuration and their replication properties.intThe geographic placement of nodes in this instance configuration and their replication properties.The geographic placement of nodes in this instance configuration and their replication properties.getReplicasOrBuilder(int index) The geographic placement of nodes in this instance configuration and their replication properties.List<? extends ReplicaInfoOrBuilder>The geographic placement of nodes in this instance configuration and their replication properties.getState()Output only.intOutput only.longOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(InstanceConfig other) final InstanceConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllLabels(Map<String, String> values) 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 are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies.removeLabels(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.removeOptionalReplicas(int index) Output only.removeReplicas(int index) The geographic placement of nodes in this instance configuration and their replication properties.setBaseConfig(String value) Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created.setBaseConfigBytes(com.google.protobuf.ByteString value) Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3, based on which this configuration is created.setConfigType(InstanceConfig.Type value) Output only.setConfigTypeValue(int value) Output only.setDisplayName(String value) The name of this instance configuration as it appears in UIs.setDisplayNameBytes(com.google.protobuf.ByteString value) The name of this instance configuration as it appears in UIs.etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other.setEtagBytes(com.google.protobuf.ByteString value) etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other.Output only.setFreeInstanceAvailabilityValue(int value) Output only.setLeaderOptions(int index, String value) Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.A unique identifier for the instance configuration.setNameBytes(com.google.protobuf.ByteString value) A unique identifier for the instance configuration.setOptionalReplicas(int index, ReplicaInfo value) Output only.setOptionalReplicas(int index, ReplicaInfo.Builder builderForValue) Output only.Output only.setQuorumTypeValue(int value) Output only.setReconciling(boolean value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicas(int index, ReplicaInfo value) The geographic placement of nodes in this instance configuration and their replication properties.setReplicas(int index, ReplicaInfo.Builder builderForValue) The geographic placement of nodes in this instance configuration and their replication properties.setState(InstanceConfig.State value) Output only.setStateValue(int value) Output only.setStorageLimitPerProcessingUnit(long value) Output only.final InstanceConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
setField
public InstanceConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
setRepeatedField
public InstanceConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
addRepeatedField
public InstanceConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>- Throws:
IOException
-
getName
A unique identifier for the instance configuration. Values are of the form `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`. User instance configuration must start with `custom-`.
string name = 1;- Specified by:
getNamein interfaceInstanceConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A unique identifier for the instance configuration. Values are of the form `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`. User instance configuration must start with `custom-`.
string name = 1;- Specified by:
getNameBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for name.
-
setName
A unique identifier for the instance configuration. Values are of the form `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`. User instance configuration must start with `custom-`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A unique identifier for the instance configuration. Values are of the form `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`. User instance configuration must start with `custom-`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A unique identifier for the instance configuration. Values are of the form `projects/<project>/instanceConfigs/[a-z][-a-z0-9]*`. User instance configuration must start with `custom-`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
The name of this instance configuration as it appears in UIs.
string display_name = 2;- Specified by:
getDisplayNamein interfaceInstanceConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The name of this instance configuration as it appears in UIs.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The name of this instance configuration as it appears in UIs.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The name of this instance configuration as it appears in UIs.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The name of this instance configuration as it appears in UIs.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getConfigTypeValue
public 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];- Specified by:
getConfigTypeValuein interfaceInstanceConfigOrBuilder- Returns:
- The enum numeric value on the wire for configType.
-
setConfigTypeValue
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];- Parameters:
value- The enum numeric value on the wire for configType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getConfigTypein interfaceInstanceConfigOrBuilder- Returns:
- The configType.
-
setConfigType
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];- Parameters:
value- The configType to set.- Returns:
- This builder for chaining.
-
clearConfigType
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:
- This builder for chaining.
-
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;- Specified by:
getReplicasListin interfaceInstanceConfigOrBuilder
-
getReplicasCount
public 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;- Specified by:
getReplicasCountin interfaceInstanceConfigOrBuilder
-
getReplicas
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;- Specified by:
getReplicasin interfaceInstanceConfigOrBuilder
-
setReplicas
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; -
setReplicas
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; -
addReplicas
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; -
addReplicas
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; -
addReplicas
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; -
addReplicas
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; -
addAllReplicas
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; -
clearReplicas
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; -
removeReplicas
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; -
getReplicasBuilder
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; -
getReplicasOrBuilder
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;- Specified by:
getReplicasOrBuilderin interfaceInstanceConfigOrBuilder
-
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;- Specified by:
getReplicasOrBuilderListin interfaceInstanceConfigOrBuilder
-
addReplicasBuilder
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; -
addReplicasBuilder
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; -
getReplicasBuilderList
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; -
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];- Specified by:
getOptionalReplicasListin interfaceInstanceConfigOrBuilder
-
getOptionalReplicasCount
public 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];- Specified by:
getOptionalReplicasCountin interfaceInstanceConfigOrBuilder
-
getOptionalReplicas
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];- Specified by:
getOptionalReplicasin interfaceInstanceConfigOrBuilder
-
setOptionalReplicas
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]; -
setOptionalReplicas
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]; -
addOptionalReplicas
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]; -
addOptionalReplicas
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]; -
addOptionalReplicas
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]; -
addOptionalReplicas
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]; -
addAllOptionalReplicas
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]; -
clearOptionalReplicas
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]; -
removeOptionalReplicas
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]; -
getOptionalReplicasBuilder
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]; -
getOptionalReplicasOrBuilder
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];- Specified by:
getOptionalReplicasOrBuilderin interfaceInstanceConfigOrBuilder
-
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];- Specified by:
getOptionalReplicasOrBuilderListin interfaceInstanceConfigOrBuilder
-
addOptionalReplicasBuilder
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]; -
addOptionalReplicasBuilder
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]; -
getOptionalReplicasBuilderList
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]; -
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) = { ... }- Specified by:
getBaseConfigin interfaceInstanceConfigOrBuilder- Returns:
- The baseConfig.
-
getBaseConfigBytes
public com.google.protobuf.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) = { ... }- Specified by:
getBaseConfigBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for baseConfig.
-
setBaseConfig
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) = { ... }- Parameters:
value- The baseConfig to set.- Returns:
- This builder for chaining.
-
clearBaseConfig
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:
- This builder for chaining.
-
setBaseConfigBytes
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) = { ... }- Parameters:
value- The bytes for baseConfig to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstanceConfigOrBuilderCloud 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][a-z0-9_-]{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;- Specified by:
getLabelsCountin interfaceInstanceConfigOrBuilder
-
containsLabels
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][a-z0-9_-]{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;- Specified by:
containsLabelsin interfaceInstanceConfigOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceConfigOrBuilder
-
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][a-z0-9_-]{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;- Specified by:
getLabelsMapin interfaceInstanceConfigOrBuilder
-
getLabelsOrDefault
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][a-z0-9_-]{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;- Specified by:
getLabelsOrDefaultin interfaceInstanceConfigOrBuilder
-
getLabelsOrThrow
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][a-z0-9_-]{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;- Specified by:
getLabelsOrThrowin interfaceInstanceConfigOrBuilder
-
clearLabels
-
removeLabels
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][a-z0-9_-]{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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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][a-z0-9_-]{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; -
putAllLabels
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][a-z0-9_-]{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; -
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;- Specified by:
getEtagin interfaceInstanceConfigOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.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;- Specified by:
getEtagBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
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:
- This builder for chaining.
-
setEtagBytes
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;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLeaderOptionsList
public com.google.protobuf.ProtocolStringList getLeaderOptionsList()Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Specified by:
getLeaderOptionsListin interfaceInstanceConfigOrBuilder- Returns:
- A list containing the leaderOptions.
-
getLeaderOptionsCount
public int getLeaderOptionsCount()Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Specified by:
getLeaderOptionsCountin interfaceInstanceConfigOrBuilder- Returns:
- The count of leaderOptions.
-
getLeaderOptions
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Specified by:
getLeaderOptionsin interfaceInstanceConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The leaderOptions at the given index.
-
getLeaderOptionsBytes
public com.google.protobuf.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;- Specified by:
getLeaderOptionsBytesin interfaceInstanceConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the leaderOptions at the given index.
-
setLeaderOptions
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Parameters:
index- The index to set the value at.value- The leaderOptions to set.- Returns:
- This builder for chaining.
-
addLeaderOptions
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Parameters:
value- The leaderOptions to add.- Returns:
- This builder for chaining.
-
addAllLeaderOptions
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Parameters:
values- The leaderOptions to add.- Returns:
- This builder for chaining.
-
clearLeaderOptions
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Returns:
- This builder for chaining.
-
addLeaderOptionsBytes
Allowed values of the "default_leader" schema option for databases in instances that use this instance configuration.
repeated string leader_options = 4;- Parameters:
value- The bytes of the leaderOptions to add.- Returns:
- This builder for chaining.
-
getReconciling
public 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];- Specified by:
getReconcilingin interfaceInstanceConfigOrBuilder- Returns:
- The reconciling.
-
setReconciling
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];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
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:
- This builder for chaining.
-
getStateValue
public 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];- Specified by:
getStateValuein interfaceInstanceConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceInstanceConfigOrBuilder- Returns:
- The state.
-
setState
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];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
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:
- This builder for chaining.
-
getFreeInstanceAvailabilityValue
public 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];- Specified by:
getFreeInstanceAvailabilityValuein interfaceInstanceConfigOrBuilder- Returns:
- The enum numeric value on the wire for freeInstanceAvailability.
-
setFreeInstanceAvailabilityValue
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];- Parameters:
value- The enum numeric value on the wire for freeInstanceAvailability to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFreeInstanceAvailabilityin interfaceInstanceConfigOrBuilder- Returns:
- The freeInstanceAvailability.
-
setFreeInstanceAvailability
public InstanceConfig.Builder setFreeInstanceAvailability(InstanceConfig.FreeInstanceAvailability value) 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];- Parameters:
value- The freeInstanceAvailability to set.- Returns:
- This builder for chaining.
-
clearFreeInstanceAvailability
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:
- This builder for chaining.
-
getQuorumTypeValue
public 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];- Specified by:
getQuorumTypeValuein interfaceInstanceConfigOrBuilder- Returns:
- The enum numeric value on the wire for quorumType.
-
setQuorumTypeValue
Output only. The `QuorumType` of the instance configuration.
.google.spanner.admin.instance.v1.InstanceConfig.QuorumType quorum_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for quorumType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getQuorumTypein interfaceInstanceConfigOrBuilder- Returns:
- The quorumType.
-
setQuorumType
Output only. The `QuorumType` of the instance configuration.
.google.spanner.admin.instance.v1.InstanceConfig.QuorumType quorum_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The quorumType to set.- Returns:
- This builder for chaining.
-
clearQuorumType
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:
- This builder for chaining.
-
getStorageLimitPerProcessingUnit
public 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];- Specified by:
getStorageLimitPerProcessingUnitin interfaceInstanceConfigOrBuilder- Returns:
- The storageLimitPerProcessingUnit.
-
setStorageLimitPerProcessingUnit
Output only. The storage limit in bytes per processing unit.
int64 storage_limit_per_processing_unit = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The storageLimitPerProcessingUnit to set.- Returns:
- This builder for chaining.
-
clearStorageLimitPerProcessingUnit
Output only. The storage limit in bytes per processing unit.
int64 storage_limit_per_processing_unit = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final InstanceConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeUnknownFields
public final InstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-