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.v1.MigrationSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourceTypeValue()
public int getSourceTypeValue()
Output only. Type of migration source.
.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sourceType.
|
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