Package com.google.cloud.clouddms.v1
Enum DatabaseEntity.TreeType
- java.lang.Object
-
- java.lang.Enum<DatabaseEntity.TreeType>
-
- com.google.cloud.clouddms.v1.DatabaseEntity.TreeType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<DatabaseEntity.TreeType>
- Enclosing class:
- DatabaseEntity
public static enum DatabaseEntity.TreeType extends Enum<DatabaseEntity.TreeType> implements com.google.protobuf.ProtocolMessageEnum
The type of database entities tree.
Protobuf enumgoogle.cloud.clouddms.v1.DatabaseEntity.TreeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESTINATION
Tree of entities observed on the destination database.DRAFT
Tree of entities converted from the source tree using the mapping rules.SOURCE
Tree of entities loaded from a source database.TREE_TYPE_UNSPECIFIED
Tree type unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DESTINATION_VALUE
Tree of entities observed on the destination database.static int
DRAFT_VALUE
Tree of entities converted from the source tree using the mapping rules.static int
SOURCE_VALUE
Tree of entities loaded from a source database.static int
TREE_TYPE_UNSPECIFIED_VALUE
Tree type unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DatabaseEntity.TreeType
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<DatabaseEntity.TreeType>
internalGetValueMap()
static DatabaseEntity.TreeType
valueOf(int value)
Deprecated.static DatabaseEntity.TreeType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static DatabaseEntity.TreeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatabaseEntity.TreeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREE_TYPE_UNSPECIFIED
public static final DatabaseEntity.TreeType TREE_TYPE_UNSPECIFIED
Tree type unspecified.
TREE_TYPE_UNSPECIFIED = 0;
-
SOURCE
public static final DatabaseEntity.TreeType SOURCE
Tree of entities loaded from a source database.
SOURCE = 1;
-
DRAFT
public static final DatabaseEntity.TreeType DRAFT
Tree of entities converted from the source tree using the mapping rules.
DRAFT = 2;
-
DESTINATION
public static final DatabaseEntity.TreeType DESTINATION
Tree of entities observed on the destination database.
DESTINATION = 3;
-
UNRECOGNIZED
public static final DatabaseEntity.TreeType UNRECOGNIZED
-
-
Field Detail
-
TREE_TYPE_UNSPECIFIED_VALUE
public static final int TREE_TYPE_UNSPECIFIED_VALUE
Tree type unspecified.
TREE_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SOURCE_VALUE
public static final int SOURCE_VALUE
Tree of entities loaded from a source database.
SOURCE = 1;
- See Also:
- Constant Field Values
-
DRAFT_VALUE
public static final int DRAFT_VALUE
Tree of entities converted from the source tree using the mapping rules.
DRAFT = 2;
- See Also:
- Constant Field Values
-
DESTINATION_VALUE
public static final int DESTINATION_VALUE
Tree of entities observed on the destination database.
DESTINATION = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DatabaseEntity.TreeType[] 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 (DatabaseEntity.TreeType c : DatabaseEntity.TreeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseEntity.TreeType 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 DatabaseEntity.TreeType 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 DatabaseEntity.TreeType 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<DatabaseEntity.TreeType> 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 DatabaseEntity.TreeType 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
-
-