public interface MigrationJobOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getConnectivityCase()
public abstract MigrationJob.ConnectivityCase getConnectivityCase()
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDestination()
public abstract String getDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11;
Returns | |
---|---|
Type | Description |
String | The destination. |
getDestinationBytes()
public abstract ByteString getDestinationBytes()
Required. The resource name (URI) of the destination connection profile.
string destination = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for destination. |
getDestinationDatabase()
public abstract DatabaseType getDestinationDatabase()
The database engine type and provider of the destination.
.google.events.cloud.clouddms.v1.DatabaseType destination_database = 15;
Returns | |
---|---|
Type | Description |
DatabaseType | The destinationDatabase. |
getDestinationDatabaseOrBuilder()
public abstract DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
.google.events.cloud.clouddms.v1.DatabaseType destination_database = 15;
Returns | |
---|---|
Type | Description |
DatabaseTypeOrBuilder |
getDisplayName()
public abstract String getDisplayName()
The migration job display name.
string display_name = 5;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getDumpFlags()
public abstract MigrationJob.DumpFlags getDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
Returns | |
---|---|
Type | Description |
MigrationJob.DumpFlags | The dumpFlags. |
getDumpFlagsOrBuilder()
public abstract MigrationJob.DumpFlagsOrBuilder getDumpFlagsOrBuilder()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
Returns | |
---|---|
Type | Description |
MigrationJob.DumpFlagsOrBuilder |
getDumpPath()
public abstract 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 | |
---|---|
Type | Description |
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]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getError()
public abstract Status getError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract String getName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getPhase()
public abstract MigrationJob.Phase getPhase()
Output only. The current migration job phase.
.google.events.cloud.clouddms.v1.MigrationJob.Phase phase = 7;
Returns | |
---|---|
Type | Description |
MigrationJob.Phase | The phase. |
getPhaseValue()
public abstract int getPhaseValue()
Output only. The current migration job phase.
.google.events.cloud.clouddms.v1.MigrationJob.Phase phase = 7;
Returns | |
---|---|
Type | Description |
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.events.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
Returns | |
---|---|
Type | Description |
ReverseSshConnectivity | The reverseSshConnectivity. |
getReverseSshConnectivityOrBuilder()
public abstract ReverseSshConnectivityOrBuilder getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.events.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
Returns | |
---|---|
Type | Description |
ReverseSshConnectivityOrBuilder |
getSource()
public abstract String getSource()
Required. The resource name (URI) of the source connection profile.
string source = 10;
Returns | |
---|---|
Type | Description |
String | The source. |
getSourceBytes()
public abstract ByteString getSourceBytes()
Required. The resource name (URI) of the source connection profile.
string source = 10;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for source. |
getSourceDatabase()
public abstract DatabaseType getSourceDatabase()
The database engine type and provider of the source.
.google.events.cloud.clouddms.v1.DatabaseType source_database = 14;
Returns | |
---|---|
Type | Description |
DatabaseType | The sourceDatabase. |
getSourceDatabaseOrBuilder()
public abstract DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
.google.events.cloud.clouddms.v1.DatabaseType source_database = 14;
Returns | |
---|---|
Type | Description |
DatabaseTypeOrBuilder |
getState()
public abstract MigrationJob.State getState()
The current migration job state.
.google.events.cloud.clouddms.v1.MigrationJob.State state = 6;
Returns | |
---|---|
Type | Description |
MigrationJob.State | The state. |
getStateValue()
public abstract int getStateValue()
The current migration job state.
.google.events.cloud.clouddms.v1.MigrationJob.State state = 6;
Returns | |
---|---|
Type | Description |
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.events.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Returns | |
---|---|
Type | Description |
StaticIpConnectivity | The staticIpConnectivity. |
getStaticIpConnectivityOrBuilder()
public abstract StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
.google.events.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Returns | |
---|---|
Type | Description |
StaticIpConnectivityOrBuilder |
getType()
public abstract MigrationJob.Type getType()
Required. The migration job type.
.google.events.cloud.clouddms.v1.MigrationJob.Type type = 8;
Returns | |
---|---|
Type | Description |
MigrationJob.Type | The type. |
getTypeValue()
public abstract int getTypeValue()
Required. The migration job type.
.google.events.cloud.clouddms.v1.MigrationJob.Type type = 8;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVpcPeeringConnectivity()
public abstract VpcPeeringConnectivity getVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.events.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
Returns | |
---|---|
Type | Description |
VpcPeeringConnectivity | The vpcPeeringConnectivity. |
getVpcPeeringConnectivityOrBuilder()
public abstract VpcPeeringConnectivityOrBuilder getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.
.google.events.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasDestinationDatabase()
public abstract boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.events.cloud.clouddms.v1.DatabaseType destination_database = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the destinationDatabase field is set. |
hasDumpFlags()
public abstract boolean hasDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
Returns | |
---|---|
Type | Description |
boolean | Whether the dumpFlags 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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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.events.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
Returns | |
---|---|
Type | Description |
boolean | Whether the reverseSshConnectivity field is set. |
hasSourceDatabase()
public abstract boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.events.cloud.clouddms.v1.DatabaseType source_database = 14;
Returns | |
---|---|
Type | Description |
boolean | Whether the sourceDatabase field is set. |
hasStaticIpConnectivity()
public abstract boolean hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.events.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Returns | |
---|---|
Type | Description |
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;
Returns | |
---|---|
Type | Description |
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.events.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
Returns | |
---|---|
Type | Description |
boolean | Whether the vpcPeeringConnectivity field is set. |