Class AlloyDbConnectionProfile (2.54.0)

public final class AlloyDbConnectionProfile extends GeneratedMessageV3 implements AlloyDbConnectionProfileOrBuilder

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.

Protobuf type google.cloud.clouddms.v1.AlloyDbConnectionProfile

Static Fields

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
Type Description
int

SETTINGS_FIELD_NUMBER

public static final int SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AlloyDbConnectionProfile getDefaultInstance()
Returns
Type Description
AlloyDbConnectionProfile

getDescriptor()

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

newBuilder()

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

newBuilder(AlloyDbConnectionProfile prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClusterId()

public String getClusterId()

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Returns
Type Description
String

The clusterId.

getClusterIdBytes()

public ByteString getClusterIdBytes()

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Returns
Type Description
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public AlloyDbConnectionProfile getDefaultInstanceForType()
Returns
Type Description
AlloyDbConnectionProfile

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSettings()

public AlloyDbSettings getSettings()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbSettings

The settings.

getSettingsOrBuilder()

public AlloyDbSettingsOrBuilder getSettingsOrBuilder()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbSettingsOrBuilder

hasSettings()

public boolean hasSettings()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the settings field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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