Package com.google.cloud.alloydb.v1
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.v1.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.v1.Cluster
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Cluster.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Cluster
build()
Cluster
buildPartial()
Cluster.Builder
clear()
Cluster.Builder
clearAnnotations()
Cluster.Builder
clearAutomatedBackupPolicy()
The automated backup policy for this cluster.Cluster.Builder
clearBackupSource()
Output only.Cluster.Builder
clearClusterType()
Output only.Cluster.Builder
clearContinuousBackupConfig()
Optional.Cluster.Builder
clearContinuousBackupInfo()
Output only.Cluster.Builder
clearCreateTime()
Output only.Cluster.Builder
clearDatabaseVersion()
Output only.Cluster.Builder
clearDeleteTime()
Output only.Cluster.Builder
clearDisplayName()
User-settable and human-readable display name for the Cluster.Cluster.Builder
clearEncryptionConfig()
Optional.Cluster.Builder
clearEncryptionInfo()
Output only.Cluster.Builder
clearEtag()
For Resource freshness validation (https://google.aip.dev/154)Cluster.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Cluster.Builder
clearInitialUser()
Input only.Cluster.Builder
clearLabels()
Cluster.Builder
clearMigrationSource()
Output only.Cluster.Builder
clearName()
Output only.Cluster.Builder
clearNetwork()
Required.Cluster.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Cluster.Builder
clearPrimaryConfig()
Output only.Cluster.Builder
clearReconciling()
Output only.Cluster.Builder
clearSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.Cluster.Builder
clearSource()
Cluster.Builder
clearSslConfig()
Deprecated.Cluster.Builder
clearState()
Output only.Cluster.Builder
clearUid()
Output only.Cluster.Builder
clearUpdateTime()
Output only.Cluster.Builder
clone()
boolean
containsAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.boolean
containsLabels(String key)
Labels as key value pairsMap<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Annotations to allow client tools to store small amount of arbitrary data.Map<String,String>
getAnnotationsMap()
Annotations to allow client tools to store small amount of arbitrary data.String
getAnnotationsOrDefault(String key, String defaultValue)
Annotations to allow client tools to store small amount of arbitrary data.String
getAnnotationsOrThrow(String key)
Annotations to allow client tools to store small amount of arbitrary data.AutomatedBackupPolicy
getAutomatedBackupPolicy()
The automated backup policy for this cluster.AutomatedBackupPolicy.Builder
getAutomatedBackupPolicyBuilder()
The automated backup policy for this cluster.AutomatedBackupPolicyOrBuilder
getAutomatedBackupPolicyOrBuilder()
The automated backup policy for this cluster.BackupSource
getBackupSource()
Output only.BackupSource.Builder
getBackupSourceBuilder()
Output only.BackupSourceOrBuilder
getBackupSourceOrBuilder()
Output only.Cluster.ClusterType
getClusterType()
Output only.int
getClusterTypeValue()
Output only.ContinuousBackupConfig
getContinuousBackupConfig()
Optional.ContinuousBackupConfig.Builder
getContinuousBackupConfigBuilder()
Optional.ContinuousBackupConfigOrBuilder
getContinuousBackupConfigOrBuilder()
Optional.ContinuousBackupInfo
getContinuousBackupInfo()
Output only.ContinuousBackupInfo.Builder
getContinuousBackupInfoBuilder()
Output only.ContinuousBackupInfoOrBuilder
getContinuousBackupInfoOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DatabaseVersion
getDatabaseVersion()
Output only.int
getDatabaseVersionValue()
Output only.Cluster
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
User-settable and human-readable display name for the Cluster.com.google.protobuf.ByteString
getDisplayNameBytes()
User-settable and human-readable display name for the Cluster.EncryptionConfig
getEncryptionConfig()
Optional.EncryptionConfig.Builder
getEncryptionConfigBuilder()
Optional.EncryptionConfigOrBuilder
getEncryptionConfigOrBuilder()
Optional.EncryptionInfo
getEncryptionInfo()
Output only.EncryptionInfo.Builder
getEncryptionInfoBuilder()
Output only.EncryptionInfoOrBuilder
getEncryptionInfoOrBuilder()
Output only.String
getEtag()
For Resource freshness validation (https://google.aip.dev/154)com.google.protobuf.ByteString
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)UserPassword
getInitialUser()
Input only.UserPassword.Builder
getInitialUserBuilder()
Input only.UserPasswordOrBuilder
getInitialUserOrBuilder()
Input only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairsMap<String,String>
getLabelsMap()
Labels as key value pairsString
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairsString
getLabelsOrThrow(String key)
Labels as key value pairsMigrationSource
getMigrationSource()
Output only.MigrationSource.Builder
getMigrationSourceBuilder()
Output only.MigrationSourceOrBuilder
getMigrationSourceOrBuilder()
Output only.Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNetwork()
Required.com.google.protobuf.ByteString
getNetworkBytes()
Required.Cluster.PrimaryConfig
getPrimaryConfig()
Output only.Cluster.PrimaryConfig.Builder
getPrimaryConfigBuilder()
Output only.Cluster.PrimaryConfigOrBuilder
getPrimaryConfigOrBuilder()
Output only.boolean
getReconciling()
Output only.Cluster.SecondaryConfig
getSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.Cluster.SecondaryConfig.Builder
getSecondaryConfigBuilder()
Cross Region replication config specific to SECONDARY cluster.Cluster.SecondaryConfigOrBuilder
getSecondaryConfigOrBuilder()
Cross Region replication config specific to SECONDARY cluster.Cluster.SourceCase
getSourceCase()
SslConfig
getSslConfig()
Deprecated.google.cloud.alloydb.v1.Cluster.ssl_config is deprecated.SslConfig.Builder
getSslConfigBuilder()
Deprecated.SslConfigOrBuilder
getSslConfigOrBuilder()
Deprecated.Cluster.State
getState()
Output only.int
getStateValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAutomatedBackupPolicy()
The automated backup policy for this cluster.boolean
hasBackupSource()
Output only.boolean
hasContinuousBackupConfig()
Optional.boolean
hasContinuousBackupInfo()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasEncryptionConfig()
Optional.boolean
hasEncryptionInfo()
Output only.boolean
hasInitialUser()
Input only.boolean
hasMigrationSource()
Output only.boolean
hasPrimaryConfig()
Output only.boolean
hasSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.boolean
hasSslConfig()
Deprecated.google.cloud.alloydb.v1.Cluster.ssl_config is deprecated.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Cluster.Builder
mergeAutomatedBackupPolicy(AutomatedBackupPolicy value)
The automated backup policy for this cluster.Cluster.Builder
mergeBackupSource(BackupSource value)
Output only.Cluster.Builder
mergeContinuousBackupConfig(ContinuousBackupConfig value)
Optional.Cluster.Builder
mergeContinuousBackupInfo(ContinuousBackupInfo value)
Output only.Cluster.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
mergeEncryptionConfig(EncryptionConfig value)
Optional.Cluster.Builder
mergeEncryptionInfo(EncryptionInfo value)
Output only.Cluster.Builder
mergeFrom(Cluster other)
Cluster.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Cluster.Builder
mergeFrom(com.google.protobuf.Message other)
Cluster.Builder
mergeInitialUser(UserPassword value)
Input only.Cluster.Builder
mergeMigrationSource(MigrationSource value)
Output only.Cluster.Builder
mergePrimaryConfig(Cluster.PrimaryConfig value)
Output only.Cluster.Builder
mergeSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.Cluster.Builder
mergeSslConfig(SslConfig value)
Deprecated.Cluster.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Cluster.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
putAllAnnotations(Map<String,String> values)
Annotations to allow client tools to store small amount of arbitrary data.Cluster.Builder
putAllLabels(Map<String,String> values)
Labels as key value pairsCluster.Builder
putAnnotations(String key, String value)
Annotations to allow client tools to store small amount of arbitrary data.Cluster.Builder
putLabels(String key, String value)
Labels as key value pairsCluster.Builder
removeAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.Cluster.Builder
removeLabels(String key)
Labels as key value pairsCluster.Builder
setAutomatedBackupPolicy(AutomatedBackupPolicy value)
The automated backup policy for this cluster.Cluster.Builder
setAutomatedBackupPolicy(AutomatedBackupPolicy.Builder builderForValue)
The automated backup policy for this cluster.Cluster.Builder
setBackupSource(BackupSource value)
Output only.Cluster.Builder
setBackupSource(BackupSource.Builder builderForValue)
Output only.Cluster.Builder
setClusterType(Cluster.ClusterType value)
Output only.Cluster.Builder
setClusterTypeValue(int value)
Output only.Cluster.Builder
setContinuousBackupConfig(ContinuousBackupConfig value)
Optional.Cluster.Builder
setContinuousBackupConfig(ContinuousBackupConfig.Builder builderForValue)
Optional.Cluster.Builder
setContinuousBackupInfo(ContinuousBackupInfo value)
Output only.Cluster.Builder
setContinuousBackupInfo(ContinuousBackupInfo.Builder builderForValue)
Output only.Cluster.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Cluster.Builder
setDatabaseVersion(DatabaseVersion value)
Output only.Cluster.Builder
setDatabaseVersionValue(int value)
Output only.Cluster.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Cluster.Builder
setDisplayName(String value)
User-settable and human-readable display name for the Cluster.Cluster.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Cluster.Cluster.Builder
setEncryptionConfig(EncryptionConfig value)
Optional.Cluster.Builder
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional.Cluster.Builder
setEncryptionInfo(EncryptionInfo value)
Output only.Cluster.Builder
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.Cluster.Builder
setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)Cluster.Builder
setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)Cluster.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Cluster.Builder
setInitialUser(UserPassword value)
Input only.Cluster.Builder
setInitialUser(UserPassword.Builder builderForValue)
Input only.Cluster.Builder
setMigrationSource(MigrationSource value)
Output only.Cluster.Builder
setMigrationSource(MigrationSource.Builder builderForValue)
Output only.Cluster.Builder
setName(String value)
Output only.Cluster.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Cluster.Builder
setNetwork(String value)
Required.Cluster.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Required.Cluster.Builder
setPrimaryConfig(Cluster.PrimaryConfig value)
Output only.Cluster.Builder
setPrimaryConfig(Cluster.PrimaryConfig.Builder builderForValue)
Output only.Cluster.Builder
setReconciling(boolean value)
Output only.Cluster.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Cluster.Builder
setSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.Cluster.Builder
setSecondaryConfig(Cluster.SecondaryConfig.Builder builderForValue)
Cross Region replication config specific to SECONDARY cluster.Cluster.Builder
setSslConfig(SslConfig value)
Deprecated.Cluster.Builder
setSslConfig(SslConfig.Builder builderForValue)
Deprecated.Cluster.Builder
setState(Cluster.State value)
Output only.Cluster.Builder
setStateValue(int value)
Output only.Cluster.Builder
setUid(String value)
Output only.Cluster.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Cluster.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Cluster.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Cluster.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
clear
public Cluster.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
getDefaultInstanceForType
public Cluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cluster.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
setField
public Cluster.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
clearField
public Cluster.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
clearOneof
public Cluster.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
setRepeatedField
public Cluster.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
addRepeatedField
public Cluster.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
mergeFrom
public Cluster.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
-
mergeFrom
public Cluster.Builder mergeFrom(Cluster other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
- Throws:
IOException
-
getSourceCase
public Cluster.SourceCase getSourceCase()
- Specified by:
getSourceCase
in interfaceClusterOrBuilder
-
clearSource
public Cluster.Builder clearSource()
-
hasBackupSource
public boolean hasBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasBackupSource
in interfaceClusterOrBuilder
- Returns:
- Whether the backupSource field is set.
-
getBackupSource
public BackupSource getBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBackupSource
in interfaceClusterOrBuilder
- Returns:
- The backupSource.
-
setBackupSource
public Cluster.Builder setBackupSource(BackupSource value)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.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.v1.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.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearBackupSource
public Cluster.Builder clearBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getBackupSourceBuilder
public BackupSource.Builder getBackupSourceBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getBackupSourceOrBuilder
public BackupSourceOrBuilder getBackupSourceOrBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBackupSourceOrBuilder
in interfaceClusterOrBuilder
-
hasMigrationSource
public boolean hasMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasMigrationSource
in interfaceClusterOrBuilder
- Returns:
- Whether the migrationSource field is set.
-
getMigrationSource
public MigrationSource getMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigrationSource
in interfaceClusterOrBuilder
- Returns:
- The migrationSource.
-
setMigrationSource
public Cluster.Builder setMigrationSource(MigrationSource value)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1.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.v1.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.v1.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.v1.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.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMigrationSourceOrBuilder
public MigrationSourceOrBuilder getMigrationSourceOrBuilder()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMigrationSourceOrBuilder
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceClusterOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceClusterOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in 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:
getDeleteTime
in 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:
getDeleteTimeOrBuilder
in interfaceClusterOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ClusterOrBuilder
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceClusterOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
containsLabels
in interfaceClusterOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceClusterOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsMap
in interfaceClusterOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrDefault
in interfaceClusterOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrThrow
in 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.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in 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.v1.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.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceClusterOrBuilder
- Returns:
- The state.
-
setState
public Cluster.Builder setState(Cluster.State value)
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1.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.v1.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.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterTypeValue
in 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.v1.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.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterType
in 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.v1.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.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getDatabaseVersionValue
public int getDatabaseVersionValue()
Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDatabaseVersionValue
in interfaceClusterOrBuilder
- Returns:
- The enum numeric value on the wire for databaseVersion.
-
setDatabaseVersionValue
public Cluster.Builder setDatabaseVersionValue(int value)
Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for databaseVersion to set.- Returns:
- This builder for chaining.
-
getDatabaseVersion
public DatabaseVersion getDatabaseVersion()
Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDatabaseVersion
in interfaceClusterOrBuilder
- Returns:
- The databaseVersion.
-
setDatabaseVersion
public Cluster.Builder setDatabaseVersion(DatabaseVersion value)
Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The databaseVersion to set.- Returns:
- This builder for chaining.
-
clearDatabaseVersion
public Cluster.Builder clearDatabaseVersion()
Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
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:
getNetwork
in 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:
getNetworkBytes
in 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:
getEtag
in 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:
getEtagBytes
in 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:ClusterOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceClusterOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
getReconciling
in 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.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
hasInitialUser
in 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.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getInitialUser
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getInitialUserOrBuilder
in 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.v1.AutomatedBackupPolicy automated_backup_policy = 17;
- Specified by:
hasAutomatedBackupPolicy
in 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.v1.AutomatedBackupPolicy automated_backup_policy = 17;
- Specified by:
getAutomatedBackupPolicy
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.AutomatedBackupPolicy automated_backup_policy = 17;
- Specified by:
getAutomatedBackupPolicyOrBuilder
in interfaceClusterOrBuilder
-
hasSslConfig
@Deprecated public boolean hasSslConfig()
Deprecated.google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See google/cloud/alloydb/v1/resources.proto;l=550SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
- Specified by:
hasSslConfig
in interfaceClusterOrBuilder
- Returns:
- Whether the sslConfig field is set.
-
getSslConfig
@Deprecated public SslConfig getSslConfig()
Deprecated.google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See google/cloud/alloydb/v1/resources.proto;l=550SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
- Specified by:
getSslConfig
in interfaceClusterOrBuilder
- Returns:
- The sslConfig.
-
setSslConfig
@Deprecated public Cluster.Builder setSslConfig(SslConfig value)
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.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.v1.SslConfig ssl_config = 18 [deprecated = true];
-
mergeSslConfig
@Deprecated public Cluster.Builder mergeSslConfig(SslConfig value)
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
-
clearSslConfig
@Deprecated public Cluster.Builder clearSslConfig()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
-
getSslConfigBuilder
@Deprecated public SslConfig.Builder getSslConfigBuilder()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
-
getSslConfigOrBuilder
@Deprecated public SslConfigOrBuilder getSslConfigOrBuilder()
Deprecated.SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true];
- Specified by:
getSslConfigOrBuilder
in 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.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionConfig
in 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.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfigOrBuilder
in interfaceClusterOrBuilder
-
hasEncryptionInfo
public boolean hasEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEncryptionInfo
in interfaceClusterOrBuilder
- Returns:
- Whether the encryptionInfo field is set.
-
getEncryptionInfo
public EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEncryptionInfo
in interfaceClusterOrBuilder
- Returns:
- The encryptionInfo.
-
setEncryptionInfo
public Cluster.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1.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.v1.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.v1.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.v1.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.v1.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.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEncryptionInfoOrBuilder
in interfaceClusterOrBuilder
-
hasContinuousBackupConfig
public boolean hasContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasContinuousBackupConfig
in interfaceClusterOrBuilder
- Returns:
- Whether the continuousBackupConfig field is set.
-
getContinuousBackupConfig
public ContinuousBackupConfig getContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContinuousBackupConfig
in interfaceClusterOrBuilder
- Returns:
- The continuousBackupConfig.
-
setContinuousBackupConfig
public Cluster.Builder setContinuousBackupConfig(ContinuousBackupConfig value)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1.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.v1.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.v1.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.v1.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.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
-
getContinuousBackupConfigOrBuilder
public ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getContinuousBackupConfigOrBuilder
in interfaceClusterOrBuilder
-
hasContinuousBackupInfo
public boolean hasContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasContinuousBackupInfo
in interfaceClusterOrBuilder
- Returns:
- Whether the continuousBackupInfo field is set.
-
getContinuousBackupInfo
public ContinuousBackupInfo getContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getContinuousBackupInfo
in interfaceClusterOrBuilder
- Returns:
- The continuousBackupInfo.
-
setContinuousBackupInfo
public Cluster.Builder setContinuousBackupInfo(ContinuousBackupInfo value)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getContinuousBackupInfoOrBuilder
in interfaceClusterOrBuilder
-
hasSecondaryConfig
public boolean hasSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
- Specified by:
hasSecondaryConfig
in interfaceClusterOrBuilder
- Returns:
- Whether the secondaryConfig field is set.
-
getSecondaryConfig
public Cluster.SecondaryConfig getSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
- Specified by:
getSecondaryConfig
in interfaceClusterOrBuilder
- Returns:
- The secondaryConfig.
-
setSecondaryConfig
public Cluster.Builder setSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.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.v1.Cluster.SecondaryConfig secondary_config = 22;
-
mergeSecondaryConfig
public Cluster.Builder mergeSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
-
clearSecondaryConfig
public Cluster.Builder clearSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
-
getSecondaryConfigBuilder
public Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
-
getSecondaryConfigOrBuilder
public Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22;
- Specified by:
getSecondaryConfigOrBuilder
in interfaceClusterOrBuilder
-
hasPrimaryConfig
public boolean hasPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasPrimaryConfig
in 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.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryConfig
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPrimaryConfigOrBuilder
in interfaceClusterOrBuilder
-
setUnknownFields
public final Cluster.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
mergeUnknownFields
public final Cluster.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.Builder>
-
-