public static final class MigrationSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<MigrationSource.Builder> implements MigrationSourceOrBuilder
Subset of the source instance configuration that is available when reading the cluster resource.Protobuf type
google.cloud.alloydb.v1beta.MigrationSourceaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MigrationSource.Builder>public MigrationSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<MigrationSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MigrationSource.Builder>public MigrationSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MigrationSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MigrationSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MigrationSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationSource.Builder>public MigrationSource.Builder mergeFrom(MigrationSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<MigrationSource.Builder>public MigrationSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationSource.Builder>IOExceptionpublic 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];getHostPort in interface MigrationSourceOrBuilderpublic com.google.protobuf.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];getHostPortBytes in interface MigrationSourceOrBuilderpublic MigrationSource.Builder setHostPort(String value)
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];value - The hostPort to set.public MigrationSource.Builder clearHostPort()
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];public MigrationSource.Builder setHostPortBytes(com.google.protobuf.ByteString value)
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];value - The bytes for hostPort to set.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];getReferenceId in interface MigrationSourceOrBuilderpublic com.google.protobuf.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];getReferenceIdBytes in interface MigrationSourceOrBuilderpublic MigrationSource.Builder setReferenceId(String value)
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];value - The referenceId to set.public MigrationSource.Builder clearReferenceId()
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];public MigrationSource.Builder setReferenceIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for referenceId to set.public int getSourceTypeValue()
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourceTypeValue in interface MigrationSourceOrBuilderpublic MigrationSource.Builder setSourceTypeValue(int value)
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for sourceType to set.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];
getSourceType in interface MigrationSourceOrBuilderpublic MigrationSource.Builder setSourceType(MigrationSource.MigrationSourceType value)
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The sourceType to set.public MigrationSource.Builder clearSourceType()
Output only. Type of migration source.
.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2026 Google LLC. All rights reserved.