Package com.google.cloud.clouddms.v1
Class MigrationJob
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.MigrationJob
-
- All Implemented Interfaces:
MigrationJobOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MigrationJob extends com.google.protobuf.GeneratedMessageV3 implements MigrationJobOrBuilder
Represents a Database Migration Service migration job object.
Protobuf typegoogle.cloud.clouddms.v1.MigrationJob
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MigrationJob.Builder
Represents a Database Migration Service migration job object.static class
MigrationJob.ConnectivityCase
static class
MigrationJob.DumpFlag
Dump flag definition.static interface
MigrationJob.DumpFlagOrBuilder
static class
MigrationJob.DumpFlags
Dump flags definition.static interface
MigrationJob.DumpFlagsOrBuilder
static class
MigrationJob.PerformanceConfig
Performance configuration definition.static interface
MigrationJob.PerformanceConfigOrBuilder
static class
MigrationJob.Phase
The current migration job phase.static class
MigrationJob.State
The current migration job states.static class
MigrationJob.Type
The type of migration job (one-time or continuous).-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CMEK_KEY_NAME_FIELD_NUMBER
static int
CONVERSION_WORKSPACE_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DESTINATION_DATABASE_FIELD_NUMBER
static int
DESTINATION_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
DUMP_FLAGS_FIELD_NUMBER
static int
DUMP_PATH_FIELD_NUMBER
static int
DURATION_FIELD_NUMBER
static int
END_TIME_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
FILTER_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PERFORMANCE_CONFIG_FIELD_NUMBER
static int
PHASE_FIELD_NUMBER
static int
REVERSE_SSH_CONNECTIVITY_FIELD_NUMBER
static int
SOURCE_DATABASE_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATIC_IP_CONNECTIVITY_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VPC_PEERING_CONNECTIVITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.boolean
equals(Object obj)
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.static MigrationJob
getDefaultInstance()
MigrationJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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}.com.google.protobuf.Parser<MigrationJob>
getParserForType()
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.int
getSerializedSize()
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.int
hashCode()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static MigrationJob.Builder
newBuilder()
static MigrationJob.Builder
newBuilder(MigrationJob prototype)
MigrationJob.Builder
newBuilderForType()
protected MigrationJob.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MigrationJob
parseDelimitedFrom(InputStream input)
static MigrationJob
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationJob
parseFrom(byte[] data)
static MigrationJob
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationJob
parseFrom(com.google.protobuf.ByteString data)
static MigrationJob
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationJob
parseFrom(com.google.protobuf.CodedInputStream input)
static MigrationJob
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationJob
parseFrom(InputStream input)
static MigrationJob
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MigrationJob
parseFrom(ByteBuffer data)
static MigrationJob
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MigrationJob>
parser()
MigrationJob.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DUMP_PATH_FIELD_NUMBER
public static final int DUMP_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DUMP_FLAGS_FIELD_NUMBER
public static final int DUMP_FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVERSE_SSH_CONNECTIVITY_FIELD_NUMBER
public static final int REVERSE_SSH_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VPC_PEERING_CONNECTIVITY_FIELD_NUMBER
public static final int VPC_PEERING_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_IP_CONNECTIVITY_FIELD_NUMBER
public static final int STATIC_IP_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_DATABASE_FIELD_NUMBER
public static final int SOURCE_DATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_DATABASE_FIELD_NUMBER
public static final int DESTINATION_DATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSION_WORKSPACE_FIELD_NUMBER
public static final int CONVERSION_WORKSPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CMEK_KEY_NAME_FIELD_NUMBER
public static final int CMEK_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERFORMANCE_CONFIG_FIELD_NUMBER
public static final int PERFORMANCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getConnectivityCase
public MigrationJob.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCase
in interfaceMigrationJobOrBuilder
-
getName
public String getName()
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
string name = 1;
- Specified by:
getName
in interfaceMigrationJobOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for name.
-
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];
- Specified by:
hasCreateTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceMigrationJobOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];
- Specified by:
getCreateTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceMigrationJobOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigrationJobOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceMigrationJobOrBuilder
-
containsLabels
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;
- Specified by:
containsLabels
in interfaceMigrationJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceMigrationJobOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceMigrationJobOrBuilder
-
getLabelsOrDefault
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;
- Specified by:
getLabelsOrDefault
in interfaceMigrationJobOrBuilder
-
getLabelsOrThrow
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;
- Specified by:
getLabelsOrThrow
in interfaceMigrationJobOrBuilder
-
getDisplayName
public String getDisplayName()
The migration job display name.
string display_name = 5;
- Specified by:
getDisplayName
in interfaceMigrationJobOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;
- Specified by:
getDisplayNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for displayName.
-
getStateValue
public int getStateValue()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Specified by:
getStateValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public MigrationJob.State getState()
The current migration job state.
.google.cloud.clouddms.v1.MigrationJob.State state = 6;
- Specified by:
getState
in interfaceMigrationJobOrBuilder
- Returns:
- The state.
-
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];
- Specified by:
getPhaseValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for phase.
-
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];
- Specified by:
getPhase
in interfaceMigrationJobOrBuilder
- Returns:
- The phase.
-
getTypeValue
public int getTypeValue()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTypeValue
in interfaceMigrationJobOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public MigrationJob.Type getType()
Required. The migration job type.
.google.cloud.clouddms.v1.MigrationJob.Type type = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getType
in interfaceMigrationJobOrBuilder
- Returns:
- The type.
-
getDumpPath
public String getDumpPath()
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.
string dump_path = 9;
- Specified by:
getDumpPath
in interfaceMigrationJobOrBuilder
- Returns:
- The dumpPath.
-
getDumpPathBytes
public 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;
- Specified by:
getDumpPathBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for dumpPath.
-
hasDumpFlags
public boolean hasDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
hasDumpFlags
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the dumpFlags field is set.
-
getDumpFlags
public MigrationJob.DumpFlags getDumpFlags()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
getDumpFlags
in interfaceMigrationJobOrBuilder
- Returns:
- The dumpFlags.
-
getDumpFlagsOrBuilder
public MigrationJob.DumpFlagsOrBuilder getDumpFlagsOrBuilder()
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
.google.cloud.clouddms.v1.MigrationJob.DumpFlags dump_flags = 17;
- Specified by:
getDumpFlagsOrBuilder
in interfaceMigrationJobOrBuilder
-
getSource
public String getSource()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSource
in interfaceMigrationJobOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
Required. The resource name (URI) of the source connection profile.
string source = 10 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for source.
-
getDestination
public String getDestination()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDestination
in interfaceMigrationJobOrBuilder
- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()
Required. The resource name (URI) of the destination connection profile.
string destination = 11 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDestinationBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for destination.
-
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;
- Specified by:
hasReverseSshConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the reverseSshConnectivity field is set.
-
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;
- Specified by:
getReverseSshConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The reverseSshConnectivity.
-
getReverseSshConnectivityOrBuilder
public ReverseSshConnectivityOrBuilder getReverseSshConnectivityOrBuilder()
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
.google.cloud.clouddms.v1.ReverseSshConnectivity reverse_ssh_connectivity = 101;
- Specified by:
getReverseSshConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
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;
- Specified by:
hasVpcPeeringConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the vpcPeeringConnectivity field is set.
-
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;
- Specified by:
getVpcPeeringConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The vpcPeeringConnectivity.
-
getVpcPeeringConnectivityOrBuilder
public VpcPeeringConnectivityOrBuilder getVpcPeeringConnectivityOrBuilder()
The details of the VPC network that the source database is located in.
.google.cloud.clouddms.v1.VpcPeeringConnectivity vpc_peering_connectivity = 102;
- Specified by:
getVpcPeeringConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
hasStaticIpConnectivity
public boolean hasStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
hasStaticIpConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the staticIpConnectivity field is set.
-
getStaticIpConnectivity
public StaticIpConnectivity getStaticIpConnectivity()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
getStaticIpConnectivity
in interfaceMigrationJobOrBuilder
- Returns:
- The staticIpConnectivity.
-
getStaticIpConnectivityOrBuilder
public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()
static ip connectivity data (default, no additional details needed).
.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 103;
- Specified by:
getStaticIpConnectivityOrBuilder
in interfaceMigrationJobOrBuilder
-
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];
- Specified by:
hasDuration
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public 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];
- Specified by:
getDuration
in interfaceMigrationJobOrBuilder
- Returns:
- The duration.
-
getDurationOrBuilder
public 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];
- Specified by:
getDurationOrBuilder
in interfaceMigrationJobOrBuilder
-
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];
- Specified by:
hasError
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public 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];
- Specified by:
getError
in interfaceMigrationJobOrBuilder
- Returns:
- The error.
-
getErrorOrBuilder
public 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];
- Specified by:
getErrorOrBuilder
in interfaceMigrationJobOrBuilder
-
hasSourceDatabase
public boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
hasSourceDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the sourceDatabase field is set.
-
getSourceDatabase
public DatabaseType getSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
getSourceDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- The sourceDatabase.
-
getSourceDatabaseOrBuilder
public DatabaseTypeOrBuilder getSourceDatabaseOrBuilder()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;
- Specified by:
getSourceDatabaseOrBuilder
in interfaceMigrationJobOrBuilder
-
hasDestinationDatabase
public boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
hasDestinationDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the destinationDatabase field is set.
-
getDestinationDatabase
public DatabaseType getDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
getDestinationDatabase
in interfaceMigrationJobOrBuilder
- Returns:
- The destinationDatabase.
-
getDestinationDatabaseOrBuilder
public DatabaseTypeOrBuilder getDestinationDatabaseOrBuilder()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;
- Specified by:
getDestinationDatabaseOrBuilder
in interfaceMigrationJobOrBuilder
-
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];
- Specified by:
hasEndTime
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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];
- Specified by:
getEndTime
in interfaceMigrationJobOrBuilder
- Returns:
- The endTime.
-
getEndTimeOrBuilder
public 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];
- Specified by:
getEndTimeOrBuilder
in interfaceMigrationJobOrBuilder
-
hasConversionWorkspace
public boolean hasConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
hasConversionWorkspace
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the conversionWorkspace field is set.
-
getConversionWorkspace
public ConversionWorkspaceInfo getConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
getConversionWorkspace
in interfaceMigrationJobOrBuilder
- Returns:
- The conversionWorkspace.
-
getConversionWorkspaceOrBuilder
public ConversionWorkspaceInfoOrBuilder getConversionWorkspaceOrBuilder()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;
- Specified by:
getConversionWorkspaceOrBuilder
in interfaceMigrationJobOrBuilder
-
getFilter
public String getFilter()
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
string filter = 20;
- Specified by:
getFilter
in interfaceMigrationJobOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public 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;
- Specified by:
getFilterBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for filter.
-
getCmekKeyName
public String getCmekKeyName()
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
string cmek_key_name = 21;
- Specified by:
getCmekKeyName
in interfaceMigrationJobOrBuilder
- Returns:
- The cmekKeyName.
-
getCmekKeyNameBytes
public 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;
- Specified by:
getCmekKeyNameBytes
in interfaceMigrationJobOrBuilder
- Returns:
- The bytes for cmekKeyName.
-
hasPerformanceConfig
public 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];
- Specified by:
hasPerformanceConfig
in interfaceMigrationJobOrBuilder
- Returns:
- Whether the performanceConfig field is set.
-
getPerformanceConfig
public 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];
- Specified by:
getPerformanceConfig
in interfaceMigrationJobOrBuilder
- Returns:
- The performanceConfig.
-
getPerformanceConfigOrBuilder
public 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];
- Specified by:
getPerformanceConfigOrBuilder
in interfaceMigrationJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MigrationJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MigrationJob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigrationJob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MigrationJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MigrationJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MigrationJob.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MigrationJob.Builder newBuilder()
-
newBuilder
public static MigrationJob.Builder newBuilder(MigrationJob prototype)
-
toBuilder
public MigrationJob.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigrationJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MigrationJob getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MigrationJob> parser()
-
getParserForType
public com.google.protobuf.Parser<MigrationJob> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigrationJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-