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
Static Fields
HOST_PORT_FIELD_NUMBER
public static final int HOST_PORT_FIELD_NUMBER
Field Value
REFERENCE_ID_FIELD_NUMBER
public static final int REFERENCE_ID_FIELD_NUMBER
Field Value
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MigrationSource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MigrationSource.Builder newBuilder()
Returns
newBuilder(MigrationSource prototype)
public static MigrationSource.Builder newBuilder(MigrationSource prototype)
Parameter
Returns
public static MigrationSource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigrationSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MigrationSource parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MigrationSource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigrationSource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MigrationSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigrationSource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigrationSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MigrationSource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MigrationSource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public MigrationSource getDefaultInstanceForType()
Returns
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()
Returns
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
Overrides
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];
Returns
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];
Returns
Type |
Description |
int |
The enum numeric value on the wire for sourceType.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MigrationSource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MigrationSource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions