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.v1beta.MigrationSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MigrationSourceImplements
MigrationSourceOrBuilderStatic Fields
HOST_PORT_FIELD_NUMBER
public static final int HOST_PORT_FIELD_NUMBER
Type | Description |
int |
REFERENCE_ID_FIELD_NUMBER
public static final int REFERENCE_ID_FIELD_NUMBER
Type | Description |
int |
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MigrationSource getDefaultInstance()
Type | Description |
MigrationSource |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MigrationSource.Builder newBuilder()
Type | Description |
MigrationSource.Builder |
newBuilder(MigrationSource prototype)
public static MigrationSource.Builder newBuilder(MigrationSource prototype)
Name | Description |
prototype |
MigrationSource |
Type | Description |
MigrationSource.Builder |
parseDelimitedFrom(InputStream input)
public static MigrationSource parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MigrationSource parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MigrationSource parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MigrationSource parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MigrationSource parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MigrationSource parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
MigrationSource |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MigrationSource> parser()
Type | Description |
Parser<MigrationSource> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MigrationSource getDefaultInstanceForType()
Type | Description |
MigrationSource |
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];
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];
Type | Description |
ByteString |
The bytes for hostPort. |
getParserForType()
public Parser<MigrationSource> getParserForType()
Type | Description |
Parser<MigrationSource> |
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];
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];
Type | Description |
ByteString |
The bytes for referenceId. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSourceType()
public MigrationSource.MigrationSourceType getSourceType()
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSource.MigrationSourceType |
The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The enum numeric value on the wire for sourceType. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public MigrationSource.Builder newBuilderForType()
Type | Description |
MigrationSource.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
MigrationSource.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MigrationSource.Builder toBuilder()
Type | Description |
MigrationSource.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |