- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class MigrationJob.Builder extends GeneratedMessageV3.Builder<MigrationJob.Builder> implements MigrationJobOrBuilder
Represents a Database Migration Service migration job object.
Protobuf type google.cloud.clouddms.v1.MigrationJob
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationJob.BuilderImplements
MigrationJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationJob.Builder |
build()
public MigrationJob build()
Type | Description |
MigrationJob |
buildPartial()
public MigrationJob buildPartial()
Type | Description |
MigrationJob |
clear()
public MigrationJob.Builder clear()
Type | Description |
MigrationJob.Builder |
clearConnectivity()
public MigrationJob.Builder clearConnectivity()
Type | Description |
MigrationJob.Builder |
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];
Type | Description |
MigrationJob.Builder |
clearDestination()
public MigrationJob.Builder clearDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
MigrationJob.Builder | This builder for chaining. |
clearDestinationDatabase()
public MigrationJob.Builder clearDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Type | Description |
MigrationJob.Builder |
clearDisplayName()
public MigrationJob.Builder clearDisplayName()
The migration job display name.
string display_name = 5;
Type | Description |
MigrationJob.Builder | 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]).
string dump_path = 9;
Type | Description |
MigrationJob.Builder | This builder for chaining. |
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];
Type | Description |
MigrationJob.Builder |
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];
Type | Description |
MigrationJob.Builder |
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];
Type | Description |
MigrationJob.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationJob.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MigrationJob.Builder |
clearLabels()
public MigrationJob.Builder clearLabels()
Type | Description |
MigrationJob.Builder |
clearName()
public MigrationJob.Builder clearName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
string name = 1;
Type | Description |
MigrationJob.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MigrationJob.Builder |
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];
Type | Description |
MigrationJob.Builder | This builder for chaining. |
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;
Type | Description |
MigrationJob.Builder |
clearSource()
public MigrationJob.Builder clearSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
MigrationJob.Builder | This builder for chaining. |
clearSourceDatabase()
public MigrationJob.Builder clearSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Type | Description |
MigrationJob.Builder |
clearState()
public MigrationJob.Builder clearState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
Type | Description |
MigrationJob.Builder | This builder for chaining. |
clearStaticIpConnectivity()
public MigrationJob.Builder clearStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Type | Description |
MigrationJob.Builder |
clearType()
public MigrationJob.Builder clearType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
MigrationJob.Builder | This builder for chaining. |
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];
Type | Description |
MigrationJob.Builder |
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;
Type | Description |
MigrationJob.Builder |
clone()
public MigrationJob.Builder clone()
Type | Description |
MigrationJob.Builder |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getConnectivityCase()
public MigrationJob.ConnectivityCase getConnectivityCase()
Type | Description |
MigrationJob.ConnectivityCase |
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];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Type | Description |
Builder |
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MigrationJob getDefaultInstanceForType()
Type | Description |
MigrationJob |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestination()
public String getDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
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];
Type | Description |
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;
Type | Description |
DatabaseType | The destinationDatabase. |
getDestinationDatabaseBuilder()
public DatabaseType.Builder getDestinationDatabaseBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Type | Description |
DatabaseType.Builder |
getDestinationDatabaseOrBuilder()
public DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Type | Description |
DatabaseTypeOrBuilder |
getDisplayName()
public String getDisplayName()
The migration job display name.
string display_name = 5;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;
Type | Description |
ByteString | The bytes for displayName. |
getDumpPath()
public String getDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
string dump_path = 9;
Type | Description |
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]).
string dump_path = 9;
Type | Description |
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];
Type | Description |
Duration | The duration. |
getDurationBuilder()
public 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];
Type | Description |
Builder |
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];
Type | Description |
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];
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public 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];
Type | Description |
Builder |
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];
Type | Description |
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];
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
com.google.rpc.Status.Builder |
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];
Type | Description |
com.google.rpc.StatusOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
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];
Type | Description |
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];
Type | Description |
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;
Type | Description |
ReverseSshConnectivity | The reverseSshConnectivity. |
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;
Type | Description |
ReverseSshConnectivity.Builder |
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;
Type | Description |
ReverseSshConnectivityOrBuilder |
getSource()
public String getSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
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];
Type | Description |
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;
Type | Description |
DatabaseType | The sourceDatabase. |
getSourceDatabaseBuilder()
public DatabaseType.Builder getSourceDatabaseBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Type | Description |
DatabaseType.Builder |
getSourceDatabaseOrBuilder()
public DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Type | Description |
DatabaseTypeOrBuilder |
getState()
public MigrationJob.State getState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
Type | Description |
MigrationJob.State | The state. |
getStateValue()
public int getStateValue()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
Type | Description |
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;
Type | Description |
StaticIpConnectivity | The staticIpConnectivity. |
getStaticIpConnectivityBuilder()
public StaticIpConnectivity.Builder getStaticIpConnectivityBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Type | Description |
StaticIpConnectivity.Builder |
getStaticIpConnectivityOrBuilder()
public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Type | Description |
StaticIpConnectivityOrBuilder |
getType()
public MigrationJob.Type getType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
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];
Type | Description |
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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
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];
Type | Description |
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;
Type | Description |
VpcPeeringConnectivity | The vpcPeeringConnectivity. |
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;
Type | Description |
VpcPeeringConnectivity.Builder |
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;
Type | Description |
VpcPeeringConnectivityOrBuilder |
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];
Type | Description |
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;
Type | Description |
boolean | Whether the destinationDatabase 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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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];
Type | Description |
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;
Type | Description |
boolean | Whether the vpcPeeringConnectivity field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MigrationJob.Builder mergeCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
mergeDestinationDatabase(DatabaseType value)
public MigrationJob.Builder mergeDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Name | Description |
value | DatabaseType |
Type | Description |
MigrationJob.Builder |
mergeDuration(Duration value)
public MigrationJob.Builder mergeDuration(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];
Name | Description |
value | Duration |
Type | Description |
MigrationJob.Builder |
mergeEndTime(Timestamp value)
public MigrationJob.Builder mergeEndTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
mergeError(Status value)
public MigrationJob.Builder mergeError(Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.Status |
Type | Description |
MigrationJob.Builder |
mergeFrom(MigrationJob other)
public MigrationJob.Builder mergeFrom(MigrationJob other)
Name | Description |
other | MigrationJob |
Type | Description |
MigrationJob.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationJob.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationJob.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MigrationJob.Builder |
mergeReverseSshConnectivity(ReverseSshConnectivity value)
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;
Name | Description |
value | ReverseSshConnectivity |
Type | Description |
MigrationJob.Builder |
mergeSourceDatabase(DatabaseType value)
public MigrationJob.Builder mergeSourceDatabase(DatabaseType value)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Name | Description |
value | DatabaseType |
Type | Description |
MigrationJob.Builder |
mergeStaticIpConnectivity(StaticIpConnectivity value)
public MigrationJob.Builder mergeStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Name | Description |
value | StaticIpConnectivity |
Type | Description |
MigrationJob.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationJob.Builder |
mergeUpdateTime(Timestamp value)
public MigrationJob.Builder mergeUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
mergeVpcPeeringConnectivity(VpcPeeringConnectivity value)
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;
Name | Description |
value | VpcPeeringConnectivity |
Type | Description |
MigrationJob.Builder |
putAllLabels(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
MigrationJob.Builder |
putLabels(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
MigrationJob.Builder |
removeLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
MigrationJob.Builder |
setCreateTime(Timestamp value)
public MigrationJob.Builder setCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MigrationJob.Builder setCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationJob.Builder |
setDestination(String value)
public MigrationJob.Builder setDestination(String value)
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The destination to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDestinationBytes(ByteString value)
public MigrationJob.Builder setDestinationBytes(ByteString value)
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for destination to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDestinationDatabase(DatabaseType value)
public MigrationJob.Builder setDestinationDatabase(DatabaseType value)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Name | Description |
value | DatabaseType |
Type | Description |
MigrationJob.Builder |
setDestinationDatabase(DatabaseType.Builder builderForValue)
public MigrationJob.Builder setDestinationDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
Name | Description |
builderForValue | DatabaseType.Builder |
Type | Description |
MigrationJob.Builder |
setDisplayName(String value)
public MigrationJob.Builder setDisplayName(String value)
The migration job display name.
string display_name = 5;
Name | Description |
value | String The displayName to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public MigrationJob.Builder setDisplayNameBytes(ByteString value)
The migration job display name.
string display_name = 5;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDumpPath(String value)
public MigrationJob.Builder setDumpPath(String value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
string dump_path = 9;
Name | Description |
value | String The dumpPath to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDumpPathBytes(ByteString value)
public MigrationJob.Builder setDumpPathBytes(ByteString value)
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
string dump_path = 9;
Name | Description |
value | ByteString The bytes for dumpPath to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setDuration(Duration value)
public MigrationJob.Builder setDuration(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];
Name | Description |
value | Duration |
Type | Description |
MigrationJob.Builder |
setDuration(Duration.Builder builderForValue)
public MigrationJob.Builder setDuration(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];
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationJob.Builder |
setEndTime(Timestamp value)
public MigrationJob.Builder setEndTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
setEndTime(Timestamp.Builder builderForValue)
public MigrationJob.Builder setEndTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationJob.Builder |
setError(Status value)
public MigrationJob.Builder setError(Status value)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | com.google.rpc.Status |
Type | Description |
MigrationJob.Builder |
setError(Status.Builder builderForValue)
public MigrationJob.Builder setError(Status.Builder builderForValue)
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
MigrationJob.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationJob.Builder |
setName(String value)
public MigrationJob.Builder setName(String value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MigrationJob.Builder setNameBytes(ByteString value)
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setPhase(MigrationJob.Phase value)
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];
Name | Description |
value | MigrationJob.Phase The phase to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setPhaseValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for phase to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MigrationJob.Builder |
setReverseSshConnectivity(ReverseSshConnectivity value)
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;
Name | Description |
value | ReverseSshConnectivity |
Type | Description |
MigrationJob.Builder |
setReverseSshConnectivity(ReverseSshConnectivity.Builder builderForValue)
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;
Name | Description |
builderForValue | ReverseSshConnectivity.Builder |
Type | Description |
MigrationJob.Builder |
setSource(String value)
public MigrationJob.Builder setSource(String value)
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The source to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setSourceBytes(ByteString value)
public MigrationJob.Builder setSourceBytes(ByteString value)
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for source to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setSourceDatabase(DatabaseType value)
public MigrationJob.Builder setSourceDatabase(DatabaseType value)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Name | Description |
value | DatabaseType |
Type | Description |
MigrationJob.Builder |
setSourceDatabase(DatabaseType.Builder builderForValue)
public MigrationJob.Builder setSourceDatabase(DatabaseType.Builder builderForValue)
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
Name | Description |
builderForValue | DatabaseType.Builder |
Type | Description |
MigrationJob.Builder |
setState(MigrationJob.State value)
public MigrationJob.Builder setState(MigrationJob.State value)
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
Name | Description |
value | MigrationJob.State The state to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setStateValue(int value)
public MigrationJob.Builder setStateValue(int value)
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setStaticIpConnectivity(StaticIpConnectivity value)
public MigrationJob.Builder setStaticIpConnectivity(StaticIpConnectivity value)
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
Name | Description |
value | StaticIpConnectivity |
Type | Description |
MigrationJob.Builder |
setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)
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;
Name | Description |
builderForValue | StaticIpConnectivity.Builder |
Type | Description |
MigrationJob.Builder |
setType(MigrationJob.Type value)
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];
Name | Description |
value | MigrationJob.Type The type to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setTypeValue(int value)
public MigrationJob.Builder setTypeValue(int value)
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
MigrationJob.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationJob.Builder |
setUpdateTime(Timestamp value)
public MigrationJob.Builder setUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
MigrationJob.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public MigrationJob.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationJob.Builder |
setVpcPeeringConnectivity(VpcPeeringConnectivity value)
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;
Name | Description |
value | VpcPeeringConnectivity |
Type | Description |
MigrationJob.Builder |
setVpcPeeringConnectivity(VpcPeeringConnectivity.Builder builderForValue)
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;
Name | Description |
builderForValue | VpcPeeringConnectivity.Builder |
Type | Description |
MigrationJob.Builder |