Package com.google.cloud.alloydb.v1alpha
Class Cluster.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
- com.google.cloud.alloydb.v1alpha.Cluster.Builder
-
- All Implemented Interfaces:
ClusterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Cluster
public static final class Cluster.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.
Protobuf typegoogle.cloud.alloydb.v1alpha.Cluster
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Cluster.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Clusterbuild()ClusterbuildPartial()Cluster.Builderclear()Cluster.BuilderclearAnnotations()Cluster.BuilderclearAutomatedBackupPolicy()The automated backup policy for this cluster.Cluster.BuilderclearBackupSource()Output only.Cluster.BuilderclearClusterType()Output only.Cluster.BuilderclearContinuousBackupConfig()Optional.Cluster.BuilderclearContinuousBackupInfo()Output only.Cluster.BuilderclearCreateTime()Output only.Cluster.BuilderclearDatabaseVersion()Optional.Cluster.BuilderclearDeleteTime()Output only.Cluster.BuilderclearDisplayName()User-settable and human-readable display name for the Cluster.Cluster.BuilderclearEncryptionConfig()Optional.Cluster.BuilderclearEncryptionInfo()Output only.Cluster.BuilderclearEtag()For Resource freshness validation (https://google.aip.dev/154)Cluster.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Cluster.BuilderclearInitialUser()Input only.Cluster.BuilderclearLabels()Cluster.BuilderclearMigrationSource()Output only.Cluster.BuilderclearName()Output only.Cluster.BuilderclearNetwork()Required.Cluster.BuilderclearNetworkConfig().google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Cluster.BuilderclearPrimaryConfig()Output only.Cluster.BuilderclearReconciling()Output only.Cluster.BuilderclearSatisfiesPzs()Reserved for future use.Cluster.BuilderclearSecondaryConfig()Cross Region replication config specific to SECONDARY cluster.Cluster.BuilderclearSource()Cluster.BuilderclearSslConfig()Deprecated.Cluster.BuilderclearState()Output only.Cluster.BuilderclearUid()Output only.Cluster.BuilderclearUpdateTime()Output only.Cluster.Builderclone()booleancontainsAnnotations(String key)Annotations to allow client tools to store small amount of arbitrary data.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.AutomatedBackupPolicygetAutomatedBackupPolicy()The automated backup policy for this cluster.AutomatedBackupPolicy.BuildergetAutomatedBackupPolicyBuilder()The automated backup policy for this cluster.AutomatedBackupPolicyOrBuildergetAutomatedBackupPolicyOrBuilder()The automated backup policy for this cluster.BackupSourcegetBackupSource()Output only.BackupSource.BuildergetBackupSourceBuilder()Output only.BackupSourceOrBuildergetBackupSourceOrBuilder()Output only.Cluster.ClusterTypegetClusterType()Output only.intgetClusterTypeValue()Output only.ContinuousBackupConfiggetContinuousBackupConfig()Optional.ContinuousBackupConfig.BuildergetContinuousBackupConfigBuilder()Optional.ContinuousBackupConfigOrBuildergetContinuousBackupConfigOrBuilder()Optional.ContinuousBackupInfogetContinuousBackupInfo()Output only.ContinuousBackupInfo.BuildergetContinuousBackupInfoBuilder()Output only.ContinuousBackupInfoOrBuildergetContinuousBackupInfoOrBuilder()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DatabaseVersiongetDatabaseVersion()Optional.intgetDatabaseVersionValue()Optional.ClustergetDefaultInstanceForType()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 Cluster.com.google.protobuf.ByteStringgetDisplayNameBytes()User-settable and human-readable display name for the Cluster.EncryptionConfiggetEncryptionConfig()Optional.EncryptionConfig.BuildergetEncryptionConfigBuilder()Optional.EncryptionConfigOrBuildergetEncryptionConfigOrBuilder()Optional.EncryptionInfogetEncryptionInfo()Output only.EncryptionInfo.BuildergetEncryptionInfoBuilder()Output only.EncryptionInfoOrBuildergetEncryptionInfoOrBuilder()Output only.StringgetEtag()For Resource freshness validation (https://google.aip.dev/154)com.google.protobuf.ByteStringgetEtagBytes()For Resource freshness validation (https://google.aip.dev/154)UserPasswordgetInitialUser()Input only.UserPassword.BuildergetInitialUserBuilder()Input only.UserPasswordOrBuildergetInitialUserOrBuilder()Input 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 pairsMigrationSourcegetMigrationSource()Output only.MigrationSource.BuildergetMigrationSourceBuilder()Output only.MigrationSourceOrBuildergetMigrationSourceOrBuilder()Output only.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNetwork()Required.com.google.protobuf.ByteStringgetNetworkBytes()Required.Cluster.NetworkConfiggetNetworkConfig().google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.NetworkConfig.BuildergetNetworkConfigBuilder().google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.NetworkConfigOrBuildergetNetworkConfigOrBuilder().google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.PrimaryConfiggetPrimaryConfig()Output only.Cluster.PrimaryConfig.BuildergetPrimaryConfigBuilder()Output only.Cluster.PrimaryConfigOrBuildergetPrimaryConfigOrBuilder()Output only.booleangetReconciling()Output only.booleangetSatisfiesPzs()Reserved for future use.Cluster.SecondaryConfiggetSecondaryConfig()Cross Region replication config specific to SECONDARY cluster.Cluster.SecondaryConfig.BuildergetSecondaryConfigBuilder()Cross Region replication config specific to SECONDARY cluster.Cluster.SecondaryConfigOrBuildergetSecondaryConfigOrBuilder()Cross Region replication config specific to SECONDARY cluster.Cluster.SourceCasegetSourceCase()SslConfiggetSslConfig()Deprecated.google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated.SslConfig.BuildergetSslConfigBuilder()Deprecated.SslConfigOrBuildergetSslConfigOrBuilder()Deprecated.Cluster.StategetState()Output only.intgetStateValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAutomatedBackupPolicy()The automated backup policy for this cluster.booleanhasBackupSource()Output only.booleanhasContinuousBackupConfig()Optional.booleanhasContinuousBackupInfo()Output only.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasEncryptionConfig()Optional.booleanhasEncryptionInfo()Output only.booleanhasInitialUser()Input only.booleanhasMigrationSource()Output only.booleanhasNetworkConfig().google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];booleanhasPrimaryConfig()Output only.booleanhasSecondaryConfig()Cross Region replication config specific to SECONDARY cluster.booleanhasSslConfig()Deprecated.google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Cluster.BuildermergeAutomatedBackupPolicy(AutomatedBackupPolicy value)The automated backup policy for this cluster.Cluster.BuildermergeBackupSource(BackupSource value)Output only.Cluster.BuildermergeContinuousBackupConfig(ContinuousBackupConfig value)Optional.Cluster.BuildermergeContinuousBackupInfo(ContinuousBackupInfo value)Output only.Cluster.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuildermergeDeleteTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuildermergeEncryptionConfig(EncryptionConfig value)Optional.Cluster.BuildermergeEncryptionInfo(EncryptionInfo value)Output only.Cluster.BuildermergeFrom(Cluster other)Cluster.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Cluster.BuildermergeFrom(com.google.protobuf.Message other)Cluster.BuildermergeInitialUser(UserPassword value)Input only.Cluster.BuildermergeMigrationSource(MigrationSource value)Output only.Cluster.BuildermergeNetworkConfig(Cluster.NetworkConfig value).google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.BuildermergePrimaryConfig(Cluster.PrimaryConfig value)Output only.Cluster.BuildermergeSecondaryConfig(Cluster.SecondaryConfig value)Cross Region replication config specific to SECONDARY cluster.Cluster.BuildermergeSslConfig(SslConfig value)Deprecated.Cluster.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cluster.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuilderputAllAnnotations(Map<String,String> values)Annotations to allow client tools to store small amount of arbitrary data.Cluster.BuilderputAllLabels(Map<String,String> values)Labels as key value pairsCluster.BuilderputAnnotations(String key, String value)Annotations to allow client tools to store small amount of arbitrary data.Cluster.BuilderputLabels(String key, String value)Labels as key value pairsCluster.BuilderremoveAnnotations(String key)Annotations to allow client tools to store small amount of arbitrary data.Cluster.BuilderremoveLabels(String key)Labels as key value pairsCluster.BuildersetAutomatedBackupPolicy(AutomatedBackupPolicy value)The automated backup policy for this cluster.Cluster.BuildersetAutomatedBackupPolicy(AutomatedBackupPolicy.Builder builderForValue)The automated backup policy for this cluster.Cluster.BuildersetBackupSource(BackupSource value)Output only.Cluster.BuildersetBackupSource(BackupSource.Builder builderForValue)Output only.Cluster.BuildersetClusterType(Cluster.ClusterType value)Output only.Cluster.BuildersetClusterTypeValue(int value)Output only.Cluster.BuildersetContinuousBackupConfig(ContinuousBackupConfig value)Optional.Cluster.BuildersetContinuousBackupConfig(ContinuousBackupConfig.Builder builderForValue)Optional.Cluster.BuildersetContinuousBackupInfo(ContinuousBackupInfo value)Output only.Cluster.BuildersetContinuousBackupInfo(ContinuousBackupInfo.Builder builderForValue)Output only.Cluster.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Cluster.BuildersetDatabaseVersion(DatabaseVersion value)Optional.Cluster.BuildersetDatabaseVersionValue(int value)Optional.Cluster.BuildersetDeleteTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuildersetDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Cluster.BuildersetDisplayName(String value)User-settable and human-readable display name for the Cluster.Cluster.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)User-settable and human-readable display name for the Cluster.Cluster.BuildersetEncryptionConfig(EncryptionConfig value)Optional.Cluster.BuildersetEncryptionConfig(EncryptionConfig.Builder builderForValue)Optional.Cluster.BuildersetEncryptionInfo(EncryptionInfo value)Output only.Cluster.BuildersetEncryptionInfo(EncryptionInfo.Builder builderForValue)Output only.Cluster.BuildersetEtag(String value)For Resource freshness validation (https://google.aip.dev/154)Cluster.BuildersetEtagBytes(com.google.protobuf.ByteString value)For Resource freshness validation (https://google.aip.dev/154)Cluster.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cluster.BuildersetInitialUser(UserPassword value)Input only.Cluster.BuildersetInitialUser(UserPassword.Builder builderForValue)Input only.Cluster.BuildersetMigrationSource(MigrationSource value)Output only.Cluster.BuildersetMigrationSource(MigrationSource.Builder builderForValue)Output only.Cluster.BuildersetName(String value)Output only.Cluster.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Cluster.BuildersetNetwork(String value)Required.Cluster.BuildersetNetworkBytes(com.google.protobuf.ByteString value)Required.Cluster.BuildersetNetworkConfig(Cluster.NetworkConfig value).google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.BuildersetNetworkConfig(Cluster.NetworkConfig.Builder builderForValue).google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];Cluster.BuildersetPrimaryConfig(Cluster.PrimaryConfig value)Output only.Cluster.BuildersetPrimaryConfig(Cluster.PrimaryConfig.Builder builderForValue)Output only.Cluster.BuildersetReconciling(boolean value)Output only.Cluster.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Cluster.BuildersetSatisfiesPzs(boolean value)Reserved for future use.Cluster.BuildersetSecondaryConfig(Cluster.SecondaryConfig value)Cross Region replication config specific to SECONDARY cluster.Cluster.BuildersetSecondaryConfig(Cluster.SecondaryConfig.Builder builderForValue)Cross Region replication config specific to SECONDARY cluster.Cluster.BuildersetSslConfig(SslConfig value)Deprecated.Cluster.BuildersetSslConfig(SslConfig.Builder builderForValue)Deprecated.Cluster.BuildersetState(Cluster.State value)Output only.Cluster.BuildersetStateValue(int value)Output only.Cluster.BuildersetUid(String value)Output only.Cluster.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Cluster.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cluster.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Cluster.BuildersetUpdateTime(com.google.protobuf.Timestamp.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<Cluster.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
clear
public Cluster.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<Cluster.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<Cluster.Builder>
-
getDefaultInstanceForType
public Cluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cluster.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<Cluster.Builder>
-
setField
public Cluster.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<Cluster.Builder>
-
clearField
public Cluster.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
clearOneof
public Cluster.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
setRepeatedField
public Cluster.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<Cluster.Builder>
-
addRepeatedField
public Cluster.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<Cluster.Builder>
-
mergeFrom
public Cluster.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
-
mergeFrom
public Cluster.Builder mergeFrom(Cluster other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
mergeFrom
public Cluster.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<Cluster.Builder>- Throws:
IOException
-
getSourceCase
public Cluster.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceClusterOrBuilder
-
clearSource
public Cluster.Builder clearSource()
-
hasBackupSource
public boolean hasBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBackupSourcein interfaceClusterOrBuilder- Returns:
- Whether the backupSource field is set.
-
getBackupSource
public BackupSource getBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupSourcein interfaceClusterOrBuilder- Returns:
- The backupSource.
-
setBackupSource
public Cluster.Builder setBackupSource(BackupSource value)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setBackupSource
public Cluster.Builder setBackupSource(BackupSource.Builder builderForValue)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeBackupSource
public Cluster.Builder mergeBackupSource(BackupSource value)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearBackupSource
public Cluster.Builder clearBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getBackupSourceBuilder
public BackupSource.Builder getBackupSourceBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getBackupSourceOrBuilder
public BackupSourceOrBuilder getBackupSourceOrBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupSourceOrBuilderin interfaceClusterOrBuilder
-
hasMigrationSource
public boolean hasMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMigrationSourcein interfaceClusterOrBuilder- Returns:
- Whether the migrationSource field is set.
-
getMigrationSource
public MigrationSource getMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMigrationSourcein interfaceClusterOrBuilder- Returns:
- The migrationSource.
-
setMigrationSource
public Cluster.Builder setMigrationSource(MigrationSource value)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMigrationSource
public Cluster.Builder setMigrationSource(MigrationSource.Builder builderForValue)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeMigrationSource
public Cluster.Builder mergeMigrationSource(MigrationSource value)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMigrationSource
public Cluster.Builder clearMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigrationSourceBuilder
public MigrationSource.Builder getMigrationSourceBuilder()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigrationSourceOrBuilder
public MigrationSourceOrBuilder getMigrationSourceOrBuilder()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMigrationSourceOrBuilderin interfaceClusterOrBuilder
-
getName
public String getName()
Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceClusterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceClusterOrBuilder- Returns:
- The bytes for name.
-
setName
public Cluster.Builder setName(String value)
Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Cluster.Builder clearName()
Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Cluster.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}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 Cluster.
string display_name = 2;- Specified by:
getDisplayNamein interfaceClusterOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Cluster.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceClusterOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public Cluster.Builder setDisplayName(String value)
User-settable and human-readable display name for the Cluster.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Cluster.Builder clearDisplayName()
User-settable and human-readable display name for the Cluster.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Cluster.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Cluster.
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 interfaceClusterOrBuilder- 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 interfaceClusterOrBuilder- Returns:
- The bytes for uid.
-
setUid
public Cluster.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 Cluster.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 Cluster.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 interfaceClusterOrBuilder- 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 interfaceClusterOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Cluster.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 Cluster.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 Cluster.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 Cluster.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 interfaceClusterOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceClusterOrBuilder- 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 interfaceClusterOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Cluster.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 Cluster.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 Cluster.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 Cluster.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 interfaceClusterOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceClusterOrBuilder- 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 interfaceClusterOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
public Cluster.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 Cluster.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 Cluster.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 Cluster.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 interfaceClusterOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ClusterOrBuilderLabels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceClusterOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceClusterOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceClusterOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceClusterOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceClusterOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin interfaceClusterOrBuilder
-
clearLabels
public Cluster.Builder clearLabels()
-
removeLabels
public Cluster.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 Cluster.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 7;
-
putAllLabels
public Cluster.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 cluster.
.google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceClusterOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Cluster.Builder setStateValue(int value)
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1alpha.Cluster.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 Cluster.State getState()
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceClusterOrBuilder- Returns:
- The state.
-
setState
public Cluster.Builder setState(Cluster.State value)
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Cluster.Builder clearState()
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getClusterTypeValue
public int getClusterTypeValue()
Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterTypeValuein interfaceClusterOrBuilder- Returns:
- The enum numeric value on the wire for clusterType.
-
setClusterTypeValue
public Cluster.Builder setClusterTypeValue(int value)
Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for clusterType to set.- Returns:
- This builder for chaining.
-
getClusterType
public Cluster.ClusterType getClusterType()
Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterTypein interfaceClusterOrBuilder- Returns:
- The clusterType.
-
setClusterType
public Cluster.Builder setClusterType(Cluster.ClusterType value)
Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The clusterType to set.- Returns:
- This builder for chaining.
-
clearClusterType
public Cluster.Builder clearClusterType()
Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDatabaseVersionValue
public int getDatabaseVersionValue()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseVersionValuein interfaceClusterOrBuilder- Returns:
- The enum numeric value on the wire for databaseVersion.
-
setDatabaseVersionValue
public Cluster.Builder setDatabaseVersionValue(int value)
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for databaseVersion to set.- Returns:
- This builder for chaining.
-
getDatabaseVersion
public DatabaseVersion getDatabaseVersion()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseVersionin interfaceClusterOrBuilder- Returns:
- The databaseVersion.
-
setDatabaseVersion
public Cluster.Builder setDatabaseVersion(DatabaseVersion value)
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The databaseVersion to set.- Returns:
- This builder for chaining.
-
clearDatabaseVersion
public Cluster.Builder clearDatabaseVersion()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasNetworkConfig
public boolean hasNetworkConfig()
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNetworkConfigin interfaceClusterOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
public Cluster.NetworkConfig getNetworkConfig()
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigin interfaceClusterOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
public Cluster.Builder setNetworkConfig(Cluster.NetworkConfig value)
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
-
setNetworkConfig
public Cluster.Builder setNetworkConfig(Cluster.NetworkConfig.Builder builderForValue)
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
-
mergeNetworkConfig
public Cluster.Builder mergeNetworkConfig(Cluster.NetworkConfig value)
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
-
clearNetworkConfig
public Cluster.Builder clearNetworkConfig()
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
-
getNetworkConfigBuilder
public Cluster.NetworkConfig.Builder getNetworkConfigBuilder()
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
-
getNetworkConfigOrBuilder
public Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder()
.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigOrBuilderin interfaceClusterOrBuilder
-
getNetwork
public String getNetwork()
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.string network = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkin interfaceClusterOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.string network = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkBytesin interfaceClusterOrBuilder- Returns:
- The bytes for network.
-
setNetwork
public Cluster.Builder setNetwork(String value)
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.string network = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Cluster.Builder clearNetwork()
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.string network = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNetworkBytes
public Cluster.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.string network = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;- Specified by:
getEtagin interfaceClusterOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;- Specified by:
getEtagBytesin interfaceClusterOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public Cluster.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Cluster.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;- Returns:
- This builder for chaining.
-
setEtagBytes
public Cluster.Builder setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ClusterOrBuilderAnnotations 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 = 12;- Specified by:
getAnnotationsCountin interfaceClusterOrBuilder
-
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 = 12;- Specified by:
containsAnnotationsin interfaceClusterOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceClusterOrBuilder
-
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 = 12;- Specified by:
getAnnotationsMapin interfaceClusterOrBuilder
-
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 = 12;- Specified by:
getAnnotationsOrDefaultin interfaceClusterOrBuilder
-
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 = 12;- Specified by:
getAnnotationsOrThrowin interfaceClusterOrBuilder
-
clearAnnotations
public Cluster.Builder clearAnnotations()
-
removeAnnotations
public Cluster.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 = 12;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Cluster.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 = 12;
-
putAllAnnotations
public Cluster.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 = 12;
-
getReconciling
public boolean getReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceClusterOrBuilder- Returns:
- The reconciling.
-
setReconciling
public Cluster.Builder setReconciling(boolean value)
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
public Cluster.Builder clearReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasInitialUser
public boolean hasInitialUser()
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
hasInitialUserin interfaceClusterOrBuilder- Returns:
- Whether the initialUser field is set.
-
getInitialUser
public UserPassword getInitialUser()
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getInitialUserin interfaceClusterOrBuilder- Returns:
- The initialUser.
-
setInitialUser
public Cluster.Builder setInitialUser(UserPassword value)
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
-
setInitialUser
public Cluster.Builder setInitialUser(UserPassword.Builder builderForValue)
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
-
mergeInitialUser
public Cluster.Builder mergeInitialUser(UserPassword value)
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
-
clearInitialUser
public Cluster.Builder clearInitialUser()
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
-
getInitialUserBuilder
public UserPassword.Builder getInitialUserBuilder()
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
-
getInitialUserOrBuilder
public UserPasswordOrBuilder getInitialUserOrBuilder()
Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
.google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getInitialUserOrBuilderin interfaceClusterOrBuilder
-
hasAutomatedBackupPolicy
public boolean hasAutomatedBackupPolicy()
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;- Specified by:
hasAutomatedBackupPolicyin interfaceClusterOrBuilder- Returns:
- Whether the automatedBackupPolicy field is set.
-
getAutomatedBackupPolicy
public AutomatedBackupPolicy getAutomatedBackupPolicy()
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;- Specified by:
getAutomatedBackupPolicyin interfaceClusterOrBuilder- Returns:
- The automatedBackupPolicy.
-
setAutomatedBackupPolicy
public Cluster.Builder setAutomatedBackupPolicy(AutomatedBackupPolicy value)
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
-
setAutomatedBackupPolicy
public Cluster.Builder setAutomatedBackupPolicy(AutomatedBackupPolicy.Builder builderForValue)
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
-
mergeAutomatedBackupPolicy
public Cluster.Builder mergeAutomatedBackupPolicy(AutomatedBackupPolicy value)
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
-
clearAutomatedBackupPolicy
public Cluster.Builder clearAutomatedBackupPolicy()
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
-
getAutomatedBackupPolicyBuilder
public AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder()
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
-
getAutomatedBackupPolicyOrBuilder
public AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder()
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;- Specified by:
getAutomatedBackupPolicyOrBuilderin interfaceClusterOrBuilder
-
hasSslConfig
@Deprecated public boolean hasSslConfig()
Deprecated.google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See google/cloud/alloydb/v1alpha/resources.proto;l=578SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];- Specified by:
hasSslConfigin interfaceClusterOrBuilder- Returns:
- Whether the sslConfig field is set.
-
getSslConfig
@Deprecated public SslConfig getSslConfig()
Deprecated.google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See google/cloud/alloydb/v1alpha/resources.proto;l=578SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];- Specified by:
getSslConfigin interfaceClusterOrBuilder- Returns:
- The sslConfig.
-
setSslConfig
@Deprecated public Cluster.Builder setSslConfig(SslConfig value)
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
-
setSslConfig
@Deprecated public Cluster.Builder setSslConfig(SslConfig.Builder builderForValue)
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
-
mergeSslConfig
@Deprecated public Cluster.Builder mergeSslConfig(SslConfig value)
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
-
clearSslConfig
@Deprecated public Cluster.Builder clearSslConfig()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
-
getSslConfigBuilder
@Deprecated public SslConfig.Builder getSslConfigBuilder()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];
-
getSslConfigOrBuilder
@Deprecated public SslConfigOrBuilder getSslConfigOrBuilder()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true];- Specified by:
getSslConfigOrBuilderin interfaceClusterOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEncryptionConfigin interfaceClusterOrBuilder- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public EncryptionConfig getEncryptionConfig()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigin interfaceClusterOrBuilder- Returns:
- The encryptionConfig.
-
setEncryptionConfig
public Cluster.Builder setEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
-
setEncryptionConfig
public Cluster.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
-
mergeEncryptionConfig
public Cluster.Builder mergeEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
-
clearEncryptionConfig
public Cluster.Builder clearEncryptionConfig()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getEncryptionConfigBuilder
public EncryptionConfig.Builder getEncryptionConfigBuilder()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getEncryptionConfigOrBuilder
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEncryptionConfigOrBuilderin interfaceClusterOrBuilder
-
hasEncryptionInfo
public boolean hasEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEncryptionInfoin interfaceClusterOrBuilder- Returns:
- Whether the encryptionInfo field is set.
-
getEncryptionInfo
public EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEncryptionInfoin interfaceClusterOrBuilder- Returns:
- The encryptionInfo.
-
setEncryptionInfo
public Cluster.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEncryptionInfo
public Cluster.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEncryptionInfo
public Cluster.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEncryptionInfo
public Cluster.Builder clearEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEncryptionInfoBuilder
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEncryptionInfoOrBuilder
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEncryptionInfoOrBuilderin interfaceClusterOrBuilder
-
hasContinuousBackupConfig
public boolean hasContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasContinuousBackupConfigin interfaceClusterOrBuilder- Returns:
- Whether the continuousBackupConfig field is set.
-
getContinuousBackupConfig
public ContinuousBackupConfig getContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContinuousBackupConfigin interfaceClusterOrBuilder- Returns:
- The continuousBackupConfig.
-
setContinuousBackupConfig
public Cluster.Builder setContinuousBackupConfig(ContinuousBackupConfig value)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
setContinuousBackupConfig
public Cluster.Builder setContinuousBackupConfig(ContinuousBackupConfig.Builder builderForValue)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
mergeContinuousBackupConfig
public Cluster.Builder mergeContinuousBackupConfig(ContinuousBackupConfig value)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
clearContinuousBackupConfig
public Cluster.Builder clearContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
getContinuousBackupConfigBuilder
public ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
getContinuousBackupConfigOrBuilder
public ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContinuousBackupConfigOrBuilderin interfaceClusterOrBuilder
-
hasContinuousBackupInfo
public boolean hasContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasContinuousBackupInfoin interfaceClusterOrBuilder- Returns:
- Whether the continuousBackupInfo field is set.
-
getContinuousBackupInfo
public ContinuousBackupInfo getContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContinuousBackupInfoin interfaceClusterOrBuilder- Returns:
- The continuousBackupInfo.
-
setContinuousBackupInfo
public Cluster.Builder setContinuousBackupInfo(ContinuousBackupInfo value)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setContinuousBackupInfo
public Cluster.Builder setContinuousBackupInfo(ContinuousBackupInfo.Builder builderForValue)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeContinuousBackupInfo
public Cluster.Builder mergeContinuousBackupInfo(ContinuousBackupInfo value)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearContinuousBackupInfo
public Cluster.Builder clearContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getContinuousBackupInfoBuilder
public ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getContinuousBackupInfoOrBuilder
public ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContinuousBackupInfoOrBuilderin interfaceClusterOrBuilder
-
hasSecondaryConfig
public boolean hasSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;- Specified by:
hasSecondaryConfigin interfaceClusterOrBuilder- Returns:
- Whether the secondaryConfig field is set.
-
getSecondaryConfig
public Cluster.SecondaryConfig getSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;- Specified by:
getSecondaryConfigin interfaceClusterOrBuilder- Returns:
- The secondaryConfig.
-
setSecondaryConfig
public Cluster.Builder setSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;
-
setSecondaryConfig
public Cluster.Builder setSecondaryConfig(Cluster.SecondaryConfig.Builder builderForValue)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;
-
mergeSecondaryConfig
public Cluster.Builder mergeSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;
-
clearSecondaryConfig
public Cluster.Builder clearSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;
-
getSecondaryConfigBuilder
public Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;
-
getSecondaryConfigOrBuilder
public Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22;- Specified by:
getSecondaryConfigOrBuilderin interfaceClusterOrBuilder
-
hasPrimaryConfig
public boolean hasPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPrimaryConfigin interfaceClusterOrBuilder- Returns:
- Whether the primaryConfig field is set.
-
getPrimaryConfig
public Cluster.PrimaryConfig getPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryConfigin interfaceClusterOrBuilder- Returns:
- The primaryConfig.
-
setPrimaryConfig
public Cluster.Builder setPrimaryConfig(Cluster.PrimaryConfig value)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPrimaryConfig
public Cluster.Builder setPrimaryConfig(Cluster.PrimaryConfig.Builder builderForValue)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergePrimaryConfig
public Cluster.Builder mergePrimaryConfig(Cluster.PrimaryConfig value)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPrimaryConfig
public Cluster.Builder clearPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryConfigBuilder
public Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPrimaryConfigOrBuilder
public Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryConfigOrBuilderin interfaceClusterOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 30;- Specified by:
getSatisfiesPzsin interfaceClusterOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Cluster.Builder setSatisfiesPzs(boolean value)
Reserved for future use.
bool satisfies_pzs = 30;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Cluster.Builder clearSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 30;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Cluster.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
mergeUnknownFields
public final Cluster.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
-