public static final class MigrationSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder> implements MigrationSourceOrBuilder
Subset of the source instance configuration that is available when reading the cluster resource.Protobuf type
google.cloud.alloydb.v1.MigrationSource| Modifier and Type | Method and Description |
|---|---|
MigrationSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MigrationSource |
build() |
MigrationSource |
buildPartial() |
MigrationSource.Builder |
clear() |
MigrationSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MigrationSource.Builder |
clearHostPort()
Output only.
|
MigrationSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MigrationSource.Builder |
clearReferenceId()
Output only.
|
MigrationSource.Builder |
clearSourceType()
Output only.
|
MigrationSource.Builder |
clone() |
MigrationSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostPort()
Output only.
|
com.google.protobuf.ByteString |
getHostPortBytes()
Output only.
|
String |
getReferenceId()
Output only.
|
com.google.protobuf.ByteString |
getReferenceIdBytes()
Output only.
|
MigrationSource.MigrationSourceType |
getSourceType()
Output only.
|
int |
getSourceTypeValue()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MigrationSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MigrationSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
MigrationSource.Builder |
mergeFrom(MigrationSource other) |
MigrationSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MigrationSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MigrationSource.Builder |
setHostPort(String value)
Output only.
|
MigrationSource.Builder |
setHostPortBytes(com.google.protobuf.ByteString value)
Output only.
|
MigrationSource.Builder |
setReferenceId(String value)
Output only.
|
MigrationSource.Builder |
setReferenceIdBytes(com.google.protobuf.ByteString value)
Output only.
|
MigrationSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MigrationSource.Builder |
setSourceType(MigrationSource.MigrationSourceType value)
Output only.
|
MigrationSource.Builder |
setSourceTypeValue(int value)
Output only.
|
MigrationSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public MigrationSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public MigrationSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public MigrationSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public MigrationSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public MigrationSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public 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.GeneratedMessageV3.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.v1.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.v1.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.v1.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.v1.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.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final MigrationSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>public final MigrationSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationSource.Builder>Copyright © 2025 Google LLC. All rights reserved.