public static enum Constants.ComponentType extends Enum<Constants.ComponentType> implements com.google.protobuf.ProtocolMessageEnum
ComponentType| Enum Constant and Description |
|---|
DIRECTORY
DIRECTORY = 2; |
FILE
FILE = 3; |
MODULE
MODULE = 1; |
PROJECT
PROJECT = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECTORY_VALUE
DIRECTORY = 2; |
static int |
FILE_VALUE
FILE = 3; |
static int |
MODULE_VALUE
MODULE = 1; |
static int |
PROJECT_VALUE
PROJECT = 0; |
| Modifier and Type | Method and Description |
|---|---|
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<Constants.ComponentType> |
internalGetValueMap() |
static Constants.ComponentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Constants.ComponentType |
valueOf(int value) |
static Constants.ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ComponentType PROJECT
PROJECT = 0;public static final Constants.ComponentType MODULE
MODULE = 1;public static final Constants.ComponentType DIRECTORY
DIRECTORY = 2;public static final Constants.ComponentType FILE
FILE = 3;public static final int PROJECT_VALUE
PROJECT = 0;public static final int MODULE_VALUE
MODULE = 1;public static final int DIRECTORY_VALUE
DIRECTORY = 2;public static final int FILE_VALUE
FILE = 3;public static Constants.ComponentType[] values()
for (Constants.ComponentType c : Constants.ComponentType.values()) System.out.println(c);
public static Constants.ComponentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Constants.ComponentType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Constants.ComponentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Constants.ComponentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2009–2015 SonarSource. All rights reserved.