public interface MigrationJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The resource labels for migration job to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used
for the migration job.
|
com.google.protobuf.ByteString |
getCmekKeyNameBytes()
The CMEK (customer-managed encryption key) fully qualified key name used
for the migration job.
|
MigrationJob.ConnectivityCase |
getConnectivityCase() |
ConversionWorkspaceInfo |
getConversionWorkspace()
The conversion workspace used by the migration.
|
ConversionWorkspaceInfoOrBuilder |
getConversionWorkspaceOrBuilder()
The conversion workspace used by the migration.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDestination()
Required.
|
com.google.protobuf.ByteString |
getDestinationBytes()
Required.
|
DatabaseType |
getDestinationDatabase()
The database engine type and provider of the destination.
|
DatabaseTypeOrBuilder |
getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
|
String |
getDisplayName()
The migration job display name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The migration job display name.
|
MigrationJob.DumpFlags |
getDumpFlags()
The initial dump flags.
|
MigrationJob.DumpFlagsOrBuilder |
getDumpFlagsOrBuilder()
The initial dump flags.
|
String |
getDumpPath()
The path to the dump file in Google Cloud Storage,
in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
|
com.google.protobuf.ByteString |
getDumpPathBytes()
The path to the dump file in Google Cloud Storage,
in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
|
com.google.protobuf.Duration |
getDuration()
Output only.
|
com.google.protobuf.DurationOrBuilder |
getDurationOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
String |
getFilter()
This field can be used to select the entities to migrate as part of
the migration job.
|
com.google.protobuf.ByteString |
getFilterBytes()
This field can be used to select the entities to migrate as part of
the migration job.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The resource labels for migration job to use to annotate any related
underlying resources such as Compute Engine VMs.
|
Map<String,String> |
getLabelsMap()
The resource labels for migration job to use to annotate any related
underlying resources such as Compute Engine VMs.
|
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.
|
String |
getLabelsOrThrow(String key)
The resource labels for migration job to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getName()
The name (URI) of this migration job resource, in the form of:
projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
|
com.google.protobuf.ByteString |
getNameBytes()
The name (URI) of this migration job resource, in the form of:
projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
|
MigrationJob.PerformanceConfig |
getPerformanceConfig()
Optional.
|
MigrationJob.PerformanceConfigOrBuilder |
getPerformanceConfigOrBuilder()
Optional.
|
MigrationJob.Phase |
getPhase()
Output only.
|
int |
getPhaseValue()
Output only.
|
ReverseSshConnectivity |
getReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH
tunnel connectivity.
|
ReverseSshConnectivityOrBuilder |
getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH
tunnel connectivity.
|
String |
getSource()
Required.
|
com.google.protobuf.ByteString |
getSourceBytes()
Required.
|
DatabaseType |
getSourceDatabase()
The database engine type and provider of the source.
|
DatabaseTypeOrBuilder |
getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
|
MigrationJob.State |
getState()
The current migration job state.
|
int |
getStateValue()
The current migration job state.
|
StaticIpConnectivity |
getStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
|
StaticIpConnectivityOrBuilder |
getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
|
MigrationJob.Type |
getType()
Required.
|
int |
getTypeValue()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VpcPeeringConnectivity |
getVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
|
VpcPeeringConnectivityOrBuilder |
getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.
|
boolean |
hasConversionWorkspace()
The conversion workspace used by the migration.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDestinationDatabase()
The database engine type and provider of the destination.
|
boolean |
hasDumpFlags()
The initial dump flags.
|
boolean |
hasDuration()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasPerformanceConfig()
Optional.
|
boolean |
hasReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH
tunnel connectivity.
|
boolean |
hasSourceDatabase()
The database engine type and provider of the source.
|
boolean |
hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name (URI) of this migration job resource, in the form of:
projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;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;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];
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];
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];
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];
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];
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];
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;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;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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;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;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;String getDisplayName()
The migration job display name.
string display_name = 5;com.google.protobuf.ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;int getStateValue()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;MigrationJob.State getState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;int getPhaseValue()
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
MigrationJob.Phase getPhase()
Output only. The current migration job phase.
.google.cloud.clouddms.v1.MigrationJob.Phase phase = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getTypeValue()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
MigrationJob.Type getType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
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;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;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;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;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;String getSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getSourceBytes()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];String getDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDestinationBytes()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];boolean hasReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;ReverseSshConnectivity getReverseSshConnectivity()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;ReverseSshConnectivityOrBuilder getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;boolean hasVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;VpcPeeringConnectivity getVpcPeeringConnectivity()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;VpcPeeringConnectivityOrBuilder getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;boolean hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;StaticIpConnectivity getStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;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];
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];
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];
boolean hasError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];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];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];boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;DatabaseType getSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;DatabaseType getDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;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];
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];
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];
boolean hasConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;ConversionWorkspaceInfo getConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;ConversionWorkspaceInfoOrBuilder getConversionWorkspaceOrBuilder()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;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;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;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;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;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];
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];
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];
MigrationJob.ConnectivityCase getConnectivityCase()
Copyright © 2024 Google LLC. All rights reserved.