Class EnumValueDescriptor
- java.lang.Object
-
- org.infinispan.protostream.descriptors.EnumValueDescriptor
-
public final class EnumValueDescriptor extends Object
Represents each constant value of a enumeration in a .proto file.- Since:
- 2.0
- Author:
- gustavonalle, [email protected]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnumValueDescriptor.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumDescriptor
getContainingEnum()
String
getDocumentation()
FileDescriptor
getFileDescriptor()
String
getFullName()
String
getName()
int
getNumber()
Option
getOption(String name)
List<Option>
getOptions()
String
getScopedName()
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
getNumber
public int getNumber()
-
getDocumentation
public String getDocumentation()
-
getFullName
public String getFullName()
-
getScopedName
public String getScopedName()
-
getContainingEnum
public EnumDescriptor getContainingEnum()
-
getFileDescriptor
public FileDescriptor getFileDescriptor()
-
-