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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Cluster.Builder |
build()
public Cluster build()
Returns | |
---|---|
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Returns | |
---|---|
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearAnnotations()
public Cluster.Builder clearAnnotations()
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearDatabaseVersion()
public Cluster.Builder clearDatabaseVersion()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearDisplayName()
public Cluster.Builder clearDisplayName()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearEtag()
public Cluster.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Returns | |
---|---|
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearLabels()
public Cluster.Builder clearLabels()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearNetwork() (deprecated)
public Cluster.Builder clearNetwork()
Deprecated. google.cloud.alloydb.v1beta.Cluster.network is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=547
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}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearNetworkConfig()
public Cluster.Builder clearNetworkConfig()
.google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public Cluster.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearSource()
public Cluster.Builder clearSource()
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clearSslConfig() (deprecated)
public Cluster.Builder clearSslConfig()
SSL configuration for this AlloyDB cluster.
.google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Cluster.Builder |
clone()
public Cluster.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ContinuousBackupInfoOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDatabaseVersion()
public DatabaseVersion getDatabaseVersion()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DatabaseVersion |
The databaseVersion. |
getDatabaseVersionValue()
public int getDatabaseVersionValue()
Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
.google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for databaseVersion. |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Cluster |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Cluster.
string display_name = 2;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
EncryptionInfoOrBuilder |
getEtag()
public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 11;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
UserPasswordOrBuilder |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type |