Package com.google.cloud.alloydb.v1alpha
Class Instance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
- com.google.cloud.alloydb.v1alpha.Instance.Builder
-
- All Implemented Interfaces:
InstanceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Instance
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 typegoogle.cloud.alloydb.v1alpha.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instance.Builder
addAllNodes(Iterable<? extends Instance.Node> values)
Output only.Instance.Builder
addNodes(int index, Instance.Node value)
Output only.Instance.Builder
addNodes(int index, Instance.Node.Builder builderForValue)
Output only.Instance.Builder
addNodes(Instance.Node value)
Output only.Instance.Builder
addNodes(Instance.Node.Builder builderForValue)
Output only.Instance.Node.Builder
addNodesBuilder()
Output only.Instance.Node.Builder
addNodesBuilder(int index)
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
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)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
clearNodes()
Output only.Instance.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Instance.Builder
clearQueryInsightsConfig()
Configuration for query insights.Instance.Builder
clearReadPoolConfig()
Read pool specific config.Instance.Builder
clearReconciling()
Output only.Instance.Builder
clearSatisfiesPzs()
Reserved for future use.Instance.Builder
clearState()
Output only.Instance.Builder
clearUid()
Output only.Instance.Builder
clearUpdatePolicy()
Update policy that will be applied during instance update.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 pairsMap<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.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)com.google.protobuf.ByteString
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)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 pairsMap<String,String>
getLabelsMap()
Labels as key value pairsString
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairsString
getLabelsOrThrow(String key)
Labels as key value pairsInstance.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.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.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 specific config.Instance.ReadPoolConfig.Builder
getReadPoolConfigBuilder()
Read pool specific config.Instance.ReadPoolConfigOrBuilder
getReadPoolConfigOrBuilder()
Read pool specific config.boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Reserved for future use.Instance.State
getState()
Output only.int
getStateValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.Instance.UpdatePolicy
getUpdatePolicy()
Update policy that will be applied during instance update.Instance.UpdatePolicy.Builder
getUpdatePolicyBuilder()
Update policy that will be applied during instance update.Instance.UpdatePolicyOrBuilder
getUpdatePolicyOrBuilder()
Update policy that will be applied during instance update.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
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasMachineConfig()
Configurations for the machines that host the underlying database engine.boolean
hasQueryInsightsConfig()
Configuration for query insights.boolean
hasReadPoolConfig()
Read pool specific config.boolean
hasUpdatePolicy()
Update policy that will be applied during instance update.boolean
hasUpdateTime()
Output only.boolean
hasWritableNode()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Instance.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
mergeFrom(Instance other)
Instance.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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
mergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.Instance.Builder
mergeReadPoolConfig(Instance.ReadPoolConfig value)
Read pool specific config.Instance.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
mergeUpdatePolicy(Instance.UpdatePolicy value)
Update policy that will be applied during instance update.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 pairsInstance.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 pairsInstance.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 pairsInstance.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
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
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)Instance.Builder
setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)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 value)
Configurations for the machines that host the underlying database engine.Instance.Builder
setMachineConfig(Instance.MachineConfig.Builder builderForValue)
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
setNodes(int index, Instance.Node value)
Output only.Instance.Builder
setNodes(int index, Instance.Node.Builder builderForValue)
Output only.Instance.Builder
setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.Instance.Builder
setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)
Configuration for query insights.Instance.Builder
setReadPoolConfig(Instance.ReadPoolConfig value)
Read pool specific config.Instance.Builder
setReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)
Read pool specific config.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)
Reserved for future use.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
setUpdatePolicy(Instance.UpdatePolicy value)
Update policy that will be applied during instance update.Instance.Builder
setUpdatePolicy(Instance.UpdatePolicy.Builder builderForValue)
Update policy that will be applied during instance update.Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setWritableNode(Instance.Node value)
Output only.Instance.Builder
setWritableNode(Instance.Node.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
- Throws:
IOException
-
getName
public 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];
- Specified by:
getName
in interfaceInstanceOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
setName
public 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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
User-settable and human-readable display name for the Instance.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceInstanceOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Instance.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Instance.Builder setDisplayName(String value)
User-settable and human-readable display name for the Instance.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Instance.Builder clearDisplayName()
User-settable and human-readable display name for the Instance.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Instance.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Instance.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUid
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];
- Specified by:
getUid
in interfaceInstanceOrBuilder
- Returns:
- The uid.
-
getUidBytes
public 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];
- Specified by:
getUidBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public 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];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
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];
- Returns:
- This builder for chaining.
-
setUidBytes
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];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceInstanceOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
public Instance.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
public Instance.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceInstanceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceInstanceOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public 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];
-
setDeleteTime
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];
-
mergeDeleteTime
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];
-
clearDeleteTime
public Instance.Builder clearDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsMap
in interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrDefault
in interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
clearLabels
public Instance.Builder clearLabels()
-
removeLabels
public Instance.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Instance.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 7;
-
putAllLabels
public Instance.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 7;
-
getStateValue
public int getStateValue()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Instance.Builder setStateValue(int value)
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.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
public Instance.State getState()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceInstanceOrBuilder
- Returns:
- The state.
-
setState
public Instance.Builder setState(Instance.State value)
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Instance.Builder clearState()
Output only. The current serving state of the instance.
.google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getInstanceTypeValue
public int getInstanceTypeValue()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for instanceType.
-
setInstanceTypeValue
public Instance.Builder setInstanceTypeValue(int value)
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for instanceType to set.- Returns:
- This builder for chaining.
-
getInstanceType
public Instance.InstanceType getInstanceType()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceType
in interfaceInstanceOrBuilder
- Returns:
- The instanceType.
-
setInstanceType
public Instance.Builder setInstanceType(Instance.InstanceType value)
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The instanceType to set.- Returns:
- This builder for chaining.
-
clearInstanceType
public Instance.Builder clearInstanceType()
Required. The type of the instance. Specified at creation time.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
hasMachineConfig
public boolean hasMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
- Specified by:
hasMachineConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the machineConfig field is set.
-
getMachineConfig
public Instance.MachineConfig getMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
- Specified by:
getMachineConfig
in interfaceInstanceOrBuilder
- Returns:
- The machineConfig.
-
setMachineConfig
public Instance.Builder setMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
-
setMachineConfig
public Instance.Builder setMachineConfig(Instance.MachineConfig.Builder builderForValue)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
-
mergeMachineConfig
public Instance.Builder mergeMachineConfig(Instance.MachineConfig value)
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
-
clearMachineConfig
public Instance.Builder clearMachineConfig()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
-
getMachineConfigBuilder
public Instance.MachineConfig.Builder getMachineConfigBuilder()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
-
getMachineConfigOrBuilder
public Instance.MachineConfigOrBuilder getMachineConfigOrBuilder()
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
- Specified by:
getMachineConfigOrBuilder
in interfaceInstanceOrBuilder
-
getAvailabilityTypeValue
public 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.v1alpha.Instance.AvailabilityType availability_type = 11;
- Specified by:
getAvailabilityTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for availabilityType.
-
setAvailabilityTypeValue
public 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.v1alpha.Instance.AvailabilityType availability_type = 11;
- Parameters:
value
- The enum numeric value on the wire for availabilityType to set.- Returns:
- This builder for chaining.
-
getAvailabilityType
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.v1alpha.Instance.AvailabilityType availability_type = 11;
- Specified by:
getAvailabilityType
in interfaceInstanceOrBuilder
- Returns:
- The availabilityType.
-
setAvailabilityType
public 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.v1alpha.Instance.AvailabilityType availability_type = 11;
- Parameters:
value
- The availabilityType to set.- Returns:
- This builder for chaining.
-
clearAvailabilityType
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.v1alpha.Instance.AvailabilityType availability_type = 11;
- Returns:
- This builder for chaining.
-
getGceZone
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;
- Specified by:
getGceZone
in interfaceInstanceOrBuilder
- Returns:
- The gceZone.
-
getGceZoneBytes
public 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;
- Specified by:
getGceZoneBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for gceZone.
-
setGceZone
public 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;
- Parameters:
value
- The gceZone to set.- Returns:
- This builder for chaining.
-
clearGceZone
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;
- Returns:
- This builder for chaining.
-
setGceZoneBytes
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;
- Parameters:
value
- The bytes for gceZone to set.- Returns:
- This builder for chaining.
-
getDatabaseFlagsCount
public int getDatabaseFlagsCount()
Description copied from interface:InstanceOrBuilder
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
- Specified by:
getDatabaseFlagsCount
in interfaceInstanceOrBuilder
-
containsDatabaseFlags
public boolean containsDatabaseFlags(String key)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
- Specified by:
containsDatabaseFlags
in interfaceInstanceOrBuilder
-
getDatabaseFlags
@Deprecated public Map<String,String> getDatabaseFlags()
Deprecated.UsegetDatabaseFlagsMap()
instead.- Specified by:
getDatabaseFlags
in interfaceInstanceOrBuilder
-
getDatabaseFlagsMap
public Map<String,String> getDatabaseFlagsMap()
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
- Specified by:
getDatabaseFlagsMap
in interfaceInstanceOrBuilder
-
getDatabaseFlagsOrDefault
public String getDatabaseFlagsOrDefault(String key, String defaultValue)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
- Specified by:
getDatabaseFlagsOrDefault
in interfaceInstanceOrBuilder
-
getDatabaseFlagsOrThrow
public String getDatabaseFlagsOrThrow(String key)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
- Specified by:
getDatabaseFlagsOrThrow
in interfaceInstanceOrBuilder
-
clearDatabaseFlags
public Instance.Builder clearDatabaseFlags()
-
removeDatabaseFlags
public Instance.Builder removeDatabaseFlags(String key)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
-
getMutableDatabaseFlags
@Deprecated public Map<String,String> getMutableDatabaseFlags()
Deprecated.Use alternate mutation accessors instead.
-
putDatabaseFlags
public Instance.Builder putDatabaseFlags(String key, String value)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
-
putAllDatabaseFlags
public Instance.Builder putAllDatabaseFlags(Map<String,String> values)
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. 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;
-
hasWritableNode
public boolean hasWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasWritableNode
in interfaceInstanceOrBuilder
- Returns:
- Whether the writableNode field is set.
-
getWritableNode
public Instance.Node getWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWritableNode
in interfaceInstanceOrBuilder
- Returns:
- The writableNode.
-
setWritableNode
public Instance.Builder setWritableNode(Instance.Node value)
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setWritableNode
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.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeWritableNode
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.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearWritableNode
public Instance.Builder clearWritableNode()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getWritableNodeBuilder
public Instance.Node.Builder getWritableNodeBuilder()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getWritableNodeOrBuilder
public Instance.NodeOrBuilder getWritableNodeOrBuilder()
Output only. This is set for the read-write VM of the PRIMARY instance only.
.google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWritableNodeOrBuilder
in interfaceInstanceOrBuilder
-
getNodesList
public 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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodesList
in interfaceInstanceOrBuilder
-
getNodesCount
public int getNodesCount()
Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodesCount
in interfaceInstanceOrBuilder
-
getNodes
public 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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodes
in interfaceInstanceOrBuilder
-
setNodes
public 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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeNodes
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNodesBuilder
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNodesOrBuilder
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodesOrBuilder
in interfaceInstanceOrBuilder
-
getNodesOrBuilderList
public 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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodesOrBuilderList
in interfaceInstanceOrBuilder
-
addNodesBuilder
public 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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNodesBuilder
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNodesBuilderList
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.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasQueryInsightsConfig
public boolean hasQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
- Specified by:
hasQueryInsightsConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the queryInsightsConfig field is set.
-
getQueryInsightsConfig
public Instance.QueryInsightsInstanceConfig getQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
- Specified by:
getQueryInsightsConfig
in interfaceInstanceOrBuilder
- Returns:
- The queryInsightsConfig.
-
setQueryInsightsConfig
public Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
-
setQueryInsightsConfig
public Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
-
mergeQueryInsightsConfig
public Instance.Builder mergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
-
clearQueryInsightsConfig
public Instance.Builder clearQueryInsightsConfig()
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
-
getQueryInsightsConfigBuilder
public Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder()
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
-
getQueryInsightsConfigOrBuilder
public Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder()
Configuration for query insights.
.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
- Specified by:
getQueryInsightsConfigOrBuilder
in interfaceInstanceOrBuilder
-
hasReadPoolConfig
public boolean hasReadPoolConfig()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
- Specified by:
hasReadPoolConfig
in interfaceInstanceOrBuilder
- Returns:
- Whether the readPoolConfig field is set.
-
getReadPoolConfig
public Instance.ReadPoolConfig getReadPoolConfig()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
- Specified by:
getReadPoolConfig
in interfaceInstanceOrBuilder
- Returns:
- The readPoolConfig.
-
setReadPoolConfig
public Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig value)
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
-
setReadPoolConfig
public Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
-
mergeReadPoolConfig
public Instance.Builder mergeReadPoolConfig(Instance.ReadPoolConfig value)
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
-
clearReadPoolConfig
public Instance.Builder clearReadPoolConfig()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
-
getReadPoolConfigBuilder
public Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
-
getReadPoolConfigOrBuilder
public Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;
- Specified by:
getReadPoolConfigOrBuilder
in interfaceInstanceOrBuilder
-
getIpAddress
public 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];
- Specified by:
getIpAddress
in interfaceInstanceOrBuilder
- Returns:
- The ipAddress.
-
getIpAddressBytes
public 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];
- Specified by:
getIpAddressBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for ipAddress.
-
setIpAddress
public 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];
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
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];
- Returns:
- This builder for chaining.
-
setIpAddressBytes
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];
- Parameters:
value
- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getReconciling
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];
- Specified by:
getReconciling
in interfaceInstanceOrBuilder
- Returns:
- The reconciling.
-
setReconciling
public 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];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
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];
- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;
- Specified by:
getEtag
in interfaceInstanceOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;
- Specified by:
getEtagBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Instance.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Instance.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;
- Returns:
- This builder for chaining.
-
setEtagBytes
public Instance.Builder setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:InstanceOrBuilder
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;
- Specified by:
getAnnotationsCount
in interfaceInstanceOrBuilder
-
containsAnnotations
public 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;
- Specified by:
containsAnnotations
in interfaceInstanceOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceInstanceOrBuilder
-
getAnnotationsMap
public 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;
- Specified by:
getAnnotationsMap
in interfaceInstanceOrBuilder
-
getAnnotationsOrDefault
public 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;
- Specified by:
getAnnotationsOrDefault
in interfaceInstanceOrBuilder
-
getAnnotationsOrThrow
public 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;
- Specified by:
getAnnotationsOrThrow
in interfaceInstanceOrBuilder
-
clearAnnotations
public Instance.Builder clearAnnotations()
-
removeAnnotations
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;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
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;
-
putAllAnnotations
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;
-
hasUpdatePolicy
public boolean hasUpdatePolicy()
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
- Specified by:
hasUpdatePolicy
in interfaceInstanceOrBuilder
- Returns:
- Whether the updatePolicy field is set.
-
getUpdatePolicy
public Instance.UpdatePolicy getUpdatePolicy()
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
- Specified by:
getUpdatePolicy
in interfaceInstanceOrBuilder
- Returns:
- The updatePolicy.
-
setUpdatePolicy
public Instance.Builder setUpdatePolicy(Instance.UpdatePolicy value)
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-
setUpdatePolicy
public Instance.Builder setUpdatePolicy(Instance.UpdatePolicy.Builder builderForValue)
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-
mergeUpdatePolicy
public Instance.Builder mergeUpdatePolicy(Instance.UpdatePolicy value)
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-
clearUpdatePolicy
public Instance.Builder clearUpdatePolicy()
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-
getUpdatePolicyBuilder
public Instance.UpdatePolicy.Builder getUpdatePolicyBuilder()
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-
getUpdatePolicyOrBuilder
public Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder()
Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
- Specified by:
getUpdatePolicyOrBuilder
in interfaceInstanceOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 24;
- Specified by:
getSatisfiesPzs
in interfaceInstanceOrBuilder
- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Instance.Builder setSatisfiesPzs(boolean value)
Reserved for future use.
bool satisfies_pzs = 24;
- Parameters:
value
- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Instance.Builder clearSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 24;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-