Class MigrationSource (0.14.1)

public final class MigrationSource extends GeneratedMessageV3 implements MigrationSourceOrBuilder

Subset of the source instance configuration that is available when reading the cluster resource.

Protobuf type google.events.cloud.alloydb.v1.MigrationSource

Static Fields

HOST_PORT_FIELD_NUMBER

public static final int HOST_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

REFERENCE_ID_FIELD_NUMBER

public static final int REFERENCE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigrationSource getDefaultInstance()
Returns
TypeDescription
MigrationSource

getDescriptor()

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

newBuilder()

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

newBuilder(MigrationSource prototype)

public static MigrationSource.Builder newBuilder(MigrationSource prototype)
Parameter
NameDescription
prototypeMigrationSource
Returns
TypeDescription
MigrationSource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MigrationSource getDefaultInstanceForType()
Returns
TypeDescription
MigrationSource

getHostPort()

public String getHostPort()

Output only. The host and port of the on-premises instance in host:port format

string host_port = 1;

Returns
TypeDescription
String

The hostPort.

getHostPortBytes()

public ByteString getHostPortBytes()

Output only. The host and port of the on-premises instance in host:port format

string host_port = 1;

Returns
TypeDescription
ByteString

The bytes for hostPort.

getParserForType()

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

getReferenceId()

public String getReferenceId()

Output only. Place holder for the external source identifier(e.g DMS job name) that created the cluster.

string reference_id = 2;

Returns
TypeDescription
String

The referenceId.

getReferenceIdBytes()

public ByteString getReferenceIdBytes()

Output only. Place holder for the external source identifier(e.g DMS job name) that created the cluster.

string reference_id = 2;

Returns
TypeDescription
ByteString

The bytes for referenceId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceType()

public MigrationSource.MigrationSourceType getSourceType()

Output only. Type of migration source.

.google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3;

Returns
TypeDescription
MigrationSource.MigrationSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Output only. Type of migration source.

.google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 MigrationSource.Builder newBuilderForType()
Returns
TypeDescription
MigrationSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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