Interface AlloyDbSettingsOrBuilder (2.18.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AlloyDbSettings.UserPasswordOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getPrimaryInstanceSettings()

public abstract AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()

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

Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings

The primaryInstanceSettings.

getPrimaryInstanceSettingsOrBuilder()

public abstract AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the initialUser field is set.

hasPrimaryInstanceSettings()

public abstract boolean hasPrimaryInstanceSettings()

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

Returns
TypeDescription
boolean

Whether the primaryInstanceSettings field is set.