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 classMigrationJob.BuilderRepresents a Database Migration Service migration job object.static classMigrationJob.ConnectivityCasestatic classMigrationJob.DumpFlagDump flag definition.static interfaceMigrationJob.DumpFlagOrBuilderstatic classMigrationJob.DumpFlagsDump flags definition.static interfaceMigrationJob.DumpFlagsOrBuilderstatic classMigrationJob.PerformanceConfigPerformance configuration definition.static interfaceMigrationJob.PerformanceConfigOrBuilderstatic classMigrationJob.PhaseThe current migration job phase.static classMigrationJob.StateThe current migration job states.static classMigrationJob.TypeThe 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 intCMEK_KEY_NAME_FIELD_NUMBERstatic intCONVERSION_WORKSPACE_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESTINATION_DATABASE_FIELD_NUMBERstatic intDESTINATION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intDUMP_FLAGS_FIELD_NUMBERstatic intDUMP_PATH_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPERFORMANCE_CONFIG_FIELD_NUMBERstatic intPHASE_FIELD_NUMBERstatic intREVERSE_SSH_CONNECTIVITY_FIELD_NUMBERstatic intSOURCE_DATABASE_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATIC_IP_CONNECTIVITY_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVPC_PEERING_CONNECTIVITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.booleanequals(Object obj)StringgetCmekKeyName()The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.com.google.protobuf.ByteStringgetCmekKeyNameBytes()The CMEK (customer-managed encryption key) fully qualified key name used for the migration job.MigrationJob.ConnectivityCasegetConnectivityCase()ConversionWorkspaceInfogetConversionWorkspace()The conversion workspace used by the migration.ConversionWorkspaceInfoOrBuildergetConversionWorkspaceOrBuilder()The conversion workspace used by the migration.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static MigrationJobgetDefaultInstance()MigrationJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDestination()Required.com.google.protobuf.ByteStringgetDestinationBytes()Required.DatabaseTypegetDestinationDatabase()The database engine type and provider of the destination.DatabaseTypeOrBuildergetDestinationDatabaseOrBuilder()The database engine type and provider of the destination.StringgetDisplayName()The migration job display name.com.google.protobuf.ByteStringgetDisplayNameBytes()The migration job display name.MigrationJob.DumpFlagsgetDumpFlags()The initial dump flags.MigrationJob.DumpFlagsOrBuildergetDumpFlagsOrBuilder()The initial dump flags.StringgetDumpPath()The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.ByteStringgetDumpPathBytes()The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).com.google.protobuf.DurationgetDuration()Output only.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Output only.com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetFilter()This field can be used to select the entities to migrate as part of the migration job.com.google.protobuf.ByteStringgetFilterBytes()This field can be used to select the entities to migrate as part of the migration job.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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.StringgetLabelsOrDefault(String key, String defaultValue)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrThrow(String key)The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs.StringgetName()The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.com.google.protobuf.ByteStringgetNameBytes()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.PerformanceConfiggetPerformanceConfig()Optional.MigrationJob.PerformanceConfigOrBuildergetPerformanceConfigOrBuilder()Optional.MigrationJob.PhasegetPhase()Output only.intgetPhaseValue()Output only.ReverseSshConnectivitygetReverseSshConnectivity()The details needed to communicate to the source over Reverse SSH tunnel connectivity.ReverseSshConnectivityOrBuildergetReverseSshConnectivityOrBuilder()The details needed to communicate to the source over Reverse SSH tunnel connectivity.intgetSerializedSize()StringgetSource()Required.com.google.protobuf.ByteStringgetSourceBytes()Required.DatabaseTypegetSourceDatabase()The database engine type and provider of the source.DatabaseTypeOrBuildergetSourceDatabaseOrBuilder()The database engine type and provider of the source.MigrationJob.StategetState()The current migration job state.intgetStateValue()The current migration job state.StaticIpConnectivitygetStaticIpConnectivity()static ip connectivity data (default, no additional details needed).StaticIpConnectivityOrBuildergetStaticIpConnectivityOrBuilder()static ip connectivity data (default, no additional details needed).MigrationJob.TypegetType()Required.intgetTypeValue()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VpcPeeringConnectivitygetVpcPeeringConnectivity()The details of the VPC network that the source database is located in.VpcPeeringConnectivityOrBuildergetVpcPeeringConnectivityOrBuilder()The details of the VPC network that the source database is located in.booleanhasConversionWorkspace()The conversion workspace used by the migration.booleanhasCreateTime()Output only.booleanhasDestinationDatabase()The database engine type and provider of the destination.booleanhasDumpFlags()The initial dump flags.booleanhasDuration()Output only.booleanhasEndTime()Output only.booleanhasError()Output only.inthashCode()booleanhasPerformanceConfig()Optional.booleanhasReverseSshConnectivity()The details needed to communicate to the source over Reverse SSH tunnel connectivity.booleanhasSourceDatabase()The database engine type and provider of the source.booleanhasStaticIpConnectivity()static ip connectivity data (default, no additional details needed).booleanhasUpdateTime()Output only.booleanhasVpcPeeringConnectivity()The details of the VPC network that the source database is located in.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static MigrationJob.BuildernewBuilder()static MigrationJob.BuildernewBuilder(MigrationJob prototype)MigrationJob.BuildernewBuilderForType()protected MigrationJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MigrationJobparseDelimitedFrom(InputStream input)static MigrationJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationJobparseFrom(byte[] data)static MigrationJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationJobparseFrom(com.google.protobuf.ByteString data)static MigrationJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationJobparseFrom(com.google.protobuf.CodedInputStream input)static MigrationJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationJobparseFrom(InputStream input)static MigrationJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MigrationJobparseFrom(ByteBuffer data)static MigrationJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MigrationJob>parser()MigrationJob.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConnectivityCase
public MigrationJob.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCasein 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:
getNamein 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:
getNameBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceMigrationJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MigrationJobOrBuilderThe 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:
getLabelsCountin 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:
containsLabelsin interfaceMigrationJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin interfaceMigrationJobOrBuilder
-
getDisplayName
public String getDisplayName()
The migration job display name.
string display_name = 5;- Specified by:
getDisplayNamein interfaceMigrationJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The migration job display name.
string display_name = 5;- Specified by:
getDisplayNameBytesin 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:
getStateValuein 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:
getStatein 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:
getPhaseValuein 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:
getPhasein 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:
getTypeValuein 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:
getTypein 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:
getDumpPathin 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:
getDumpPathBytesin 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:
hasDumpFlagsin 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:
getDumpFlagsin 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:
getDumpFlagsOrBuilderin 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:
getSourcein 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:
getSourceBytesin 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:
getDestinationin 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:
getDestinationBytesin 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:
hasReverseSshConnectivityin 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:
getReverseSshConnectivityin 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:
getReverseSshConnectivityOrBuilderin 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:
hasVpcPeeringConnectivityin 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:
getVpcPeeringConnectivityin 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:
getVpcPeeringConnectivityOrBuilderin 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:
hasStaticIpConnectivityin 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:
getStaticIpConnectivityin 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:
getStaticIpConnectivityOrBuilderin 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:
hasDurationin 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:
getDurationin 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:
getDurationOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin interfaceMigrationJobOrBuilder
-
hasSourceDatabase
public boolean hasSourceDatabase()
The database engine type and provider of the source.
.google.cloud.clouddms.v1.DatabaseType source_database = 14;- Specified by:
hasSourceDatabasein 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:
getSourceDatabasein 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:
getSourceDatabaseOrBuilderin interfaceMigrationJobOrBuilder
-
hasDestinationDatabase
public boolean hasDestinationDatabase()
The database engine type and provider of the destination.
.google.cloud.clouddms.v1.DatabaseType destination_database = 15;- Specified by:
hasDestinationDatabasein 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:
getDestinationDatabasein 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:
getDestinationDatabaseOrBuilderin 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:
hasEndTimein 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:
getEndTimein 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:
getEndTimeOrBuilderin interfaceMigrationJobOrBuilder
-
hasConversionWorkspace
public boolean hasConversionWorkspace()
The conversion workspace used by the migration.
.google.cloud.clouddms.v1.ConversionWorkspaceInfo conversion_workspace = 18;- Specified by:
hasConversionWorkspacein 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:
getConversionWorkspacein 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:
getConversionWorkspaceOrBuilderin 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:
getFilterin 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:
getFilterBytesin 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:
getCmekKeyNamein 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:
getCmekKeyNameBytesin 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:
hasPerformanceConfigin 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:
getPerformanceConfigin 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:
getPerformanceConfigOrBuilderin interfaceMigrationJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigrationJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MigrationJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-