public final class ProtoEnumValueMetadata extends Object implements HasProtoSchema
Modifier and Type | Method and Description |
---|---|
void |
generateProto(IndentWriter iw) |
String |
getDocumentation()
Returns the documentation attached to this enum.
|
String |
getJavaEnumName()
Returns the FQN of the Java enum constant.
|
int |
getJavaEnumOrdinal()
Returns the ordinal of the Java enum constant.
|
int |
getNumber()
Returns the Protobuf number associated to this enum value.
|
String |
getProtoName()
Returns the Protobuf name of this enum value.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toProtoSchema
public int getNumber()
public String getProtoName()
public int getJavaEnumOrdinal()
public String getJavaEnumName()
public String getDocumentation()
public void generateProto(IndentWriter iw)
generateProto
in interface HasProtoSchema
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.