Class AlloyDbConnectionProfile (2.34.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
TypeDescription
int

SETTINGS_FIELD_NUMBER

public static final int SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AlloyDbConnectionProfile getDefaultInstance()
Returns
TypeDescription
AlloyDbConnectionProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AlloyDbConnectionProfile.Builder newBuilder()
Returns
TypeDescription
AlloyDbConnectionProfile.Builder

newBuilder(AlloyDbConnectionProfile prototype)

public static AlloyDbConnectionProfile.Builder newBuilder(AlloyDbConnectionProfile prototype)
Parameter
NameDescription
prototypeAlloyDbConnectionProfile
Returns
TypeDescription
AlloyDbConnectionProfile.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbConnectionProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AlloyDbConnectionProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbConnectionProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbConnectionProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AlloyDbConnectionProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AlloyDbConnectionProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbConnectionProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbConnectionProfile> parser()
Returns
TypeDescription
Parser<AlloyDbConnectionProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public AlloyDbConnectionProfile getDefaultInstanceForType()
Returns
TypeDescription
AlloyDbConnectionProfile

getParserForType()

public Parser<AlloyDbConnectionProfile> getParserForType()
Returns
TypeDescription
Parser<AlloyDbConnectionProfile>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the settings field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AlloyDbConnectionProfile.Builder newBuilderForType()
Returns
TypeDescription
AlloyDbConnectionProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AlloyDbConnectionProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AlloyDbConnectionProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AlloyDbConnectionProfile.Builder toBuilder()
Returns
TypeDescription
AlloyDbConnectionProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException