[[["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-08-07 UTC."],[],[],null,["# Interface MigrationSourceOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.alloydb.v1.MigrationSourceOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.alloydb.v1.MigrationSourceOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.alloydb.v1.MigrationSourceOrBuilder) \n\n public interface MigrationSourceOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getHostPort()\n\n public abstract String getHostPort()\n\nOutput only. The host and port of the on-premises instance in host:port\nformat\n\n`string host_port = 1;`\n\n### getHostPortBytes()\n\n public abstract ByteString getHostPortBytes()\n\nOutput only. The host and port of the on-premises instance in host:port\nformat\n\n`string host_port = 1;`\n\n### getReferenceId()\n\n public abstract String getReferenceId()\n\nOutput only. Place holder for the external source identifier(e.g DMS job\nname) that created the cluster.\n\n`string reference_id = 2;`\n\n### getReferenceIdBytes()\n\n public abstract ByteString getReferenceIdBytes()\n\nOutput only. Place holder for the external source identifier(e.g DMS job\nname) that created the cluster.\n\n`string reference_id = 2;`\n\n### getSourceType()\n\n public abstract MigrationSource.MigrationSourceType getSourceType()\n\nOutput only. Type of migration source.\n\n`.google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3;\n`\n\n### getSourceTypeValue()\n\n public abstract int getSourceTypeValue()\n\nOutput only. Type of migration source.\n\n`.google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3;\n`"]]