Class MigrationJob.Builder

  • All Implemented Interfaces:
    MigrationJobOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    MigrationJob

    public static final class MigrationJob.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
    implements MigrationJobOrBuilder
     Represents a Database Migration Service migration job object.
     
    Protobuf type google.cloud.clouddms.v1.MigrationJob
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • clear

        public MigrationJob.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • getDefaultInstanceForType

        public MigrationJob getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MigrationJob build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MigrationJob buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public MigrationJob.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • setField

        public MigrationJob.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • clearField

        public MigrationJob.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • clearOneof

        public MigrationJob.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • setRepeatedField

        public MigrationJob.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • addRepeatedField

        public MigrationJob.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • mergeFrom

        public MigrationJob.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • mergeFrom

        public MigrationJob.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationJob.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name (URI) of this migration job resource, in the form of:
         projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
         
        string name = 1;
        Specified by:
        getName in interface MigrationJobOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name (URI) of this migration job resource, in the form of:
         projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
         
        string name = 1;
        Specified by:
        getNameBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for name.
      • setName

        public MigrationJob.Builder setName​(String value)
         The name (URI) of this migration job resource, in the form of:
         projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public MigrationJob.Builder clearName()
         The name (URI) of this migration job resource, in the form of:
         projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public MigrationJob.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name (URI) of this migration job resource, in the form of:
         projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface MigrationJobOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface MigrationJobOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public MigrationJob.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public MigrationJob.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public MigrationJob.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public MigrationJob.Builder clearCreateTime()
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The timestamp when the migration job resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface MigrationJobOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface MigrationJobOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface MigrationJobOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public MigrationJob.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public MigrationJob.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public MigrationJob.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public MigrationJob.Builder clearUpdateTime()
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The timestamp when the migration job resource was last
         updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface MigrationJobOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: MigrationJobOrBuilder
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsCount in interface MigrationJobOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        containsLabels in interface MigrationJobOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsMap in interface MigrationJobOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrDefault in interface MigrationJobOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrThrow in interface MigrationJobOrBuilder
      • removeLabels

        public MigrationJob.Builder removeLabels​(String key)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public MigrationJob.Builder putLabels​(String key,
                                              String value)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • putAllLabels

        public MigrationJob.Builder putAllLabels​(Map<String,​String> values)
         The resource labels for migration job to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The migration job display name.
         
        string display_name = 5;
        Specified by:
        getDisplayNameBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public MigrationJob.Builder setDisplayName​(String value)
         The migration job display name.
         
        string display_name = 5;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public MigrationJob.Builder clearDisplayName()
         The migration job display name.
         
        string display_name = 5;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public MigrationJob.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The migration job display name.
         
        string display_name = 5;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         The current migration job state.
         
        .google.cloud.clouddms.v1.MigrationJob.State state = 6;
        Specified by:
        getStateValue in interface MigrationJobOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public MigrationJob.Builder setStateValue​(int value)
         The current migration job state.
         
        .google.cloud.clouddms.v1.MigrationJob.State state = 6;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public MigrationJob.Builder setState​(MigrationJob.State value)
         The current migration job state.
         
        .google.cloud.clouddms.v1.MigrationJob.State state = 6;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public MigrationJob.Builder clearState()
         The current migration job state.
         
        .google.cloud.clouddms.v1.MigrationJob.State state = 6;
        Returns:
        This builder for chaining.
      • getPhaseValue

        public int getPhaseValue()
         Output only. The current migration job phase.
         
        .google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPhaseValue in interface MigrationJobOrBuilder
        Returns:
        The enum numeric value on the wire for phase.
      • setPhaseValue

        public MigrationJob.Builder setPhaseValue​(int value)
         Output only. The current migration job phase.
         
        .google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for phase to set.
        Returns:
        This builder for chaining.
      • getPhase

        public MigrationJob.Phase getPhase()
         Output only. The current migration job phase.
         
        .google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPhase in interface MigrationJobOrBuilder
        Returns:
        The phase.
      • setPhase

        public MigrationJob.Builder setPhase​(MigrationJob.Phase value)
         Output only. The current migration job phase.
         
        .google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The phase to set.
        Returns:
        This builder for chaining.
      • clearPhase

        public MigrationJob.Builder clearPhase()
         Output only. The current migration job phase.
         
        .google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         Required. The migration job type.
         
        .google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTypeValue in interface MigrationJobOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public MigrationJob.Builder setTypeValue​(int value)
         Required. The migration job type.
         
        .google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public MigrationJob.Type getType()
         Required. The migration job type.
         
        .google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getType in interface MigrationJobOrBuilder
        Returns:
        The type.
      • setType

        public MigrationJob.Builder setType​(MigrationJob.Type value)
         Required. The migration job type.
         
        .google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public MigrationJob.Builder clearType()
         Required. The migration job type.
         
        .google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getDumpPath

        public String getDumpPath()
         The path to the dump file in Google Cloud Storage,
         in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
         This field and the "dump_flags" field are mutually exclusive.
         
        string dump_path = 9;
        Specified by:
        getDumpPath in interface MigrationJobOrBuilder
        Returns:
        The dumpPath.
      • getDumpPathBytes

        public com.google.protobuf.ByteString getDumpPathBytes()
         The path to the dump file in Google Cloud Storage,
         in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
         This field and the "dump_flags" field are mutually exclusive.
         
        string dump_path = 9;
        Specified by:
        getDumpPathBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for dumpPath.
      • setDumpPath

        public MigrationJob.Builder setDumpPath​(String value)
         The path to the dump file in Google Cloud Storage,
         in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
         This field and the "dump_flags" field are mutually exclusive.
         
        string dump_path = 9;
        Parameters:
        value - The dumpPath to set.
        Returns:
        This builder for chaining.
      • clearDumpPath

        public MigrationJob.Builder clearDumpPath()
         The path to the dump file in Google Cloud Storage,
         in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
         This field and the "dump_flags" field are mutually exclusive.
         
        string dump_path = 9;
        Returns:
        This builder for chaining.
      • setDumpPathBytes

        public MigrationJob.Builder setDumpPathBytes​(com.google.protobuf.ByteString value)
         The path to the dump file in Google Cloud Storage,
         in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
         This field and the "dump_flags" field are mutually exclusive.
         
        string dump_path = 9;
        Parameters:
        value - The bytes for dumpPath to set.
        Returns:
        This builder for chaining.
      • hasDumpFlags

        public boolean hasDumpFlags()
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
        Specified by:
        hasDumpFlags in interface MigrationJobOrBuilder
        Returns:
        Whether the dumpFlags field is set.
      • getDumpFlags

        public MigrationJob.DumpFlags getDumpFlags()
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
        Specified by:
        getDumpFlags in interface MigrationJobOrBuilder
        Returns:
        The dumpFlags.
      • setDumpFlags

        public MigrationJob.Builder setDumpFlags​(MigrationJob.DumpFlags value)
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
      • setDumpFlags

        public MigrationJob.Builder setDumpFlags​(MigrationJob.DumpFlags.Builder builderForValue)
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
      • mergeDumpFlags

        public MigrationJob.Builder mergeDumpFlags​(MigrationJob.DumpFlags value)
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
      • clearDumpFlags

        public MigrationJob.Builder clearDumpFlags()
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
      • getDumpFlagsBuilder

        public MigrationJob.DumpFlags.Builder getDumpFlagsBuilder()
         The initial dump flags.
         This field and the "dump_path" field are mutually exclusive.
         
        .google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
      • getSource

        public String getSource()
         Required. The resource name (URI) of the source connection profile.
         
        string source = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSource in interface MigrationJobOrBuilder
        Returns:
        The source.
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
         Required. The resource name (URI) of the source connection profile.
         
        string source = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSourceBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for source.
      • setSource

        public MigrationJob.Builder setSource​(String value)
         Required. The resource name (URI) of the source connection profile.
         
        string source = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The source to set.
        Returns:
        This builder for chaining.
      • clearSource

        public MigrationJob.Builder clearSource()
         Required. The resource name (URI) of the source connection profile.
         
        string source = 10 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setSourceBytes

        public MigrationJob.Builder setSourceBytes​(com.google.protobuf.ByteString value)
         Required. The resource name (URI) of the source connection profile.
         
        string source = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for source to set.
        Returns:
        This builder for chaining.
      • getDestination

        public String getDestination()
         Required. The resource name (URI) of the destination connection profile.
         
        string destination = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDestination in interface MigrationJobOrBuilder
        Returns:
        The destination.
      • getDestinationBytes

        public com.google.protobuf.ByteString getDestinationBytes()
         Required. The resource name (URI) of the destination connection profile.
         
        string destination = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDestinationBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for destination.
      • setDestination

        public MigrationJob.Builder setDestination​(String value)
         Required. The resource name (URI) of the destination connection profile.
         
        string destination = 11 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The destination to set.
        Returns:
        This builder for chaining.
      • clearDestination

        public MigrationJob.Builder clearDestination()
         Required. The resource name (URI) of the destination connection profile.
         
        string destination = 11 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDestinationBytes

        public MigrationJob.Builder setDestinationBytes​(com.google.protobuf.ByteString value)
         Required. The resource name (URI) of the destination connection profile.
         
        string destination = 11 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for destination to set.
        Returns:
        This builder for chaining.
      • hasReverseSshConnectivity

        public boolean hasReverseSshConnectivity()
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
        Specified by:
        hasReverseSshConnectivity in interface MigrationJobOrBuilder
        Returns:
        Whether the reverseSshConnectivity field is set.
      • getReverseSshConnectivity

        public ReverseSshConnectivity getReverseSshConnectivity()
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
        Specified by:
        getReverseSshConnectivity in interface MigrationJobOrBuilder
        Returns:
        The reverseSshConnectivity.
      • setReverseSshConnectivity

        public MigrationJob.Builder setReverseSshConnectivity​(ReverseSshConnectivity value)
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
      • setReverseSshConnectivity

        public MigrationJob.Builder setReverseSshConnectivity​(ReverseSshConnectivity.Builder builderForValue)
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
      • mergeReverseSshConnectivity

        public MigrationJob.Builder mergeReverseSshConnectivity​(ReverseSshConnectivity value)
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
      • clearReverseSshConnectivity

        public MigrationJob.Builder clearReverseSshConnectivity()
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
      • getReverseSshConnectivityBuilder

        public ReverseSshConnectivity.Builder getReverseSshConnectivityBuilder()
         The details needed to communicate to the source over Reverse SSH
         tunnel connectivity.
         
        .google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
      • hasVpcPeeringConnectivity

        public boolean hasVpcPeeringConnectivity()
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
        Specified by:
        hasVpcPeeringConnectivity in interface MigrationJobOrBuilder
        Returns:
        Whether the vpcPeeringConnectivity field is set.
      • getVpcPeeringConnectivity

        public VpcPeeringConnectivity getVpcPeeringConnectivity()
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
        Specified by:
        getVpcPeeringConnectivity in interface MigrationJobOrBuilder
        Returns:
        The vpcPeeringConnectivity.
      • setVpcPeeringConnectivity

        public MigrationJob.Builder setVpcPeeringConnectivity​(VpcPeeringConnectivity value)
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
      • setVpcPeeringConnectivity

        public MigrationJob.Builder setVpcPeeringConnectivity​(VpcPeeringConnectivity.Builder builderForValue)
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
      • mergeVpcPeeringConnectivity

        public MigrationJob.Builder mergeVpcPeeringConnectivity​(VpcPeeringConnectivity value)
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
      • clearVpcPeeringConnectivity

        public MigrationJob.Builder clearVpcPeeringConnectivity()
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
      • getVpcPeeringConnectivityBuilder

        public VpcPeeringConnectivity.Builder getVpcPeeringConnectivityBuilder()
         The details of the VPC network that the source database is located in.
         
        .google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
      • hasStaticIpConnectivity

        public boolean hasStaticIpConnectivity()
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
        Specified by:
        hasStaticIpConnectivity in interface MigrationJobOrBuilder
        Returns:
        Whether the staticIpConnectivity field is set.
      • getStaticIpConnectivity

        public StaticIpConnectivity getStaticIpConnectivity()
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
        Specified by:
        getStaticIpConnectivity in interface MigrationJobOrBuilder
        Returns:
        The staticIpConnectivity.
      • setStaticIpConnectivity

        public MigrationJob.Builder setStaticIpConnectivity​(StaticIpConnectivity value)
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
      • setStaticIpConnectivity

        public MigrationJob.Builder setStaticIpConnectivity​(StaticIpConnectivity.Builder builderForValue)
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
      • mergeStaticIpConnectivity

        public MigrationJob.Builder mergeStaticIpConnectivity​(StaticIpConnectivity value)
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
      • clearStaticIpConnectivity

        public MigrationJob.Builder clearStaticIpConnectivity()
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
      • getStaticIpConnectivityBuilder

        public StaticIpConnectivity.Builder getStaticIpConnectivityBuilder()
         static ip connectivity data (default, no additional details needed).
         
        .google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
      • hasDuration

        public boolean hasDuration()
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDuration in interface MigrationJobOrBuilder
        Returns:
        Whether the duration field is set.
      • getDuration

        public com.google.protobuf.Duration getDuration()
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDuration in interface MigrationJobOrBuilder
        Returns:
        The duration.
      • setDuration

        public MigrationJob.Builder setDuration​(com.google.protobuf.Duration value)
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDuration

        public MigrationJob.Builder setDuration​(com.google.protobuf.Duration.Builder builderForValue)
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDuration

        public MigrationJob.Builder mergeDuration​(com.google.protobuf.Duration value)
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDuration

        public MigrationJob.Builder clearDuration()
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDurationBuilder

        public com.google.protobuf.Duration.Builder getDurationBuilder()
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
         Output only. The duration of the migration job (in seconds). A duration in
         seconds with up to nine fractional digits, terminated by 's'. Example:
         "3.5s".
         
        .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDurationOrBuilder in interface MigrationJobOrBuilder
      • hasError

        public boolean hasError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasError in interface MigrationJobOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.Status getError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getError in interface MigrationJobOrBuilder
        Returns:
        The error.
      • setError

        public MigrationJob.Builder setError​(com.google.rpc.Status value)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setError

        public MigrationJob.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeError

        public MigrationJob.Builder mergeError​(com.google.rpc.Status value)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearError

        public MigrationJob.Builder clearError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorOrBuilder

        public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorOrBuilder in interface MigrationJobOrBuilder
      • hasSourceDatabase

        public boolean hasSourceDatabase()
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
        Specified by:
        hasSourceDatabase in interface MigrationJobOrBuilder
        Returns:
        Whether the sourceDatabase field is set.
      • getSourceDatabase

        public DatabaseType getSourceDatabase()
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
        Specified by:
        getSourceDatabase in interface MigrationJobOrBuilder
        Returns:
        The sourceDatabase.
      • setSourceDatabase

        public MigrationJob.Builder setSourceDatabase​(DatabaseType value)
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
      • setSourceDatabase

        public MigrationJob.Builder setSourceDatabase​(DatabaseType.Builder builderForValue)
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
      • mergeSourceDatabase

        public MigrationJob.Builder mergeSourceDatabase​(DatabaseType value)
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
      • clearSourceDatabase

        public MigrationJob.Builder clearSourceDatabase()
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
      • getSourceDatabaseBuilder

        public DatabaseType.Builder getSourceDatabaseBuilder()
         The database engine type and provider of the source.
         
        .google.cloud.clouddms.v1.DatabaseType source_database = 14;
      • hasDestinationDatabase

        public boolean hasDestinationDatabase()
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
        Specified by:
        hasDestinationDatabase in interface MigrationJobOrBuilder
        Returns:
        Whether the destinationDatabase field is set.
      • getDestinationDatabase

        public DatabaseType getDestinationDatabase()
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
        Specified by:
        getDestinationDatabase in interface MigrationJobOrBuilder
        Returns:
        The destinationDatabase.
      • setDestinationDatabase

        public MigrationJob.Builder setDestinationDatabase​(DatabaseType value)
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
      • setDestinationDatabase

        public MigrationJob.Builder setDestinationDatabase​(DatabaseType.Builder builderForValue)
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
      • mergeDestinationDatabase

        public MigrationJob.Builder mergeDestinationDatabase​(DatabaseType value)
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
      • clearDestinationDatabase

        public MigrationJob.Builder clearDestinationDatabase()
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
      • getDestinationDatabaseBuilder

        public DatabaseType.Builder getDestinationDatabaseBuilder()
         The database engine type and provider of the destination.
         
        .google.cloud.clouddms.v1.DatabaseType destination_database = 15;
      • hasEndTime

        public boolean hasEndTime()
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndTime in interface MigrationJobOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTime in interface MigrationJobOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public MigrationJob.Builder setEndTime​(com.google.protobuf.Timestamp value)
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEndTime

        public MigrationJob.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEndTime

        public MigrationJob.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEndTime

        public MigrationJob.Builder clearEndTime()
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. If the migration job is completed, the time when it was
         completed.
         
        .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTimeOrBuilder in interface MigrationJobOrBuilder
      • hasConversionWorkspace

        public boolean hasConversionWorkspace()
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
        Specified by:
        hasConversionWorkspace in interface MigrationJobOrBuilder
        Returns:
        Whether the conversionWorkspace field is set.
      • setConversionWorkspace

        public MigrationJob.Builder setConversionWorkspace​(ConversionWorkspaceInfo value)
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
      • setConversionWorkspace

        public MigrationJob.Builder setConversionWorkspace​(ConversionWorkspaceInfo.Builder builderForValue)
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
      • mergeConversionWorkspace

        public MigrationJob.Builder mergeConversionWorkspace​(ConversionWorkspaceInfo value)
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
      • clearConversionWorkspace

        public MigrationJob.Builder clearConversionWorkspace()
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
      • getConversionWorkspaceBuilder

        public ConversionWorkspaceInfo.Builder getConversionWorkspaceBuilder()
         The conversion workspace used by the migration.
         
        .google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
      • getFilter

        public String getFilter()
         This field can be used to select the entities to migrate as part of
         the migration job. It uses AIP-160 notation to select a subset of the
         entities configured on the associated conversion-workspace. This field
         should not be set on migration-jobs that are not associated with a
         conversion workspace.
         
        string filter = 20;
        Specified by:
        getFilter in interface MigrationJobOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         This field can be used to select the entities to migrate as part of
         the migration job. It uses AIP-160 notation to select a subset of the
         entities configured on the associated conversion-workspace. This field
         should not be set on migration-jobs that are not associated with a
         conversion workspace.
         
        string filter = 20;
        Specified by:
        getFilterBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public MigrationJob.Builder setFilter​(String value)
         This field can be used to select the entities to migrate as part of
         the migration job. It uses AIP-160 notation to select a subset of the
         entities configured on the associated conversion-workspace. This field
         should not be set on migration-jobs that are not associated with a
         conversion workspace.
         
        string filter = 20;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public MigrationJob.Builder clearFilter()
         This field can be used to select the entities to migrate as part of
         the migration job. It uses AIP-160 notation to select a subset of the
         entities configured on the associated conversion-workspace. This field
         should not be set on migration-jobs that are not associated with a
         conversion workspace.
         
        string filter = 20;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public MigrationJob.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         This field can be used to select the entities to migrate as part of
         the migration job. It uses AIP-160 notation to select a subset of the
         entities configured on the associated conversion-workspace. This field
         should not be set on migration-jobs that are not associated with a
         conversion workspace.
         
        string filter = 20;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getCmekKeyName

        public String getCmekKeyName()
         The CMEK (customer-managed encryption key) fully qualified key name used
         for the migration job.
         This field supports all migration jobs types except for:
         * Mysql to Mysql (use the cmek field in the cloudsql connection profile
         instead).
         * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
         connection profile instead).
         * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
         connection profile instead).
         Each Cloud CMEK key has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string cmek_key_name = 21;
        Specified by:
        getCmekKeyName in interface MigrationJobOrBuilder
        Returns:
        The cmekKeyName.
      • getCmekKeyNameBytes

        public com.google.protobuf.ByteString getCmekKeyNameBytes()
         The CMEK (customer-managed encryption key) fully qualified key name used
         for the migration job.
         This field supports all migration jobs types except for:
         * Mysql to Mysql (use the cmek field in the cloudsql connection profile
         instead).
         * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
         connection profile instead).
         * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
         connection profile instead).
         Each Cloud CMEK key has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string cmek_key_name = 21;
        Specified by:
        getCmekKeyNameBytes in interface MigrationJobOrBuilder
        Returns:
        The bytes for cmekKeyName.
      • setCmekKeyName

        public MigrationJob.Builder setCmekKeyName​(String value)
         The CMEK (customer-managed encryption key) fully qualified key name used
         for the migration job.
         This field supports all migration jobs types except for:
         * Mysql to Mysql (use the cmek field in the cloudsql connection profile
         instead).
         * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
         connection profile instead).
         * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
         connection profile instead).
         Each Cloud CMEK key has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string cmek_key_name = 21;
        Parameters:
        value - The cmekKeyName to set.
        Returns:
        This builder for chaining.
      • clearCmekKeyName

        public MigrationJob.Builder clearCmekKeyName()
         The CMEK (customer-managed encryption key) fully qualified key name used
         for the migration job.
         This field supports all migration jobs types except for:
         * Mysql to Mysql (use the cmek field in the cloudsql connection profile
         instead).
         * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
         connection profile instead).
         * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
         connection profile instead).
         Each Cloud CMEK key has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string cmek_key_name = 21;
        Returns:
        This builder for chaining.
      • setCmekKeyNameBytes

        public MigrationJob.Builder setCmekKeyNameBytes​(com.google.protobuf.ByteString value)
         The CMEK (customer-managed encryption key) fully qualified key name used
         for the migration job.
         This field supports all migration jobs types except for:
         * Mysql to Mysql (use the cmek field in the cloudsql connection profile
         instead).
         * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql
         connection profile instead).
         * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb
         connection profile instead).
         Each Cloud CMEK key has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string cmek_key_name = 21;
        Parameters:
        value - The bytes for cmekKeyName to set.
        Returns:
        This builder for chaining.
      • hasPerformanceConfig

        public boolean hasPerformanceConfig()
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasPerformanceConfig in interface MigrationJobOrBuilder
        Returns:
        Whether the performanceConfig field is set.
      • getPerformanceConfig

        public MigrationJob.PerformanceConfig getPerformanceConfig()
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPerformanceConfig in interface MigrationJobOrBuilder
        Returns:
        The performanceConfig.
      • setPerformanceConfig

        public MigrationJob.Builder setPerformanceConfig​(MigrationJob.PerformanceConfig value)
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
      • setPerformanceConfig

        public MigrationJob.Builder setPerformanceConfig​(MigrationJob.PerformanceConfig.Builder builderForValue)
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
      • mergePerformanceConfig

        public MigrationJob.Builder mergePerformanceConfig​(MigrationJob.PerformanceConfig value)
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
      • clearPerformanceConfig

        public MigrationJob.Builder clearPerformanceConfig()
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
      • getPerformanceConfigBuilder

        public MigrationJob.PerformanceConfig.Builder getPerformanceConfigBuilder()
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
      • getPerformanceConfigOrBuilder

        public MigrationJob.PerformanceConfigOrBuilder getPerformanceConfigOrBuilder()
         Optional. Data dump parallelism settings used by the migration.
         Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
         
        .google.cloud.clouddms.v1.MigrationJob.PerformanceConfig performance_config = 22 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPerformanceConfigOrBuilder in interface MigrationJobOrBuilder
      • setUnknownFields

        public final MigrationJob.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>
      • mergeUnknownFields

        public final MigrationJob.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationJob.Builder>