Class AlloyDbSettings (0.15.0)

public final class AlloyDbSettings extends GeneratedMessageV3 implements AlloyDbSettingsOrBuilder

Settings for creating an AlloyDB cluster.

Protobuf type google.events.cloud.clouddms.v1.AlloyDbSettings

Static Fields

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_INSTANCE_SETTINGS_FIELD_NUMBER

public static final int PRIMARY_INSTANCE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AlloyDbSettings getDefaultInstance()
Returns
Type Description
AlloyDbSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AlloyDbSettings.Builder newBuilder()
Returns
Type Description
AlloyDbSettings.Builder

newBuilder(AlloyDbSettings prototype)

public static AlloyDbSettings.Builder newBuilder(AlloyDbSettings prototype)
Parameter
Name Description
prototype AlloyDbSettings
Returns
Type Description
AlloyDbSettings.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AlloyDbSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AlloyDbSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AlloyDbSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbSettings> parser()
Returns
Type Description
Parser<AlloyDbSettings>

Methods

containsLabels(String key)

public 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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AlloyDbSettings getDefaultInstanceForType()
Returns
Type Description
AlloyDbSettings

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public 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 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 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 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

getParserForType()

public Parser<AlloyDbSettings> getParserForType()
Returns
Type Description
Parser<AlloyDbSettings>
Overrides

getPrimaryInstanceSettings()

public AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()

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

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings

The primaryInstanceSettings.

getPrimaryInstanceSettingsOrBuilder()

public AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()

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

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getVpcNetwork()

public 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
Type Description
String

The vpcNetwork.

getVpcNetworkBytes()

public 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
Type Description
ByteString

The bytes for vpcNetwork.

hasPrimaryInstanceSettings()

public boolean hasPrimaryInstanceSettings()

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

Returns
Type Description
boolean

Whether the primaryInstanceSettings field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AlloyDbSettings.Builder newBuilderForType()
Returns
Type Description
AlloyDbSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AlloyDbSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AlloyDbSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AlloyDbSettings.Builder toBuilder()
Returns
Type Description
AlloyDbSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException