public static final class Cluster.Builder extends 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 type google.cloud.alloydb.v1beta.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Cluster.Builder |
build()
public Cluster build()
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Type | Description |
Cluster.Builder |
clearAnnotations()
public Cluster.Builder clearAnnotations()
Type | Description |
Cluster.Builder |
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Type | Description |
Cluster.Builder |
clearBackupSource()
public Cluster.Builder clearBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
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.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearContinuousBackupConfig()
public Cluster.Builder clearContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Cluster.Builder |
clearContinuousBackupInfo()
public Cluster.Builder clearContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clearCreateTime()
public Cluster.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
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.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearDeleteTime()
public Cluster.Builder clearDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clearDisplayName()
public Cluster.Builder clearDisplayName()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Type | Description |
Cluster.Builder |
This builder for chaining. |
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Cluster.Builder |
clearEncryptionInfo()
public Cluster.Builder clearEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clearEtag()
public Cluster.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Cluster.Builder |
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.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Cluster.Builder |
clearLabels()
public Cluster.Builder clearLabels()
Type | Description |
Cluster.Builder |
clearMigrationSource()
public Cluster.Builder clearMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
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];
Type | Description |
Cluster.Builder |
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) = { ... }
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Cluster.Builder |
clearPrimaryConfig()
public Cluster.Builder clearPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
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];
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearSecondaryConfig()
public Cluster.Builder clearSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Type | Description |
Cluster.Builder |
clearSource()
public Cluster.Builder clearSource()
Type | Description |
Cluster.Builder |
clearSslConfig()
public Cluster.Builder clearSslConfig()
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Type | Description |
Cluster.Builder |
clearState()
public Cluster.Builder clearState()
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
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];
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearUpdateTime()
public Cluster.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clone()
public Cluster.Builder clone()
Type | Description |
Cluster.Builder |
containsAnnotations(String key)
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;
Name | Description |
key |
String |
Type | Description |
boolean |
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
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;
Type | Description |
int |
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;
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
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;
Name | Description |
key |
String |
defaultValue |
String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
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;
Name | Description |
key |
String |
Type | Description |
String |
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Type | Description |
AutomatedBackupPolicy |
The automatedBackupPolicy. |
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Type | Description |
AutomatedBackupPolicy.Builder |
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Type | Description |
AutomatedBackupPolicyOrBuilder |
getBackupSource()
public BackupSource getBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
BackupSource |
The backupSource. |
getBackupSourceBuilder()
public BackupSource.Builder getBackupSourceBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
BackupSource.Builder |
getBackupSourceOrBuilder()
public BackupSourceOrBuilder getBackupSourceOrBuilder()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
BackupSourceOrBuilder |
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.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.ClusterType |
The clusterType. |
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.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The enum numeric value on the wire for clusterType. |
getContinuousBackupConfig()
public ContinuousBackupConfig getContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ContinuousBackupConfig |
The continuousBackupConfig. |
getContinuousBackupConfigBuilder()
public ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ContinuousBackupConfig.Builder |
getContinuousBackupConfigOrBuilder()
public ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ContinuousBackupConfigOrBuilder |
getContinuousBackupInfo()
public ContinuousBackupInfo getContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ContinuousBackupInfo |
The continuousBackupInfo. |
getContinuousBackupInfoBuilder()
public ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ContinuousBackupInfo.Builder |
getContinuousBackupInfoOrBuilder()
public ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ContinuousBackupInfoOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DatabaseVersion |
The databaseVersion. |
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.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The enum numeric value on the wire for databaseVersion. |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Type | Description |
Cluster |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Type | Description |
ByteString |
The bytes for displayName. |
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfig |
The encryptionConfig. |
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfig.Builder |
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfigOrBuilder |
getEncryptionInfo()
public EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfo |
The encryptionInfo. |
getEncryptionInfoBuilder()
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfo.Builder |
getEncryptionInfoOrBuilder()
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
EncryptionInfoOrBuilder |
getEtag()
public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Type | Description |
ByteString |
The bytes for etag. |
getInitialUser()
public UserPassword getInitialUser()
Input only. Initial user to setup during cluster creation. Required.
If used in RestoreCluster
this is ignored.
.google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
UserPassword |
The initialUser. |
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.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
UserPassword.Builder |
getInitialUserOrBuilder()
public UserPasswordOrBuilder getInitialUserOrBuilder()
Input only. Initial user to setup during cluster creation. Required.
If used in RestoreCluster
this is ignored.
.google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
UserPasswordOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 7;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
key |
String |
defaultValue |
String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
String |
getMigrationSource()
public MigrationSource getMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSource |
The migrationSource. |
getMigrationSourceBuilder()
public MigrationSource.Builder getMigrationSourceBuilder()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSource.Builder |
getMigrationSourceOrBuilder()
public MigrationSourceOrBuilder getMigrationSourceOrBuilder()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSourceOrBuilder |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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];
Type | Description |
String |
The name. |
getNameBytes()
public 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];
Type | Description |
ByteString |
The bytes for name. |
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) = { ... }
Type | Description |
String |
The network. |
getNetworkBytes()
public 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) = { ... }
Type | Description |
ByteString |
The bytes for network. |
getPrimaryConfig()
public Cluster.PrimaryConfig getPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.PrimaryConfig |
The primaryConfig. |
getPrimaryConfigBuilder()
public Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.PrimaryConfig.Builder |
getPrimaryConfigOrBuilder()
public Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.PrimaryConfigOrBuilder |
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];
Type | Description |
boolean |
The reconciling. |
getSecondaryConfig()
public Cluster.SecondaryConfig getSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Type | Description |
Cluster.SecondaryConfig |
The secondaryConfig. |
getSecondaryConfigBuilder()
public Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Type | Description |
Cluster.SecondaryConfig.Builder |
getSecondaryConfigOrBuilder()
public Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Type | Description |
Cluster.SecondaryConfigOrBuilder |
getSourceCase()
public Cluster.SourceCase getSourceCase()
Type | Description |
Cluster.SourceCase |
getSslConfig()
public SslConfig getSslConfig()
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Type | Description |
SslConfig |
The sslConfig. |
getSslConfigBuilder()
public SslConfig.Builder getSslConfigBuilder()
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Type | Description |
SslConfig.Builder |
getSslConfigOrBuilder()
public SslConfigOrBuilder getSslConfigOrBuilder()
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Type | Description |
SslConfigOrBuilder |
getState()
public Cluster.State getState()
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The enum numeric value on the wire for state. |
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];
Type | Description |
String |
The uid. |
getUidBytes()
public 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];
Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Type | Description |
boolean |
Whether the automatedBackupPolicy field is set. |
hasBackupSource()
public boolean hasBackupSource()
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the backupSource field is set. |
hasContinuousBackupConfig()
public boolean hasContinuousBackupConfig()
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean |
Whether the continuousBackupConfig field is set. |
hasContinuousBackupInfo()
public boolean hasContinuousBackupInfo()
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the continuousBackupInfo field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the deleteTime field is set. |
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean |
Whether the encryptionConfig field is set. |
hasEncryptionInfo()
public boolean hasEncryptionInfo()
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the encryptionInfo field is set. |
hasInitialUser()
public boolean hasInitialUser()
Input only. Initial user to setup during cluster creation. Required.
If used in RestoreCluster
this is ignored.
.google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
boolean |
Whether the initialUser field is set. |
hasMigrationSource()
public boolean hasMigrationSource()
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the migrationSource field is set. |
hasPrimaryConfig()
public boolean hasPrimaryConfig()
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the primaryConfig field is set. |
hasSecondaryConfig()
public boolean hasSecondaryConfig()
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Type | Description |
boolean |
Whether the secondaryConfig field is set. |
hasSslConfig()
public boolean hasSslConfig()
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Type | Description |
boolean |
Whether the sslConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number |
int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number |
int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAutomatedBackupPolicy(AutomatedBackupPolicy value)
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Name | Description |
value |
AutomatedBackupPolicy |
Type | Description |
Cluster.Builder |
mergeBackupSource(BackupSource value)
public Cluster.Builder mergeBackupSource(BackupSource value)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
BackupSource |
Type | Description |
Cluster.Builder |
mergeContinuousBackupConfig(ContinuousBackupConfig value)
public Cluster.Builder mergeContinuousBackupConfig(ContinuousBackupConfig value)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
ContinuousBackupConfig |
Type | Description |
Cluster.Builder |
mergeContinuousBackupInfo(ContinuousBackupInfo value)
public Cluster.Builder mergeContinuousBackupInfo(ContinuousBackupInfo value)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ContinuousBackupInfo |
Type | Description |
Cluster.Builder |
mergeCreateTime(Timestamp value)
public Cluster.Builder mergeCreateTime(Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
mergeDeleteTime(Timestamp value)
public Cluster.Builder mergeDeleteTime(Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
mergeEncryptionConfig(EncryptionConfig value)
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EncryptionConfig |
Type | Description |
Cluster.Builder |
mergeEncryptionInfo(EncryptionInfo value)
public Cluster.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
EncryptionInfo |
Type | Description |
Cluster.Builder |
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Name | Description |
other |
Cluster |
Type | Description |
Cluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Cluster.Builder |
mergeInitialUser(UserPassword value)
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.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value |
UserPassword |
Type | Description |
Cluster.Builder |
mergeMigrationSource(MigrationSource value)
public Cluster.Builder mergeMigrationSource(MigrationSource value)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
MigrationSource |
Type | Description |
Cluster.Builder |
mergePrimaryConfig(Cluster.PrimaryConfig value)
public Cluster.Builder mergePrimaryConfig(Cluster.PrimaryConfig value)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Cluster.PrimaryConfig |
Type | Description |
Cluster.Builder |
mergeSecondaryConfig(Cluster.SecondaryConfig value)
public Cluster.Builder mergeSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Name | Description |
value |
Cluster.SecondaryConfig |
Type | Description |
Cluster.Builder |
mergeSslConfig(SslConfig value)
public Cluster.Builder mergeSslConfig(SslConfig value)
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Name | Description |
value |
SslConfig |
Type | Description |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Cluster.Builder |
mergeUpdateTime(Timestamp value)
public Cluster.Builder mergeUpdateTime(Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
putAllAnnotations(Map<String,String> values)
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;
Name | Description |
values |
Map<String,String> |
Type | Description |
Cluster.Builder |
putAllLabels(Map<String,String> values)
public Cluster.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
values |
Map<String,String> |
Type | Description |
Cluster.Builder |
putAnnotations(String key, String value)
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;
Name | Description |
key |
String |
value |
String |
Type | Description |
Cluster.Builder |
putLabels(String key, String value)
public Cluster.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
key |
String |
value |
String |
Type | Description |
Cluster.Builder |
removeAnnotations(String key)
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;
Name | Description |
key |
String |
Type | Description |
Cluster.Builder |
removeLabels(String key)
public Cluster.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
Cluster.Builder |
setAutomatedBackupPolicy(AutomatedBackupPolicy value)
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Name | Description |
value |
AutomatedBackupPolicy |
Type | Description |
Cluster.Builder |
setAutomatedBackupPolicy(AutomatedBackupPolicy.Builder builderForValue)
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.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
Name | Description |
builderForValue |
AutomatedBackupPolicy.Builder |
Type | Description |
Cluster.Builder |
setBackupSource(BackupSource value)
public Cluster.Builder setBackupSource(BackupSource value)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
BackupSource |
Type | Description |
Cluster.Builder |
setBackupSource(BackupSource.Builder builderForValue)
public Cluster.Builder setBackupSource(BackupSource.Builder builderForValue)
Output only. Cluster created from backup.
.google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
BackupSource.Builder |
Type | Description |
Cluster.Builder |
setClusterType(Cluster.ClusterType value)
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.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Cluster.ClusterType The clusterType to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setClusterTypeValue(int value)
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.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
int The enum numeric value on the wire for clusterType to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setContinuousBackupConfig(ContinuousBackupConfig value)
public Cluster.Builder setContinuousBackupConfig(ContinuousBackupConfig value)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
ContinuousBackupConfig |
Type | Description |
Cluster.Builder |
setContinuousBackupConfig(ContinuousBackupConfig.Builder builderForValue)
public Cluster.Builder setContinuousBackupConfig(ContinuousBackupConfig.Builder builderForValue)
Optional. Continuous backup configuration for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue |
ContinuousBackupConfig.Builder |
Type | Description |
Cluster.Builder |
setContinuousBackupInfo(ContinuousBackupInfo value)
public Cluster.Builder setContinuousBackupInfo(ContinuousBackupInfo value)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ContinuousBackupInfo |
Type | Description |
Cluster.Builder |
setContinuousBackupInfo(ContinuousBackupInfo.Builder builderForValue)
public Cluster.Builder setContinuousBackupInfo(ContinuousBackupInfo.Builder builderForValue)
Output only. Continuous backup properties for this cluster.
.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
ContinuousBackupInfo.Builder |
Type | Description |
Cluster.Builder |
setCreateTime(Timestamp value)
public Cluster.Builder setCreateTime(Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Builder |
Type | Description |
Cluster.Builder |
setDatabaseVersion(DatabaseVersion value)
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.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
DatabaseVersion The databaseVersion to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setDatabaseVersionValue(int value)
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.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
int The enum numeric value on the wire for databaseVersion to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setDeleteTime(Timestamp value)
public Cluster.Builder setDeleteTime(Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
public Cluster.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Builder |
Type | Description |
Cluster.Builder |
setDisplayName(String value)
public Cluster.Builder setDisplayName(String value)
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Name | Description |
value |
String The displayName to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Cluster.Builder setDisplayNameBytes(ByteString value)
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setEncryptionConfig(EncryptionConfig value)
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EncryptionConfig |
Type | Description |
Cluster.Builder |
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
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.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue |
EncryptionConfig.Builder |
Type | Description |
Cluster.Builder |
setEncryptionInfo(EncryptionInfo value)
public Cluster.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
EncryptionInfo |
Type | Description |
Cluster.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
public Cluster.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the cluster.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
EncryptionInfo.Builder |
Type | Description |
Cluster.Builder |
setEtag(String value)
public Cluster.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Name | Description |
value |
String The etag to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Cluster.Builder setEtagBytes(ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Name | Description |
value |
ByteString The bytes for etag to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Cluster.Builder |
setInitialUser(UserPassword value)
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.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value |
UserPassword |
Type | Description |
Cluster.Builder |
setInitialUser(UserPassword.Builder builderForValue)
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.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
builderForValue |
UserPassword.Builder |
Type | Description |
Cluster.Builder |
setMigrationSource(MigrationSource value)
public Cluster.Builder setMigrationSource(MigrationSource value)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
MigrationSource |
Type | Description |
Cluster.Builder |
setMigrationSource(MigrationSource.Builder builderForValue)
public Cluster.Builder setMigrationSource(MigrationSource.Builder builderForValue)
Output only. Cluster created via DMS migration.
.google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
MigrationSource.Builder |
Type | Description |
Cluster.Builder |
setName(String value)
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];
Name | Description |
value |
String The name to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(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];
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setNetwork(String value)
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) = { ... }
Name | Description |
value |
String The network to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public Cluster.Builder setNetworkBytes(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) = { ... }
Name | Description |
value |
ByteString The bytes for network to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setPrimaryConfig(Cluster.PrimaryConfig value)
public Cluster.Builder setPrimaryConfig(Cluster.PrimaryConfig value)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Cluster.PrimaryConfig |
Type | Description |
Cluster.Builder |
setPrimaryConfig(Cluster.PrimaryConfig.Builder builderForValue)
public Cluster.Builder setPrimaryConfig(Cluster.PrimaryConfig.Builder builderForValue)
Output only. Cross Region replication config specific to PRIMARY cluster.
.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Cluster.PrimaryConfig.Builder |
Type | Description |
Cluster.Builder |
setReconciling(boolean value)
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];
Name | Description |
value |
boolean The reconciling to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Cluster.Builder |
setSecondaryConfig(Cluster.SecondaryConfig value)
public Cluster.Builder setSecondaryConfig(Cluster.SecondaryConfig value)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Name | Description |
value |
Cluster.SecondaryConfig |
Type | Description |
Cluster.Builder |
setSecondaryConfig(Cluster.SecondaryConfig.Builder builderForValue)
public Cluster.Builder setSecondaryConfig(Cluster.SecondaryConfig.Builder builderForValue)
Cross Region replication config specific to SECONDARY cluster.
.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22;
Name | Description |
builderForValue |
Cluster.SecondaryConfig.Builder |
Type | Description |
Cluster.Builder |
setSslConfig(SslConfig value)
public Cluster.Builder setSslConfig(SslConfig value)
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Name | Description |
value |
SslConfig |
Type | Description |
Cluster.Builder |
setSslConfig(SslConfig.Builder builderForValue)
public Cluster.Builder setSslConfig(SslConfig.Builder builderForValue)
SSL configuration for this AlloyDB Cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18;
Name | Description |
builderForValue |
SslConfig.Builder |
Type | Description |
Cluster.Builder |
setState(Cluster.State value)
public Cluster.Builder setState(Cluster.State value)
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Cluster.State The state to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setStateValue(int value)
public Cluster.Builder setStateValue(int value)
Output only. The current serving state of the cluster.
.google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setUid(String value)
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];
Name | Description |
value |
String The uid to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public Cluster.Builder setUidBytes(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];
Name | Description |
value |
ByteString The bytes for uid to set. |
Type | Description |
Cluster.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp value)
public Cluster.Builder setUpdateTime(Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
Cluster.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Builder |
Type | Description |
Cluster.Builder |