Class AlloyDbSettings.PrimaryInstanceSettings (0.16.0)

public static final class AlloyDbSettings.PrimaryInstanceSettings extends GeneratedMessageV3 implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilder

Settings for the cluster's primary instance

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AlloyDbSettings.PrimaryInstanceSettings

Static Fields

DATABASE_FLAGS_FIELD_NUMBER

public static final int DATABASE_FLAGS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_CONFIG_FIELD_NUMBER

public static final int MACHINE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_IP_FIELD_NUMBER

public static final int PRIVATE_IP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AlloyDbSettings.PrimaryInstanceSettings getDefaultInstance()
Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings

getDescriptor()

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

newBuilder()

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

newBuilder(AlloyDbSettings.PrimaryInstanceSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsDatabaseFlags(String key)

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

equals(Object obj)

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

getDatabaseFlags()

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

getDatabaseFlagsCount()

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

getDefaultInstanceForType()

public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings

getId()

public String getId()

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

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public 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 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 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 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 AlloyDbSettings.PrimaryInstanceSettings.MachineConfig getMachineConfig()

Configuration for the machines that host the underlying database engine.

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

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig

The machineConfig.

getMachineConfigOrBuilder()

public AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder getMachineConfigOrBuilder()

Configuration for the machines that host the underlying database engine.

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

Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder

getParserForType()

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

getPrivateIp()

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

Returns
Type Description
String

The privateIp.

getPrivateIpBytes()

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

Returns
Type Description
ByteString

The bytes for privateIp.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasMachineConfig()

public boolean hasMachineConfig()

Configuration for the machines that host the underlying database engine.

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

Returns
Type Description
boolean

Whether the machineConfig 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.PrimaryInstanceSettings.Builder newBuilderForType()
Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.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.PrimaryInstanceSettings.Builder toBuilder()
Returns
Type Description
AlloyDbSettings.PrimaryInstanceSettings.Builder

writeTo(CodedOutputStream output)

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