Package com.google.cloud.clouddms.v1
Enum DescribeDatabaseEntitiesRequest.DBTreeType
- java.lang.Object
-
- java.lang.Enum<DescribeDatabaseEntitiesRequest.DBTreeType>
-
- com.google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<DescribeDatabaseEntitiesRequest.DBTreeType>
- Enclosing class:
- DescribeDatabaseEntitiesRequest
public static enum DescribeDatabaseEntitiesRequest.DBTreeType extends Enum<DescribeDatabaseEntitiesRequest.DBTreeType> implements com.google.protobuf.ProtocolMessageEnum
The type of a tree to return
Protobuf enumgoogle.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DB_TREE_TYPE_UNSPECIFIED
Unspecified tree type.DESTINATION_TREE
The destination database tree.DRAFT_TREE
The draft database tree.SOURCE_TREE
The source database tree.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DB_TREE_TYPE_UNSPECIFIED_VALUE
Unspecified tree type.static int
DESTINATION_TREE_VALUE
The destination database tree.static int
DRAFT_TREE_VALUE
The draft database tree.static int
SOURCE_TREE_VALUE
The source database tree.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DescribeDatabaseEntitiesRequest.DBTreeType
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<DescribeDatabaseEntitiesRequest.DBTreeType>
internalGetValueMap()
static DescribeDatabaseEntitiesRequest.DBTreeType
valueOf(int value)
Deprecated.static DescribeDatabaseEntitiesRequest.DBTreeType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static DescribeDatabaseEntitiesRequest.DBTreeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DescribeDatabaseEntitiesRequest.DBTreeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DB_TREE_TYPE_UNSPECIFIED
public static final DescribeDatabaseEntitiesRequest.DBTreeType DB_TREE_TYPE_UNSPECIFIED
Unspecified tree type.
DB_TREE_TYPE_UNSPECIFIED = 0;
-
SOURCE_TREE
public static final DescribeDatabaseEntitiesRequest.DBTreeType SOURCE_TREE
The source database tree.
SOURCE_TREE = 1;
-
DRAFT_TREE
public static final DescribeDatabaseEntitiesRequest.DBTreeType DRAFT_TREE
The draft database tree.
DRAFT_TREE = 2;
-
DESTINATION_TREE
public static final DescribeDatabaseEntitiesRequest.DBTreeType DESTINATION_TREE
The destination database tree.
DESTINATION_TREE = 3;
-
UNRECOGNIZED
public static final DescribeDatabaseEntitiesRequest.DBTreeType UNRECOGNIZED
-
-
Field Detail
-
DB_TREE_TYPE_UNSPECIFIED_VALUE
public static final int DB_TREE_TYPE_UNSPECIFIED_VALUE
Unspecified tree type.
DB_TREE_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SOURCE_TREE_VALUE
public static final int SOURCE_TREE_VALUE
The source database tree.
SOURCE_TREE = 1;
- See Also:
- Constant Field Values
-
DRAFT_TREE_VALUE
public static final int DRAFT_TREE_VALUE
The draft database tree.
DRAFT_TREE = 2;
- See Also:
- Constant Field Values
-
DESTINATION_TREE_VALUE
public static final int DESTINATION_TREE_VALUE
The destination database tree.
DESTINATION_TREE = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DescribeDatabaseEntitiesRequest.DBTreeType[] 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 (DescribeDatabaseEntitiesRequest.DBTreeType c : DescribeDatabaseEntitiesRequest.DBTreeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DescribeDatabaseEntitiesRequest.DBTreeType 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 DescribeDatabaseEntitiesRequest.DBTreeType 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 DescribeDatabaseEntitiesRequest.DBTreeType 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<DescribeDatabaseEntitiesRequest.DBTreeType> 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 DescribeDatabaseEntitiesRequest.DBTreeType 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
-
-