Class ProtoEnumValueMetadata
java.lang.Object
org.infinispan.protostream.annotations.impl.ProtoEnumValueMetadata
- All Implemented Interfaces:
HasProtoSchema
- Since:
- 3.0
- Author:
- [email protected]
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns the documentation attached to this enum.Returns the FQN of the Java enum constant.int
Returns the ordinal of the Java enum constant.int
Returns the Protobuf number associated to this enum value.Returns the Protobuf name of this enum value.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.protostream.annotations.impl.HasProtoSchema
toProtoSchema
-
Method Details
-
getNumber
public int getNumber()Returns the Protobuf number associated to this enum value. -
getProtoName
Returns the Protobuf name of this enum value. -
getJavaEnumOrdinal
public int getJavaEnumOrdinal()Returns the ordinal of the Java enum constant. -
getJavaEnumName
Returns the FQN of the Java enum constant. -
getDocumentation
Returns the documentation attached to this enum. -
generateProto
- Specified by:
generateProto
in interfaceHasProtoSchema
-
toString
-