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.BuilderaddAllNodes(Iterable<? extends Instance.Node> values)Output only.Instance.BuilderaddNodes(int index, Instance.Node value)Output only.Instance.BuilderaddNodes(int index, Instance.Node.Builder builderForValue)Output only.Instance.BuilderaddNodes(Instance.Node value)Output only.Instance.BuilderaddNodes(Instance.Node.Builder builderForValue)Output only.Instance.Node.BuilderaddNodesBuilder()Output only.Instance.Node.BuilderaddNodesBuilder(int index)Output only.Instance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instancebuild()InstancebuildPartial()Instance.Builderclear()Instance.BuilderclearAnnotations()Instance.BuilderclearAvailabilityType()Availability type of an Instance.Instance.BuilderclearCreateTime()Output only.Instance.BuilderclearDatabaseFlags()Instance.BuilderclearDeleteTime()Output only.Instance.BuilderclearDisplayName()User-settable and human-readable display name for the Instance.Instance.BuilderclearEtag()For Resource freshness validation (https://google.aip.dev/154)Instance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instance.BuilderclearGceZone()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.BuilderclearInstanceType()Required.Instance.BuilderclearIpAddress()Output only.Instance.BuilderclearLabels()Instance.BuilderclearMachineConfig()Configurations for the machines that host the underlying database engine.Instance.BuilderclearName()Output only.Instance.BuilderclearNodes()Output only.Instance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instance.BuilderclearQueryInsightsConfig()Configuration for query insights.Instance.BuilderclearReadPoolConfig()Read pool specific config.Instance.BuilderclearReconciling()Output only.Instance.BuilderclearSatisfiesPzs()Reserved for future use.Instance.BuilderclearState()Output only.Instance.BuilderclearUid()Output only.Instance.BuilderclearUpdatePolicy()Update policy that will be applied during instance update.Instance.BuilderclearUpdateTime()Output only.Instance.BuilderclearWritableNode()Output only.Instance.Builderclone()booleancontainsAnnotations(String key)Annotations to allow client tools to store small amount of arbitrary data.booleancontainsDatabaseFlags(String key)Database flags.booleancontainsLabels(String key)Labels as key value pairsMap<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()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.StringgetAnnotationsOrDefault(String key, String defaultValue)Annotations to allow client tools to store small amount of arbitrary data.StringgetAnnotationsOrThrow(String key)Annotations to allow client tools to store small amount of arbitrary data.Instance.AvailabilityTypegetAvailabilityType()Availability type of an Instance.intgetAvailabilityTypeValue()Availability type of an Instance.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.Map<String,String>getDatabaseFlags()Deprecated.intgetDatabaseFlagsCount()Database flags.Map<String,String>getDatabaseFlagsMap()Database flags.StringgetDatabaseFlagsOrDefault(String key, String defaultValue)Database flags.StringgetDatabaseFlagsOrThrow(String key)Database flags.InstancegetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.Timestamp.BuildergetDeleteTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()User-settable and human-readable display name for the Instance.com.google.protobuf.ByteStringgetDisplayNameBytes()User-settable and human-readable display name for the Instance.StringgetEtag()For Resource freshness validation (https://google.aip.dev/154)com.google.protobuf.ByteStringgetEtagBytes()For Resource freshness validation (https://google.aip.dev/154)StringgetGceZone()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.ByteStringgetGceZoneBytes()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.InstanceTypegetInstanceType()Required.intgetInstanceTypeValue()Required.StringgetIpAddress()Output only.com.google.protobuf.ByteStringgetIpAddressBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairsMap<String,String>getLabelsMap()Labels as key value pairsStringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairsStringgetLabelsOrThrow(String key)Labels as key value pairsInstance.MachineConfiggetMachineConfig()Configurations for the machines that host the underlying database engine.Instance.MachineConfig.BuildergetMachineConfigBuilder()Configurations for the machines that host the underlying database engine.Instance.MachineConfigOrBuildergetMachineConfigOrBuilder()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.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Instance.NodegetNodes(int index)Output only.Instance.Node.BuildergetNodesBuilder(int index)Output only.List<Instance.Node.Builder>getNodesBuilderList()Output only.intgetNodesCount()Output only.List<Instance.Node>getNodesList()Output only.Instance.NodeOrBuildergetNodesOrBuilder(int index)Output only.List<? extends Instance.NodeOrBuilder>getNodesOrBuilderList()Output only.Instance.QueryInsightsInstanceConfiggetQueryInsightsConfig()Configuration for query insights.Instance.QueryInsightsInstanceConfig.BuildergetQueryInsightsConfigBuilder()Configuration for query insights.Instance.QueryInsightsInstanceConfigOrBuildergetQueryInsightsConfigOrBuilder()Configuration for query insights.Instance.ReadPoolConfiggetReadPoolConfig()Read pool specific config.Instance.ReadPoolConfig.BuildergetReadPoolConfigBuilder()Read pool specific config.Instance.ReadPoolConfigOrBuildergetReadPoolConfigOrBuilder()Read pool specific config.booleangetReconciling()Output only.booleangetSatisfiesPzs()Reserved for future use.Instance.StategetState()Output only.intgetStateValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.Instance.UpdatePolicygetUpdatePolicy()Update policy that will be applied during instance update.Instance.UpdatePolicy.BuildergetUpdatePolicyBuilder()Update policy that will be applied during instance update.Instance.UpdatePolicyOrBuildergetUpdatePolicyOrBuilder()Update policy that will be applied during instance update.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.Instance.NodegetWritableNode()Output only.Instance.Node.BuildergetWritableNodeBuilder()Output only.Instance.NodeOrBuildergetWritableNodeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasMachineConfig()Configurations for the machines that host the underlying database engine.booleanhasQueryInsightsConfig()Configuration for query insights.booleanhasReadPoolConfig()Read pool specific config.booleanhasUpdatePolicy()Update policy that will be applied during instance update.booleanhasUpdateTime()Output only.booleanhasWritableNode()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Instance.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeDeleteTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeFrom(Instance other)Instance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instance.BuildermergeFrom(com.google.protobuf.Message other)Instance.BuildermergeMachineConfig(Instance.MachineConfig value)Configurations for the machines that host the underlying database engine.Instance.BuildermergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)Configuration for query insights.Instance.BuildermergeReadPoolConfig(Instance.ReadPoolConfig value)Read pool specific config.Instance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildermergeUpdatePolicy(Instance.UpdatePolicy value)Update policy that will be applied during instance update.Instance.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeWritableNode(Instance.Node value)Output only.Instance.BuilderputAllAnnotations(Map<String,String> values)Annotations to allow client tools to store small amount of arbitrary data.Instance.BuilderputAllDatabaseFlags(Map<String,String> values)Database flags.Instance.BuilderputAllLabels(Map<String,String> values)Labels as key value pairsInstance.BuilderputAnnotations(String key, String value)Annotations to allow client tools to store small amount of arbitrary data.Instance.BuilderputDatabaseFlags(String key, String value)Database flags.Instance.BuilderputLabels(String key, String value)Labels as key value pairsInstance.BuilderremoveAnnotations(String key)Annotations to allow client tools to store small amount of arbitrary data.Instance.BuilderremoveDatabaseFlags(String key)Database flags.Instance.BuilderremoveLabels(String key)Labels as key value pairsInstance.BuilderremoveNodes(int index)Output only.Instance.BuildersetAvailabilityType(Instance.AvailabilityType value)Availability type of an Instance.Instance.BuildersetAvailabilityTypeValue(int value)Availability type of an Instance.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetDeleteTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetDisplayName(String value)User-settable and human-readable display name for the Instance.Instance.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)User-settable and human-readable display name for the Instance.Instance.BuildersetEtag(String value)For Resource freshness validation (https://google.aip.dev/154)Instance.BuildersetEtagBytes(com.google.protobuf.ByteString value)For Resource freshness validation (https://google.aip.dev/154)Instance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuildersetGceZone(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.BuildersetGceZoneBytes(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.BuildersetInstanceType(Instance.InstanceType value)Required.Instance.BuildersetInstanceTypeValue(int value)Required.Instance.BuildersetIpAddress(String value)Output only.Instance.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetMachineConfig(Instance.MachineConfig value)Configurations for the machines that host the underlying database engine.Instance.BuildersetMachineConfig(Instance.MachineConfig.Builder builderForValue)Configurations for the machines that host the underlying database engine.Instance.BuildersetName(String value)Output only.Instance.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetNodes(int index, Instance.Node value)Output only.Instance.BuildersetNodes(int index, Instance.Node.Builder builderForValue)Output only.Instance.BuildersetQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)Configuration for query insights.Instance.BuildersetQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)Configuration for query insights.Instance.BuildersetReadPoolConfig(Instance.ReadPoolConfig value)Read pool specific config.Instance.BuildersetReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)Read pool specific config.Instance.BuildersetReconciling(boolean value)Output only.Instance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instance.BuildersetSatisfiesPzs(boolean value)Reserved for future use.Instance.BuildersetState(Instance.State value)Output only.Instance.BuildersetStateValue(int value)Output only.Instance.BuildersetUid(String value)Output only.Instance.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildersetUpdatePolicy(Instance.UpdatePolicy value)Update policy that will be applied during instance update.Instance.BuildersetUpdatePolicy(Instance.UpdatePolicy.Builder builderForValue)Update policy that will be applied during instance update.Instance.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetWritableNode(Instance.Node value)Output only.Instance.BuildersetWritableNode(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getUidin 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:
getUidBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein 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:
getDeleteTimein 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:
getDeleteTimeOrBuilderin interfaceInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilderLabels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin 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:
getStateValuein 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:
getStatein 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:
getInstanceTypeValuein 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:
getInstanceTypein 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:
hasMachineConfigin 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:
getMachineConfigin 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:
getMachineConfigOrBuilderin 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:
getAvailabilityTypeValuein 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:
getAvailabilityTypein 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:
getGceZonein 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:
getGceZoneBytesin 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:InstanceOrBuilderDatabase 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:
getDatabaseFlagsCountin 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:
containsDatabaseFlagsin interfaceInstanceOrBuilder
-
getDatabaseFlags
@Deprecated public Map<String,String> getDatabaseFlags()
Deprecated.UsegetDatabaseFlagsMap()instead.- Specified by:
getDatabaseFlagsin 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:
getDatabaseFlagsMapin 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:
getDatabaseFlagsOrDefaultin 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:
getDatabaseFlagsOrThrowin 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:
hasWritableNodein 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:
getWritableNodein 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:
getWritableNodeOrBuilderin 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:
getNodesListin 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:
getNodesCountin 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:
getNodesin 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:
getNodesOrBuilderin 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:
getNodesOrBuilderListin 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:
hasQueryInsightsConfigin 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:
getQueryInsightsConfigin 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:
getQueryInsightsConfigOrBuilderin interfaceInstanceOrBuilder
-
hasReadPoolConfig
public boolean hasReadPoolConfig()
Read pool specific config.
.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14;- Specified by:
hasReadPoolConfigin 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:
getReadPoolConfigin 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:
getReadPoolConfigOrBuilderin 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:
getIpAddressin 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:
getIpAddressBytesin 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:
getReconcilingin 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:
getEtagin 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:
getEtagBytesin 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: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;- Specified by:
getAnnotationsCountin 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:
containsAnnotationsin interfaceInstanceOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin 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:
getAnnotationsMapin 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:
getAnnotationsOrDefaultin 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:
getAnnotationsOrThrowin 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:
hasUpdatePolicyin 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:
getUpdatePolicyin 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:
getUpdatePolicyOrBuilderin interfaceInstanceOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 24;- Specified by:
getSatisfiesPzsin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-