Interface AlloyDbSettingsOrBuilder (2.46.0)

public interface AlloyDbSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getEncryptionConfig()

public abstract AlloyDbSettings.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.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AlloyDbSettings.EncryptionConfig

The encryptionConfig.

getEncryptionConfigOrBuilder()

public abstract AlloyDbSettings.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.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AlloyDbSettings.EncryptionConfigOrBuilder

getInitialUser()

public abstract AlloyDbSettings.UserPassword getInitialUser()

Required. Input only. Initial user to setup during cluster creation. Required.

.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
AlloyDbSettings.UserPassword

The initialUser.

getInitialUserOrBuilder()

public abstract AlloyDbSettings.UserPasswordOrBuilder getInitialUserOrBuilder()

Required. Input only. Initial user to setup during cluster creation. Required.

.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
AlloyDbSettings.UserPasswordOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 3;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 3;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getPrimaryInstanceSettings()

public abstract AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings

The primaryInstanceSettings.

getPrimaryInstanceSettingsOrBuilder()

public abstract AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder

getVpcNetwork()

public abstract String getVpcNetwork()

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.

string vpc_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The vpcNetwork.

getVpcNetworkBytes()

public abstract ByteString getVpcNetworkBytes()

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.

string vpc_network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for vpcNetwork.

hasEncryptionConfig()

public abstract 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.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryptionConfig field is set.

hasInitialUser()

public abstract boolean hasInitialUser()

Required. Input only. Initial user to setup during cluster creation. Required.

.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the initialUser field is set.

hasPrimaryInstanceSettings()

public abstract boolean hasPrimaryInstanceSettings()

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;

Returns
Type Description
boolean

Whether the primaryInstanceSettings field is set.