Package com.google.cloud.clouddms.v1
Enum BackgroundJobType
- java.lang.Object
-
- java.lang.Enum<BackgroundJobType>
-
- com.google.cloud.clouddms.v1.BackgroundJobType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<BackgroundJobType>
public enum BackgroundJobType extends Enum<BackgroundJobType> implements com.google.protobuf.ProtocolMessageEnum
The types of jobs that can be executed in the background.
Protobuf enumgoogle.cloud.clouddms.v1.BackgroundJobType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND_JOB_TYPE_APPLY_DESTINATION
Job to apply the draft tree onto the destination.BACKGROUND_JOB_TYPE_CONVERT
Job to convert the source database into a draft of the destination database.BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE
Job to import and convert mapping rules from an external source such as an ora2pg config file.BACKGROUND_JOB_TYPE_SOURCE_SEED
Job to seed from the source database.BACKGROUND_JOB_TYPE_UNSPECIFIED
Unspecified background job type.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BACKGROUND_JOB_TYPE_APPLY_DESTINATION_VALUE
Job to apply the draft tree onto the destination.static int
BACKGROUND_JOB_TYPE_CONVERT_VALUE
Job to convert the source database into a draft of the destination database.static int
BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE_VALUE
Job to import and convert mapping rules from an external source such as an ora2pg config file.static int
BACKGROUND_JOB_TYPE_SOURCE_SEED_VALUE
Job to seed from the source database.static int
BACKGROUND_JOB_TYPE_UNSPECIFIED_VALUE
Unspecified background job type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BackgroundJobType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<BackgroundJobType>
internalGetValueMap()
static BackgroundJobType
valueOf(int value)
Deprecated.static BackgroundJobType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static BackgroundJobType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackgroundJobType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACKGROUND_JOB_TYPE_UNSPECIFIED
public static final BackgroundJobType BACKGROUND_JOB_TYPE_UNSPECIFIED
Unspecified background job type.
BACKGROUND_JOB_TYPE_UNSPECIFIED = 0;
-
BACKGROUND_JOB_TYPE_SOURCE_SEED
public static final BackgroundJobType BACKGROUND_JOB_TYPE_SOURCE_SEED
Job to seed from the source database.
BACKGROUND_JOB_TYPE_SOURCE_SEED = 1;
-
BACKGROUND_JOB_TYPE_CONVERT
public static final BackgroundJobType BACKGROUND_JOB_TYPE_CONVERT
Job to convert the source database into a draft of the destination database.
BACKGROUND_JOB_TYPE_CONVERT = 2;
-
BACKGROUND_JOB_TYPE_APPLY_DESTINATION
public static final BackgroundJobType BACKGROUND_JOB_TYPE_APPLY_DESTINATION
Job to apply the draft tree onto the destination.
BACKGROUND_JOB_TYPE_APPLY_DESTINATION = 3;
-
BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE
public static final BackgroundJobType BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE
Job to import and convert mapping rules from an external source such as an ora2pg config file.
BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE = 5;
-
UNRECOGNIZED
public static final BackgroundJobType UNRECOGNIZED
-
-
Field Detail
-
BACKGROUND_JOB_TYPE_UNSPECIFIED_VALUE
public static final int BACKGROUND_JOB_TYPE_UNSPECIFIED_VALUE
Unspecified background job type.
BACKGROUND_JOB_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
BACKGROUND_JOB_TYPE_SOURCE_SEED_VALUE
public static final int BACKGROUND_JOB_TYPE_SOURCE_SEED_VALUE
Job to seed from the source database.
BACKGROUND_JOB_TYPE_SOURCE_SEED = 1;
- See Also:
- Constant Field Values
-
BACKGROUND_JOB_TYPE_CONVERT_VALUE
public static final int BACKGROUND_JOB_TYPE_CONVERT_VALUE
Job to convert the source database into a draft of the destination database.
BACKGROUND_JOB_TYPE_CONVERT = 2;
- See Also:
- Constant Field Values
-
BACKGROUND_JOB_TYPE_APPLY_DESTINATION_VALUE
public static final int BACKGROUND_JOB_TYPE_APPLY_DESTINATION_VALUE
Job to apply the draft tree onto the destination.
BACKGROUND_JOB_TYPE_APPLY_DESTINATION = 3;
- See Also:
- Constant Field Values
-
BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE_VALUE
public static final int BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE_VALUE
Job to import and convert mapping rules from an external source such as an ora2pg config file.
BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BackgroundJobType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BackgroundJobType c : BackgroundJobType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackgroundJobType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BackgroundJobType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static BackgroundJobType forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BackgroundJobType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BackgroundJobType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-