Interface AlloyDbSettingsOrBuilder (0.15.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

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.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;

Returns
TypeDescription
AlloyDbSettings.PrimaryInstanceSettings

The primaryInstanceSettings.

getPrimaryInstanceSettingsOrBuilder()

public abstract AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()

.google.events.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;

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;

Returns
TypeDescription
ByteString

The bytes for vpcNetwork.

hasPrimaryInstanceSettings()

public abstract boolean hasPrimaryInstanceSettings()

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

Returns
TypeDescription
boolean

Whether the primaryInstanceSettings field is set.