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, setOuterTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoProtoSchemapublic 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 HasProtoSchemagenerateProto in class ProtoTypeMetadatapublic boolean isEnum()
isEnum in class ProtoTypeMetadatapublic ProtoEnumValueMetadata getEnumMemberByName(String name)
getEnumMemberByName in class ProtoTypeMetadatapublic void scanMemberAnnotations()
scanMemberAnnotations in class ProtoTypeMetadataCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.