Send feedback
Class MigrationSource (0.5.0)
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
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.cloud.alloydb.v1alpha.MigrationSource
Inherited Members
Static Fields
HOST_PORT_FIELD_NUMBER
public static final int HOST_PORT_FIELD_NUMBER
Field Value
Type
Description
int
REFERENCE_ID_FIELD_NUMBER
public static final int REFERENCE_ID_FIELD_NUMBER
Field Value
Type
Description
int
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static MigrationSource getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static MigrationSource . Builder newBuilder ()
newBuilder(MigrationSource prototype)
public static MigrationSource . Builder newBuilder ( MigrationSource prototype )
public static MigrationSource parseDelimitedFrom ( InputStream input )
public static MigrationSource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static MigrationSource parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static MigrationSource parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MigrationSource parseFrom ( CodedInputStream input )
public static MigrationSource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MigrationSource parseFrom ( InputStream input )
public static MigrationSource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static MigrationSource parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<MigrationSource> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public MigrationSource getDefaultInstanceForType ()
getHostPort()
public String getHostPort ()
Output only. The host and port of the on-premises instance in host:port
format
string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for hostPort.
getParserForType()
public Parser<MigrationSource> getParserForType ()
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for referenceId.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSourceType()
public MigrationSource . MigrationSourceType getSourceType ()
Output only. Type of migration source.
.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourceTypeValue()
public int getSourceTypeValue ()
Output only. Type of migration source.
.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The enum numeric value on the wire for sourceType.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public MigrationSource . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationSource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public MigrationSource . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[],[]]