Class MigrationJob (2.22.0)

public final class MigrationJob extends GeneratedMessageV3 implements MigrationJobOrBuilder

Represents a Database Migration Service migration job object.

Protobuf type google.cloud.clouddms.v1.MigrationJob

Static Fields

CMEK_KEY_NAME_FIELD_NUMBER

public static final int CMEK_KEY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

CONVERSION_WORKSPACE_FIELD_NUMBER

public static final int CONVERSION_WORKSPACE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_DATABASE_FIELD_NUMBER

public static final int DESTINATION_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

DUMP_FLAGS_FIELD_NUMBER

public static final int DUMP_FLAGS_FIELD_NUMBER
Field Value
TypeDescription
int

DUMP_PATH_FIELD_NUMBER

public static final int DUMP_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PHASE_FIELD_NUMBER

public static final int PHASE_FIELD_NUMBER
Field Value
TypeDescription
int

REVERSE_SSH_CONNECTIVITY_FIELD_NUMBER

public static final int REVERSE_SSH_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_DATABASE_FIELD_NUMBER

public static final int SOURCE_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATIC_IP_CONNECTIVITY_FIELD_NUMBER

public static final int STATIC_IP_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_PEERING_CONNECTIVITY_FIELD_NUMBER

public static final int VPC_PEERING_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigrationJob getDefaultInstance()
Returns
TypeDescription
MigrationJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MigrationJob.Builder newBuilder()
Returns
TypeDescription
MigrationJob.Builder

newBuilder(MigrationJob prototype)

public static MigrationJob.Builder newBuilder(MigrationJob prototype)
Parameter
NameDescription
prototypeMigrationJob
Returns
TypeDescription
MigrationJob.Builder

parseDelimitedFrom(InputStream input)

public static MigrationJob parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MigrationJob parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MigrationJob parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MigrationJob parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MigrationJob parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MigrationJob parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MigrationJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MigrationJob> parser()
Returns
TypeDescription
Parser<MigrationJob>

Methods

containsLabels(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
String

The cmekKeyName.

getCmekKeyNameBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for cmekKeyName.

getConnectivityCase()

public MigrationJob.ConnectivityCase getConnectivityCase()
Returns
TypeDescription
MigrationJob.ConnectivityCase

getConversionWorkspace()

public ConversionWorkspaceInfo getConversionWorkspace()

The conversion workspace used by the migration.

.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;

Returns
TypeDescription
ConversionWorkspaceInfo

The conversionWorkspace.

getConversionWorkspaceOrBuilder()

public ConversionWorkspaceInfoOrBuilder getConversionWorkspaceOrBuilder()

The conversion workspace used by the migration.

.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;

Returns
TypeDescription
ConversionWorkspaceInfoOrBuilder

getCreateTime()

public 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];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public MigrationJob getDefaultInstanceForType()
Returns
TypeDescription
MigrationJob

getDestination()

public String getDestination()

Required. The resource name (URI) of the destination connection profile.

string destination = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

Required. The resource name (URI) of the destination connection profile.

string destination = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for destination.

getDestinationDatabase()

public DatabaseType getDestinationDatabase()

The database engine type and provider of the destination.

.google.cloud.clouddms.v1.DatabaseType destination_database = 15;

Returns
TypeDescription
DatabaseType

The destinationDatabase.

getDestinationDatabaseOrBuilder()

public DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()

The database engine type and provider of the destination.

.google.cloud.clouddms.v1.DatabaseType destination_database = 15;

Returns
TypeDescription
DatabaseTypeOrBuilder

getDisplayName()

public String getDisplayName()

The migration job display name.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The migration job display name.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

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;

Returns
TypeDescription
MigrationJob.DumpFlags

The dumpFlags.

getDumpFlagsOrBuilder()

public MigrationJob.DumpFlagsOrBuilder getDumpFlagsOrBuilder()

The initial dump flags. This field and the "dump_path" field are mutually exclusive.

.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;

Returns
TypeDescription
MigrationJob.DumpFlagsOrBuilder

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;

Returns
TypeDescription
String

The dumpPath.

getDumpPathBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for dumpPath.

getDuration()

public 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];

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public 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];

Returns
TypeDescription
DurationOrBuilder

getEndTime()

public 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];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

getError()

public Status getError()

Output only. The error details in case of state FAILED.

.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The error details in case of state FAILED.

.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

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;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for filter.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

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;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<MigrationJob> getParserForType()
Returns
TypeDescription
Parser<MigrationJob>
Overrides

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];

Returns
TypeDescription
MigrationJob.Phase

The phase.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for phase.

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;

Returns
TypeDescription
ReverseSshConnectivity

The reverseSshConnectivity.

getReverseSshConnectivityOrBuilder()

public ReverseSshConnectivityOrBuilder getReverseSshConnectivityOrBuilder()

The details needed to communicate to the source over Reverse SSH tunnel connectivity.

.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;

Returns
TypeDescription
ReverseSshConnectivityOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSource()

public String getSource()

Required. The resource name (URI) of the source connection profile.

string source = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. The resource name (URI) of the source connection profile.

string source = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for source.

getSourceDatabase()

public DatabaseType getSourceDatabase()

The database engine type and provider of the source.

.google.cloud.clouddms.v1.DatabaseType source_database = 14;

Returns
TypeDescription
DatabaseType

The sourceDatabase.

getSourceDatabaseOrBuilder()

public DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()

The database engine type and provider of the source.

.google.cloud.clouddms.v1.DatabaseType source_database = 14;

Returns
TypeDescription
DatabaseTypeOrBuilder

getState()

public MigrationJob.State getState()

The current migration job state.

.google.cloud.clouddms.v1.MigrationJob.State state = 6;

Returns
TypeDescription
MigrationJob.State

The state.

getStateValue()

public int getStateValue()

The current migration job state.

.google.cloud.clouddms.v1.MigrationJob.State state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStaticIpConnectivity()

public StaticIpConnectivity getStaticIpConnectivity()

static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;

Returns
TypeDescription
StaticIpConnectivity

The staticIpConnectivity.

getStaticIpConnectivityOrBuilder()

public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()

static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;

Returns
TypeDescription
StaticIpConnectivityOrBuilder

getType()

public MigrationJob.Type getType()

Required. The migration job type.

.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigrationJob.Type

The type.

getTypeValue()

public int getTypeValue()

Required. The migration job type.

.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUpdateTime()

public 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];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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;

Returns
TypeDescription
VpcPeeringConnectivity

The vpcPeeringConnectivity.

getVpcPeeringConnectivityOrBuilder()

public VpcPeeringConnectivityOrBuilder getVpcPeeringConnectivityOrBuilder()

The details of the VPC network that the source database is located in.

.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;

Returns
TypeDescription
VpcPeeringConnectivityOrBuilder

hasConversionWorkspace()

public boolean hasConversionWorkspace()

The conversion workspace used by the migration.

.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;

Returns
TypeDescription
boolean

Whether the conversionWorkspace field is set.

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDestinationDatabase()

public boolean hasDestinationDatabase()

The database engine type and provider of the destination.

.google.cloud.clouddms.v1.DatabaseType destination_database = 15;

Returns
TypeDescription
boolean

Whether the destinationDatabase field is set.

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;

Returns
TypeDescription
boolean

Whether the dumpFlags field is set.

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];

Returns
TypeDescription
boolean

Whether the duration field is set.

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];

Returns
TypeDescription
boolean

Whether the endTime field is set.

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];

Returns
TypeDescription
boolean

Whether the error field is set.

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;

Returns
TypeDescription
boolean

Whether the reverseSshConnectivity field is set.

hasSourceDatabase()

public boolean hasSourceDatabase()

The database engine type and provider of the source.

.google.cloud.clouddms.v1.DatabaseType source_database = 14;

Returns
TypeDescription
boolean

Whether the sourceDatabase field is set.

hasStaticIpConnectivity()

public boolean hasStaticIpConnectivity()

static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;

Returns
TypeDescription
boolean

Whether the staticIpConnectivity field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

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;

Returns
TypeDescription
boolean

Whether the vpcPeeringConnectivity field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MigrationJob.Builder newBuilderForType()
Returns
TypeDescription
MigrationJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MigrationJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MigrationJob.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MigrationJob.Builder toBuilder()
Returns
TypeDescription
MigrationJob.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException