Interface MigrationJobOrBuilder (2.15.0)

public interface MigrationJobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

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

getConnectivityCase()

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

getCreateTime()

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

getDestination()

public abstract 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 abstract 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 abstract 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 abstract DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()

The database engine type and provider of the destination.

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

Returns
TypeDescription
DatabaseTypeOrBuilder

getDisplayName()

public abstract String getDisplayName()

The migration job display name.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The migration job display name.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getDumpPath()

public abstract String getDumpPath()

The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).

string dump_path = 9;

Returns
TypeDescription
String

The dumpPath.

getDumpPathBytes()

public abstract ByteString getDumpPathBytes()

The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).

string dump_path = 9;

Returns
TypeDescription
ByteString

The bytes for dumpPath.

getDuration()

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

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPhase()

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

getSource()

public abstract 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 abstract 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 abstract 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 abstract DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()

The database engine type and provider of the source.

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

Returns
TypeDescription
DatabaseTypeOrBuilder

getState()

public abstract MigrationJob.State getState()

The current migration job state.

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

Returns
TypeDescription
MigrationJob.State

The state.

getStateValue()

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

hasCreateTime()

public abstract 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 abstract 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.

hasDuration()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.