public final class ProtoMessageTypeMetadata extends ProtoTypeMetadata
ProtoTypeMetadata
for a message type created based on annotations during the current execution of ProtoSchemaBuilder
.javaClass, name, outerType
Modifier and Type | Method and Description |
---|---|
protected void |
addInnerType(ProtoTypeMetadata typeMetadata) |
void |
generateProto(IndentWriter iw) |
ProtoEnumValueMetadata |
getEnumMemberByName(String name) |
XExecutable |
getFactory() |
SortedMap<Integer,ProtoFieldMetadata> |
getFields() |
XField |
getUnknownFieldSetField() |
XMethod |
getUnknownFieldSetGetter() |
XMethod |
getUnknownFieldSetSetter() |
boolean |
isEnum() |
void |
scanMemberAnnotations() |
String |
toString() |
appendDocumentation, getDocumentation, getFileName, getFullName, getJavaClass, getJavaClassName, getName, getOuterType, isImported, setOuterType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toProtoSchema
public XExecutable getFactory()
public XField getUnknownFieldSetField()
public XMethod getUnknownFieldSetGetter()
public XMethod getUnknownFieldSetSetter()
public SortedMap<Integer,ProtoFieldMetadata> getFields()
protected void addInnerType(ProtoTypeMetadata typeMetadata)
public void generateProto(IndentWriter iw)
generateProto
in interface HasProtoSchema
generateProto
in class ProtoTypeMetadata
public boolean isEnum()
isEnum
in class ProtoTypeMetadata
public ProtoEnumValueMetadata getEnumMemberByName(String name)
getEnumMemberByName
in class ProtoTypeMetadata
public void scanMemberAnnotations()
scanMemberAnnotations
in class ProtoTypeMetadata
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.