public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.Protobuf type
google.cloud.alloydb.v1.Instance| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
addAllNodes(Iterable<? extends Instance.Node> values)
Output only.
|
Instance.Builder |
addAllOutboundPublicIpAddresses(Iterable<String> values)
Output only.
|
Instance.Builder |
addNodes(Instance.Node.Builder builderForValue)
Output only.
|
Instance.Builder |
addNodes(Instance.Node value)
Output only.
|
Instance.Builder |
addNodes(int index,
Instance.Node.Builder builderForValue)
Output only.
|
Instance.Builder |
addNodes(int index,
Instance.Node value)
Output only.
|
Instance.Node.Builder |
addNodesBuilder()
Output only.
|
Instance.Node.Builder |
addNodesBuilder(int index)
Output only.
|
Instance.Builder |
addOutboundPublicIpAddresses(String value)
Output only.
|
Instance.Builder |
addOutboundPublicIpAddressesBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance |
build() |
Instance |
buildPartial() |
Instance.Builder |
clear() |
Instance.Builder |
clearAnnotations() |
Instance.Builder |
clearAvailabilityType()
Availability type of an Instance.
|
Instance.Builder |
clearClientConnectionConfig()
Optional.
|
Instance.Builder |
clearCreateTime()
Output only.
|
Instance.Builder |
clearDatabaseFlags() |
Instance.Builder |
clearDeleteTime()
Output only.
|
Instance.Builder |
clearDisplayName()
User-settable and human-readable display name for the Instance.
|
Instance.Builder |
clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17; |
Instance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.Builder |
clearGceZone()
The Compute Engine zone that the instance should serve from, per
https://cloud.google.com/compute/docs/regions-zones
This can ONLY be specified for ZONAL instances.
|
Instance.Builder |
clearInstanceType()
Required.
|
Instance.Builder |
clearIpAddress()
Output only.
|
Instance.Builder |
clearLabels() |
Instance.Builder |
clearMachineConfig()
Configurations for the machines that host the underlying
database engine.
|
Instance.Builder |
clearName()
Output only.
|
Instance.Builder |
clearNetworkConfig()
Optional.
|
Instance.Builder |
clearNodes()
Output only.
|
Instance.Builder |
clearObservabilityConfig()
Configuration for observability.
|
Instance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.Builder |
clearOutboundPublicIpAddresses()
Output only.
|
Instance.Builder |
clearPscInstanceConfig()
Optional.
|
Instance.Builder |
clearPublicIpAddress()
Output only.
|
Instance.Builder |
clearQueryInsightsConfig()
Configuration for query insights.
|
Instance.Builder |
clearReadPoolConfig()
Read pool instance configuration.
|
Instance.Builder |
clearReconciling()
Output only.
|
Instance.Builder |
clearSatisfiesPzs()
Output only.
|
Instance.Builder |
clearState()
Output only.
|
Instance.Builder |
clearUid()
Output only.
|
Instance.Builder |
clearUpdateTime()
Output only.
|
Instance.Builder |
clearWritableNode()
Output only.
|
Instance.Builder |
clone() |
boolean |
containsAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
boolean |
containsDatabaseFlags(String key)
Database flags.
|
boolean |
containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7; |
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Annotations to allow client tools to store small amount of arbitrary data.
|
Map<String,String> |
getAnnotationsMap()
Annotations to allow client tools to store small amount of arbitrary data.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Annotations to allow client tools to store small amount of arbitrary data.
|
String |
getAnnotationsOrThrow(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
Instance.AvailabilityType |
getAvailabilityType()
Availability type of an Instance.
|
int |
getAvailabilityTypeValue()
Availability type of an Instance.
|
Instance.ClientConnectionConfig |
getClientConnectionConfig()
Optional.
|
Instance.ClientConnectionConfig.Builder |
getClientConnectionConfigBuilder()
Optional.
|
Instance.ClientConnectionConfigOrBuilder |
getClientConnectionConfigOrBuilder()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Map<String,String> |
getDatabaseFlags()
Deprecated.
|
int |
getDatabaseFlagsCount()
Database flags.
|
Map<String,String> |
getDatabaseFlagsMap()
Database flags.
|
String |
getDatabaseFlagsOrDefault(String key,
String defaultValue)
Database flags.
|
String |
getDatabaseFlagsOrThrow(String key)
Database flags.
|
Instance |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
User-settable and human-readable display name for the Instance.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User-settable and human-readable display name for the Instance.
|
String |
getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17; |
com.google.protobuf.ByteString |
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17; |
String |
getGceZone()
The Compute Engine zone that the instance should serve from, per
https://cloud.google.com/compute/docs/regions-zones
This can ONLY be specified for ZONAL instances.
|
com.google.protobuf.ByteString |
getGceZoneBytes()
The Compute Engine zone that the instance should serve from, per
https://cloud.google.com/compute/docs/regions-zones
This can ONLY be specified for ZONAL instances.
|
Instance.InstanceType |
getInstanceType()
Required.
|
int |
getInstanceTypeValue()
Required.
|
String |
getIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs
map<string, string> labels = 7; |
Map<String,String> |
getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7; |
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs
map<string, string> labels = 7; |
String |
getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7; |
Instance.MachineConfig |
getMachineConfig()
Configurations for the machines that host the underlying
database engine.
|
Instance.MachineConfig.Builder |
getMachineConfigBuilder()
Configurations for the machines that host the underlying
database engine.
|
Instance.MachineConfigOrBuilder |
getMachineConfigOrBuilder()
Configurations for the machines that host the underlying
database engine.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableDatabaseFlags()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Instance.InstanceNetworkConfig |
getNetworkConfig()
Optional.
|
Instance.InstanceNetworkConfig.Builder |
getNetworkConfigBuilder()
Optional.
|
Instance.InstanceNetworkConfigOrBuilder |
getNetworkConfigOrBuilder()
Optional.
|
Instance.Node |
getNodes(int index)
Output only.
|
Instance.Node.Builder |
getNodesBuilder(int index)
Output only.
|
List<Instance.Node.Builder> |
getNodesBuilderList()
Output only.
|
int |
getNodesCount()
Output only.
|
List<Instance.Node> |
getNodesList()
Output only.
|
Instance.NodeOrBuilder |
getNodesOrBuilder(int index)
Output only.
|
List<? extends Instance.NodeOrBuilder> |
getNodesOrBuilderList()
Output only.
|
Instance.ObservabilityInstanceConfig |
getObservabilityConfig()
Configuration for observability.
|
Instance.ObservabilityInstanceConfig.Builder |
getObservabilityConfigBuilder()
Configuration for observability.
|
Instance.ObservabilityInstanceConfigOrBuilder |
getObservabilityConfigOrBuilder()
Configuration for observability.
|
String |
getOutboundPublicIpAddresses(int index)
Output only.
|
com.google.protobuf.ByteString |
getOutboundPublicIpAddressesBytes(int index)
Output only.
|
int |
getOutboundPublicIpAddressesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getOutboundPublicIpAddressesList()
Output only.
|
Instance.PscInstanceConfig |
getPscInstanceConfig()
Optional.
|
Instance.PscInstanceConfig.Builder |
getPscInstanceConfigBuilder()
Optional.
|
Instance.PscInstanceConfigOrBuilder |
getPscInstanceConfigOrBuilder()
Optional.
|
String |
getPublicIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getPublicIpAddressBytes()
Output only.
|
Instance.QueryInsightsInstanceConfig |
getQueryInsightsConfig()
Configuration for query insights.
|
Instance.QueryInsightsInstanceConfig.Builder |
getQueryInsightsConfigBuilder()
Configuration for query insights.
|
Instance.QueryInsightsInstanceConfigOrBuilder |
getQueryInsightsConfigOrBuilder()
Configuration for query insights.
|
Instance.ReadPoolConfig |
getReadPoolConfig()
Read pool instance configuration.
|
Instance.ReadPoolConfig.Builder |
getReadPoolConfigBuilder()
Read pool instance configuration.
|
Instance.ReadPoolConfigOrBuilder |
getReadPoolConfigOrBuilder()
Read pool instance configuration.
|
boolean |
getReconciling()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
Instance.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Instance.Node |
getWritableNode()
Output only.
|
Instance.Node.Builder |
getWritableNodeBuilder()
Output only.
|
Instance.NodeOrBuilder |
getWritableNodeOrBuilder()
Output only.
|
boolean |
hasClientConnectionConfig()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasMachineConfig()
Configurations for the machines that host the underlying
database engine.
|
boolean |
hasNetworkConfig()
Optional.
|
boolean |
hasObservabilityConfig()
Configuration for observability.
|
boolean |
hasPscInstanceConfig()
Optional.
|
boolean |
hasQueryInsightsConfig()
Configuration for query insights.
|
boolean |
hasReadPoolConfig()
Read pool instance configuration.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasWritableNode()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Instance.Builder |
mergeClientConnectionConfig(Instance.ClientConnectionConfig value)
Optional.
|
Instance.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.Builder |
mergeFrom(Instance other) |
Instance.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.Builder |
mergeMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying
database engine.
|
Instance.Builder |
mergeNetworkConfig(Instance.InstanceNetworkConfig value)
Optional.
|
Instance.Builder |
mergeObservabilityConfig(Instance.ObservabilityInstanceConfig value)
Configuration for observability.
|
Instance.Builder |
mergePscInstanceConfig(Instance.PscInstanceConfig value)
Optional.
|
Instance.Builder |
mergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
|
Instance.Builder |
mergeReadPoolConfig(Instance.ReadPoolConfig value)
Read pool instance configuration.
|
Instance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeWritableNode(Instance.Node value)
Output only.
|
Instance.Builder |
putAllAnnotations(Map<String,String> values)
Annotations to allow client tools to store small amount of arbitrary data.
|
Instance.Builder |
putAllDatabaseFlags(Map<String,String> values)
Database flags.
|
Instance.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 7; |
Instance.Builder |
putAnnotations(String key,
String value)
Annotations to allow client tools to store small amount of arbitrary data.
|
Instance.Builder |
putDatabaseFlags(String key,
String value)
Database flags.
|
Instance.Builder |
putLabels(String key,
String value)
Labels as key value pairs
map<string, string> labels = 7; |
Instance.Builder |
removeAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
Instance.Builder |
removeDatabaseFlags(String key)
Database flags.
|
Instance.Builder |
removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 7; |
Instance.Builder |
removeNodes(int index)
Output only.
|
Instance.Builder |
setAvailabilityType(Instance.AvailabilityType value)
Availability type of an Instance.
|
Instance.Builder |
setAvailabilityTypeValue(int value)
Availability type of an Instance.
|
Instance.Builder |
setClientConnectionConfig(Instance.ClientConnectionConfig.Builder builderForValue)
Optional.
|
Instance.Builder |
setClientConnectionConfig(Instance.ClientConnectionConfig value)
Optional.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setDisplayName(String value)
User-settable and human-readable display name for the Instance.
|
Instance.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Instance.
|
Instance.Builder |
setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17; |
Instance.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17; |
Instance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Builder |
setGceZone(String value)
The Compute Engine zone that the instance should serve from, per
https://cloud.google.com/compute/docs/regions-zones
This can ONLY be specified for ZONAL instances.
|
Instance.Builder |
setGceZoneBytes(com.google.protobuf.ByteString value)
The Compute Engine zone that the instance should serve from, per
https://cloud.google.com/compute/docs/regions-zones
This can ONLY be specified for ZONAL instances.
|
Instance.Builder |
setInstanceType(Instance.InstanceType value)
Required.
|
Instance.Builder |
setInstanceTypeValue(int value)
Required.
|
Instance.Builder |
setIpAddress(String value)
Output only.
|
Instance.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setMachineConfig(Instance.MachineConfig.Builder builderForValue)
Configurations for the machines that host the underlying
database engine.
|
Instance.Builder |
setMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying
database engine.
|
Instance.Builder |
setName(String value)
Output only.
|
Instance.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setNetworkConfig(Instance.InstanceNetworkConfig.Builder builderForValue)
Optional.
|
Instance.Builder |
setNetworkConfig(Instance.InstanceNetworkConfig value)
Optional.
|
Instance.Builder |
setNodes(int index,
Instance.Node.Builder builderForValue)
Output only.
|
Instance.Builder |
setNodes(int index,
Instance.Node value)
Output only.
|
Instance.Builder |
setObservabilityConfig(Instance.ObservabilityInstanceConfig.Builder builderForValue)
Configuration for observability.
|
Instance.Builder |
setObservabilityConfig(Instance.ObservabilityInstanceConfig value)
Configuration for observability.
|
Instance.Builder |
setOutboundPublicIpAddresses(int index,
String value)
Output only.
|
Instance.Builder |
setPscInstanceConfig(Instance.PscInstanceConfig.Builder builderForValue)
Optional.
|
Instance.Builder |
setPscInstanceConfig(Instance.PscInstanceConfig value)
Optional.
|
Instance.Builder |
setPublicIpAddress(String value)
Output only.
|
Instance.Builder |
setPublicIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)
Configuration for query insights.
|
Instance.Builder |
setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
|
Instance.Builder |
setReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)
Read pool instance configuration.
|
Instance.Builder |
setReadPoolConfig(Instance.ReadPoolConfig value)
Read pool instance configuration.
|
Instance.Builder |
setReconciling(boolean value)
Output only.
|
Instance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.Builder |
setSatisfiesPzs(boolean value)
Output only.
|
Instance.Builder |
setState(Instance.State value)
Output only.
|
Instance.Builder |
setStateValue(int value)
Output only.
|
Instance.Builder |
setUid(String value)
Output only.
|
Instance.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setWritableNode(Instance.Node.Builder builderForValue)
Output only.
|
Instance.Builder |
setWritableNode(Instance.Node value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>public Instance.Builder mergeFrom(Instance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>IOExceptionpublic String getName()
Output only. The name of the instance resource with the format:
* projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the instance resource name is the name of the parent
resource:
* projects/{project}/locations/{region}/clusters/{cluster_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the instance resource with the format:
* projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the instance resource name is the name of the parent
resource:
* projects/{project}/locations/{region}/clusters/{cluster_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface InstanceOrBuilderpublic Instance.Builder setName(String value)
Output only. The name of the instance resource with the format:
* projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the instance resource name is the name of the parent
resource:
* projects/{project}/locations/{region}/clusters/{cluster_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Instance.Builder clearName()
Output only. The name of the instance resource with the format:
* projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the instance resource name is the name of the parent
resource:
* projects/{project}/locations/{region}/clusters/{cluster_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the instance resource with the format:
* projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the instance resource name is the name of the parent
resource:
* projects/{project}/locations/{region}/clusters/{cluster_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
User-settable and human-readable display name for the Instance.
string display_name = 2;getDisplayName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Instance.
string display_name = 2;getDisplayNameBytes in interface InstanceOrBuilderpublic Instance.Builder setDisplayName(String value)
User-settable and human-readable display name for the Instance.
string display_name = 2;value - The displayName to set.public Instance.Builder clearDisplayName()
User-settable and human-readable display name for the Instance.
string display_name = 2;public Instance.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Instance.
string display_name = 2;value - The bytes for displayName to set.public String getUid()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface InstanceOrBuilderpublic Instance.Builder setUid(String value)
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Instance.Builder clearUid()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Instance.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface InstanceOrBuilderpublic Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface InstanceOrBuilderpublic boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface InstanceOrBuilderpublic Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface InstanceOrBuilderpublic boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface InstanceOrBuilderpublic Instance.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface InstanceOrBuilderpublic int getLabelsCount()
InstanceOrBuilderLabels as key value pairs
map<string, string> labels = 7;getLabelsCount in interface InstanceOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;containsLabels in interface InstanceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstanceOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;getLabelsMap in interface InstanceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;getLabelsOrDefault in interface InstanceOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;getLabelsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearLabels()
public Instance.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;@Deprecated public Map<String,String> getMutableLabels()
public Instance.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 7;public Instance.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 7;public int getStateValue()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface InstanceOrBuilderpublic Instance.Builder setStateValue(int value)
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Instance.State getState()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface InstanceOrBuilderpublic Instance.Builder setState(Instance.State value)
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Instance.Builder clearState()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getInstanceTypeValue()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
getInstanceTypeValue in interface InstanceOrBuilderpublic Instance.Builder setInstanceTypeValue(int value)
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for instanceType to set.public Instance.InstanceType getInstanceType()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
getInstanceType in interface InstanceOrBuilderpublic Instance.Builder setInstanceType(Instance.InstanceType value)
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
value - The instanceType to set.public Instance.Builder clearInstanceType()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
public boolean hasMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;hasMachineConfig in interface InstanceOrBuilderpublic Instance.MachineConfig getMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;getMachineConfig in interface InstanceOrBuilderpublic Instance.Builder setMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;public Instance.Builder setMachineConfig(Instance.MachineConfig.Builder builderForValue)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;public Instance.Builder mergeMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;public Instance.Builder clearMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;public Instance.MachineConfig.Builder getMachineConfigBuilder()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;public Instance.MachineConfigOrBuilder getMachineConfigOrBuilder()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;getMachineConfigOrBuilder in interface InstanceOrBuilderpublic int getAvailabilityTypeValue()
Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
.google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11;getAvailabilityTypeValue in interface InstanceOrBuilderpublic Instance.Builder setAvailabilityTypeValue(int value)
Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
.google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11;value - The enum numeric value on the wire for availabilityType to set.public Instance.AvailabilityType getAvailabilityType()
Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
.google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11;getAvailabilityType in interface InstanceOrBuilderpublic Instance.Builder setAvailabilityType(Instance.AvailabilityType value)
Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
.google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11;value - The availabilityType to set.public Instance.Builder clearAvailabilityType()
Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
.google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11;public String getGceZone()
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
string gce_zone = 12;getGceZone in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getGceZoneBytes()
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
string gce_zone = 12;getGceZoneBytes in interface InstanceOrBuilderpublic Instance.Builder setGceZone(String value)
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
string gce_zone = 12;value - The gceZone to set.public Instance.Builder clearGceZone()
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
string gce_zone = 12;public Instance.Builder setGceZoneBytes(com.google.protobuf.ByteString value)
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
string gce_zone = 12;value - The bytes for gceZone to set.public int getDatabaseFlagsCount()
InstanceOrBuilderDatabase flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;getDatabaseFlagsCount in interface InstanceOrBuilderpublic boolean containsDatabaseFlags(String key)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;containsDatabaseFlags in interface InstanceOrBuilder@Deprecated public Map<String,String> getDatabaseFlags()
getDatabaseFlagsMap() instead.getDatabaseFlags in interface InstanceOrBuilderpublic Map<String,String> getDatabaseFlagsMap()
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;getDatabaseFlagsMap in interface InstanceOrBuilderpublic String getDatabaseFlagsOrDefault(String key, String defaultValue)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;getDatabaseFlagsOrDefault in interface InstanceOrBuilderpublic String getDatabaseFlagsOrThrow(String key)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;getDatabaseFlagsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearDatabaseFlags()
public Instance.Builder removeDatabaseFlags(String key)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;@Deprecated public Map<String,String> getMutableDatabaseFlags()
public Instance.Builder putDatabaseFlags(String key, String value)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;public Instance.Builder putAllDatabaseFlags(Map<String,String> values)
Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
map<string, string> database_flags = 13;public boolean hasWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasWritableNode in interface InstanceOrBuilderpublic Instance.Node getWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWritableNode in interface InstanceOrBuilderpublic Instance.Builder setWritableNode(Instance.Node value)
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setWritableNode(Instance.Node.Builder builderForValue)
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeWritableNode(Instance.Node value)
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Node.Builder getWritableNodeBuilder()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.NodeOrBuilder getWritableNodeOrBuilder()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWritableNodeOrBuilder in interface InstanceOrBuilderpublic List<Instance.Node> getNodesList()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodesList in interface InstanceOrBuilderpublic int getNodesCount()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodesCount in interface InstanceOrBuilderpublic Instance.Node getNodes(int index)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodes in interface InstanceOrBuilderpublic Instance.Builder setNodes(int index, Instance.Node value)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setNodes(int index, Instance.Node.Builder builderForValue)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder addNodes(Instance.Node value)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder addNodes(int index, Instance.Node value)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder addNodes(Instance.Node.Builder builderForValue)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder addNodes(int index, Instance.Node.Builder builderForValue)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder addAllNodes(Iterable<? extends Instance.Node> values)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearNodes()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder removeNodes(int index)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Node.Builder getNodesBuilder(int index)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.NodeOrBuilder getNodesOrBuilder(int index)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodesOrBuilder in interface InstanceOrBuilderpublic List<? extends Instance.NodeOrBuilder> getNodesOrBuilderList()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodesOrBuilderList in interface InstanceOrBuilderpublic Instance.Node.Builder addNodesBuilder()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Node.Builder addNodesBuilder(int index)
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Instance.Node.Builder> getNodesBuilderList()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
hasQueryInsightsConfig in interface InstanceOrBuilderpublic Instance.QueryInsightsInstanceConfig getQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
getQueryInsightsConfig in interface InstanceOrBuilderpublic Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
public Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
public Instance.Builder mergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
public Instance.Builder clearQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
public Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder()
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
public Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder()
Configuration for query insights.
.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
getQueryInsightsConfigOrBuilder in interface InstanceOrBuilderpublic boolean hasObservabilityConfig()
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
hasObservabilityConfig in interface InstanceOrBuilderpublic Instance.ObservabilityInstanceConfig getObservabilityConfig()
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
getObservabilityConfig in interface InstanceOrBuilderpublic Instance.Builder setObservabilityConfig(Instance.ObservabilityInstanceConfig value)
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
public Instance.Builder setObservabilityConfig(Instance.ObservabilityInstanceConfig.Builder builderForValue)
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
public Instance.Builder mergeObservabilityConfig(Instance.ObservabilityInstanceConfig value)
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
public Instance.Builder clearObservabilityConfig()
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
public Instance.ObservabilityInstanceConfig.Builder getObservabilityConfigBuilder()
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
public Instance.ObservabilityInstanceConfigOrBuilder getObservabilityConfigOrBuilder()
Configuration for observability.
.google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig observability_config = 26;
getObservabilityConfigOrBuilder in interface InstanceOrBuilderpublic boolean hasReadPoolConfig()
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;hasReadPoolConfig in interface InstanceOrBuilderpublic Instance.ReadPoolConfig getReadPoolConfig()
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;getReadPoolConfig in interface InstanceOrBuilderpublic Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig value)
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;public Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;public Instance.Builder mergeReadPoolConfig(Instance.ReadPoolConfig value)
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;public Instance.Builder clearReadPoolConfig()
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;public Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder()
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;public Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder()
Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
.google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;getReadPoolConfigOrBuilder in interface InstanceOrBuilderpublic String getIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];getIpAddress in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];getIpAddressBytes in interface InstanceOrBuilderpublic Instance.Builder setIpAddress(String value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The ipAddress to set.public Instance.Builder clearIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];public Instance.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for ipAddress to set.public String getPublicIpAddress()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getPublicIpAddress in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getPublicIpAddressBytes()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getPublicIpAddressBytes in interface InstanceOrBuilderpublic Instance.Builder setPublicIpAddress(String value)
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The publicIpAddress to set.public Instance.Builder clearPublicIpAddress()
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
public Instance.Builder setPublicIpAddressBytes(com.google.protobuf.ByteString value)
Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The bytes for publicIpAddress to set.public boolean getReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface InstanceOrBuilderpublic Instance.Builder setReconciling(boolean value)
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public Instance.Builder clearReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;getEtag in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;getEtagBytes in interface InstanceOrBuilderpublic Instance.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;value - The etag to set.public Instance.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;public Instance.Builder setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;value - The bytes for etag to set.public int getAnnotationsCount()
InstanceOrBuilderAnnotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;getAnnotationsCount in interface InstanceOrBuilderpublic boolean containsAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;containsAnnotations in interface InstanceOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface InstanceOrBuilderpublic Map<String,String> getAnnotationsMap()
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;getAnnotationsMap in interface InstanceOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;getAnnotationsOrDefault in interface InstanceOrBuilderpublic String getAnnotationsOrThrow(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;getAnnotationsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearAnnotations()
public Instance.Builder removeAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;@Deprecated public Map<String,String> getMutableAnnotations()
public Instance.Builder putAnnotations(String key, String value)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;public Instance.Builder putAllAnnotations(Map<String,String> values)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 18;public boolean hasClientConnectionConfig()
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
hasClientConnectionConfig in interface InstanceOrBuilderpublic Instance.ClientConnectionConfig getClientConnectionConfig()
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
getClientConnectionConfig in interface InstanceOrBuilderpublic Instance.Builder setClientConnectionConfig(Instance.ClientConnectionConfig value)
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder setClientConnectionConfig(Instance.ClientConnectionConfig.Builder builderForValue)
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder mergeClientConnectionConfig(Instance.ClientConnectionConfig value)
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder clearClientConnectionConfig()
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
public Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder()
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
public Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder()
Optional. Client connection specific configurations
.google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
getClientConnectionConfigOrBuilder in interface InstanceOrBuilderpublic boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface InstanceOrBuilderpublic Instance.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzs to set.public Instance.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasPscInstanceConfig()
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
hasPscInstanceConfig in interface InstanceOrBuilderpublic Instance.PscInstanceConfig getPscInstanceConfig()
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
getPscInstanceConfig in interface InstanceOrBuilderpublic Instance.Builder setPscInstanceConfig(Instance.PscInstanceConfig value)
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder setPscInstanceConfig(Instance.PscInstanceConfig.Builder builderForValue)
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder mergePscInstanceConfig(Instance.PscInstanceConfig value)
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder clearPscInstanceConfig()
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
public Instance.PscInstanceConfig.Builder getPscInstanceConfigBuilder()
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
public Instance.PscInstanceConfigOrBuilder getPscInstanceConfigOrBuilder()
Optional. The configuration for Private Service Connect (PSC) for the instance.
.google.cloud.alloydb.v1.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
getPscInstanceConfigOrBuilder in interface InstanceOrBuilderpublic boolean hasNetworkConfig()
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
hasNetworkConfig in interface InstanceOrBuilderpublic Instance.InstanceNetworkConfig getNetworkConfig()
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
getNetworkConfig in interface InstanceOrBuilderpublic Instance.Builder setNetworkConfig(Instance.InstanceNetworkConfig value)
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder setNetworkConfig(Instance.InstanceNetworkConfig.Builder builderForValue)
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder mergeNetworkConfig(Instance.InstanceNetworkConfig value)
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.Builder clearNetworkConfig()
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder getNetworkConfigBuilder()
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfigOrBuilder getNetworkConfigOrBuilder()
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
getNetworkConfigOrBuilder in interface InstanceOrBuilderpublic com.google.protobuf.ProtocolStringList getOutboundPublicIpAddressesList()
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getOutboundPublicIpAddressesList in interface InstanceOrBuilderpublic int getOutboundPublicIpAddressesCount()
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getOutboundPublicIpAddressesCount in interface InstanceOrBuilderpublic String getOutboundPublicIpAddresses(int index)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getOutboundPublicIpAddresses in interface InstanceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getOutboundPublicIpAddressesBytes(int index)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getOutboundPublicIpAddressesBytes in interface InstanceOrBuilderindex - The index of the value to return.public Instance.Builder setOutboundPublicIpAddresses(int index, String value)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
index - The index to set the value at.value - The outboundPublicIpAddresses to set.public Instance.Builder addOutboundPublicIpAddresses(String value)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The outboundPublicIpAddresses to add.public Instance.Builder addAllOutboundPublicIpAddresses(Iterable<String> values)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
values - The outboundPublicIpAddresses to add.public Instance.Builder clearOutboundPublicIpAddresses()
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
public Instance.Builder addOutboundPublicIpAddressesBytes(com.google.protobuf.ByteString value)
Output only. All outbound public IP addresses configured for the instance.
repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
value - The bytes of the outboundPublicIpAddresses to add.public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>Copyright © 2025 Google LLC. All rights reserved.