Interface AlloyDbSettings.PrimaryInstanceSettingsOrBuilder (2.50.0)

public static interface AlloyDbSettings.PrimaryInstanceSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDatabaseFlags(String key)

public abstract boolean containsDatabaseFlags(String key)

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

map<string, string> database_flags = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

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

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDatabaseFlags() (deprecated)

public abstract Map<String,String> getDatabaseFlags()
Returns
Type Description
Map<String,String>

getDatabaseFlagsCount()

public abstract int getDatabaseFlagsCount()

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

map<string, string> database_flags = 6;

Returns
Type Description
int

getDatabaseFlagsMap()

public abstract Map<String,String> getDatabaseFlagsMap()

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

map<string, string> database_flags = 6;

Returns
Type Description
Map<String,String>

getDatabaseFlagsOrDefault(String key, String defaultValue)

public abstract String getDatabaseFlagsOrDefault(String key, String defaultValue)

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

map<string, string> database_flags = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getDatabaseFlagsOrThrow(String key)

public abstract String getDatabaseFlagsOrThrow(String key)

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

map<string, string> database_flags = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getId()

public abstract String getId()

Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "[a-z0-9-]+".

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "[a-z0-9-]+".

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

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 primary instance created by DMS. An object containing a list of 'key', 'value' pairs.

map<string, string> labels = 7;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

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

map<string, string> labels = 7;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

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

map<string, string> labels = 7;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

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

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
String

getMachineConfig()

public abstract AlloyDbSettings.PrimaryInstanceSettings.MachineConfig getMachineConfig()

Configuration for the machines that host the underlying database engine.

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

The machineConfig.

getMachineConfigOrBuilder()

public abstract AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder getMachineConfigOrBuilder()

Configuration for the machines that host the underlying database engine.

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder

getPrivateIp()

public abstract String getPrivateIp()

Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.

string private_ip = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The privateIp.

getPrivateIpBytes()

public abstract ByteString getPrivateIpBytes()

Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.

string private_ip = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for privateIp.

hasMachineConfig()

public abstract boolean hasMachineConfig()

Configuration for the machines that host the underlying database engine.

.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;

Returns
Type Description
boolean

Whether the machineConfig field is set.